Open nio101 opened 1 year ago
Hello @nio101 and thank you for using this software :)
It's strange that only this file doesn't want to upload.
I see that you are on a LOLIN S2 MINI board and that it has a MicroPython firmware by default.
Can you make a screenshot of the "System" page in the tool, so I can see the versions please?
Maybe the boot.py
file is protected...
Also, what happens if you open it with the IDE and save it with Ctrl+S instead of using the "Upload" button?
Here is the system info : When trying to save directly, I get the 'an error occured' message... I can upload a boot.py using other tools (thonny for example). I'm on windows 10, I will switch to ubuntu to see if it changes anything.
Thank you for feedback, indeed the versions seem good, why only boot.py
and not the others...
Maybe a problem of opening the local file and not the one on the device.
Can you try the 2 commands below in the terminal to see what it returns on your side?
import os; os.stat('/boot.py')
and
with open('/boot.py', 'rb') as f : print(f.readlines())
The result is : '(32768, 0, 0, 0, 0, 0, 3359, 734295654, 734295654, 734295654)' for the first command. The second command print successfully each line of boot.py. I have the same issue with the ubuntu version.
Ok thanks, I don't see any particular problem, especially if it does exactly the same thing under Ubuntu :'( I confess I don't understand why only this file is a problem...
Can you help me with 3 other questions please:
boot.py
you are trying to send?boot.py
to another name (toto.py
for example) and send it, is there still an error?boot.py
instead, does it work?Not easy to diagnose, I'm curious to understand!
Did you find anything?
Yes, it seems to be size-related. Original file was 3.2kB. I managed to upload a tiny boot.py file, and I had the same error trying to send another big file (not using the boot.py filename).
@nio101, you may not have enough space in the flash memory to write a large file. Have you had time to see the progress bar? No one seems to have this problem and multi-meg files can get through (on SD card as well) depending on the space available.
Thanks for the app, it's great, but I'm getting this error and I can't upload or save boot.py on my device :
Uploading other files works.