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.

f28377d ram and flash

Other Parts Discussed in Thread: TMS320F28377D

Hi everybody,

I wonder two things about  tms320f28377d.

1.

When I load code to internal flash of the device, what is the procedure of the running it.

I always thought that DSP carry the code from FLASH to RAM  then run it from RAM for faster process. But I observed today that is not the way it works. Could anyone give detailed explanation about it.

I also looked to the linker command file and saw that some of the code sections are written on RAM and some of are written in FLASH.

 

2.

Is there a way to load the code to flash of the device without changing the boot mode to SCI. I tried to write dricetly to the FLASH with F021 API. First I converted the .out file to .hex format. Then I started to erase sectors of flash with software to write the raw hex data to flash.
When I erased the sector B the code is instantly stope and ccs says no source awailable. (Other sectors doesn't cause a problem I can erase them ) Does it mean that my DSP is running the code from FLASH B not he RAM?

 

Thank you