LPC1549 JBD48 design not starting

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC1549 JBD48 design not starting

1,218 次查看
theokersjes
Contributor I

Receive error when debugging, downloading the program does report success but never able to do something in main like blinking an LED. Tool code error is


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

LPCXpresso RedlinkMulti Driver v8.2 (Sep  5 2016 10:12:38 - crt_emu_cm_redlink build 725)
============= SCRIPT: LPC15RunBootRomConnect.scp =============
DpID = 2BA01477
APID = 0x24770011
Halt on reset vector catch
Halt on watchpoint write of ROMWSCTRL register
============= END SCRIPT =====================================
Probe Firmware: Keil ULINK2 CMSIS-DAP (Keil Software)
Serial Number:  V0052LEE
VID:PID:  C251:2722
USB Path: \\?\hid#vid_c251&pid_2722#8&545d481&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
Vector catch on SYSRESETREQ signal
Emu(0): Connected&Reset. DpID: 2BA01477. CpuID: 410FC230. Info: <None>
Debug protocol: SWD. RTCK: Disabled. Vector catch: Enabled.
inspected v.2 On-chip Flash Memory C:\nxp\LPCXpresso_8.2.2_650\lpcxpresso\bin\Flash\LPC15xx_256K.cfx
image 'LPC15 (256K Flash) Jun 21 2016 11:53:30'
NXP: LPC1549  Part ID: 0x00000000
Connected: was_reset=true. was_stopped=true
LPCXpresso Free License - Download limit is 256K
Opening flash driver C:\nxp\LPCXpresso_8.2.2_650\lpcxpresso\bin\Flash\LPC15xx_256K.cfx
Writing 3956 bytes to address 0x00000000 in Flash
Erased/Wrote page  0-0 with 3956 bytes in 269msec
Flash Write Done
Flash Program Summary: 3956 bytes in 0.27 seconds (14.36 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.
(crt_emu_cm_redlink) terminating on communication loss: Pipe has been closed by GDB.

0 项奖励
回复
2 回复数

988 次查看
soledad
NXP Employee
NXP Employee

Hi,

Are you using a NXP board??

Do you try using a LPCOpen example?

Please check the below threads and let me know if this helps!!

ISP Reset over debug 

Regaining debug access to target MCU 


Have a great day,
Soledad

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

988 次查看
theokersjes
Contributor I

Thanks for your feedback, it did help to solve the problem.

This was on a customer design based on the LPC1549 NXP board.

It had a level shifter  on one of the ISP pins, the level shifter was configured wrong.

issue closed

0 项奖励
回复