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

STM32F429DICOVERY 无法下载

[复制链接]
小贾-370388 提问时间:2014-12-20 22:09 /
我把一个网上下载的历程烧写完以后,运行一下,再往里用keil往里写就再也写不进去了不知道为什,哪位大师帮帮忙啊?
我之前烧写的历程代码是  
    @file    FLASH_DualBoot/main.c
  * @author  MCD Application Team
  * @version V1.0.0
  * @date    20-September-2013
  * @brief   This example provides a description of how to program bank1 and
  *          bank2 of the FLASH memory integrated within STM32F429I-DISCO Devices
  *          and swap between both of them.

#define MESSAGE1   "STM32F429X          "
  #define MESSAGE2   "Device running on   "

  #ifdef FLASH_BANK1
    #define MESSAGE3   "FLASH BANK1        "
  #else
    #define MESSAGE3   "FLASH BANK2        "
  #endif

#define MESSAGE5   "PUSH Key button"

#define MESSAGE7   "   Swap BFB2   "

烧写后屏幕好像也是现实了 上面这些东西 我再再一按复位就什么也不显示了
,再往里用keil往里写就再也写不进去了不知道为什,哪位大师帮帮忙啊?



收藏 评论4 发布时间:2014-12-20 22:09

举报

4个回答
小贾-370388 回答时间:2014-12-21 10:39:37
问题已解决了 ,我看了一下程序代码好像是写保护了,我就用 stm32 stlink utility工具硬往里写,一开始提示写保护,软件会自动擦除写保护最后提示成功,软件提示如下10:19:42 : Device family :STM32F42xx/F43xx
10:19:42 : Read out protection is activated
10:19:43 : Could not disable Read Out Protection!
10:19:46 : Device memory program canceled
10:19:47 : Can not read memory!
                  Disable Read Out Protection and retry.
10:20:13 : Read out protection is activated.
10:20:25 : Read out protection disabled.
10:20:25 : Some flash sectors are read protected.
10:20:30 : Disabling of SPRMOD and/or read protection of user flash sectors will generate a full chip erase.
10:20:46 : Read protection disabled.
10:20:48 : Flash memory programmed in 0s and 640ms.
10:20:48 : Verification...OK
wamcncn 回答时间:2014-12-21 12:08:32
你这问题解决的真快,其实遇见问题了,对学习来说,是好事情,可以锻炼你分析程序,解决错误的能力
晓枫VS枯叶 回答时间:2014-12-22 12:41:17
STM32F429如果写的代码量太多了,你会发现使用ST-LINK下载非常慢,感觉2M的FLASH使用ST-link很不方便,还是J-LINK下载速度更快!
五哥1 回答时间:2018-5-25 00:24:47
楼主应当掌握多种程序下载方法,比如串口,DFU,SWD,JTAG等等,当一种不行的时候,试下用别的方法,当芯片被锁的时候,网上有多种解锁方法。

评分

参与人数 1蝴蝶豆 +2 收起 理由
zero99 + 2

查看全部评分

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