-
Notifications
You must be signed in to change notification settings - Fork 96
Open
Description
Dear @JAndrassy ,
I am trying example from ArduinoOTA Library SD2Flash2BootAVRHex.ino for update program in Arduino Mega ADK, with Ethernet Shield.
- Downloaded your myboard - ok
- Files from folder myboard copied to hardware folder of Arduino - ok
- Selected Arduino Mega 2560 (Optiboot) - ok
- Bootloader loaded to Arduino ADK - ok
- Return to select Arduino Mega ADK as board - ok ( is right? )
- Upload example sketch - ok
- Blink LED example export as hex from Arduino IDE and copy as update.hex to a SD card - ok
- To a while loop, I added a
Serial.print(".");to see loops of copy
while (hexFile.available() && !ihex2binError) {
Serial.print(".");
int length = hexFile.readBytesUntil('\n', buffer, sizeof(buffer));
lineNumber++;
ihex_read_bytes(&ihex, buffer, length);
}
- Example is not working. I see in console periodically
12:50:39.578 -> Initializing SD card...
12:50:39.578 -> Update HEX file found. Performing update...
12:50:39.578 ->
12:50:39.578 -> .
That see, that only the first loop was executed.
Please help me for run an update.
Thank you
Metadata
Metadata
Assignees
Labels
No labels