SVD parser throws error on rp2040.svd file: Unable to parse SVD file: TypeError: Cannot read property '0' of undefined

Hello,

I’m using VSCode and I can’t fully use the debugger with SWD and cmsis-dap on my Raspberry Pi Pico, as it throws an error on the rp2040.svd file: Unable to parse SVD file: TypeError: Cannot read property ‘0’ of undefined. No variables, watches or peripherals can be viewed, as these are defined in the svd file. The debugger starts and functions correctly, but I am only able to see the breakpoints, call stack en registers.
I’m using the simple blinky code.

My platformio.ini:

[env]
platform = raspberrypi
framework = arduino

[env:pico]
board = pico
upload_protocol = picotool
debug_tool = cmsis-dap

File a bug for the developers at Issues · platformio/platform-raspberrypi · GitHub, not here.

Ok, I’ve done what you asked, this can be closed here.

1 Like

Thanks, further will be discussed in SVD parser throws error on rp2040.svd file: Unable to parse SVD file: TypeError: Cannot read property ‘0’ of undefined · Issue #21 · platformio/platform-raspberrypi · GitHub.