This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Placing an Array at fixed address on flash memory - LM4F231H5QR - CCS5.3

Hi Friends,

I am using LM4F231H5QR and CCS5.3

For some reason I need to update huge (6K bytes) array of data may be once in a year, through serial port.

so I need to place this data at specific address by default in code so that I can write new data into same place,  array's max size is 6K but it may be less, 

Help me in declaring variable in flash at particular address.

Thank you,

Regards

Paddy

  • Hi,

    Can some one help me on this? 

    Still I am unable to.

    Best Regards

    Paddy

  • Might you, "gain ground" by attempting first to place such an array w/in SRAM - which is faster/easier.  This enables your test & verification of your method.  And - in addition - writing to SRAM in such volume is far faster than writing to Flash - while providing other advantages.

    Once you've mastered this, "Array to RAM" method - you'll need a few "hooks" to properly "prepare" and then write your array into, "safe/unused flash."  Believe this beginning SRAM method will well, "point the way" to your final success - and is a likely aid toward your final objective...

    This Flash "Prepare, then Write" procedure is covered w/in one (perhaps several) vendor docs, btw...