LPC54616 programming pins not working

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC54616 programming pins not working

1,890 Views
Ondrej1
Contributor I

Hello,

we are developing board with LPC54616. All pins are already used, so we have to use also programming pins, SWDIO as output pin and SWDCLK as uart RX (both signals are connected to additional modul of the board - pins of other processor). We are able to program and run firmware on this board, but programming stop working after few firmware updates. MCUXpresso (v11.1.1) show error (copied from console):

MCUXpresso IDE RedlinkMulti Driver v11.1 (Feb 24 2020 13:54:38 - crt_emu_cm_redlink build 11)
Found chip XML file in C:/.../project_name/Debug\LPC54616J512.xml
Reconnected to existing LinkServer process.
Connecting to probe 1 core 0 (using server started externally) reports:
'Ee(42). Could not connect to core.'
Retrying...
Reconnected to existing LinkServer process.
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

We have same version of this board. There are not used programming pins (SWDCLK and SWDIO) as output/UART and it works fine. 

This is 3th proccesor, which is damaged by this way and dont have any clue what can cause damage of processors. 

 

Thank you for responses.

Labels (1)
0 Kudos
Reply
5 Replies

1,751 Views
aswani
Contributor I

Hello,

I think you are facing programming issues with the LPC54616 board are due to using SWDIO and SWDCLK as output pins/UART RX.

Here are some tips

  1. Insure SWDIO and SWDCLK are duly configured as GPIO/ UART after programming.
  2. You can verify that firmware updates don't reconfigure these legs inaptly.
  3. Also you can check for electrical hindrance or short circuits. insure your debugging tools and lines are in good condition.
  4. Try using a different system to program the board to insulate the problem. Double check your IDE settings.Hope this will help you.
Developer
0 Kudos
Reply

1,832 Views
Ondrej1
Contributor I

Hello Pavel,

Thank you for your response.

I tried to put device on ISP and erase it or upload different firmware, but it didn't help. I think that it could be damaged, because UART is not communicating now.

Best Regards,

Ondrej

0 Kudos
Reply

1,818 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, I recommend review the schematic of the board EVK, would you find on the next link.

OM13098 | LPCXpresso Development Board | LPC Microntrollers (MCUs) | NXP Semiconductors

Or in another way you could open an internal case to upload your schematic and if you put my name, I will continue the support to review that.

Best regards,
Pavel

 

0 Kudos
Reply

1,755 Views
Ondrej1
Contributor I

Hello, thank you for your reply. I just took some hardware precautions and am going to test it.

0 Kudos
Reply

1,860 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, my name is Pavel, and I will be supporting your case, maybe the MCU is not damage maybe the MCU is on an unknown state, and the debugger could not halt, could you put the device on ISP and then erase it? When the erase is done, remove the jumper of ISP mode and then try to program again.

Best regards,
Pavel

0 Kudos
Reply