Virtualbox

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

Virtualbox

731 Views
Peter19
Contributor II

#Linkserver MCUXPRESSO-VSC 

I get problems starting a debug session on win vbox vm.

Anyone tried this?

Labels (2)
0 Kudos
Reply
3 Replies

614 Views
Peter19
Contributor II

@Harry_Zhang 

Hello, I’m attempting to debug the FRDM‑MCXN947 board using the MCUXpresso VS Code extension (v25.11.16) with LinkServer as the debug probe.

My environment is:

  • Host OS: Windows 11

  • Guest OS: Windows 11 (VirtualBox VM)

  • MCUXpresso VS Code extension: 25.11.16

  • Debug probe: LinkServer

  • Target board: FRDM‑MCXN947

Problem: When I start a debug session inside the VM, the session fails to launch. The extension is installed correctly, but the debugger does not connect to the target.

Question: Has anyone successfully run LinkServer debugging in this configuration (Windows 11 host + Windows 11 guest in VirtualBox)? Are there known limitations or required configuration steps for USB passthrough or driver setup in VirtualBox that affect LinkServer?

Thanks for any guidance.

0 Kudos
Reply

546 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @Peter19 

LinkServer requires low-level USB/HID access, but VirtualBox USB passthrough is unstable for HID-class debug probes.

So i think LinkServer debugging rarely works reliably inside VirtualBox.

I think you can try to  Debug on the HOST, not the VB
you can use MCUXpresso IDE on Host or MCUXpresso VS Code extension on Host.

BR

Harry

0 Kudos
Reply

698 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @Peter19 

Can you describe your issue in detail?

BR

Harry

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2253273%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EVirtualbox%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2253273%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%23Linkserver%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fc-pwmxy87654%2FMCUXPRESSO-VSC%2Fpd-p%2FMCUXPRESSO-VSC%22%20class%3D%22lia-product-mention%22%20data-product%3D%223153-1%22%20target%3D%22_blank%22%3EMCUXPRESSO-VSC%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20get%20problems%20starting%20a%20debug%20session%20on%20win%20vbox%20vm.%3C%2FP%3E%3CP%3EAnyone%20tried%20this%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2253273%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EDevelopment%20Board%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMCXN%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2253681%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Virtualbox%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2253681%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F242007%22%20target%3D%22_blank%22%3E%40Peter19%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECan%20you%20describe%20your%20issue%20in%20detail%3F%3C%2FP%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EHarry%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2256497%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Virtualbox%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2256497%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F229957%22%20target%3D%22_blank%22%3E%40Harry_Zhang%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EHello%2C%20I%E2%80%99m%20attempting%20to%20debug%20the%20%3CSTRONG%3EFRDM%E2%80%91MCXN947%3C%2FSTRONG%3E%20board%20using%20the%20%3CSTRONG%3EMCUXpresso%20VS%20Code%20extension%20(v25.11.16)%3C%2FSTRONG%3E%20with%20%3CSTRONG%3ELinkServer%3C%2FSTRONG%3E%20as%20the%20debug%20probe.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EMy%20environment%20is%3A%3C%2FSPAN%3E%3C%2FP%3E%3CUL%3E%3CLI%3E%3CP%3E%3CSPAN%3E%3CSTRONG%3EHost%20OS%3A%3C%2FSTRONG%3E%20Windows%2011%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3E%3CSPAN%3E%3CSTRONG%3EGuest%20OS%3A%3C%2FSTRONG%3E%20Windows%2011%20(VirtualBox%20VM)%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3E%3CSPAN%3E%3CSTRONG%3EMCUXpresso%20VS%20Code%20extension%3A%3C%2FSTRONG%3E%2025.11.16%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3E%3CSPAN%3E%3CSTRONG%3EDebug%20probe%3A%3C%2FSTRONG%3E%20LinkServer%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3E%3CSPAN%3E%3CSTRONG%3ETarget%20board%3A%3C%2FSTRONG%3E%20FRDM%E2%80%91MCXN947%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CSPAN%3EProblem%3A%20When%20I%20start%20a%20debug%20session%20inside%20the%20VM%2C%20the%20session%20fails%20to%20launch.%20The%20extension%20is%20installed%20correctly%2C%20but%20the%20debugger%20does%20not%20connect%20to%20the%20target.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EQuestion%3A%20Has%20anyone%20successfully%20run%20LinkServer%20debugging%20in%20this%20configuration%20(Windows%2011%20host%20%2B%20Windows%2011%20guest%20in%20VirtualBox)%3F%20Are%20there%20known%20limitations%20or%20required%20configuration%20steps%20for%20USB%20passthrough%20or%20driver%20setup%20in%20VirtualBox%20that%20affect%20LinkServer%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EThanks%20for%20any%20guidance.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2257536%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Virtualbox%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2257536%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F242007%22%20target%3D%22_blank%22%3E%40Peter19%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ELinkServer%20requires%20low-level%20USB%2FHID%20access%2C%20but%26nbsp%3BVirtualBox%20USB%20passthrough%20is%20unstable%20for%20HID-class%20debug%20probes.%3C%2FP%3E%0A%3CP%3ESo%20i%20think%26nbsp%3BLinkServer%20debugging%20rarely%3CSPAN%3E%26nbsp%3Bworks%20reliably%20inside%20VirtualBox.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EI%20think%20you%20can%20try%20to%26nbsp%3B%20Debug%20on%20the%20HOST%2C%20not%20the%20VB%3CBR%20%2F%3Eyou%20can%20use%20MCUXpresso%20IDE%20on%20Host%20or%20MCUXpresso%20VS%20Code%20extension%20on%20Host.%3C%2FP%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EHarry%3C%2FP%3E%3C%2FLINGO-BODY%3E