stm32f1x 绕过rdp1 提取固件
使用st公司的MB1034B开发板,断开板载调试接口(cn2)后控制电源JP2.
烧录代码使用rdp 1
再次读出就会提示保护
攻击成功
攻击代码部分详解
全局定义
1 |
|
1 | uint32_t flashData = 0; |
1 | /* Reads one 32-bit word from read-protection Flash memory. Address must be 32-bit aligned */ |
参考:
https://lucasteske.dev/2024/01/stm32f0x-protected-firmware-dumper#stm32f0x-protected-firmware-dumper