OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 2576|回复: 3

Error: Flash Download Failed-"Cortex-M3" ----解决方案

[复制链接]

4

主题

10

帖子

0

精华

新手上路

积分
47
金钱
47
注册时间
2019-4-29
在线时间
6 小时
发表于 2019-7-25 12:02:41 | 显示全部楼层 |阅读模式
1金钱
*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Rebuild target 'Template'
compiling main.c...
compiling stm32f10x_it.c...
compiling system_stm32f10x.c...
compiling delay.c...
compiling usart.c...
assembling startup_stm32f10x_hd.s...
compiling sys.c...
compiling core_cm3.c...
compiling misc.c...
compiling stm32f10x_adc.c...
compiling stm32f10x_bkp.c...
compiling stm32f10x_cec.c...
compiling stm32f10x_can.c...
compiling stm32f10x_crc.c...
compiling stm32f10x_dbgmcu.c...
compiling stm32f10x_dac.c...
compiling stm32f10x_dma.c...
compiling stm32f10x_exti.c...
compiling stm32f10x_flash.c...
compiling stm32f10x_fsmc.c...
compiling stm32f10x_gpio.c...
compiling stm32f10x_i2c.c...
compiling stm32f10x_iwdg.c...
compiling stm32f10x_pwr.c...
compiling stm32f10x_rcc.c...
compiling stm32f10x_rtc.c...
compiling stm32f10x_sdio.c...
compiling stm32f10x_spi.c...
compiling stm32f10x_tim.c...
compiling stm32f10x_usart.c...
compiling stm32f10x_wwdg.c...
compiling led.c...
linking...
Program Size: Code=1600 RO-data=336 RW-data=32 ZI-data=1832  
FromELF: creating hex file...
"..\OBJ\Template.axf" - 0 Error(s), 0 Warning(s).
Build Time Elapsed:  00:00:35
Load "..\\OBJ\\Template.axf"
Set JLink Project File to "C:\Users\半山\Desktop\实验0-1 Template工程模板- 视频中库函数跑马灯新建出来的-战舰_精英\USER\JLinkSettings.ini"
* JLink Info: Device "STM32F103ZE" selected.

JLink info:
------------
DLL: V6.46k, compiled Jul 22 2019 10:49:32
Firmware: J-Link ARM-OB STM32 compiled Aug 22 2012 19:52:04
Hardware: V7.00
S/N : 20090937
Feature(s) : RDI,FlashDL,FlashBP,JFlash,GDBFull

* JLink Info: Found SW-DP with ID 0x1BA01477
* JLink Info: Found SW-DP with ID 0x1BA01477
* JLink Info: Scanning AP map to find all available APs
* JLink Info: AP[1]: Stopped AP scan as end of AP map has been reached
* JLink Info: AP[0]: AHB-AP (IDR: 0x14770011)
* JLink Info: Iterating through AP map to find AHB-AP to use
* JLink Info: AP[0]: Core found
* JLink Info: AP[0]: AHB-AP ROM base: 0xE00FF000
* JLink Info: CPUID register: 0x411FC231. Implementer code: 0x41 (ARM)
* JLink Info: Found Cortex-M3 r1p1, Little endian.
* JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots
* JLink Info: CoreSight components:
* JLink Info: ROMTbl[0] @ E00FF000
* JLink Info: ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 001BB000 SCS
* JLink Info: ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 001BB002 DWT
* JLink Info: ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 000BB003 FPB
* JLink Info: ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 001BB001 ITM
* JLink Info: ROMTbl[0][4]: E0040000, CID: B105900D, PID: 001BB923 TPIU-Lite
* JLink Info: ROMTbl[0][5]: E0041000, CID: B105900D, PID: 101BB924 ETM-M3
ROMTableAddr = 0xE00FF000
* JLink Info: Reset: Halt core after reset via DEMCR.VC_CORERESET.
* JLink Info: Reset: Reset device via AIRCR.SYSRESETREQ.

Target info:
------------
Device: STM32F103ZE
VTarget = 3.300V
State of Pins:
TCK: 0, TDI: 0, TDO: 1, TMS: 0, TRES: 1, TRST: 1
Hardware-Breakpoints: 6
Software-Breakpoints: 8192
Watchpoints:          4
JTAG speed: 4000 kHz

Full Chip Erase Done.
Programming Done.
Verify OK.
* JLink Info: Reset: Halt core after reset via DEMCR.VC_CORERESET.
* JLink Info: Reset: Reset device via AIRCR.SYSRESETREQ.
Application running ...
Flash Load finished at 11:57:03



程序編譯沒有問題,下載也是完成的,就是跑不起來是怎麽回事???



微信截图_20190725120109.png
微信截图_20190725120131.png
微信截图_20190725120141.png
微信截图_20190725120151.png
微信截图_20190725120204.png
正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

530

主题

11万

帖子

34

精华

管理员

Rank: 12Rank: 12Rank: 12

积分
165540
金钱
165540
注册时间
2010-12-1
在线时间
2117 小时
发表于 2019-7-26 02:54:17 | 显示全部楼层
回复

使用道具 举报

6

主题

60

帖子

0

精华

初级会员

Rank: 2

积分
196
金钱
196
注册时间
2017-7-18
在线时间
31 小时
发表于 2019-7-29 16:41:11 | 显示全部楼层
1、速度太快(偶尔)
2、芯片型号不对(一般不会)
3、线没连好(焊接问题?)
4、供电不稳(电源供电 + j-link 1脚)
5、其他还真不多见,试试那个下载程序的软件(叫啥子flash download??,忘了)
回复

使用道具 举报

12

主题

48

帖子

0

精华

新手上路

积分
29
金钱
29
注册时间
2019-7-16
在线时间
59 小时
发表于 2019-8-17 15:32:37 | 显示全部楼层
芯片被锁了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2025-6-23 13:12

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表