板子为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 Map\STM32F4_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 continue ... |
Opening Port [OK]
ERASING STM32...
Enter STBL_ERASE...
erasing all pages [KO]
the MapFile name is Map\STM32F4_05_07_15_17_1024K.STmap
Activating device [OK]
DOWNLOADING ...
downloading page/sector 0 @0x 8000000 size 16.00(KB) [OK]
downloading page/sector 1 @0x 8004000 size 16.00(KB) [OK]
downloading page/sector 2 @0x 8008000 size 16.00(KB) [OK]
downloading page/sector 3 @0x 800C000 size 16.00(KB) [OK]
downloading page/sector 4 @0x 8010000 size 35.63(KB) [OK]
disabling read protection [OK]
reseting device [OK]
手动复位之后把Boot0置为0,无法启动。文件大小也不对,在window上显示有280KB。
有哪位大神知道嘛?
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 Map\STM32F4_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 Map\STM32F4_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
不是提示版本不支持么?
评分
查看全部评分
评分
查看全部评分
评分
查看全部评分