Skip to content
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

newer defmt & probe-run versions #56

Closed
elpiel opened this issue Apr 18, 2023 · 6 comments
Closed

newer defmt & probe-run versions #56

elpiel opened this issue Apr 18, 2023 · 6 comments

Comments

@elpiel
Copy link

elpiel commented Apr 18, 2023

What is the issue causing newer than versions of defmt (> 0.3.2) and probe-run (> 0.3.5) to fail flash the device?

@jannic
Copy link
Member

jannic commented Apr 18, 2023

Bugs / incompatible changes in defmt and probe-run.
Here are some explanations: rp-rs/rp-hal#581

@elpiel
Copy link
Author

elpiel commented Apr 18, 2023

Even with older or newer version of probe-run & defmt I'm unable to flash my device:

probe-run 0.3.6
defmt =0.3.2

Error: A ARM specific error occured.

Caused by:
    0: An error occured in the communication with an access port or debug port.
    1: Target device did not respond to request.

This is when using a second Pico with the CMSIS-DAP firmware

[0]: Picoprobe CMSIS-DAP (VID: 2e8a, PID: 000c, Serial: E660C0D1C7144034, CmsisDap)

@elpiel
Copy link
Author

elpiel commented Apr 18, 2023

It seems that even when directly connecting to the laptop and holding the BOOTSEL the pico doesn't show up in the file explorer.

Last time I used it it was working fine, I wonder what broke it...

Is there a way to see what's wrong with given RP pico?

@elpiel elpiel closed this as completed Apr 18, 2023
@jannic
Copy link
Member

jannic commented Apr 18, 2023

Is there a way to see what's wrong with given RP pico?

That's a difficult question. With embedded devices, if the chip appears dead, there are a lot of possible reasons. Of course it may actually be broken. But often it's just bad cabling (especially when you are using a breadboard).

For the pico, if you only connect the USB cable, hold BOOTSEL when plugging it in, and it still doesn't work, it could still be some software issue on your computer. What OS are you using? Known good USB cable? But at that point, I'd seriously consider a broken pico as a possible explanation.

@elpiel
Copy link
Author

elpiel commented Apr 18, 2023

Yep, I tried 2 different data cables and holding BOOTSEL when plugging in into the laptop.

I'm using Ubuntu it has always shown up until now.

I'll try another PICO tomorrow and retry this one just to be sure.

@elpiel
Copy link
Author

elpiel commented Apr 19, 2023

It was a bad breadboard. When I've previously removed the RP pico from the breadboard I must have damaged (bent) some of the rails inside.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants