AnsweredAssumed Answered

Programming ADuCM310 issues

Question asked by sashagn on Jun 19, 2018
Latest reply on Jun 27, 2018 by sashagn

Hello,

 

I am using Keil to program the ADuCM310 with the LED toggling sampling code from the pack. To download the code I use the segger programmer. It seems like the programmer recognized the processor and I get the following message:

 

JLink info:
------------
DLL: V6.30h, compiled Mar 16 2018 18:02:51
Firmware: J-Trace PRO V1 Cortex-M compiled Mar  2 2018 17:09:09
Hardware: V1.00
S/N : 751000396 
Feature(s) : RDI, FlashBP, FlashDL, JFlash, GDB 
 
* JLink Info: Found SW-DP with ID 0x2BA01477
* JLink Info: Scanning AP map to find all available APs
* JLink Info: AP[1]: Stopped AP scan as end of AP map has been reached
* JLink Info: AP[0]: AHB-AP (IDR: 0x24770011)
* JLink Info: Iterating through AP map to find AHB-AP to use
* JLink Info: AP[0]: Core found
* JLink Info: AP[0]: AHB-AP ROM base: 0xE00FF000
* JLink Info: CPUID register: 0x412FC231. Implementer code: 0x41 (ARM)
* JLink Info: Found Cortex-M3 r2p1, Little endian.
* JLink Info: FPUnit: 2 code (BP) slots and 0 literal slots
* JLink Info: CoreSight components:
* JLink Info: ROMTbl[0] @ E00FF000
* JLink Info: ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB000 SCS
* JLink Info: ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB002 DWT
* JLink Info: ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB
ROMTableAddr = 0xE00FF000
 
Target info:
------------
Device: ADuCM310
VTarget = 3.288V
State of Pins: 
TCK: 0, TDI: 0, TDO: 0, TMS: 1, TRES: 1, TRST: 1
Hardware-Breakpoints: 2
Software-Breakpoints: 8192
Watchpoints:          1
JTAG speed: 50000 kHz
But when I press the RESET button to download the program I get the following error:
***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: Could not start CPU core. (ErrorCode: -1)
***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
Could not start CPU core. (ErrorCode: -1)
Full Chip Erase Failed!
Error: Flash Download failed  -  "Cortex-M3"
***JLink Error: Could not read memory location 0x20000000 when trying to clear soft RAM BP
I tried unsuccessfully to find clues online. Any advice would be very helpful.
Thank you,
Sasha

Outcomes