Other Parts Discussed in Thread: SYSCONFIG, C2000WARE
After enabling the DCSM to dedicate all RAM and Flash to Z1, I can't access Flash bank 1. Here is the configuration I used:
.sect "dcsm_zsel_z1" .retain .long 0x000000FF ;Z1-EXEONLYRAM .long 0x00003FFF ;Z1-EXEONLYSECT .long 0x10005555 ;Z1-GRABRAM .long 0x15555555 ;Z1-GRABSECT
The whole bank 1 should be under Z1 or not? I can't read (for example 0x0C0000) from debugger or direct from code. Am I missing something? Without DCSM everything works as it should.
In dcsm_security_tool example, it is not possible to configure flash bank 1 at all! If one uses the example then the flash bank 1 access will be set to 0 = Invalid. Flash BANK1 is inaccessible.