AnsweredAssumed Answered

ADuCM360: Flash download failed in the example RTD_Demo

Question asked by johnsont on Nov 7, 2017
Latest reply on Nov 13, 2017 by ABuda

I just received the ADuCM360 evaluation kit and followed the instruction (UG-457) in the DVD to setup the software and test an example code in Keil. I could build the example code, RTD_Demo in Keil. But when I started a debug session or did Flash > Download, it returned an error: Flash Download Failed 'Cortext-M3'. I pasted the content of the output window below. The user guide did not provide any hints to resolve this error. What did I miss?

 

Rebuild target 'Target 1'
assembling startup_ADuCM360.s...
compiling RTD_Demo.c...
compiling UrtLib.c...
compiling AdcLib.c...
compiling ClkLib.c...
compiling DacLib.c...
compiling DioLib.c...
compiling IexcLib.c...
compiling WdtLib.c...
linking...
Program Size: Code=11280 RO-data=556 RW-data=56 ZI-data=1728  
FromELF: creating hex file...
".\Obj\RTD_Demo.axf" - 0 Error(s), 0 Warning(s).
Load "C:\\ADuCMxxxV1.3\\code\\ADuCM360\\examples\\RTD_Demo\\Obj\\RTD_Demo.axf"
Set JLink Project File to "C:\ADuCMxxxV1.3\code\ADuCM360\examples\RTD_Demo\JLinkSettings.ini"
* JLink Info: Device "ADUCM360" selected (0 KB flash, 0 KB RAM).
 
JLink info:
------------
DLL: V4.59d, compiled Jan  7 2013 19:07:25
Firmware: J-Link Lite-ADI Rev.1 compiled Jan  7 2013 17:58:04
Hardware: V1.00
S/N : 541004260
OEM : ADI
 
* JLink Info: Found SWD-DP with ID 0x2BA01477
* JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots
* JLink Info: Found Cortex-M3 r2p0, Little endian.
ROMTableAddr = 0xE00FF003
 
Target info:
------------
Device: ADuCM360
VTarget = 3.578V
State of Pins:
TCK: 0, TDI: 0, TDO: 0, TMS: 0, TRES: 1, TRST: 1
Hardware-Breakpoints: 6
Software-Breakpoints: 8192
Watchpoints:          4
JTAG speed: 2000 kHz
 
***JLink Error: Can not read register 15 (R15) while CPU is running
**JLink Warning: CPU could not be halted
***JLink Error: Could not read memory location 0x20000000 when trying to clear soft RAM BP
Could not start CPU core. (ErrorCode: -1)
***JLink Error: Can not read register 20 (CFBP) while CPU is running
**JLink Warning: CPU could not be halted
***JLink Error: CPU is not halted
***JLink Error: Can not read register 15 (R15) while CPU is running
**JLink Warning: CPU could not be halted
***JLink Error: Could not read memory location 0x20000000 when trying to clear soft RAM BP
Erase Failed!
***JLink Error: Could not read memory location 0x20000000 when trying to clear soft RAM BP

Outcomes