MCUXpresso doesn't connect to target

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

MCUXpresso doesn't connect to target

Jump to solution
1,338 Views
jeanvaljean
Contributor III

Ladies and Gentlemen,

I've got MCUXpresso 25.6 [Build 136] recently installed on my Linux Mint 22.1 Cinnamon machine.

I'm trying to get familiar with the development system and uC programming, too.

I connected an LPC11U37H LPCXpresso board (it is original from NXP, but was in the drawer for a few years). Also, I wrote a very primitive program, just trying to configure the microcontroller. (clocks, peripherals, etc)

When I try to debug my code, it builds without failure but MCUXpresso cannot connect to the debugger board:

jeanvaljean_0-1756118582696.png

However, if I close MCUXpresso and try to use LinkFlash 25.6.131 - it is automatically installed together with MCUXpresso - then I see, this SW connected to the probe with no issue:

jeanvaljean_1-1756118823825.png

My own code doesn't work yet - no surprise - but I could only debug it inside MCUXpresso.

Here's the output of LSUSB: 

jeanvaljean_2-1756118935837.png

I have read this post from Helmut, but it didn't help:
https://community.nxp.com/t5/MCUXpresso-IDE/Could-not-connect-to-target/m-p/1297670#M7068

Please give me advice, what shall I set to use this board?

0 Kudos
Reply
1 Solution
1,314 Views
jeanvaljean
Contributor III

Found a solution - after a few days of try-and-error:
Left side, in the project explorer window, right-click on the project name.
In the pop-up  menu, select Debug As -> 2 MCUXpresso IDE Link Server (inc. CMSIS-DAP) probes. 

And, voila!  It works.

View solution in original post

0 Kudos
Reply
1 Reply
1,315 Views
jeanvaljean
Contributor III

Found a solution - after a few days of try-and-error:
Left side, in the project explorer window, right-click on the project name.
In the pop-up  menu, select Debug As -> 2 MCUXpresso IDE Link Server (inc. CMSIS-DAP) probes. 

And, voila!  It works.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2157523%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EMCUXpresso%20doesn't%20connect%20to%20target%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2157523%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ELadies%20and%20Gentlemen%2C%3C%2FP%3E%3CP%3EI've%20got%20MCUXpresso%2025.6%20%5BBuild%20136%5D%20recently%20installed%20on%20my%20Linux%20Mint%2022.1%20Cinnamon%20machine.%3C%2FP%3E%3CP%3EI'm%20trying%20to%20get%20familiar%20with%20the%20development%20system%20and%20uC%20programming%2C%20too.%3C%2FP%3E%3CP%3EI%20connected%20an%20LPC11U37H%20LPCXpresso%20board%20(it%20is%20original%20from%20NXP%2C%20but%20was%20in%20the%20drawer%20for%20a%20few%20years).%20Also%2C%20I%20wrote%20a%20very%20primitive%20program%2C%20just%20trying%20to%20configure%20the%20microcontroller.%20(clocks%2C%20peripherals%2C%20etc)%3C%2FP%3E%3CP%3EWhen%20I%20try%20to%20debug%20my%20code%2C%20it%20builds%20without%20failure%20but%20MCUXpresso%20cannot%20connect%20to%20the%20debugger%20board%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22jeanvaljean_0-1756118582696.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jeanvaljean_0-1756118582696.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F353929iF356BDCF110EBC9E%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22jeanvaljean_0-1756118582696.png%22%20alt%3D%22jeanvaljean_0-1756118582696.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EHowever%2C%20if%20I%20close%20MCUXpresso%20and%20try%20to%20use%20LinkFlash%2025.6.131%20-%20it%20is%20automatically%20installed%20together%20with%20MCUXpresso%20-%20then%20I%20see%2C%20this%20SW%20connected%20to%20the%20probe%20with%20no%20issue%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22jeanvaljean_1-1756118823825.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jeanvaljean_1-1756118823825.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F353930iC576A3C226F69A0D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22jeanvaljean_1-1756118823825.png%22%20alt%3D%22jeanvaljean_1-1756118823825.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EMy%20own%20code%20doesn't%20work%20yet%20-%20no%20surprise%20-%20but%20I%20could%20only%20debug%20it%20inside%20MCUXpresso.%3C%2FP%3E%3CP%3EHere's%20the%20output%20of%20LSUSB%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22jeanvaljean_2-1756118935837.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jeanvaljean_2-1756118935837.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F353931i035BD59B61CCD980%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22jeanvaljean_2-1756118935837.png%22%20alt%3D%22jeanvaljean_2-1756118935837.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI%20have%20read%20this%20post%20from%20Helmut%2C%20but%20it%20didn't%20help%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FMCUXpresso-IDE%2FCould-not-connect-to-target%2Fm-p%2F1297670%23M7068%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FMCUXpresso-IDE%2FCould-not-connect-to-target%2Fm-p%2F1297670%23M7068%3C%2FA%3E%3C%2FP%3E%3CP%3EPlease%20give%20me%20advice%2C%20what%20shall%20I%20set%20to%20use%20this%20board%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2157609%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MCUXpresso%20doesn't%20connect%20to%20target%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2157609%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EFound%20a%20solution%20-%20after%20a%20few%20days%20of%20try-and-error%3A%3CBR%20%2F%3ELeft%20side%2C%20in%20the%20project%20explorer%20window%2C%20right-click%20on%20the%20project%20name.%3CBR%20%2F%3EIn%20the%20pop-up%26nbsp%3B%20menu%2C%20select%20Debug%20As%20-%26gt%3B%202%20MCUXpresso%20IDE%20Link%20Server%20(inc.%20CMSIS-DAP)%20probes.%26nbsp%3B%3C%2FP%3E%3CP%3EAnd%2C%20voila!%26nbsp%3B%20It%20works.%3C%2FP%3E%3C%2FLINGO-BODY%3E