← index #7204Issue #6816
Related · medium · value 1.792
QUERY · ISSUE

Hang when accessing filesystem if using timers/interrupts

openby rkarlsbaopened 2021-05-01updated 2022-02-21
bugport-rp2

Hi all

I have an rpi pico loaded with micropython and I have this issue detailed on the links below

https://www.raspberrypi.org/forums/viewtopic.php?f=146&t=310648
https://forum.micropython.org/viewtopic.php?f=21&t=10430

It is reproducable on current micropython by others and it seems to be a bug. Please help :)

CANDIDATE · ISSUE

USB problem on RPi pico

openby davehylandsopened 2021-01-29updated 2022-04-30
port-rp2

I have an issue with rshell that seems to be caused by the USB comms.

If I issue the command cp ports/rp2/examples/* /pyboard then rshell will hang, typically on the first file.

If I add some statements in the recv_file_from_host function in rshell (this is the part that runs on the pico) that opens a UART and logs some additional information to the UART, then the copies all succeed.

I tried adding 20 msec delays each place that there was log statement, but that doesn't seem to make things work either.

Sorry I don't have a simpler test case, but I figured I'd log the issue and see if I can create a simple program which reproduces the hang/crash.

Sometimes, things hang, and sometimes the serial port is forcibly closed (I suspect that this might be a crash on the pico side).

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied