Settings failure on WIZ550S2E-485 EV with configuration tool

Hello All,
I just got a WIZ550S2E-485 EV and I am trying to configure it using the WIZnet_Configuration_Tool

I downloaded the V1.31 version tool from here: Releases · Wiznet/WIZnet_Configuration_Tool · GitHub

and I’m running it from bot Linux and Mac OS, in both cases I get a configuration failure.

Problem 1)
Search method works only by broadcast, I cannot select IP Address
The MAC address shown in the Modules panel is not the same as shown by the Wireshark network sniffer

Problem 2)
I want to set IP address or DHCP.
I tried several configuration, fixed IP vs. DHCP, TCP server vs. TCP mixed.
I hit the “Setting” button, a password is required, I type in the default password (WIZnet).
Please not that password is not checked, I have the same behavior with whatever password I tipe in.
Configuration is not applied, I get this stack dump instead:

Exception in thread “AWT-EventQueue-0” java.lang.ArrayIndexOutOfBoundsException: 1
at PanelManager.updateFromPanel(PanelManager.java:592)
at GUI$1btnSettingListener.actionPerformed(GUI.java:1280)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6533)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6298)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
at java.awt.Container.dispatchEventImpl(Container.java:2280)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Hi All again,

Just a small update.

The MAC address shown in the Modules panel is not the same as shown by the Wireshark
No, it’s correct, now I’m getting the right MAC from the sniffer.

As for configuration tool usage, here’s a sessions that shows what’s going wrong:
http://bbbsw.it/download/WIZ550S2E-485-EV.mov

Thank you for your attention,

Ezio

Good Morning,

I did a few things trying to get myself out of this dead end.
So, I downgraded the configuration tool to V 1.20 … as described in the README.md file of the source package:

This is the MQTT version repository, see the following link for the Modbus version repository.

GitHub - Wiznet/WIZnet_Configuration_Tool-Modbus: This is WIZ550S2E & WIZ550web & WIZ550SR Configuration Tool

I am also wondering the the card I received is without F/W, so I tried to upload F/W.

Please not that the board replies to ping at the default address: 192.168.11.100.

Now I run the 1.20 version, behavior is different, but result is the same: stack trace.
The configurator crashes in both trying to set the TP configuration as well as trying to F/W upload.

This is the links at the screen recordings: IP configuration and F/W upload.

http://bbbsw.it/download/WIZ550S2E-485-EV_V120.tgz

I have a few question though:

  1. Why does the configuration complains about “IP input error” if I want to configure DHCP?
    So, I try to turn off DHCP and use static configuration

  2. In TCP Server mode, why does the configurator require a “Remote port”?

  3. In F/W Upload, why does it require an IP configuration?
    I’m already setting the IP of the TFTP server
    The same applies for local and remote ports, they should not be required for TFTP

OK, now I’m completely lost.
Probably I am misusing the conf tool or I missed something important in the documentation, could anybody help me?

Thank you in advance,

  Ezio

I have been digging deeply, with sniffers and sourcecode.

First off, the exception says:

at PanelManager.updateFromPanel(PanelManager.java:592)

OK, so I had a look at the source code, here it is the critical section:

590 str_array = gui.txtFirmwareVersion.getText().split(“\.”); //1.3.0
591 //packet.fw_ver[0] = (byte) (0x00FF&Short.parseShort(str_array[0], 10)); //1.3.1
592 packet.fw_ver[1] = (byte) (0x00FF&Short.parseShort(str_array[1], 10));
593 packet.fw_ver[2] = (byte) (0x00FF&Short.parseShort(str_array[2], 10));

It looks like the fw_ver bytes are not OK, is it something the Java app receives from the card during search?

So I sniffed this UDP handshake using Wireshark, here it is:
sorry, I have to obfuscate the link since this forum does not allow me to useURLs any longer … WTF!!!

http-colon-slash-slash-bbbsw.it/download/Wireshark.tgz

In the zipped file there is also an ASCII file containing the relevant PDUs.

That’s all too cryptic to me, but maybe someone can understand the data going back and forth between Configurator and WIZ550 card.

HTH,
Ezio

Dear Ezio,

Sorry for late reply.
In order to help you, please let us know firmware version which is installed on your board.
Try to run configuration tool from link below (it is version 1.03) it should be able to connect with your board. Just execute jar file and click search button then you should be able to see Firmware Version in buttom left part.

https://wizwiki.net/wiki/lib/exe/fetch.php/products:wiz550sr:wiz550sr_download:wiznet_configuration_tool_ver1.03.zip

Thanks in advance,
Viktor

Good Morning Viktor,

Thank you for your reply.

The configuration version you suggested seem to work, so I was able to read the FW version of the board: 1.0.3.

And I was able to make the board working with DHCP.

I need Modbus in my project, so I will try to update the F/W to a Modbus supporting version. I’ll let you know.

Ezio

Hi again.

I succeeded in upgrading the board firmware to 1.4.0, though, Network Status says “Disconnected” … is that OK?

Anyway, even with the upgraded F/W I am not able to run config tool V 1.31.
Firmware Version is not shown, and during search I have this exception:

Exception in thread “Thread-3” java.lang.ArrayIndexOutOfBoundsException: 162
at WIZ550S2E_Config.setData(WIZ550S2E_Config.java:177)
at GUI.receivedPacket(GUI.java:266)
at ReceiveThread.run(ReceiveThread.java:65)

A small step further,

Ezio

Dear Ezio,

After firmware upgrade, you need to do factory reset. There are two ways to do so:

  1. Press “Factory reset” button in config tool that I gave before.
  2. Put nFACRST pin to Low for 5 seconds or more.

Then try again with config tool V1.3.1

Best regards,
Viktor

Ciao Viktor,

Sorry but it didn’t work.

Factory reset worked, after reboot I noticed the IP was reset to the factory seting and F/W version was 1.4, that’s OK. Network Status still disconnected.
Switching to DHCP was also OK.

But when I run the Tool V 1.31, I got the same stack trace:

% java -jar WIZnet_Configuration_Tool.jar
Exception in thread “Thread-3” java.lang.ArrayIndexOutOfBoundsException: 162
at WIZ550S2E_Config.setData(WIZ550S2E_Config.java:177)
at GUI.receivedPacket(GUI.java:266)
at ReceiveThread.run(ReceiveThread.java:65)
Exception in thread “AWT-EventQueue-0” java.lang.ArrayIndexOutOfBoundsException: 1
at PanelManager.updateFromPanel(PanelManager.java:592)
at GUI$1btnSettingListener.actionPerformed(GUI.java:1280)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)

Seems to me that Conf Too V 1.31 is either bugged or not compatible with this board or F/W … is it like that?

Best regards,

Ezio

Hi Ezio,

Try config tool from below link, hope it should work. :slight_smile:

Best regards,
Viktor

Thank you Viktor,

I tried V 1.20 as you suggested, but the same result as before.

You can see the details of my usage of the tools here: http-colon-slash-slash-bbbsw.it/download/ConfTool_V120.mov

Regards,

Ezio

Hi Ezio,

I watched the video.
To me it looks like your board wasn’t successfully factory reset.
Try following:

  1. Factory reset your board using “Factory Reset” button in config tool v.1.0.3
    OR when board is power on put nFACRST pin to Low for 5 seconds or more.
  2. Use config tool 1.20 and search for your board.

Hope it works.

BINGO!
That worked.

I tried the reset before, but it did not work. Maybe, I was not using V 1.03

Thank you for your support.

Ezio

Glad it worked. Thanks for using our products.Should you have any questions let us know.

Have a great day!