SPRUHX5I August 2014 – May 2024 TMS320F28374S , TMS320F28375S , TMS320F28375S-Q1 , TMS320F28376S , TMS320F28377S , TMS320F28377S-Q1 , TMS320F28378S , TMS320F28379S
Flash memory can be programmed either by using the CCS Flash plugin or by using UniFlash. If these methods are not feasible in an application, the API can be used. The Flash memory must be programmed, erased, and verified only by using the F021 Flash API library. These functions are written, compiled and validated by Texas Instruments. The Flash module contains a Flash state machine (FSM) to perform program and erase operations. This section only provides a high level description for these operations, therefore, refer to the TMS320F2837xS Flash API Version 1.55 Reference Guide for more information. Note that Flash API execution is interruptible. However, there must not be any read/fetch access from the Flash bank on which an erase/program operation is in progress. For dual bank devices, Flash API can be executed from one Flash bank to perform erase/program operations on the other Flash bank. For single Flash bank devices, Flash API must be executed from RAM and not from Flash.
A typical flow to program
Flash is:
Erase → Program → Verify
Always refer to the device-specific support folder in the controlSUITE™ software for the latest Flash API library.