Other Parts Discussed in Thread: UNIFLASH
Context
Target : TMS320F2809 on a custom board ;
Code Composer Version :
(no choice, it is an old project by my predecessor colleague how did not use an emulator)
Emulation : Spectrum Digital XDS100v2
Tries
Regarding http://software-dl.ti.com/ccs/esd/documents/ccsv7_debugging_jtag_connectivity_issues.html#c28x-device-locked (Note: It is not my CCS version, but it is a way.)
First try
Regarding,
https://e2e.ti.com/support/microcontrollers/c2000/f/171/p/489852/1768334
From the first message by Vivek Singh, in Boot Mode SCI, I have :
So I do not have 0x0000 for all keys.
(currently, I do not know the definition/description of CSMSCR/SECURE register)
Second try
If I try to unlock on the "On-Chip Flash" view, with the [Unlock] button,
I have :
And Console said me,
Note 1 : Impossible to erase the Flash, same error :
Note2 : I was connected,
Third try
Try with UniFlash
I have the same results for Unlock device action, Erase memory action and Password content at memory address.
I have try too to erase all sectors exception for Sector A, as described in https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/248836?F2806x-Flash-locked (solution by Manoj, frist message by him)
=> Same error "[ERROR] C28xx: Flash Programmer: Error erasing flash memory. Device is locked or not connected. Operation cancelled" ;
Depletion recovery action failed too => "[ERROR] C28xx: Flash Programmer: Error when performing depletion recovery. Device is locked or not connected. Operation cancelled."
Questions
- Regarding,
https://e2e.ti.com/support/microcontrollers/c2000/f/171/p/489852/1768334
From the last message by Vivek Singh,
- I do not know how have information from .map. In fact, I have :
CSM_PWL 003f7ff8 00000008 00000008 00000000 RWIX
CSM 00000ae0 00000010 00000010 00000000 RWIX
csm_rsvd 0 003f7f80 00000076
003f7f80 00000076 DSP280x_CSMPasswords.obj (csm_rsvd)
csmpasswds
* 0 003f7ff8 00000008
003f7ff8 00000008 DSP280x_CSMPasswords.obj (csmpasswds)
CsmRegsFile
* 1 00000ae0 00000010 UNINITIALIZED
00000ae0 00000010 DSP280x_GlobalVariableDefs.obj (CsmRegsFile)
CsmPwlFile
* 1 003f7ff8 00000008 UNINITIALIZED
003f7ff8 00000008 DSP280x_GlobalVariableDefs.obj (CsmPwlFile)
00000ae0 2b (00000ac0) _CsmRegs
- In fact, I have in the <DSP280x_CSMPasswords.asm> file this content :
.sect "csmpasswds"
.int 0xFFFF ;PWL0 (LSW of 128-bit password)
.int 0xFFFF ;PWL1
.int 0xFFFF ;PWL2
.int 0xFFFF ;PWL3
.int 0xFFFF ;PWL4
.int 0xFFFF ;PWL5
.int 0xFFFF ;PWL6
.int 0xFFFF ;PWL7 (MSW of 128-bit password)
.sect "csm_rsvd"
.loop (3F7FF5h - 3F7F80h + 1)
.int 0x0000
.endloop
- From .out file: I do not know how can I have password from it !???
- Have you a track to solve it or to explain my situation, for me, please?
Thanks.








