From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6539 invoked by alias); 2 Jun 2005 09:03:11 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 6531 invoked by uid 22791); 2 Jun 2005 09:03:07 -0000 Received: from zux170-025.adsl.green.ch (HELO server1.PIXY1.pixy.ch) (80.254.170.25) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 02 Jun 2005 09:03:07 +0000 Received: from c29.pixybugs.dyndns.org ([192.168.121.37]) by server1.PIXY1.pixy.ch with Microsoft SMTPSVC(5.0.2195.5329); Thu, 2 Jun 2005 11:02:49 +0200 From: Marc Michalewicz To: eCos Discussion Content-Type: text/plain Date: Thu, 02 Jun 2005 09:03:00 -0000 Message-Id: <1117702984.21830.21.camel@c29.pixybugs.dyndns.org> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [ECOS] accessing external RAM on h8s edk X-SW-Source: 2005-06/txt/msg00007.txt.bz2 Hi, after getting redboot to work, I now have problems to access the external RAM on my H8S2329-EDK board. The internal RAM is OK, e.g. writing bytes into it via the redboot-cmdline works. Has anybody a clue what needs to be done to access the external RAM ? I adapted the H8S-2357 port (from Uwe Kindler) in the way that I have changed the initialisation-code in the "platform.inc"-file (Bit EAE in BCRL especially, but all othere REGS according to the EDK-documentation as well), but still no success. If it helps, here is the modified extract from my platform.inc: INIT_REGS_DATA(CYGARC_ABWCR, 0xF0) INIT_REGS_DATA(CYGARC_ASTCR, 0xFF) INIT_REGS_DATA(CYGARC_BCRH, 0xD0) INIT_REGS_DATA(CYGARC_BCRL, 0x3C) INIT_REGS_DATA(CYGARC_WCRH, 0xFF) INIT_REGS_DATA(CYGARC_WCRL, 0xFD) INIT_REGS_DATA(CYGARC_MCR, 0x00) INIT_REGS_DATA(CYGARC_DRAMCR, 0x00) INIT_REGS_DATA(CYGARC_RTCOR, 0x00) INIT_REGS_DATA(CYGARC_P6DDR, 0x00) INIT_REGS_DATA(CYGARC_PADDR, 0x07) INIT_REGS_DATA(CYGARC_PBDDR, 0xFF) INIT_REGS_DATA(CYGARC_PCDDR, 0xFF) INIT_REGS_DATA(CYGARC_PFDDR, 0x80) INIT_REGS_DATA(CYGARC_PGDDR, 0x01) INIT_REGS_DATA(CYGARC_MSTPCRL,0x00) Do I have to modify the linkerscripts and/or other items ? Is there any hint in any documentation ? Thanks for any help, Marc -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss