WIZnet Developer Forum

TFTP firmware upload

Hi Eric,

do you have more information wrt TFTP firmware upload using WIZnet configuration tool?

Do you have any recommendation of TFTP server?
What has to be uploaded (boot firmware, application firmware as *.bin file, both as *.hex)?
Do you have any documantation or links about the topic?

Thanks in advance!
Bachus

Hello! Bachus.
We are recommand the TFTPD32 program.
tftpd32.jounin.net/

Note that,
You should ensure that the other TFTP server programs are occupied the port 69.

Following the next steps.
Upgrading the WIZ550web device’s firmware using the WIZ configuration tool:

  1. Downloading the WIZ550web latest firmware.
  2. Running the WIZ configuration tool and tftpd32 program.
  3. Checking the tftpd32 browse settings (Choose the firmware located path) and TFTP / network settings.
  4. Click the [F/W Uploading] button on WIZ configuration tool and fill up the TFTP server informations. (includes correct password, default pass: WIZnet)
  5. Performing the upgrade
  6. Done (board is rebooted automatically)

I’ve attached helpful captures for you. Please refer to the this capture images.

Step 3.

Step 4.

Step 5.



Step 6.

Hi Eric,

I have to request your urgent help again.

I tried to follow your steps as described. However, after Firmware Upload start, I could not observe the connection log messages as shown in your picture. And after some time (30 min), I was still waiting for a message about successful upload.

After reboot, the device is not accessible anymore, neither via TCP nor UDP. Even the broadcast with your configuration tool does not detect the device.

I tried again Firmware upload (original version v1.0.1, boot and application) via UART1, but without success.

How can I get back to a working device?

Regards
Bachus

Yes I have tried following these instruction and do not get any reply when I click OK on the “TFTP Server information” screen.

The Tftpd32 i downloaded from the link given, looks different to the one shown, I have seven menu’s across the top, Tftp server, TftP Client, DHCP server, Syslog server, SNTP server, DNS server, Log viewer.
Also across the box where information would come is Peer, file, Start time, Progress, bytes total timeouts.

The screen Tftpd32 directory has only Close, Copy, Cancel, buttons not a OK button as shown in instructions.

There are so many settings under the setting tab I do not know what to use?

Where do I get the Server IP address?

As stated in my other post I have now tried using the “ST Flash loader demostrator” but although it programs the unit every time it is powered up or reset asks for the mac, even so it is not accesable to do anything.

Urgent help required by Wiznet Please.

David

I have just additional information.

  1. ping to the IP address is still answered. So I hope, that the module is not death at all.
  2. SD card is still working. Checked it on PC.
  3. Boot and application firmware downloaded and verified using STM Flashloader via UART -> ok.

Still no access to index.html via browser.
No search result using UDP broadcast (WIZnet configurator).

  1. checked again with firmware version V1.1.1. I got the same behaviour.

Yes, TFTP32D GUI looks a bit different. However, this might be a different version.
TFTP server IP address was set to the PC IP address, because TFTP server was started locally on the same machine as the configuration tool.

Regards
Torsten

I’m just looking further for a solution.
I tried to connect to UART1 and expect the welcome messages on Reset as well as Power-On Reset as described on your getting started guide.
However, the only output is

“Medium Density Flash memory\r\n”

Nothing else.

I’m just a little bit surprised. I checked the module as well as firmware before I started TFTP upload. Everything was fine. After Firmware Upload using STM Flashload Demonstrator, which I have also done several times without issues, the device stopps working. Does anybody have an explanation?

Thanks
Torsten

Hi, Torsten.
I’m sorry for late reply post because Korean thanksgiving holidays.

If firmware upload failed by various reasons, the above message can be displayed. (‘Medium Density Flash memory’ message displayed by Boot part, MCU memory checker)

When the firmware upload failed, the WIZ550web board is deleted application part and operated in empty application area. The ‘search’ function is also processed in the Application Parts. so, the WIZ550web board cannot respond when firmware upload failed situations.

The possible reason of problem is as follows.

  1. Mismatches of the private IP range (ex> PC(TFTP server): 192.168.1.2 / WIZ550web: 192.168.1.3 is correct examples) It can be occurred TFTP timeout.
  2. TFTP port number (69) is preempted - Please check whether the other TFTP program preempted the port 69. It can be occurred TFTP timeout.
  3. TFTP port blocking by firewall or antivirus program : Please check and disable.
  4. Hard Fault of customized firmware (but using the original released firmware version - excepted in this case)

