You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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
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?
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?
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
Activity
JAndrassy commentedon May 9, 2024
you need optiboot botloader. not stl500v2
heinsschonhals commentedon May 10, 2024
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?
heinsschonhals commentedon May 10, 2024
I'm using a set of optiboot 8 cards, maybe that's it, but it shouldn't work when I restart manually, right?
heinsschonhals commentedon May 10, 2024
I use the following configuration

JAndrassy commentedon May 10, 2024
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
heinsschonhals commentedon May 10, 2024
I found it in your repository, later I will test it and give feedback here if it works to help more people
heinsschonhals commentedon May 10, 2024
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?
JAndrassy commentedon May 10, 2024
yes. read the README
heinsschonhals commentedon May 10, 2024
bingo worked, thank you very much for your help, I will study public IP, this readme from the library folder?
JAndrassy commentedon May 10, 2024
here https://github.com/JAndrassy/ArduinoOTA
heinsschonhals commentedon May 10, 2024
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
peno64 commentedon Jul 30, 2024
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

To be able to do this, I copied this file to C:\Users\peno64\AppData\Local\Arduino15\packages\Optiboot\hardware\avr\0.8.0\bootloaders\optiboot
It says success when I did this.
I appended the content of https://github.com/JAndrassy/my_boards/blob/master/avr/boards.txt to my boards.txt
In the IDE I choose board Optiboot 8.0 - Arduino Mega 2560 (Optiboot)
Now I upload, still via usb, the blink sketch. Upload hangs some time and then gives an error.
I can burn the default Arduino Mega bootloader again after this and everything is ok again.
What am I doing wrong?
Thank you