Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Flash variables

2005-04-23 by Robert Adsett

At 11:33 PM 4/22/05 +0200, Anton Erasmus wrote:
>On 22 Apr 2005 at 15:07, Robert Adsett wrote:

<much snipped>

> > OK, I'll bite.  Why would you copy the .rodata section to RAM?  I
> > haven't seen any need to.  From one of my linker files
>Sorry, an artifact from working with the AVR. There the .rodata section is 
>handled the
>same as the .data section. The variables are placed in RAM and their 
>initial value
>copied from flash memory by the startup code. Of course the ARM does not
>need this and the .rodata section can be kept in flash.

That makes sense.  After a while all the different architectures do tend to 
blur.

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,   be 
they legal, genetic, or physical.  If you don't believe me, try to chew a 
radio signal. "  -- Kelvin Throop, III
http://www.aeolusdevelopment.com/

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.