Closed jarrod817 closed 11 months ago
The RP2040 requires a special boot loader which is not included in our example applications because it's highly RP2040 specific. Without it the ROM loader will pull 256 bytes of flash into RAM, and then immediately Hardfault because the code it loaded was not valid T32 code (it looks like you left this part of the chip blank).
I can recommend asking in the rp-rs Matrix chat room at https://matrix.to/#/#rp-rs:matrix.org, or looking at https://github.com/rp-rs/rp2040-project-template.
Could you point out where it was left blank? Or what is an example of what this bootloader name looks like?
@jonathanpallant
Describe the bug I am using a raspberry pi pico and started with the tutorial here: https://github.com/knurling-rs/probe-run#troubleshooting cargo.toml is still like the app-template other than updating the panic-probe per the tutorial:
panic-probe = { version = "0.2", features = ["print-rtt"] }
I used this memory.x file:
To Reproduce Steps to reproduce the behavior:
❯ cargo run --bin hello Finished dev [optimized + debuginfo] target(s) in 0.25s Running
probe-run --chip RP2040 target\thumbv6m-none-eabi\debug\hello
(HOST) INFO flashing program (3 pages / 12.00 KiB) (HOST) INFO success! Error: An ARM specific error occurred.Caused by: Timeout occurred during operation. error: process didn't exit successfully:
probe-run --chip RP2040 target\thumbv6m-none-eabi\debug\hello
(exit code: 1)Expected and observed behavior From the documentation I expected to see this:
config.toml
Probe details
Operating System: Windows 11
ELF file (attachment)
Couldn't figure out how to upload this, Github is saying it's an unsupported type.