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.

TMS320F28379D: Can't write in Flash Memory

Part Number: TMS320F28379D


Hi everyone,

I have an issue regarding the Flash memory of a F28379D.

Using Code Composer 6.2.0 and a XDS510USB probe, I can't write my program in Flash memory :

C28xx_CPU1: Loader: One or more sections of your program falls into a memory region that is not writable.  These regions will not actually be written to the target.  Check your linker configuration and/or memory map.

C28xx_CPU1: File Loader: Verification failed: Values at address 0x80004@Program do not match Please verify target memory and memory map.

C28xx_CPU1: GEL: File: C:\Users\T0175769\Downloads\CODE_GEN\modele_test_CEM.out: a data verification error occurred, file load failed.

I also have an error when I try to erase the Flash sectors :

The problem appears only on some F28379Ds, I have other ones that work fine.

I suspected that a protection (DCSM) was active but  the SECTSTAT registers look normal : 

I was able to program the Flash memory using serial_flash_programmer tool and the Serial Interface, so the memory itself seem functionnal.

I am still able to connect to the target and write a program in RAM memory, only the Flash sectors seem to be inaccessible with JTAG interface.

Thank you in advance for your help !