V1.19.1 Works on my Pico W but not on my standard Non Wifi Pico #10738
Replies: 2 comments 3 replies
-
How many files are in the files system of the non-Wifi Pico? There was a problem that at boards with many files registering of the USB port failed. That is fixed mid January. So a ecent nightly build should not have that problem. |
Beta Was this translation helpful? Give feedback.
-
I'm not really sure if I should consider this to be an answer. I guess time will tell. This version works. (Last Stable?) This version does not work This version does not work This version works This version works So it looks like the problem may have been solved in the last two releases both dated 09Feb2023. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
My project uses two PICO devices that communicate with each other via a LoRa Module.
Testing has been going well in fact I'm almost finished.
My Project
Although I don't think my code has anything to do with the problem.
Previously I had the following version of the interpreter running on both devices with the correct WIFI and non WIFI sub versions on each.
MicroPython v1.19.1-850-gfe2a8332f on 2023-02-01; Raspberry Pi Pico W with RP2040
Then V1.19.1 stopped connecting to Thonny when using the non WIFI Pico.
What did you change? (I hear you ask).
Nothing really, (I hate to say)
If I change back to V1.18 on the non wifi device I can connect no problem from Thonny.
MicroPython v1.18 on 2022-01-17; Raspberry Pi Pico with RP2040
So the USB port and cable are fine.
If I change to a different PC I get the same results. I can't connect to my non wifi pico v1.19.
The wifi pico works fine on v1.19.
First PC is old Windows7 laptop PC I use just for programming with Thonny.
Second PC I used for testing is a Windows 10 Desktop.
This is the error message I receive. I have nothing else connected via serial and there are no other versions of Thonny running and if I change back to version 1.18 everything works.
I can't work with version 1.18 for now as I want to use the encryption module "ucryptolib" which doesn't appear to be part of the build until version 1.19.
Any Ideas what's going on here as I'm kind of stuck?
Error Message
UPDATE
After struggling with this for more than a day I decided (just for fun) to delete main.py from the Pico using Thonny and V1.18. Sure enough I could then reinstall V1.19.1 and connect via the serial connection. I can run main.py from within Thonny. So far so good. However when I copy main.py to the PICO again I'm back to where I started.
So from this I assume something within my code is stopping V1.19.1 from using the "STOP/RESTART BACKEND" button in Thonny to kill main.py. But why only in V1.19.1?
Main.py is renamed from MainGate.py in my project as it's the one that runs on the non wifi PICO.
Beta Was this translation helpful? Give feedback.
All reactions