loathingKernel / ariadne-bootloader

A little less unfinished TFTP bootloader for Arduino Ethernet or Arduino with Ethernet Shield
45 stars 18 forks source link

Reset Server Confusion #29

Open brandonkal opened 6 years ago

brandonkal commented 6 years ago

I managed to get this bootloader installed but the reset server example sketch does not seem to work. I get no webpage served on port 80 (by typing in just the IP in the browser) which according to the sketch should serve sensor values.

The reset servers seems to respond at IP:8080/password/reset and I can then upload a sketch. So at least part of it works.

Also, how would I go about including the reset server function in a normal sketch? Do I need to include all the code in the ResetServer example (all #includes and the reset.check() in the main loop)?

Eventually I'd like to use an external watchdog timer to perform resets as well. Is this compatible with the bootloader?

On a seperate note, uploading a sketch.bin of the same name does not seem to work. e.g. if the server is running blink.bin, I cannot simply change the blink frequency in the code, recompile and upload with "tftp> put blink.bin"

If I rename blink.bin to blink5.bin and use "put blink5.bin" the code is accepted by the bootloader.