codebndr / Ariadne-Bootloader

A little less unfinished TFTP bootloader for Arduino Ethernet or Arduino with Ethernet Shield
codebender.cc
97 stars 37 forks source link

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

Closed whitesn closed 7 years ago

whitesn commented 8 years ago

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)

FunnyPaul commented 8 years ago

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.

whitesn commented 8 years ago

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

loathingKernel commented 7 years ago

This issue was moved to LoathingKernel/Ariadne-Bootloader#18