This repository has been archived by the owner on Jan 30, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 75
Stack Overflow using J-Link in CMSIS-DAP mode with RP2040 #359
Labels
type: bug
Something isn't working
Comments
Hi @sigmaris, interesting problem. From your logs it seems that the issue occurs somewhere here: Lines 62 to 86 in 80ab018
The last log statement ( As you don't use the Now the question is why this causes the stack overflow 🤔 I will try to reproduce. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
I am trying to flash and run an ELF based on the RP2040 project template to an W5500-EVB-Pico board, using a J-Link EDU probe. The board is identical to the RP Pico board but additionally has a WizNet W5500 Ethernet chip on the RP2040's SPI interface, but that shouldn't affect debugging. Due to probe-rs/probe-rs#1157 it isn't possible using the J-Link 'native' mode, but the probe can be reconfigured to support CMSIS-DAP mode, so I've done this and am attempting to use it with probe-run.
To Reproduce
probe-run --list-probes
:probe-run --chip RP2040 --probe 000261003501 --verbose target/thumbv6m-none-eabi/debug/rp2040-project-template
Expected and observed behavior
I expected the ELF to be run on the RP2040, but probe-run itself crashes with the message
I've attached the full macOS problem report with stack trace:
problemreport.txt
config.toml
Probe details
ELF file
rp2040-project-template.zip
Operating System:
macOS 12.6 x86_64
The text was updated successfully, but these errors were encountered: