本帖最后由 殷淼 于 2012-2-23 18:23 编辑
各位大虾,stm32片子使用jlink通过SWD接口不能下载程序,请帮忙看看,是什么原因。原来是可以的,突然就不行了。
下面是log文件。
Connecting ...
- Connecting via USB to J-Link device 0
- J-Link firmware: V1.20 (J-Link ARM V8 compiled Dec 1 2015 11:42:48)
- JTAG speed: 2000 kHz (Auto)
- Initializing CPU core (Init sequence) ...
- Initialized successfully
- JTAG speed: 2000 kHz (Auto)
- Connected successfully
Auto programming target (60701 bytes, 1 range) ...
- Unsecure chip ...
- Chip unsecured successfully
- Erasing affected sectors ...
- ERROR: RAM check failed @ address 0x20000000.
- ERROR: Write: 0x03020100 07060504
- ERROR: Read: 0xAAAAAAAA AAAAAAAA
- ERROR: (0 bytes of RAM have been checked successfully)
- ERROR: Failed to erase sectors
- ERROR: Failed to auto program target
Disconnecting ...
- Disconnected |