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.

TMS320F28377D: Internal flash access of tms320f28379d microcontroller issues

Part Number: TMS320F28377D
Other Parts Discussed in Thread: TMS320F28379D, C2000WARE

hi, we are using TMS320F28379D controller

in that we are using internal flash sector J From (b0000 to b7FFF)  to store the data (data in the sense address of external EEPROM) and every time user enter data (address of EEPROM)  first we will check in internal flash that address is already present or not if already present then we will fetch that address and we will do read and write operation this is the process we are using but when i dump my code in microcontroller its working perfectly fine but when i do reset its not working properly 

it is not working properly because of accessing internal flash according to me ...........is there any solution for this please let me know

can we access internal flash multiple times after reset?

regards

J.Muniniteesh

  • Muni,

    The Flash API has to be ran from RAM, so you will need to use a  load/run statement in the .cmd file(along with pragma to define code_section).  I'm wondering if with CCS you have loaded to RAM directly, which will work with emulator connected, but in standalone mode nothing will be in RAM if done this way.

    Please take a look at the Flash examples in C2000Ware; you should see the setup I mention above in the .cmd file and main.c file used in that example.

    Best,

    Matthew