本帖最后由 zhxxi 于 2013-7-10 20:29 编辑
我的板子,原本使用的是STM32F103VB,有批空板,刚好没芯片了,买了几片GD32F103VB回来。焊上去以后,在MDK下下载不了程序,使用J-link也擦除不了芯片。求解。
我使用4线SWD下载接口:3.3V、SWDAT、SWCLK、GND。
MDK下载出现的提示信息
* JLink Info: Device "STM32F103VB" selected (128 KB flash, 20 KB RAM).
JLink info:
------------
DLL: V4.54a, compiled Sep 17 2012 15:58:45
Firmware: J-Link ARM V8 compiled Aug 1 2012 13:40:47
Hardware: V8.00
S/N : 270676280
Feature(s) : RDI,FlashDL,FlashBP,JFlash,GDBFULL
* JLink Info: STM32F1xxx: Can not attach to CPU. Trying connect under reset.
这是使用J-LINK的情况:Connect 成功;Unsecure chip 成功;Erasing chip 失败
Connecting ...
- Connecting via USB to J-Link device 0
- J-Link firmware: V1.20 (J-Link ARM V8 compiled Aug 1 2012 13:40:47)
- JTAG speed: 2000 kHz (Auto)
- Initializing CPU core (Init sequence) ...
- Initialized successfully
- JTAG speed: 2000 kHz (Auto)
- Connected successfully
Unsecure chip ...
- Disconnecting ...
- Disconnected
- Connecting via USB to J-Link device 0
- Chip unsecured successfully - Completed after 0.569 sec
Erasing chip ...
- Connecting ...
- Connected successfully
- Erasing 128 sectors, 1 range, 0x8000000 - 0x801FFFF
- 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 erase chip
|