JAndrassy / ArduinoOTA

Arduino library to upload sketch over network to Arduino board with WiFi or Ethernet libraries
GNU Lesser General Public License v2.1
451 stars 91 forks source link

not able to upload the first sketch atmega2560 #25

Closed golfredom closed 4 years ago

golfredom commented 4 years ago

trying to upload a example sketch on Arduino Mega 2650, but i dont undertand the procedure. please help. IMG_9619

JAndrassy commented 4 years ago

select the network port and click the Upload button. did you copy the platform.local.txt from extras folder next to platform.txt in boards packege folder? did you burn the Optoboot bootoader to Mega?

golfredom commented 4 years ago

Thanks for the reply, yes I did copy the file platform.local.txt

However I don’t know hoy to burn the optoboot boot loader to the mega. Can you explain please.

Enviado desde mi dispositivo móvil!!!

On May 7, 2020, at 11:49 AM, Juraj Andrássy notifications@github.com wrote:

 select the network port and click the Upload button. did you copy the platform.local.txt from extras folder next to platform.txt in boards packege folder? did you burn the Optoboot bootoader to Mega?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

JAndrassy commented 4 years ago

https://www.arduino.cc/en/Tutorial/ArduinoISP

peros550 commented 4 years ago

@jandrassy I need to ask a question.

I'm trying to change the bootloader to an Arduino Mega 2560. I have prepared an Arduino UNO as an ISP programmer, I have made the correct connections between the two boards (Pogrammer: UNO, Target: Mega2560)

I am ready to burn the new bootloader as per the instructions here and here

I have seen in your instructions that you mention:

"You can download my boards definitions and use it to burn the modified Optiboot and to upload sketches to your Mega over USB and over network."

But I really don't know how to use your "my boards". This part is not clear to me. I think I need to place those files somewhere (probably under C:\Program Files (x86)\Arduino\hardware) , but don't know If I need to replace existing files in Arduino subfolder or put them on a separate folder.

Could you please clarify?

JAndrassy commented 4 years ago

look at the picture https://github.com/jandrassy/my_boards/blob/master/README.MD