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.
Hi,
Do you have an example project or an application note for deleting and programming the flash in the TMS320F2837xS or TMS320F2837xD?
The code should run from the RAM.
Are there any special compiler or linker settings for this?
Many Thanks
Fred
Fred,
You can use flash API to erase and program the flash.
1)
Flash API usage examples are available in C2000Ware at:
\ti\c2000\C2000Ware_3_04_00_00\device_support\f2837xd\examples\dual\flash_programming
\ti\c2000\C2000Ware_3_04_00_00\device_support\f2837xs\examples\cpu1\flash_programming
Above examples copy flash API from flash to RAM before doing flash erase/program operations.
2)
You can refer to below documentation:
\ti\c2000\C2000Ware_3_04_00_00\libraries\flash_api\f2837xd
\ti\c2000\C2000Ware_3_04_00_00\libraries\flash_api\f2837xs
You can find the documentation in docs folder at above path.
3)
These FAQs may help: https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/951697/faq-flash-frequently-asked-questions
Thanks and regards,
Vamsi