Rpi2040 file write a bit iffy #9736
Unanswered
kjm1102
asked this question in
Using MicroPython
Replies: 2 comments 5 replies
-
@kjm1102 What do you mean by "before running boot.py". |
Beta Was this translation helpful? Give feedback.
2 replies
-
How are you viewing the files on the Pico? For me it writes first time, but Thonny's files view has to be manually refreshed to see it |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've got a little config file I try to write before running boot.py during testing. It seems to work OK
but when boot.py runs the json.load retrieves the old parameters from before the latest json.dump. The only way I can reliably get the new values is to run the config write at least 3 times before using boot.py.
There's no problem with the pico's flash, the file read/writes in boot.py work OK so I'm wondering what I'm missing?
Beta Was this translation helpful? Give feedback.
All reactions