Arduino OTA + atmega1284p + w5500 lite ethernet #126
Replies: 5 comments
-
read the README. |
Beta Was this translation helpful? Give feedback.
-
mozem slovensky? |
Beta Was this translation helpful? Give feedback.
-
Aj ked terminologia je anglicka a mozno by to pomohlo aj niekomu inemu. Tak idem anglicky. The ArduinoOTA libraries (esp8266 and esp32 have their own) are for self update. The Arduino sketch (using this library) writes the received binary to a free space in the flash and then uses some way to copy the binary to the run location of the flash and self reset. So it is not a bootloader. The OTEthernet example shows how to use the library in a sketch. For classic ATmega only the bootloader can write to flash. So the ArduinoOTA library needs a support in bootloader. The bootloader in MightyCore has this support for ATmega1284p. I guess you use the MightyCore for your ATmega1284p board and you put a bootloader on it using the MightyCore. If yes, then you already may have the right bootloader. If you tested the Ethernet module and it works and you have the right bootloader, then you can upload the OTEthernet example and wait a little until the Arduino IDE shows the network port in Tools->Port menu (sometimes restarting the IDE helps). After the network port shows, select it and upload the OTEthernet example again. This time it will upload over network. |
Beta Was this translation helpful? Give feedback.
-
make the Ethernet work first. the WebClient example has enhanced diagnostics |
Beta Was this translation helpful? Give feedback.
-
I uploaded working project with this ethernet shield. And communication is working. I set up static IP Ethernet.begin(mac, ip, myDns, gateway, subnet);. Arduino IDE found this device correctly on 192.168.0.195. But during uploading it require password. |
Beta Was this translation helpful? Give feedback.
-
did you copy platform.local.txt from extras/avr next to platform.txt in MightyCore? |
Beta Was this translation helpful? Give feedback.
-
Hi, I want to upload sketch via ethernet cable. But I do not understand what to do with this library. And how to upload it on Win10. My theory - need bootloader and main program with reset function. I use atmega1284p and W5500 lite, connected PB4-SS, PB5-MOSI, PB6-MISO, PB7-SCK. Anybody can explain to beginner?
Beta Was this translation helpful? Give feedback.
All reactions