SPRUHM8K December 2013 – May 2024 TMS320F28374D , TMS320F28375D , TMS320F28376D , TMS320F28377D , TMS320F28377D-EP , TMS320F28377D-Q1 , TMS320F28378D , TMS320F28379D , TMS320F28379D-Q1
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 TMS320F2837xD Flash API Version 1.54 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. Flash API must be executed from RAM.
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.