你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

STMFlashLoader 命令行方式下载

[复制链接]
45度斜向上 提问时间:2016-12-14 14:21 /
板子为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 ...

收藏 2 评论15 发布时间:2016-12-14 14:21

举报

15个回答
45度斜向上 回答时间:2016-12-14 16:56:32
不设置DTR和RTS后,
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。
有哪位大神知道嘛?
45度斜向上 回答时间:2016-12-14 14:37:13
发现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 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
45度斜向上 回答时间:2016-12-14 15:10:03
加上擦除提示擦除失败。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                                [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
jackten 回答时间:2016-12-14 15:38:42
学习学习               
无薪税绵 回答时间:2017-3-7 08:19:02
启动模式配置不正确。

评分

参与人数 1ST金币 +2 收起 理由
zero99 + 2

查看全部评分

胤幻1988 回答时间:2017-3-7 08:54:02
This version is not intended to support the <STM32F4_05_07_15_17_1024K.STmap> ta
rget
不是提示版本不支持么?

评分

参与人数 1ST金币 +2 收起 理由
zero99 + 2

查看全部评分

yb0121 回答时间:2017-3-7 10:30:42
版本不支持

评分

参与人数 1ST金币 +2 收起 理由
zero99 + 2

查看全部评分

johnson_gong 回答时间:2017-3-7 11:04:32
提示模式配置不正确呀

评分

参与人数 1ST金币 +2 收起 理由
zero99 + 2

查看全部评分

cldym 回答时间:2017-3-7 11:36:44
学习学习   
cldym 回答时间:2017-3-7 11:37:05
学习学习   
zbber 回答时间:2017-3-7 13:16:47
提示模式配置不正确呀
任风吹吹 回答时间:2017-3-7 14:46:31
第一次看见有人用这个命令行模式,真是学习了。
衔胆栖冰 回答时间:2017-3-8 22:25:44
zhao.zhao 回答时间:2017-3-11 16:36:17
我的神,这里有高人,我想都没想到这都能做
12下一页

所属标签

相似问题

关于意法半导体
我们是谁
投资者关系
意法半导体可持续发展举措
创新与技术
招聘信息
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
关注我们
st-img 微信公众号
st-img 手机版