On 14/08/2023 14:12, Mike Scott wrote:
I have now.
I was running rp2-pico-w-20230422-unstable-v1.19.1-1019-g9e6885ad8.uf2
which I've replaced with rp2-pico-20230426-v1.20.0.uf2 which seems to be
the latest for the plain pico.
That fails as well.
Likewise rp2-pico-w-20230426-v1.20.0.uf2 (the latest picoW) fails.
Is there anywhere to report this sort of bug? I'm hoping it's a
micropython software issue, not a board fault.
I have these:
pimoroni-picow-v1.20.3-micropython.uf2
pimoroni-pico-v1.20.3-micropython.uf2
There really does seem to be a window when sleeping from just under 10
to just under 35 us where interrupts seem to fail eventually.
Weird.
I'll see if I can get to grips with the github bug reporting.
On 16/08/2023 18:44, Mike Scott wrote:
....
There really does seem to be a window when sleeping from just under 10
to just under 35 us where interrupts seem to fail eventually.
Weird.
What's more, it only seems to affect the picoW.
I've tried two W's now, and one without the wifi.
Both W's fail the same way; I've not seen the plain one fail.
Can anyone replicate this please?
I'll see if I can get to grips with the github bug reporting.
On 17/08/2023 14:34, Mike Scott wrote:
On 16/08/2023 18:44, Mike Scott wrote:
....
There really does seem to be a window when sleeping from just under 10
to just under 35 us where interrupts seem to fail eventually.
Weird.
What's more, it only seems to affect the picoW.
I've tried two W's now, and one without the wifi.
Both W's fail the same way; I've not seen the plain one fail.
Can anyone replicate this please?
I'll see if I can get to grips with the github bug reporting.
Can you point to some test code, and brief instructions, please?
Test code is two articles up-thread.
I've also posted to the raspberry pi forum. Thread is at https://forums.raspberrypi.com/viewtopic.php?t=355111
(which also includes the test code minus the python indents)
with another's notes at
https://forums.raspberrypi.com/viewtopic.php?t=312874
(including his test rig)
It seems a problem in micropython has been known about for a couple of
years, but hasn't been fixed.
For completeness though, I've tried again running the code on a plain
pico. It did fail this morning, but ran for maybe 20x more interrupts
than the picoW before hanging.
Frankly, I'm saddened. So much promise. The board is great, but firmware
that "usually works" is IMO broken and not to be trusted. So I guess
it's the bin for micropython, and I'll have to see about a replacement, probably C++, SDK. Maybe more luck there.
On 17/08/2023 19:19, David Taylor wrote:
On 17/08/2023 14:34, Mike Scott wrote:
On 16/08/2023 18:44, Mike Scott wrote:
....
There really does seem to be a window when sleeping from just under 10 >>>> to just under 35 us where interrupts seem to fail eventually.
Weird.
What's more, it only seems to affect the picoW.
I've tried two W's now, and one without the wifi.
Both W's fail the same way; I've not seen the plain one fail.
Can anyone replicate this please?
I'll see if I can get to grips with the github bug reporting.
Can you point to some test code, and brief instructions, please?
Test code is two articles up-thread.
I've also posted to the raspberry pi forum. Thread is at https://forums.raspberrypi.com/viewtopic.php?t=355111
(which also includes the test code minus the python indents)
with another's notes at
https://forums.raspberrypi.com/viewtopic.php?t=312874
(including his test rig)
It seems a problem in micropython has been known about for a couple of
years, but hasn't been fixed.
For completeness though, I've tried again running the code on a plain
pico. It did fail this morning, but ran for maybe 20x more interrupts
than the picoW before hanging.
Frankly, I'm saddened. So much promise. The board is great, but firmware
that "usually works" is IMO broken and not to be trusted. So I guess
it's the bin for micropython, and I'll have to see about a replacement, probably C++, SDK. Maybe more luck there.
| Sysop: | Eric Oulashin |
|---|---|
| Location: | Beaverton, Oregon, USA |
| Users: | 100 |
| Nodes: | 16 (0 / 16) |
| Uptime: | 08:16:36 |
| Calls: | 8,828 |
| Calls today: | 5 |
| Files: | 9,537 |
| D/L today: |
640 files (1,047M bytes) |
| Messages: | 421,185 |
| Posted today: | 7 |