用Jlink的SWD下载ST-link V2 hex文件失败求助,谢谢!

2019-10-15 03:14发布

大家好,最近被一个问题困扰着,手头有个ST- Link V2,U盘大小的那种,见下面图片这种,
2017-02-13_220528.jpg
主控是STM32F103C8,插电脑提示无法识别的硬件,就想自己通过Jlink的SWD口重刷ST-LINK V2固件,ST-LINK v2 和 Jlink 口的联线如下:
SWCLK---JCLK(JLINK的9脚)
SWDIO---JTMS(JLINK的7脚)
RST---JNRST(Jlink的3脚和15脚均试了)
ST-LINK V2的VCC和GND ,Jlink均与电脑USB口连接,可以确定是同一个电源;

用SEGGER 安装目录里的 J-Flash ARM,设置好后,点击连接,提示如下:
Connecting ...
- Connecting via USB to J-Link device 0
- J-Link firmware: V1.20 (J-Link ARM V8 compiled Nov 28 2014 13:44:46)
- JTAG speed: 200 kHz (Auto)
- Initializing CPU core (Init sequence) ...
    - Initialized successfully
- JTAG speed: 200 kHz (Auto)
- Connected successfully


//问题是,点击Programe & Vreify后,提示如下。泪奔了。。。哪位大神帮忙给解决一下,感谢了!


Programming and verifying target (50208 bytes, 1 range) ...
- ERROR: RAM check failed @ address 0x20000000.
- ERROR: Write: 0x03020100 07060504
- ERROR: Read: 0x00000000 00000000
- ERROR: (0 bytes of RAM have been checked successfully)
- ERROR: Failed to program and verify target
Disconnecting ...
- Disconnected

0条回答

一周热门 更多>