FAQ | [No Additional USB Drivers Needed on Windows 10]
NRF5x based boards (such as the BBC Micro:Bit) are now available out of the box for debugging in vMicro, through external debuggers.
External Debug Interface: CMSIS-DAP
External Debugger Connections
Simply connect the USB lead to your board, no further connections are required!
Software Setup
Ensure you have Visual Studio and the vMicro Extension Installed
Open your Sketch and select the Debug > Hardware, and the CMSIS-DAP (Built-In) Debugger as shown below:
Start Debugger
- Ensure you have the Debug Configuration selected from the Configuration Manager Window
- If you know where you want the first breakpoint in your code, add it now
- To start the debugging process, you can either:
- "Debug > Attach to Process" button if your code has already been uploaded to the NRF5x board
- "Debug > Start Debugging" if your code has not been uploaded
Congratulations - you should have the debugger running, and further windows can be opened from the "Debug > Windows" menu once you have started debugging
See our GDB Debugging in Brief guide, or our detailed GDB Debugging Tutorial for Arduino to learn more about using the debugging interface.