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.

TMS320F28067: TMS320F28067 : Flash erase fails when API executed from secure RAM

Part Number: TMS320F28067

So....I have the CSM active. When I try to program new code on the DSP I get the error '10' (CSM locked) at flash erase.

The bootloader is located in flash sector A and it is copied in L3 DPSRAM (Secure Zone). The internal variables are located in L3 and L4 (secured zone). The stack is located in M1 SARAM (unsecure)

Shouldn't I be able to erase the flash from a secured zone without deactivating the CSM??

Thank You.