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.

TMS320F2800157: Writing Data into Specific location of Flash Memory

Part Number: TMS320F2800157


Tool/software:

Hi team,

I need to write data 0x5AA5 in specified location (0x090000) of flash memory of F2800157 using #pragma LOCATION() directive.

I tried with the following commands in my .c file.

#pragma LOCATION(MagicKey,0x090000)
unsigned int MagicKey = 0x5AA5;

But it wasn't work. How do I achieve it?. Kindly help.

Thanks & Regards,

Loganathan C