embeddedartistry / athena-bootloader

An AVR Arduino bootloader that supports uploads over Ethernet (via TFTP) and Serial.
GNU Lesser General Public License v2.1
12 stars 5 forks source link

Ariadne's unconditional 10 second TFTP period not working? #99

Open powersupplyf opened 4 months ago

powersupplyf commented 4 months ago

Issue Template

unconditional TFTP upload after any reset not possible anymore?

Prerequisites

Mega 2560 with W5500 Shield 2

Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

Context

Plain Mega 2560 flashed with Athena, plus Ethernet Shield 2 (W5500) on top, works with "manual" EEPROM.enableUpdateMode() and with AthenaEthernetReset, but not without those (Ariadne did)

Expected Behavior

Ariadne would wait 10 seconds after any reset/repower/WD for a TFTP update, without prerequsites (except network settings of course).

Current Behavior

Athena seems to need some EEPROM flags set prior to be able to TFTP after any reset/repower/WD Contrary to Ariadne in the manual mode it never times out This mode will not time out https://github.com/embeddedartistry/athena-bootloader?tab=readme-ov-file#reprogramming-without-the-reset-server-library

Failure Information (for bugs)

no response during 10 seconds

Steps to Reproduce

1) Fash Athena bootloader, 2) setup with network settings with WriteNetworkSettings 3) reset 4) TFTP Athena waits for 10 seconds but any TFTP uptade fails.

Thanks!