Skip to content

raspberrypi/CMSIS-RP2xxx-DFP

Repository files navigation

RP2040 Device Family Pack (v0.9.0)

This is an exemplary CMSIS-Pack with device support for the Raspberry Pi RP2040. Pico-SDK(v1.5.1) has been integrated using submodule.

The repository uses the gen-pack library to check the PDSC file and create the pack. Make sure that all required prerequisites are met.

An flash programming files (FLM) for the external flash of Pico has been added, which is donated by the author of this repo.

Current pack status

The following scenarios have been tested so far.

uVision

Debug Unit w/o Atomic Blocks w/ Atomic Blocks Notes
RPi Debug Probe (CMSIS-DAPv2 based) Atomic Blocks work as of v1.1
ULINKplus (CMSIS-DAPv2 based)
ULINKpro ULINKpro requires atomic blocks due to continuous SWCLK clocking between SWJ_Sequence calls. This breaks the expected SWDIO bit stream.

Keil Studio VS Code Extensions

Debug Unit w/o Atomic Blocks w/ Atomic Blocks Notes
RPi Debug Probe (CMSIS-DAPv2 based) ⚠️ No atomic support in KSC/VS Code extension with KSC engine => all commands executed non-atomically => works for non-continuously clocking probes
ULINKplus (CMSIS-DAPv2 based) ⚠️ No atomic support in KSC/VS Code extension with KSC engine => all commands executed non-atomically => works for non-continuously clocking probes
ULINKpro N/A N/A ULINKpro not supported with KSC