Limitations of Flash_API for C2000 Series (28335) DSP[Copy link]
The API can: 1. Can run in static internal SARAM 2. Configure the correct CPU frequency 3. Integrate the API into the application according to the Flash_API list 4. Initialize the PLL control registers and wait for the PLL to lock before using the API function 5. Initialize the API callback function pointer (Flash_CallbackPtr). If the callback function is not used, please point to NULL. Failure to initialize will cause the program to jump to an undefined location 6. Carefully read the API restrictions on callback functions, interrupts, watchdogs, etc. API cannot: 1. Cannot be executed in flash or OTP. If the APIs are stored in flash or OTP, please copy them to SARAM before use. 2. Do not execute any interrupt service routines when erasing, programming or other API functions operate flash and OTP storage blocks. You can execute or operate the data space only after the API function is completed or exits flash and OTP 3. Do not execute API callback functions in flash or OTP 4. Do not stop erasing and programming when they are executed 5. Do not execute code or fetch data from flash or OTP data space when erasing and programming are executed.