我在尝试将演示程序上传到新的 stm32f4discovery 板时遇到问题,这就是我正在做的事情:
- 将板子连接到电脑
- openocd -f 板/stm32f4discovery.cfg
远程登录本地主机 4444
Open On-Chip Debugger > reset init target state: halted target halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0xfffffffe msp: 0xfffffffc > flash write_image demo.hex device id = 0x10016413 flash size = 8192kbytes flash write algorithm aborted by target error executing stm32x flash write algorithm flash memory write protected flash write failed = 00000010 error writing to flash at address 0x08000000 at offset 0x00000000 in procedure 'flash'
我究竟做错了什么 ?我试过闪存保护,stm32f2x 解锁但响应仍然相同:'闪存写保护',我错过了什么?我正在使用来自'Project/Demonstration/Binary'的包'STM32F4-Discovery_FW_V1.1.0'的st.com的预编译演示程序。