At 07:53 07-10-05 -0300, you wrote:
>Hi all,
>
>       Is there a way for placing initialized data at next free segment? I mean
not 
>manually verifying what is the last used address and changing the code but
an 
>automated way to do this.
>       I need to rewrite some portions of flash memory at runtime.

That symbol is _etext. If you declare 
extern char _etext;

you should find the last used address in &_etext.

Nico Coesel


Reply via email to