Skip to main content

Troubleshooting

Cannot debug / download

In some cases, the IDE complains about not being able to connect to the target. This is most likely because the program already running on the target is interfering. If you, for example, get a dialog in MCUXpresso similar to Figure 14 below the reason is most likely because of an interfering application.

No SWD devices detected

The solution is to put the hardware in ISP mode before starting the flash/debug operation in the IDE. To do this you need to press a couple of buttons on the carrier board, see the figure below.

  1. Push and hold down the ISP enable button
  2. Press the Reset button
  3. Release the Reset button
  4. Wait 1 second
  5. Release the ISP enable button

Buttons on uCOM carrier board

If the LPC-Link2 debugger is used then there are some additional things to note:

  1. Make sure that the J2 jumper on the LPC-Link2 is not inserted. If the jumper is inserted/closed then the target will be powered by the LPC-Link2 which might be too much power for the USB port that the LPC-Link2 is connected to.
  2. If the LPC-Link2 is not found by the IDE and you are working on a laptop then try using a powered USB hub instead.
  3. The troubleshooting section in this forum post has a couple of additional things to try: https://community.nxp.com/thread/388964
  4. There is a Using and troubleshooting LPC-Link2 in the Appendix - Additional Hints and Tips of the User Guide for MCUXpresso IDE. The location of the document is c:\nxp\MCUXpressoIDE_11.0.0_2516\MCUXpresso_IDE_User_Guide.pdf if the IDE was installed with the default settings (correct path for your specific version of MCUXpresso).