-
Notifications
You must be signed in to change notification settings - Fork 94
Need help using ArduinoOTA with Arduino Mega #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
yes, it is possible |
Yes, I did read it. But I'm not sure, if I did understand and follow it all. I did copy my_boards to /opt/arduino/hardware. Then I did burn the bootloader Arduino Mega 2560 (Optiboot) to my board. There appears no network port in my Arduin IDE. I have disabled my client firewall and can ping the board. |
did you try the OTEthernet example? |
Yes, and it didn't worked till I changed to ArduinoIDE 1.8.3. The bug arduino/Arduino#8408 blocks network ports since version 1.8.5. Thanks for your help. I will try the OTA update next (board is already under network ports) and give you feedback. |
but make sure you have AVR boards package at least version 1.6.21 installed for upload tool arduinoOTA version 1.2. |
I still fail at the password... with the default. :( |
copy here the upload command from the IDE console |
I only see "Resetting the board |
in Preferences check verbose mode for Upload |
The command is "/root/.arduino15/packages/arduino/tools/arduinoOTA/1.3.0/bin/arduinoOTA -address 192.168.69.201 -port {upload.network.port} -sketch /tmp/arduino_build_393267/OTEthernet.ino.hex -upload {upload.network.endpoint_upload} -sync {upload.network.endpoint_sync} -reset {upload.network.endpoint_reset} -sync_exp {upload.network.sync_return} " |
upload with my_boards Mega. it has the right command. EDIT: If you burned the my_boards Optiboot, the USB upload with standard Mega selected should not work. |
I use the entry "Arduino Mega 2560 (Optiboot)". |
then try to copy platform.local.txt from extras/avr folder, next to platform.txt in the AVR boards package Packages are located in ~/.arduino15/packages/ on Linux and %userprofile%\AppData\Local\Arduino15\packages\ on Windows (AppData is a hidden folder). EDIT: the default AVR package can be in IDE installation folder |
That did the trick :) Thanks, I can now upload via OTA. |
Can you please provide step by step procedure from beginning? |
Uh oh!
There was an error while loading. Please reload this page.
Hi!
I have an Arduino Mega 2560 and would like to do OTA updates of my sketches.
As I understand, this is possible with you project.
Is there a step by step tutorial how to use it?
How can I get network ports in my Arduino IDE?
Thanks,
Sandra
The text was updated successfully, but these errors were encountered: