From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfram Kattanek To: Sunny Chan Cc: ecos-discuss@sources.redhat.com Subject: Re: [ECOS] eCos: Increase the size of ROM available on AEB-1 Date: Tue, 27 Feb 2001 03:01:00 -0000 Message-id: <983271628.3a9b88cc5b49f@imp.imms.de> References: <5.0.2.1.0.20010226194945.02361ed8@pop-ug.doc.ic.ac.uk> X-SW-Source: 2001-02/msg00408.html > Hello, > > I am trying to use eCos to build a fairly large application to be placed in > ROM - however the default memory map for AEB-1 is rather small (32k) - now > I am trying to increase the available ROM available for building the image > - which file should I change? I have looked at > platform/hal/arm/aeb/version/cdl/hal_arm_aeb.cdl, which points me to some > header file - however it say it is calculated - where does it calculate > from? Can anyone shed some light on it? The cheapest and fastest solution would be using another 32k of the AEB flash ROM which gives you a total of 64k flash (don´t know if that's enough for "a fairly large application"). I have a AEB revision C where the memory area between 0x4010000 and 0x4017fff is available (be sure to check this with the AEB monitor command "rommodules"; otherwise some "side effects" could happen like overwriting the AEB monitor or Angel). When using the standard memory map from eCos only the area between 0x4018000 and 0x401ffff (=32k) is available. In order to use the additional flash area you have to do the following: In the files packages/hal/arm/aeb/current/include/pkgconf/mlt_arm_aebC_rom.ldi packages/hal/arm/aeb/current/include/pkgconf/mlt_arm_aebC_rom.h you have to change ROM adresses from 0x4018000 to 0x4010000 and ROM length from 0x8000 to 0x10000. In the file packages/hal/arm/aeb/current/include/plf_stub.h you have to change the reset entry from 0x4018000 to 0x4010000. After downloading your application image into RAM (monitor command "download c000") you have to use the command "flashwrite 4010000 c000 10000". Wolfram -- Wolfram 'L.A.' Kattanek Institut fuer Mikroelektronik- und Email: LA@imms.de Mechatronik-Systeme (IMMS) gGmbH Tel: +49 3677 / 6783-55 Langewiesener Str. 22 Fax: +49 3677 / 6783-38 98693 Ilmenau / Germany ------------------------------------------------- This mail sent through IMP: imp.imms.de