This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28052F: DCSM unlocking / locking Zone2

Part Number: TMS320F28052F


Based on spruhe5c info, I have succesfully set a password and managed to unlock/unsecure Zone2. Status Z2_CR (0x0BD9) starts at 0x0040 (dummy read done) and goes to 0x0060 (pasword matched) after unlocking.

Writing 0x8000 to Z2_CR does again secure the zone and sets status Z2_CR to 0.

From this point, attempts to unlock Z2 again have failed. I have not managed to get do a successfull dummy read and get Z2_CR from 0 to 0x04. What is the exact sequence needed to do this?

The datasheet menstions that at startup this is done in bootrom, but I want to do this switching between secure and unsecure in usercode.

(BTW, this is on a instaspin device so Zone_1 is reserved/locked for that.)

Thanks,

Harry