I need help with Arduino Mega OTA #255
Replies: 12 comments 3 replies
-
you need optiboot botloader. not stl500v2 |
Beta Was this translation helpful? Give feedback.
-
ok, I managed to make sending the sketch to the network port work, but I need to restart the Arduino manually for the new sketch to work, any solution? |
Beta Was this translation helpful? Give feedback.
-
I'm using a set of optiboot 8 cards, maybe that's it, but it shouldn't work when I restart manually, right? |
Beta Was this translation helpful? Give feedback.
-
that doesn't have copy_flash_pages. use MegaCore version or my_boards btw: the "and after manual reset the new sketch runs?" question was for mcerqueira1509 |
Beta Was this translation helpful? Give feedback.
-
I found it in your repository, later I will test it and give feedback here if it works to help more people |
Beta Was this translation helpful? Give feedback.
-
Another question, if you have already tested it, sending the sketch outside the local network, through a public IP, would there be a manual way to add the network port to the IDE? |
Beta Was this translation helpful? Give feedback.
-
yes. read the README |
Beta Was this translation helpful? Give feedback.
-
bingo worked, thank you very much for your help, I will study public IP, this readme from the library folder? |
Beta Was this translation helpful? Give feedback.
-
ok in theory this worked, I need to validate it while still outside the same network, I did it with my public IP and it worked, not the first time because instead of pulling the password I have in the sketch, it pulled the default password "password" and then it gave as access denied, even though the dialog box to enter the password is not opened |
Beta Was this translation helpful? Give feedback.
-
I must be doing something wrong... I have an arduino mega 2560 R3 I can upload the blink sketch to it and it works with the default bootloader. I burned the new bootloader from https://github.com/JAndrassy/my_boards/blob/master/avr/bootloaders/optiboot8/optiboot_atmega2560.hex I can burn the default Arduino Mega bootloader again after this and everything is ok again. What am I doing wrong? Thank you |
Beta Was this translation helpful? Give feedback.
-
Hello, I am getting the following feedback when I send a sketch via the network port:
"Connecting to board... done
Uploading sketch...done
Flashing sketch... Error flashing the sketch"
I have already changed the timeout but it may not be correct, as this error message comes in approximately 10 seconds, but the following command is given before this message appears:
"C:\Users\heins\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0/bin/arduinoOTA -address 192.168.3.6 -port 65280 -username arduino -password heins -sketch C:\Users\ heins\AppData\Local\Temp\arduino_build_653848/testeOTA.ino.bin -upload /sketch -b -t 60"
I installed the Megacore bootloader "stk500boot_v2_atmega2560_115200_16000000L.hex", if it's not the correct one, if you could send me the correct bootloader, I've also replaced the arduinoOTA.exe file with version 1.4.1, I think it was in 1.3.0
Beta Was this translation helpful? Give feedback.
All reactions