> The gcc Startup files have the loop to move .data section and clear the .bss section before jumping to main so I assume there is a setting in ADS to do this automatically during assembly? Like I say, the code wont execute on anything with global variables....I get either random data or program crash and that it must be due to how im initializing the micro! > > David. Hmmm... the C startup code should move all the initialised data and zero the ZI (.bss) data for you. I can't see that Keil's IDE would be changing things. We had better take this offline, and post the fix back to the group (if appropriate) when we've sorted it out. Peter.
Message
Re: LPC2106 IAP
2004-03-28 by Peter
Attachments
- No local attachments were found for this message.