Replies: 11 comments 35 replies
-
OTEthernet example works? |
Beta Was this translation helpful? Give feedback.
-
do you use my_boards or MegaCore? did you burn the Optiboot bootloader? |
Beta Was this translation helpful? Give feedback.
-
can you try to upload with 'fake programmer'? |
Beta Was this translation helpful? Give feedback.
-
why did you try with the Mega bootloader? it doesn't make sense to try it with that. |
Beta Was this translation helpful? Give feedback.
-
I've seen this error too in some case, which I can't remember what it was or it go away before I could determine it.. The error is strange because checking the upload tool's source code I see that it prints "Error flashing the sketch" only once. can you show me the upload with the 'fake programmer'? |
Beta Was this translation helpful? Give feedback.
-
I would expect it to use the arduinoOTA tool in my_boards/tools since the platform.txt file has |
Beta Was this translation helpful? Give feedback.
-
upload with fake programmer with current version of my_boards should use |
Beta Was this translation helpful? Give feedback.
-
Hi , let me follow up here with this topic, I have same issues with my OTA/WIFI combination, If I repeat it several times it is somewhen working again... |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
to debug you can add in WiFiOTA.cpp to
|
Beta Was this translation helpful? Give feedback.
-
too easy (-: but it looks much better now.. I will keep watching - also running Webserver in parallel is okay... |
Beta Was this translation helpful? Give feedback.
-
Used: C:\Program Files (x86)\Arduino\libraries\Ethernet
Not used: C:\Users\skant\OneDrive\Documents\Arduino\libraries\EthernetENC-master
Using library SPI at version 1.0 in folder: C:\Users\skant\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.23\libraries\SPI
Using library Ethernet at version 2.0.0 in folder: C:\Program Files (x86)\Arduino\libraries\Ethernet
Using library ArduinoOTA-1.0.8 at version 1.0.8 in folder: C:\Users\skant\OneDrive\Documents\Arduino\libraries\ArduinoOTA-1.0.8
"C:\Users\skant\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\5.4.0-atmel3.6.1-arduino2/bin/avr-size" -A "C:\Users\skant\AppData\Local\Temp\arduino_build_844574/OTA_GATEWAY_test.ino.elf"
Sketch uses 20610 bytes (7%) of program storage space. Maximum is 261120 bytes.
Global variables use 1418 bytes (17%) of dynamic memory, leaving 6774 bytes for local variables. Maximum is 8192 bytes.
C:\Users\skant\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.2.1/bin/arduinoOTA -address 192.168.1.104 -port 65280 -username arduino -password password -sketch C:\Users\skant\AppData\Local\Temp\arduino_build_844574/OTA_GATEWAY_test.ino.bin -upload /sketch -b
Connecting to board ... done
Uploading sketch ... done
Flashing sketch ... Error flashing the sketch
Error flashing the sketch
Beta Was this translation helpful? Give feedback.
All reactions