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

mpflash: rp2 download fails #553

Closed
Josverl opened this issue May 1, 2024 · 3 comments
Closed

mpflash: rp2 download fails #553

Josverl opened this issue May 1, 2024 · 3 comments
Labels
mpflash Flashing tool for Micropython

Comments

@Josverl
Copy link
Owner

Josverl commented May 1, 2024

I like it!

It doesn't seem to be able to download Pico W firmware, though:

mpflash download --board RPI_PICO_W
20:55:35 | ℹ️ Found 0 relevant unique firmwares
20:55:35 | ℹ️ Downloaded 0 firmwares, skipped 0 existing files.

Originally posted by @scruss in micropython/micropython#14395 (comment)

@Josverl Josverl added the mpflash Flashing tool for Micropython label May 3, 2024
@Josverl
Copy link
Owner Author

Josverl commented May 6, 2024

@scruss,
can you retest with v0.7.5 or newer ?
I fixes a lookup bug for the BOARD_IDs that affected both ESPxx and RP2 boards.

mpflash download --board RPI_PICO_W --force
23:54:38 | ℹ️ Found 1 relevant unique firmwares
23:54:38 | ℹ️ Downloading https://micropython.org/resources/firmware/RPI_PICO_W-20240222-v1.22.2.uf2
23:54:38 | ℹ️ to C:\Users\josverl\Downloads\firmware\rp2\RPI_PICO_W-v1.22.2.uf2
23:54:39 | ℹ️ Downloaded 1 firmwares, skipped 0 existing files.

@scruss
Copy link

scruss commented May 8, 2024

Download works now, thanks:

mpflash download --board RPI_PICO_W --force
13:16:15 | ℹ️ Found 1 relevant unique firmwares
13:16:15 | ℹ️ Downloading 
https://micropython.org/resources/firmware/RPI_PICO_W-20240222-v1.22.2.uf2
13:16:15 | ℹ️          to 
/home/scruss/Downloads/firmware/rp2/RPI_PICO_W-v1.22.2.uf2
13:16:16 | ℹ️ Downloaded 1 firmwares, skipped 0 existing files.

(a separate issue is that flash doesn't: I have serial ports other than MicroPython devices, and I'm fairly sure the DEC PDP-8 minicomputer hanging off /dev/ttyS0 is not a supported board)

@Josverl
Copy link
Owner Author

Josverl commented May 8, 2024

An actual PDP-8 😁In high school computer science I was given access to a PDP-11 using scratch cards and a batch reader. The PDP-8 next to it only had a TTY and iirc only had FORTH and it's ring core memory was a bit noisy.

To ignore a serialport you can use mpflash --ignore /dev/someport or set an en variable MPFLASH_IGNORE.

@Josverl Josverl closed this as completed May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mpflash Flashing tool for Micropython
Projects
None yet
Development

No branches or pull requests

2 participants