We are pleased to announce the beta version of the mbed Interface v2.0 firmware!
This beta firmware adds support for the new CMSIS-DAP USB debug connection. In addition to the drag n drop flash programming and the virtual serial port interface, you can use a CMSIS-DAP compliant offline toolchain to connect to your mbed to be able to develop and debug your programs!
Here are some more details...
A few months ago we mentioned we were doing some experiments with adding CMSIS-DAP to mbed hardware, and based on the great feedback we decided to develop it further and it is now available as a beta trial.
CMSIS-DAP is a open USB interface standard for connecting to the coresight debug infrastructure on Cortex-M microcontrollers, making it much easier to build low-cost boards that have on-board USB debug interfaces.
The primary goal for this trial is to get more people testing; different use cases, different projects, and really prove the CMSIS-DAP implementation we have for the mbed Microcontroller.
To use it, you just need to update the firmware on your mbed (don't worry, it is easily upgraded and reverted) and connect with a CMSIS-DAP compliant toolchain. We've been using MDK as one of our test toolchains, and it has CMSIS-DAP support in it publicly from MDK uVision 4.60. To find out more about enabling your mbed microcontroller with CMSIS-DAP, installing Keil MDK and debugging your first applications, please see the following page:
If you have any queries, questions or feedback, please contact email@example.com or discuss in the forums.
We also plan to release in the near future a CMSIS-DAP python library which will allow:
- debugging using GDB, as a gdbserver will be integrated on the library
- writing python applications that can communicate with the CMSIS-DAP and coresight debug interface:
- read/write memory
- read/write core registers
- set breakpoints
- flash new binary
- run/stop/step the execution
- act as a great reference to show how the CMSIS-DAP protocol works
We are also supporting others adding it to their tools, and expect to see CMSIS-DAP support in OpenOCD soon!
Looking forward to the feedback!