TMS320F280025: Regarding securing flash using DCSM module.

Part Number: TMS320F280025
Other Parts Discussed in Thread: UNIFLASH

Hi,

I'm using zone 2 for securing only sector 9 of the flash memory, i programmed the csm password as well

Z2CSM PSWD0: FFFF FFFF

Z2CSM PSWD1: E3FF FFFE

Z2CSM PSWD2: FFFF FFFF

Z2CSM PSWD3: FFFF FFFF

I'm currently not using zone 1, the default csm password are present for zone 1.

here are  my doubts:-

1) even though my code starts from sector 0 - sector 6, i'm not able to load the image through uniflash without the correct csm passwords.

Do i need to match the csm password even if the code is to flashed to unsecure memory regions?

( I referred to this discussion  TMS320F28379D: using UniFlash to configure DCSM for the first time and had put the controller in wait boot mode using the pins on launch pad )

2) i'm not able to read the code (verify image / read memory)  even after matching the csm passwords.

3) I tried in CCS, i'm able read/ Flash the code with the correct csm passwords entered in the flash settings in the project properties.

If i see the B0_SECTSTAT Register, i can see that all other sectors from 0 to 6 are unsecured.

But when i try to enter the wrong csm pswd in Z2_CSMKEY1, along with the sector 8 all other sectors are getting read protected.

The sector 0 start address is 0x81000

                                  

                         Img1: With csm pswd match                                                                  Img2: With wrong csmKey1                    

 Can someone kindly clear my doubts regarding this?

thanks,

jeevan