After checking the above steps, Please entry the board to the Boot mode (app-boot) and perform TFTP firmware upload for recover.

To entering into WIZ550web boot mode, hold down the SW1 of EVB (D8) when you perform a reboot of the board. If the board in boot mode, you can see the indicator LEDs (Two LEDs on the board) blink rapidly alternates.

Hi Eric,

at the moment I see only mismatches in your description compared to the behavoir of the WIZ550web board.

  1. Mismatches of the private IP range (ex> PC(TFTP server): 192.168.1.2 / WIZ550web: 192.168.1.3 is
    correct examples) It can be occurred TFTP timeout.

TFTP server binding to local PC 192.168.2.108/32. WIZ550web-IP number: 192.168.2.110 --> It seems to be ok.

  1. TFTP port number (69) is preempted - Please check whether the other TFTP program preempted the
    port 69. It can be occurred TFTP timeout.

Message at TFTP server start up: “TFTP Server Service Started [UDP - 69].” --> It seems to be ok.

  1. TFTP port blocking by firewall or antivirus program : Please check and disable.

TFTP server is started as Administrator. Firewall is asking to accept FTP server setup. Released. --> It seems to be ok.

  1. Hard Fault of customized firmware (but using the original released firmware version - excepted in
    this case)

I’m using only your original firmware for test purposes. --> It seems to be ok.

  1. To entering into WIZ550web boot mode, hold down the SW1 of EVB (D8) when you perform a reboot of the
    board. If the board in boot mode, you can see the indicator LEDs (Two LEDs on the board) blink
    rapidly alternates.

The board has a different behavior:
No boot mode power up: Two alternating fast blinking green LEDs for some seconds. Then blinking stopps one LED set on and the other set off.
Boot mode power up: Both green LEDs are switched off.

  1. I get the following TFTP server messages while reseting or powering the device on:
    "TFTP connected from 192.168.2.110:51000 on 10/12/2015 8:31:36 AM, binary. GET. Started, file name D:\wiznet550web\WIZ550web_App_v101.bin"
    Some seconds later:
    “TFTP connected from 192.168.2.110:51000 on 10/12/2015 8:32:12 AM, binary. GET. Dropped because peer didn’t respond”

  2. Do you have more explanation about TFTP upload for recovery? I have to use the WIZnet configuration tool. However, it does not work without found/accepted WIZnet board.

Hope that you can help me.
BR
Bachus

Hi
I have the same problem of bachus.
I have flash firmware with TFTP and after donwload, the “Config Tool” has said “OK”; and… no more contact with the WIZ550web.
Nothing with “search”. No IP frame from module see with Wireshark.

And I have an other problem: with UART, then I power on with pressing EVB-SW7 “boot” button, nothing special arrived. Only WIZ550web D3 red led light (even after 1mn pressing !) normal ?
If after I press SW5 “reset” button then, green D1 led switch on and “Medium Density Flash memory” text arrive on terminal.
Nothing else !
Never before or after flashing firmware I have see “blinking” led during or after pressing “Boot” on power on!
Commands AT… does not have any effect.
That can I do now ?

Hello Everybody,

I have just got my device up and running again.

Instead of using LAN/DHCP configuration, I removed both PC and WIZ550web from my LAN and connected it directly with a cross-over cable.
Doing so, the TFTP firmware upload process works fine as described by Eric/WIZnet.

I have used the portable version of tftp32d instead of installing it on Win7.

Open TFTP-server, the device is visible after search in the Java-configuration tool.

I have set the gateway in configuration tool same as TFTP-server as PC-IP.

The root-cause is a little bit unclear to me:

  1. Direct connection via cross-over cable vs. LAN/DHCP/switch or
  2. Any blocking firewall or
  3. Gateway setting in configuration tool.

Hope this will help to re-activate your modules.
Nevertheless, I would appreciate, if anybody can give more detailed root-cause explanation.

Best regards
Bachus

Copyright © 2017 WIZnet Co., Ltd. All Rights Reserved.