January 15, 2020

239 words 2 mins read

Building a Debug Probe with the Zephyr RTOS

Building a Debug Probe with the Zephyr RTOS

Many of the Arm Cortex-M based development boards supported by the Zephyr RTOS have an on-board chip that acts as a debug probe. This is typically based on the ARM Mbed DAPLink open source project. Th …

Talk Title Building a Debug Probe with the Zephyr RTOS
Speakers Johann Fischer (Embedded Systems Developer, PHYTEC Messtechnik GmbH, Germany)
Conference Open Source Summit + ELC Europe
Conf Tag
Location Lyon, France
Date Oct 27-Nov 1, 2019
URL Talk Page
Slides Talk Slides
Video

Many of the Arm Cortex-M based development boards supported by the Zephyr RTOS have an on-board chip that acts as a debug probe. This is typically based on the ARM Mbed DAPLink open source project. This provides the developer with several interfaces: USB MSD for drag-and-drop programming, USB CDC-ACM for console output and a CMSIS-DAP based debug channel over USB HID. The DAPLink project uses the Keil RTX OS and requires the Keil MDK-ARM or ARM Compiler 5, which makes it impossible to build it on Linux based systems.​The talk is about whether it would be possible (and how) to build a debug probe on top of the Zephyr RTOS. Zephyr already has a reasonably stable USB device stack with CDC-ACM and MSD support. The author will give a overview about the structure of a debug probe, Host Interface Cirtuit, Serial Wire and SWD protocol. Furthermore, the author will introduce the implementation of the CMSIS-DAP in Zephyr RTOS.

comments powered by Disqus