Hello,
Example "Running an Application from Internal Flash Memory on the TMS320F28xx DSP (Rev. H)" has a file Passwords.asm. This file has the following comment:
* 4) The section "csm_rsvd" is required when using code security.
* Failure to program addresses 0x33FF80 through 0x33FFF5 in the
* flash to all 0x0000 can compromise security.
and code:
.sect "csm_rsvd"
.loop (33FFF5h - 33FF80h + 1)
.int 0x0000
.endloop
Does this piece of code initialize csm_rsvd section with 0x0000 values, in other words turns CSM on?
The project I have is based on this example. It works fine from flash when programmed with JTAG. I can do it many times, so it seems that CSM module is switched off.
But the problem now for me is how to program flash via RS232. After trying to programm flash via RS232 using C2000prog.exe I have the locked processor :(
How to be sure that CSM is switched off in my project?
Thanks.