Debugging with CMSIS-DAP

mbed uses CMSIS-DAP as the protocol for debugging, but you need something on your host computer to talk to CMSIS-DAP, for example, Keil uVision IDE or pyOCD with GDB. These documents will guide you through:

  1. Debugging with printf() calls.
  2. Debugging with pyOCD and Eclipse
  3. Debugging with pyOCD and GDB.
  4. Debugging with Keil uVision.
  5. Debugging the micro:bit with pyOCD and GDB

We also have a guide to offline development and debugging.

Our blog has an article about using CMSIS-DAP to debug a device after it crashes.