STM32F429DICOVERY 无法下载
我把一个网上下载的历程烧写完以后,运行一下,再往里用keil往里写就再也写不进去了不知道为什,哪位大师帮帮忙啊?我之前烧写的历程代码是
@file FLASH_DualBoot/main.c
* @authorMCD 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往里写就再也写不进去了不知道为什,哪位大师帮帮忙啊?
问题已解决了 ,我看了一下程序代码好像是写保护了,我就用 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
你这问题解决的真快,其实遇见问题了,对学习来说,是好事情,可以锻炼你分析程序,解决错误的能力 STM32F429如果写的代码量太多了,你会发现使用ST-LINK下载非常慢,感觉2M的FLASH使用ST-link很不方便,还是J-LINK下载速度更快! 楼主应当掌握多种程序下载方法,比如串口,DFU,SWD,JTAG等等,当一种不行的时候,试下用别的方法,当芯片被锁的时候,网上有多种解锁方法。
页:
[1]