AnsweredAssumed Answered

what should happens when the USB-DFU sets CRP and then flashes an image?

Question asked by anglesmith.titanius on Mar 19, 2015
Latest reply on Mar 19, 2015 by anglesmith.titanius
I am wondering if this was expected.

I use the DFU-USB image to jump to an app on 0x800c000, but before jumping it sets the RDP/CRP level to 1 within it's main().

Then I use the Dfuse demo app to flash a new image on 0x800c000. Jumping from the DFU-USB works as expected.

Question
1. In the DFU-USB mode, the Dfuse Demo app seems to be able to read the exposed internal flash. Is that normal even though CRP=1?

2. I am guessing that i can flash as many times a new image at 0x800c000 without having to reflash the DFU-USB bootloader until i change CRP level from 1 to 0 and back to 1.

When i read  AN3156, pg 11/26 there is a table which says then Read Protection is enabled DFU_DNLOAD should not be allowed. Am i reading something else?

thanks for reading

Outcomes