TFTP upload upload failing

I've set the "Eth Boot" switch to ON on the D21G board, i've included the ResetServer function (and going to the correct link with browser, the device reset correctly), but when i try to transfer via TFTP it goes in timeout.

As TFTP client, i've used the Windows 10 default one (with -i option), tftpd32, and also this one: https://www.tftp-server.com/tftp-client.html

during the reboot phase the device stop responding to pings.

I think\hope that i've done all correct.

How the TFTP server in industruino know what IP address to listed during reboot?

Enrico Michieletti
Enrico Michieletti
95
| 3 1 2
Asked on 1/2/21, 1:44 PM
0
vote
1444 Views

Ok, i've noticed that something was wrong as the ping was stopping during the reset. I managed to save correctly the data to the FRAM, where the bootloader check for network variables (last 30 bytes). Now the ping doesn't stop during reset, so the bootloader must be listening to the network requests.

The web part with reset work, as if i point the reset path the device reboot itself.

But the TFTP never start. I've tried several TFTP programs, all under windows, without success.

I've tried both manually, and with the following bat file

ECHO Preparo il file
c:\Industruino\prepareFile.exe "password" "C:\Users\User\Documents\Arduino\Industruino\Industruino\Industruino.ino.industruino_d21g.bin" "c:\Industruino\Industruino.bin"

ECHO Eseguo il reset
START c:\Industruino\reset.vbs "password"

ECHO Spedisco via TFTP
REM c:\Industruino\tftp_new -i -v 172.16.1.132 PUT "c:\Industruino\Industruino.bin"
TFTP -i 172.16.1.132 PUT "c:\Industruino\Industruino.bin" 


PAUSE

The bin file is created, the device resets, but the TFTP transfer never start.

Any ideas?

Thanks!

Enrico Michieletti
Enrico Michieletti
95
| 3 1 2
Answered on 1/6/21, 3:03 PM
0
vote

Your answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

Ask a Question

Keep Informed

About This Forum

This community is for professionals and enthusiasts of our products and services.

Read Guidelines

Question tools

63 follower(s)

Stats

Asked: 1/2/21, 1:44 PM
Seen: 1444 times
Last updated: 1/6/21, 3:04 PM