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.