Hi Peter... This morning I compiled the code using the eval version of Crossworks and it works perfectly!! No problem with global variables, structures or anything, so think il get my work finished with Crossworks and then try to figure out what im doing wrong with ADS that is causing the problems!!!! Thanks! Peter <pmaloy@...> wrote: > 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. --------------------------------- Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/lpc2000/ To unsubscribe from this group, send an email to: lpc2000-unsubscribe@yahoogroups.com Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. --------------------------------- Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard
Message
Re: [lpc2000] Re: LPC2106 IAP
2004-03-28 by David Bermingham
Attachments
- No local attachments were found for this message.