Hi Christopher,
Good, from your picture, you also make it works, now answer your new two questions:
1.why the backdoor key is 0000 0000 0100 0000 and not 0000 0000 0000 0001?
.section .FlashConfig, "a"
.long 0x00000000
.long 0x00000001
.long 0xFFFFFFFF
.long 0xFFFFFFBD
Please note:
.long is the LE, not BE. LE means little end, BE means Big end.
So, 0X00000001, 0x01 is the address 0x404.
.long 0xB3B2B1B0
.long 0xB7B6B5B4
In the backdoor key is:B0B1B2B3B4B5B6B7
I think this is good to understand now.
2. jlink commander
Yes, don't use JLINK command to connect it again, it will unlock it automatically.
Please note, secure but allow the mass erase, other people can't erase it, but can't read or write the code, so it will protect the code from accessing through the SWD interface. Erase won't be protected.
Wish it helps you!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------