-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't connect to rp2350 riscv core via jlink #104
Comments
I think my previous comments were mostly inaccurate. But I have discovered this: if I burn and flash a UF2 file that executes a risc-v program, then while that program is running, it is possible to get past the examination phase that was failing originally: openocd -c "gdb_port 50000" -c "tcl_port 50001" -c "telnet_port 50002" -f /home/robin/.vscode-server/extensions/marus25.cortex-debug-1.12.1/support/openocd-helpers.tcl -f interface/cmsis-dap.cfg -f target/rp2350-riscv.cfg -c "adapter speed 5000" |
See #105 😉
See sections 3.5.2. and 3.5.3. in https://datasheets.raspberrypi.com/rp2350/rp2350-datasheet.pdf |
My interest is in building a bare-metal Ada runtime, based on vanilla FreeRTOS, on a single risc-v core. I did manage to work, in a clumsy and uncomfortable way, using a no_flash.uf2 risc-v executable that some kind soul had uploaded, but of course every time I had to reset (I hadn't at that point spotted I eventually found CRIT1_BOOT_ARCH in the data sheet (3.9), which makes the default boot architecture risc-v. It took me a while to find the picotool setting ( By the way, with this change the chip runs at 50 MHz, not 150!! Is this a known issue? Should I report it? (how?) |
Best place would be https://github.com/raspberrypi/pico-feedback/issues |
macOS Sonoma 14.6.1 (M1)
Command Line Tools 15.3
Homebrew
This repo sdk-2.0.0
libjaylink 0.3.1
gcc 14.1.0 (aarch64)
jlink-edu v9.3
pico 2
./configure --prefix=$HOME/local --enable-jlink --enable-internal-jlink
Running with this script:
I get
(including the last 3 lines for info).
If I use
target/rp2350.cfg
, I getThe text was updated successfully, but these errors were encountered: