LPC54606 Unable to Connect to Target
I am using LPC54606J512BD100 microcontroller and facing a very serious issue.
The issue is that after successful programming and working with it the microcontroller at random stops getting programmed and giving error unable to connect to core.
Regarding Programming board:
Using LPC-Link 2 Rev B (https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/lpc-link2:OM13054) debug board for programming.
Tried in CMSIS-DAP and J-Link (SW) mode.
Board Connection:
Regarding Controller LPC54606J512BD100:
PIO0_2 to PIO0_6 are left unconnected.
Regarding IDE:
I am using Keil uVision5.
I need help as I am unable to program the microcontroller. Please let me know if any further detail is required if any.
Found the solution Implementations:
Also, if the connector pins while connecting misaligns and for a fraction of seconds touch the wrong pins destroys the controller. So, Connection only when both programmer and controller are powered off.
Hope this will help someone facing similar kind of issue.