Hello im trying to debug a custom board with LPC55S28 uC and I get the following error:
00000.000 MCUXpresso IDE RedlinkMulti Driver v11.4 (Jul 2 2021 12:03:47 - crt_emu_cm_redlink build 1)
( 0) Reading remote configuration
Wc(03). No cache support.
00000.001 Found chip XML file in C:/Kraken/REPOKRAKEN/casco_enfriador/Fuentes/Firmware/LPC55S28_Project_prubea2/Debug\LPC55S28.xml
( 5) Remote configuration complete
00000.001 emu ConnectToServer
00000.001 Reconnected to existing LinkServer process.
00000.001 emu ConnectProbeCore 1 0 0 0x8000
00000.178 emu ProbeCore failed 0x5
00000.178 Connecting to probe 1 core 0 (using server started externally) reports:
'Ee(42). Could not connect to core.'
00000.178 Retrying...
00000.686 emu ConnectProbeCore 1 0 0 0x8000
00000.865 emu ProbeCore failed 0x5
00001.372 emu ConnectProbeCore 1 0 0 0x8000
00001.551 emu ProbeCore failed 0x5
00002.059 emu ConnectToServer
00002.060 Reconnected to existing LinkServer process.
00002.060 emu ConnectProbeCore 1 0 0 0x8000
00002.236 emu ProbeCore failed 0x5
00002.750 Server OK but no connection to probe 1 core 0 (after 3 attempts) - Ee(42). Could not connect to core.
Failed on connect: Ee(42). Could not connect to core.
No connection to chip's debug port
(100) Target Connection Failed
Checked the pins multple times and it's all correct.
Im using the LPC55s28 dev board asi the external debugger connected through SWDIO and SWCLK wires.
Any ideas what cna be causing this issue?
Thanks
Hello,
Does the board can work well before? Or it is a new board?
How about use other debugger to test?
BR
Alice
Hello!
It's a new board with a factory new uC. Checked all connections and electrical signal and are all correct.
I've tried using the J-Link EDU mini with no succes, I get the following error:
ERROR: Wrong DM-AP IDCODE detected: 0xFFFFFFFF
Cannot connect to target
Is trying to read chip info via ISP an alternative?
Thanks!
Francisco
Hello,
1) About debug hardware design, you can refer to lpcxpresso55s28 EVK board, and the tread:
https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Design-Considerations-for-Debug/m-p/469565
2) Yes, you can enter ISP mode, using Flash Magic read chip info.
Refer to:
https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/Flash-Magic-Programing-LPC/ta-p/1152763
Have a look at first part of above thread.
And User Manual of lpc55s28, check how to configure ISP pins.
BR
Alice