Always the same problem of file upload flash !!!!
-
@james said in Always the same problem of file upload flash !!!!:
Another thought is that they are css and js files and that some character in the file in serial transfer can give some problems, even if it should be a binary trafficking.
That's what i would suspect. Serial transfer might not be transparent. That's one of the reasons why I use ftp. It is reliable and well tested over decades.
-
It is not always possible to transmit files via FTP, so if there were real transfer problems in the serial mode it would be a serious problem, and more serious than any other answer after the umpteenth post, at least in understanding what could be.
regards
James -
So what is the solution?
Seems like changes to my files are actually uploaded, but still end up with the error message.Uploading project (main folder)... Safe booting device... (see settings for more info) Reading file status [1/1] Writing file lib/sx1509.py Failed to write file, trying again... Failed to write file, trying again... Filecheck failed Upload done, resetting board... -
@cmisztur Put aside pymakr and give a clean ftp client a try, to sort out the problem. If possible, use linux or mac command line ftp. Check beforehand, that teher is sufficient free space in the file system of your device. You can do so with
import uos;uos.getfree("/flash") -
@robert-hh fine...
-
Hello, everybody,
I have the same problem, with pysense + sipy, updated to the last stable firmware, I have uninstalled and reinstalled pymakr in Atom and I always fail the flash of the same file of the project (pycoproc).In my case it seems that these problems have come after upgrading to Ubuntu 18.04 lts.
I will try to flash with another computer that I have with ubuntu 16.04 and the latest version of pymakr.
Would I also like to know why this happens?
Regards
-
@nespressif Hi, what files are you trying to upload? Also, could you try using FTP?
-
@dan Hi, I'm uploading my project: boot.py, main.py and the lib directory with my own libraries and the pysense libraries. I always get an error when uploading the pycoproc.py library, but after the program works.
I have uninstalled and reinstalled Pymakr in Atom and now I show the size of each file during uploading.
I'll try via FTP and also from another computer with ubuntu 16.04 and I'll tell you.
-
@nespressif for me, I had the same issue with the bootstrap css as the original post, but when I decreased its size, I was able to upload it. If you upload larger files, FTP seems to work better.
-
@dan Hi, the files are not big, besides the errors the upload gives them in some pycom libraries. I have tried ubuntu 18 and 16, Atom and pymakr 1.4.2 and the last 1.4.4.
Anyway the program works correctly even with errors in the upload, but it is annoying.
I will try via ftp.
Regards,
-
Hi, I tried via ftp and it works perfectly.
Regards
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