loathingKernel / ariadne-bootloader

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

Bootloader burned successfully, Failed to upload bin via TFTP. #18

Open loathingKernel opened 7 years ago

loathingKernel commented 7 years ago

From @whitesn on August 18, 2016 6:26

Hello, so I am able to burn the bootloader and upload the "ReadNetworkSettings" sketch using Serial USB Comm.

I am also able to ping the default IP when the Arduino is powered and connected (192.168.1.128)

Then I tried to upload the sample "blink" ( utilities\tests\blink\atmega328_blink9.bin ) by resetting the Arduino Board (LED13 now blinks quickly), then type "tftp -i 192.168.1.128 PUT atmega328_blink9.bin" (I already cd'd to the folder). After some times, it says "Connect request failed".

Previously, after uploading the sample "ReadNetworkSetting", the Arduino will be able to run the sketch after about 10 seconds after reset (the upload period).

But if I did attempt to TFTP the sketch (atmega328_blink9.bin), my Arduino is now not able to load the previous sketch and will keep blinking quickly (even after resetting, and waiting for 10 seconds). The previously uploaded sketch is now gone, but I am still able to upload sketches via serial. What should I do?.. (Windows 10 64bit, Arduino 1.6.7)

Copied from original issue: codebendercc/Ariadne-Bootloader#34

loathingKernel commented 7 years ago

From @FunnyPaul on September 5, 2016 15:2

Hi, I have also had problems with the TFTP tool of Windows. Try it once http://tftpd32.jounin.net with the tool. And adjust or turn off the firewall.

loathingKernel commented 7 years ago

From @whitesn on September 14, 2016 1:55

Thanks @FunnyPaul , I'll get back after trying this out later.