学习STM32,自己做了个板子前段日子打板出来了,买了个JLINK进行调试,采用的是SWD方式,J-LINK连接正常,但是擦除芯片的时候显示错误,请问大家看看是怎么回事啊?后来换成同事以前调通的板子也是出现这个错误,我都怀疑J-LINK是不是有问题,请大家给点意见,小弟先谢谢了!
log:
Connecting ...
- Connecting via USB to J-Link device 0
- J-Link firmware: V1.20 (J-Link V9 compiled Mar 10 2014 19:02:08)
- JTAG speed: 10 kHz (Fixed)
- Initializing CPU core (Init sequence) ...
- Initialized successfully
- JTAG speed: 100 kHz (Fixed)
- Connected successfully
Erasing chip ...
- Erasing 128 sectors, 0x8000000 - 0x803FFFF
- 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
Disconnecting ...
- Disconnected
芯片用的是STM32F103RCT6,BOOT0接的是0,BOOT1浮空; 然后BOOT0接1,BOOT1接0/1都试过,都不行
在keil的debug里面能正常看到SW器件
flash loader中有没有选型啊
转载
|