微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 嵌入式设计讨论 > MCU和单片机设计讨论 > cortex-M0 Jlink 下载失败问题

cortex-M0 Jlink 下载失败问题

时间:10-02 整理:3721RD 点击:
问题: 用JLink无法下载程序到目标板
现象:
1、keil提示:
JLink info:
------------
DLL: V4.50l, compiled Jul  9 2012 15:02:49
Firmware: J-Link ARM V8 compiled Jun 19 2012 11:29:30
Hardware: V8.00
S/N : 304230680
Feature(s) : RDI,FlashDL,FlashBP,JFlash,GDBFULL

* JLink Info: Found SWD-DP with ID 0x0BB11477
* JLink Info: FPUnit: 4 code (BP) slots and 0 literal slots
* JLink Info: Found Cortex-M0 r0p0, Little endian.
ROMTableAddr = 0xE00FF003
* JLink Info: SYSRESETREQ has confused core. Trying to reconnect and use VECTRESET.
* JLink Info: Found SWD-DP with ID 0x0BB11477
* JLink Info: FPUnit: 4 code (BP) slots and 0 literal slots
* JLink Info: Found Cortex-M0 r0p0, Little endian.
**JLink Warning: Could not set S_RESET_ST
**JLink Warning: Could not set S_RESET_ST
* JLink Info: Found SWD-DP with ID 0x0BB11477
* JLink Info: FPUnit: 4 code (BP) slots and 0 literal slots
* JLink Info: Found Cortex-M0 r0p0, Little endian.
* JLink Info: SYSRESETREQ has confused core. Trying to reconnect and use VECTRESET.
* JLink Info: Found SWD-DP with ID 0x0BB11477
* JLink Info: FPUnit: 4 code (BP) slots and 0 literal slots
* JLink Info: Found Cortex-M0 r0p0, Little endian.
**JLink Warning: Could not set S_RESET_ST
**JLink Warning: Could not set S_RESET_ST

Target info:
------------
Device: Cortex-M0
VTarget = 3.313V
State of Pins:
TCK: 0, TDI: 0, TDO: 0, TMS: 1, TRES: 1, TRST: 0
Hardware-Breakpoints: 4
Software-Breakpoints: 8192
Watchpoints:          2
JTAG speed: 2000 kHz

Cannot setup Breakpoint at Address
Cannot setup Breakpoint at Address
Erase Failed!

2、错误提示图如附件图片
用的工具:JLink v8    keil4.23
板子:无锡紫芯公司的板子


Jlink下载失败一般有以下问题:
1.连接没有连好。
2. Debug设置中选择Jlink工具,同时还要检查一下程序烧录的地址是不是与linker file定义的一致。

可能是锁了吧,先解锁试试。

你应该是只选择了芯片没有把芯片相应的包下载下来。把芯片相关包下载下来后应该就没问题了.

可能芯片坏了

我用两块同型号的,一块出现这种问题,一块没有。不可能是配置的问题吧

上一篇:stm32的最小系统
下一篇:Hello World教程

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top