-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with uploading some scetches #27
Comments
Now I have spend much of time by testing. Small sketches f.e. blink ... is updated succesfully ... F.e. I tested now your "ariadne-bootloader/utilities/tests/bigprogram/" and it´s and there is timeout too... Please help me. Many thanks, Jan |
It is a known issue and a proper fix is not easy. I have been (very slowly) rewriting the bootloader to fix such issues but time is not permitting me to progress faster. As a workaround you can try to increase the time of retries your client does when a timeout occurs. |
Thanks for your reply. I tested TFTPD64 with settings timeout 1s and max retransmit 100 and it is the same... Timeout while waiting ack block #64 ... but before it LED is flashing ... arduino is reseting i think... Do you have some tip for any function bootloader please? I need flashing remotely arduino Mega with W5100 or it is possible connect ESP8266. Many thanks. |
Ariadne only supports W5100, W5300 and W5500, so ESP8266 won't work with it. Any bootloader based on Ariadne or TFTP-booloader probably suffers from the same issue as far as I know. You could try some of the other forks though if they advertise Mega2560 support. |
Now I try it with linux tftp and it s the same (fail on block 64)
|
I don't now if there is a difference, but with W5500, I was able to upload a 250k sketch to mega2560. |
With W5500 there is a possibility that you could remove the delay completely as it is. You don't encounter these issues with it because W5500 increments its socket buffer pointers internally, unlike W5100 and W5200. |
in my tests i was able to go down to 5 ms with W5500.. I didn't try less that this. |
So, I buy Arduino Ethernet Shield 2 (W5500), connect to Arduino Mega 2560. Ping to 192.168.1.128 is ok, but is not possible to upload some (small or big) file. LED still flashing ... Is there some specialy diferences for ethernet shield 2? |
Hello, I use your ariadne bootloader with arduino mega 2560 and standard ethernet shield W5100. Now I have problem with upload this project. When I upload by USB cable standard from arduino IDE, it´s ok and function, but by TFTP it is not function - TFTP confirm transmission as success, but after uploads there is only LED still flashing. Smaller project is no problem upload by TFTP an your ariadne bootloader. Do you have some ideas why ?
There is some screenshot and bin and ino files:
https://www.puhy.cz/download/arduino/topeni/swtopeni.ino.ino
https://www.puhy.cz/download/arduino/topeni/topeni.bin
https://www.puhy.cz/download/arduino/topeni/tftp.png
but after this LED is only blinking.When I upload by Arduino IDE and USB cable it is ok and function ...
Many thanks,
Jan
The text was updated successfully, but these errors were encountered: