Alexander Why don't you initialized your external memory control at the beginning asm code. Actually, if you can init it before your first C function will OK.
BR Thx Libo Wang -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Alexander Aganichev Sent: Wednesday, May 20, 2009 6:23 PM To: [email protected] Subject: [ECOS] ARM/LPC2468 startup from ROM Hello, I noticed that ARM HAL puts stack in .bss segment, but before the HAL get fully initialized, the startup code uses stack as well. The issue is that external memory controller is not initialized at that moment and .bss does not fit into the internal SRAM. I wonder how this issue resolved on other ARM systems and is there any cleaner way than just hacking ecos/packages/hal/arm/arch/current/src/vectors.S to put stack in the segment other than .bss. -- WBR, Alexander -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
