Closed JaspervanKol closed 9 months ago
I've not been involved in the ArduinoOTA side of things. @JAndrassy knows more about this. But it looks to me like you're trying to use the arduino
bootloader protocol to do OTA uploads using Avrdude instead of ArduinoOTA. This can't be right...
Did you copy extras/avr/platform.local.txt next to platform.txt ?
@JAndrassy no I did not. I followed the "How to install" & "Getting started with MegaCore" but I didn't see anything with the platform files.
Where can I find this file and where do I need to place this?
ArduinoOTA library is not part of the MegaCore https://github.com/JAndrassy/ArduinoOTA#atmega-support
Ok, I didn't know that. I did read the "ATmega support" description, but I still don't understand it. Where can I find this file and where do I need to place it on my pc?
I figured it out! I needed to add the myboards from https://github.com/jandrassy/my_boards to the IDE. I can now upload new sketches over the internet using the new board, still thanks for the help. Closing...
I succesfully installed the MegaCore v2.2.3 in the Arduino IDE and burnt the bootloader to my Arduino Mega. I can upload any sketch over USB to the Arduino Mega but when I try to use the OTA lib it doesn't work.
Inside of the IDE I can select the Arduino Mega with the port for OTA as shown below:
But when I want to upload the sketch I'm getting this error:
Does somebody knows what I'm doing wrong? I really like to have this functionality to upload sketches over the internet...