Other Parts Discussed in Thread: C2000WARE
I’m still not confident that I understood everything that is on the Technical Manual.
Our main requirement for security is relatively simple:
- Flash memory is protected against un-authorized readout
- We need to be able to “disable” security so that we can debug and step-through code when we need to debug issues
In the F2803x family, this was relatively easy:
- Write 0x0000 to CSM_RSVD locations (starting from 0x3F7F80)
2. Write PASSWORD (128-bit) to CSM_PWL_P0 locations (starting from 0x3F7FF8)
3. In the main() function, we “lock” the DSP by calling CsmLock() which is a function already defined in DSP2803x_SysCtrl.c. If we want to debug, then we simply comment-out and not call CsmLock()
The info provided in SPRUI33C is quite detailed but unfortunately not very clear for me.
Do you have a document that explains better the steps to enable security and also to disable it? Maybe a code example will help.
I’m trying to be cautious here because I don’t want to lock the DSP and end up locking it forever. We have a few board available but not a lot.
Regards Bernd

