2020-07-17 05:12 AM
2020-07-17 05:17 AM
With BOOT0=HIGH your code will no longer run at reset, and you can recover/erase the device in that mode
2020-07-17 05:24 AM
So I can access jtag pins by interfering with this situation with hardware boot pin? Is that so?
2020-07-17 05:24 AM
So I can access jtag pins by interfering with this situation with hardware boot pin? Is that so?
2020-07-17 05:38 AM
Yes. Hold BOOT0 high during reset and access the chip with JTAG or SWD.
2020-07-17 05:48 AM
Correct
You can protect the content of the flash from extraction with RDP/ROP (Read Out Protection) settings.
If you use an STM32 design that isn't 12+ years old you can also blow a fuse that disables the interface permanently. But you should think about how to use that, and how to update from within, before you brick the device and need ComponentSolderingDude to replace the IC
2020-07-17 06:05 AM
Thank you. It's not a solution for the JTAG pins to be completely closed out, but as far as I understand.
2020-07-17 06:06 AM
Thanks for your interest.
2020-07-17 06:10 AM
Yes, think of threat surface as a sphere, where the radius is the disparity in wits, and where the radius can increase over time