STMFlashLoader命令行方式下载提示无法擦除

2019-07-14 15:16发布

板子为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 continue ...
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
该问题目前已经被作者或者管理员关闭, 无法添加新回复
14条回答
我到底怎么了
1楼-- · 2019-07-14 18:30
发现stam的名字写错了,更改了下。
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
我到底怎么了
2楼-- · 2019-07-15 00:10
加上擦除提示擦除失败。Opening Port                             [OK]

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
andyseu
3楼-- · 2019-07-15 05:52
学习学习               
xieweibin
4楼-- · 2019-07-15 09:59
 精彩回答 2  元偷偷看……
loonor
5楼-- · 2019-07-15 15:04
This version is not intended to support the <STM32F4_05_07_15_17_1024K.STmap> ta
rget
不是提示版本不支持么?
jiaolesu
6楼-- · 2019-07-15 19:54
版本不支持

一周热门 更多>