板子为
STM32F407. 在官网上下载了STMFlashLoader Demo.exe 和 STMFlashLoader.exe。把BOOT0置为1,通过STMFlashLoader Demo.exe可以成功下载程序。出于某些原因需要用命令行的方式。
同样BOOT0置为1. 命令行输入:
STMFlashLoader.exe -c --pn 3 --br 115200 --co ON -Rts --Hi -Dtr --Lo -e --all -i STM32F4_05_07_15_17_1024K.STmap -d --a @08000000 --fn monitor.hex --v
但是提示无法擦除,哪位大神知道是什么原因呢?是哪里设置不对么?
Opening Port [OK]
Set Rts line [OK]
Reset Dtr line [OK]
the MapFile name is MapSTM32F4_05_07_15_17_1024K.STmap.STmap
This version is not intended to support the <STM32F4_05_07_15_17_1024K.STmap> ta
rget
Press any key to con
tinue ...
STMFlashLoader.exe -c --pn 3 --br 115200 --co ON -Rts --Hi -Dtr --Lo -e --all -i STM32F4_05_07_15_17_1024K -d --a @08000000 --fn monitor.hex --v
提示:
Opening Port [OK]
Set Rts line [OK]
Reset Dtr line [OK]
the MapFile name is MapSTM32F4_05_07_15_17_1024K.STmap
Activating device [KO]
No response from the target, the Boot loader can not be started.
Please, verify the boot mode configuration, reset your device then try again.
Please, reset your device then then press any key to continue
ERASING STM32...
Enter STBL_ERASE...
erasing all pages [KO]
the MapFile name is MapSTM32F4_05_07_15_17_1024K.STmap
Activating device [KO]
No response from the target, the Boot loader can not be started.
Please, verify the boot mode configuration, reset your device then try again.
Please, reset your device then then press any key to continue
rget
不是提示版本不支持么?
一周热门 更多>