Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: LPC2106 IAP

2004-03-28 by Peter

> 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.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.