lpcware

LPCXpresso 7.4 and LPC1517 does not works!

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by lucamini on Wed Oct 01 02:45:45 MST 2014
I have to debug a target board with LPC1517 but the LPCXpresso doesn't work.
My environment is:
- o.s.: Linux Fedora 20 kernel 3.15.10-201.fc20.x86_64
- LPCXpresso v7.4.0 [Build 229] [2014-09-16]
- LPC Link v2 used to connect my custom target that works and is powered correctly

When I attempt to debug I obtain the following messages:

15: Target error from Commit Flash write
   15: Target error from Commit Flash write
   Cannot access core regs when target running.

(crt_emu_cm_redlink) terminating on communication loss: Pipe has been closed by GDB.
   (crt_emu_cm_redlink) terminating on communication loss: Pipe has been closed by GDB.

Error in final launch sequence
   Failed to execute MI command:
-break-insert -t -f main
Error message from debugger back end:
Cannot access memory at address 0x236
   Cannot access memory at address 0x236

In the debug shell:

LPCXpresso RedlinkMulti Driver v7.4 (Sep 11 2014 00:20:34 - crt_emu_cm_redlink build 154) ============= SCRIPT: LPC15RunBootRomConnect.scp ============= DpID = 2BA01477 AP_ID = 0x24770011 Halt on reset vector catch Halt on watchpoint write of ROMWSCTRL register ============= END SCRIPT =====================================
Emu(0): Conn&Reset. DpID: 2BA01477. CpuID: 410FC230. Info: (null) Debug protocol: SWD. RTCK: Disabled. Vector catch: Enabled.
Loaded LPC15xx_64K.cfx: LPC15 (64K Flash) Sep 15 2014 17:39:50 On-chip Flash Memory
Connected: was_reset=true. was_stopped=true v LPCXpresso Free License - Download limit is 256K Writing 4764 bytes to address 0x00000000 in Flash Erased/Wrote page  0-1 with 4764 bytes in 808msec Flash Write Done Flash Program Summary: 4764 bytes in 0.81 seconds (5.76 KB/sec) ============= SCRIPT: LPC15RunBootRomReset.scp ============= Halt on reset vector catch Halt on watchpoint write of ROMWSCTRL register ============= END SCRIPT ===================================
Target error from Commit Flash write: Ep(08). Cannot access core regs when target running.
terminating on communication loss: Pipe has been closed by GDB.

Furthermore, several times, after the first message LPCXpresso hangs !

Some days ago, I used LPCXpresso version 7.2 and with a modified .cfx as suggested here I was able to program the device some times, but yesterday not more, so I installed the 7.4, without success.

Please I need help!


Thanks in advance

Outcomes