Development release 1.20.0.rc3 and LittleFS Upload problems
-
I have a number of Lopy boards on Pysense and see issues uploading from Atom/Pymakr when the latest 1.20.0.rc3 has been flashed to the Lopy with the LittleFS. I see the error "Failed to write file, trying again..."
This happens at the 3rd file.
Reflashing and selecting FatFS and 'erase during update' has no problems uploading the code afterwards.As soon as I select LittleFS I have problems.
Any ideas?
Cheers
Andrew
-
@thinginnovation I have no problem uploading a complex file/directory structure using FileZilla to a device with Littfs. So the file system itself seems fine, and problem is in the interaction between Pymakr and MP and the way, Pymakr uploads files.
-
I got such problems with 1.19.*
I solved it by uploading only main.py as a script. All other files as bytecode (*.mpy).
The error was not predictable. I assume that it is related to memory fragmentation. A cold boot in front of the upload showed less errors. I switched anyway to upload bytecode for stable code, because the compiler fragmented the memory too much for my buffersize. -
Does this always fail on the same 3rd file? How large is that file? I presume its a normal .py file and not some multi MB binary or something equally strange?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login