I tried this on128-36 and that failed so moved back to 127-07.
I can OTA compile and upload the main file 100% but when I came to upload SPIFFS it fails:
----trimmed messages above---
/upload.html
/wificonfig.json [SPIFFS] upload : C:\Users\ms\AppData\Local\Temp\arduino_build_143757/mysqmplus-firmware-127-07---Module2.spiffs.bin [SPIFFS] IP : 192.168.1.3
I have assumed that the Python path (which I have set) is correct to upload the main code or is this only used for the SPIFFS?
Please let me know what you might need if it is more than this.
I also encountered a problem when using 128-36. Setting it to Static Address in Station Mode brought up a compile error in the AccessPoint code of undefined "ip". I can get more details of that if required too.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The details are a little sketchy about exactly how you are uploading. Plese outline in detail what the steps are that you are doing.
That would depend on how you are trying to upload the data files?
After compiling, the firmware is uploaded using the Arduino IDE
Next the sketch data files are uploaded using the Arduino IDE also, as explained in the PDF.
Are you trying to upload using OTA?
There is much going on behind the scenes and a host of differences between the two methods.
Regards
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have previously uploaded the firmware and SPIFFS with a direct USB serial connection. Set up for ArduinoOTA
Now I am using OTA with ArduinoOTA. I get the full 0% to100% of the upload and the device performs OK. If I try to upload the SPIFFS using the network address it fails as shown in the error message posted above.
On page 141 in 129-01pdf you reach the end of programming the firmware over OTA. However there is no mention of how to upload the SPIFFS. So do you have to use the management browser page upload to do this using the file generated during the failed SPIFFS upload? Or am I missing something?
Thanks
Len
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Len
My apologies, I was pouring over some new code and I did not grasp the full content of your earlier post.
There are some gotcha's with the ArduinoOTA and uploading SPIFFS
As far as I can recall, from notes etc and discussions with the test group some time ago, as I have not been using ArduinoOTA but ElegantaOTA for some time now, is uploading of sketch data files will not possible if the password is set.
Your error messages Authenticating...FAIL
11:12:32 [ERROR]: Authentication Failed
pinpoin the issue has to do with authentication - inot a configuration or setup or missing files issues, e username and password, please try with no password
I don;t know if that issue is fixed or not in recent updates (not firmware, I mean the libraries and Arduino core code).
I have uploaded new fimware 129-01 which has a heap of updates in it. This release has a large number of fixes, but will do nothing to resolve the ArduinoOTA issue with SPIFFS
regards
Robert
Last edit: brownrb 2022-06-22
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried this on128-36 and that failed so moved back to 127-07.
I can OTA compile and upload the main file 100% but when I came to upload SPIFFS it fails:
----trimmed messages above---
/upload.html
/wificonfig.json
[SPIFFS] upload : C:\Users\ms\AppData\Local\Temp\arduino_build_143757/mysqmplus-firmware-127-07---Module2.spiffs.bin
[SPIFFS] IP : 192.168.1.3
Sending invitation to 192.168.1.3
Authenticating...FAIL
11:12:32 [ERROR]: Authentication Failed
SPIFFS Upload failed!
I have assumed that the Python path (which I have set) is correct to upload the main code or is this only used for the SPIFFS?
Please let me know what you might need if it is more than this.
I also encountered a problem when using 128-36. Setting it to Static Address in Station Mode brought up a compile error in the AccessPoint code of undefined "ip". I can get more details of that if required too.
Hi Leonard
The details are a little sketchy about exactly how you are uploading. Plese outline in detail what the steps are that you are doing.
That would depend on how you are trying to upload the data files?
After compiling, the firmware is uploaded using the Arduino IDE
Next the sketch data files are uploaded using the Arduino IDE also, as explained in the PDF.
Are you trying to upload using OTA?
There is much going on behind the scenes and a host of differences between the two methods.
Regards
Robert
I have previously uploaded the firmware and SPIFFS with a direct USB serial connection. Set up for ArduinoOTA
Now I am using OTA with ArduinoOTA. I get the full 0% to100% of the upload and the device performs OK. If I try to upload the SPIFFS using the network address it fails as shown in the error message posted above.
On page 141 in 129-01pdf you reach the end of programming the firmware over OTA. However there is no mention of how to upload the SPIFFS. So do you have to use the management browser page upload to do this using the file generated during the failed SPIFFS upload? Or am I missing something?
Thanks
Len
Hi Len
My apologies, I was pouring over some new code and I did not grasp the full content of your earlier post.
There are some gotcha's with the ArduinoOTA and uploading SPIFFS
As far as I can recall, from notes etc and discussions with the test group some time ago, as I have not been using ArduinoOTA but ElegantaOTA for some time now, is uploading of sketch data files will not possible if the password is set.
Your error messages
Authenticating...FAIL
11:12:32 [ERROR]: Authentication Failed
pinpoin the issue has to do with authentication - inot a configuration or setup or missing files issues, e username and password, please try with no password
I don;t know if that issue is fixed or not in recent updates (not firmware, I mean the libraries and Arduino core code).
I have uploaded new fimware 129-01 which has a heap of updates in it. This release has a large number of fixes, but will do nothing to resolve the ArduinoOTA issue with SPIFFS
regards
Robert
Last edit: brownrb 2022-06-22
Updated to 129-01 and ElegantOTA and all working fine.
Many Thanks
Len