#pi pico UF2 issues

1 messages · Page 1 of 1 (latest)

mental dirge
#

let's make a thread

#

@naive elbow are you using a USB hub or direct to port?

naive elbow
#

I have tried both

mental dirge
#

Try copying the 8.2.9 UF2 to the plain Pico again, on Linux

#

then see how it acts on Linux

naive elbow
#

I have already tried that

mental dirge
#

Are these regular Raspberry Pi Pico's, not some third-party board?

naive elbow
#

regular

mental dirge
#

what version of Linux are you running, on what host computer

naive elbow
#

arch linux

#

running it off my laptop

naive elbow
mental dirge
#

ok, so you copied adafruit-circuitpython-raspberry_pi_pico-en_US-8.2.9.uf2 to RPI-RP2, on Linux. Then CIRCUITPY appears, and then immediately disappears, is that right?

naive elbow
#

it appears as mounted for a while

mental dirge
#

is /dev/ttyACM0 available? Can you connect to the REPL?

naive elbow
#

the virtual file for the device disappears though

#

let me check

mental dirge
#

if it is still available, do this in the repl:

import storage
storage.erase_filesystem()
#

that will make a clean CIRCUITPY and reset the board (so it will restart as if unplugged and replugged)

#

tio is a nice serial program for connecting to the REPL

naive elbow
#

thanks

#

I was looking for that

#

can't find it in the arch repo

mental dirge
#

apparently it is in the snap store

naive elbow
#

found it in aur

mental dirge
#

yah

#

it is nice because it reconnects as needed

#

i have to leave in 15-20 minutes for several hours

naive elbow
#

Do you mind if I add you on discord and message you another day if we run out of time?

#

I was planning on leaving soon as well

mental dirge
naive elbow
#

alright

#

so in the tty should I be looking for anything specific?

#

it's still updating some packages I forgot about

mental dirge
#

the behavior you are seeing is weird. I've downloaded those exact UF2's several times and loaded them on Pico's, used them on Windows and Ubuntu Linux, no problem

naive elbow
#

I thought so

#

This problem came up a while ago

#

I was quite sure that it was on my side

#

but I can not for the life of me figure out why

mental dirge
#

do you have an RPi? That would be another bog-standard test case

#

in case something is odd about your Arch setup

naive elbow
#

I do

mental dirge
#

you are not resting the Pi Pico's on something metallic, etc, are you? And they are not in antistatic foam?

naive elbow
#

no

#

I even had it suspended in air

mental dirge
#

do you have any other CircuitPython-capable boards?

naive elbow
#

No

mental dirge
#

and you didn't solder headers or anything?

naive elbow
naive elbow
mental dirge
#

and you are copying the UF2 to RPI-RP2, not CIRCUITPY

naive elbow
#

yes

mental dirge
#

also maybe try more cables, if you have them. Sometimes there's a bad batch

#

I am just running through all the typical issues

naive elbow
#

I tried a sketchy adapter and a cablew

#

they seem to work

#

I will get another cable to be sure

mental dirge
#

uninstall modemmanager on Linux if it is installed

naive elbow
#

I am unfamiliar with this package

mental dirge
#

lots of possibilities there

naive elbow
#

apologies

#

I have to leave

#

Thanks a lot for the suggestions

mental dirge
#

np

naive elbow
#

I am not exagerating when I say that this issue has been haunting me for a while