Giter VIP home page Giter VIP logo

wiz550s2e's Introduction


WIZ550S2E

Serial to Ethernet Module based on W5500 & Cortex-M0.

Firmware

These are Firmware projects (source code) based on LPCXpresso IDE or MCUXpresso.

Firmware source code are two types as follows.

  • Application
  • Bootloader

The order of compile

  1. lpc_chip_11exx.
  2. wiznet_s2e_wiz550s2e_board.
  3. WIZ550S2E_App or WIZ550S2E_Boot.
  4. More details

s2e

Firmware download

In this case there is only just .hex file.

If you would like to use .bin file, look at the following that:

1. Connect WIZ550S2E and RS232I/F board and DC+5V adpater and RS232 serial cable and lan cable.

2. HW/TRIG switch off.

3. Check LED.

4. Short J5 and push reset switch.

5. firmware download using Flash Magic.

6. Must push the "Factory Reset" button on EVB for over 5 seconds.


Module and Interface boards

WIZ550S2E Module

WIZ550S2E

Features & Benefits & Hardware Specification

  • Serial to Ethernet Module based on TCP/IP Controller W5500 & Cortex-M0(MCU LPC11E36FHN33)
  • RJ-45 mounted, Pin-header type module
  • Serial signals : TXD, RXD, RTS, CTS, GND
  • Support the configuration method of AT command & Configuration tool program
  • Configuration tool program operates on Windows, Linux & MAC OS
  • Support data communication using AT command : able to send data without re-configuring and re-boot of the module when
  • changing the destination IP
  • Support the interface board for RS-232 and RS422/485
  • 10/100Mbps Ethernet & Max.230kbps serial speed
  • Support WIZ VSP (Virtual Serial Port) program
  • Dimension (mm) : 55(L) x 30 (W) x 23.49 (H)
  • 2.54mm Header

WIZ550S2E-232 Interface Board

Features

  • Line Driver SP3232EBEY
  • System Reset Switch
  • Factory Reset Switch
  • Hardware-Trigger Mode Switch
  • Status LEDs
  • DC-Jack (for +5V Input Power)

WIZ550S2E-485/422 Interface Board

Features

  • Line Driver SP3485EN
  • System Reset Switch
  • Factory Reset Switch
  • Hardware-Trigger Mode Switch
  • Status LEDs
  • DC-Jack (for +5V Input Power)

For more details, please refer to WIZ550S2E document page in WIZnet Documents.


Configuration Tool

WIZnet Configuration Tool made Java base. so runs on any OS that JRE be installed.

Install JAVA Runtime Environment

  1. Java page.
  2. Go to the Download tab to download the installation files for the PC environment. 1
  3. Install the downloaded installation file.
  4. When you run the Terminal, type the "java -version" command, the following message is displayed. 2
  5. WIZ550S2E document page.
  6. Download the Configuration Tool for WIZ550S2E.
    3
  7. Then Unzipped the downloaded zip file. Excutable jar file is created.
  8. Excute file.
  • Double click the WIZnet_Configuration_Tool.jar file.

    or,

  • Type the java -jar WIZnet_Configuration_Tool.jar command at Terminal. 4


Revision History

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

https://github.com/Wiznet/WIZ550S2E-Modbus

v1.3.0

  • Added features
    • AT+MQTTSET : (AT command) This command is used to initialize the necessary parameters of MQTT connection(set information automatically saved)
    • AT+MQTTCON : (AT command) Implement MQTT to connect the Broker
    • AT+MQTTPUB : (AT command) Publish the message to subscribed Client(set topic automatically saved)
    • AT+MQTTSUB : (AT command) Such topics will be pushed to the WIZ550S2E when received by the Broker(set topic automatically saved)

v1.2.2

  • Fixed bugs
    • Fixed a bug that vector relocation RAM problem due to buffer initialization
    • Fixed a bug that MQTT connection message transmission when operating as a TCP server
    • Fixed a bug that MQTT subscription setting error when there is no topic

v1.2.1

  • Fixed bugs
    • Fixed a bug that stops when the module switches to data mode and at-command mode
    • The MQTT socket has been modified to open as a nonblock.
    • Modified the memory used for MQTT publishing from static to dynamic allocation
    • Fixed to update connection LED and network state when switching to at-command mode

v1.2.0

v1.1.5

  • Added features
    • AT+MPASS : (AT command) Change the module's name(automatically saved)
    • AT+MNAME : (AT command) Change the module's password(automatically saved)
  • Changed
    • AT+NMODE -> AT+MMODE

v1.1.4

  • Fixed Problems receiving data in AT Mode

v1.1.3

  • Fixed UDP Send Fail in AT Mode

v1.1.2

  • Fixed recevied data loss(During trans to serial) problem in AT Mode
    • Limit max size(1000byte) of receive data from ethernet.

v1.1.1

  • Added inactivity time function in Server/Mixed Mode

v1.1.0

  • ioLibrary Update
  • Dependency Removal (remove "board.h" in "w5500.h")
  • Remove garbage file

v1.0.4

  • Fixed bug
    • Time packing problem in UDP mode.
      • Before : Not work normally after the first time.
      • After : Work normally
    • Upper and lower case problems in config Data.
      • Before : Only uppercase letters work normally.
      • After : Works in both uppercase and lowercase.

v1.0.3

  • Fixed bug
    • AT Command Trigger
      • Before : AT command is actived regardless of AT command enable.
      • After : AT command is actived regard of AT command enable.
  • Added features
    • AT+NMODE : (AT command) Change the settings that operates in data mode(automatically saved)

v1.0.2

  • Fixed bug
    • In mixed mode
      • Before : when connecting to the server, the '+' had to be include in the serial data.
      • After : when serial data is generated directly connecting.
    • In AT command
      • Before : at = a t. in other words, ignore space.
      • After : at != a t. in other words, admitte space.
  • Added features
    • Check unlink in mixed mode
    • AT+FDNS = domain name

v1.0.1

  • Fixed Project set

v1.0.0

  • First release : Apr. 2015

wiz550s2e's People

Contributors

bingdo avatar edwardahn avatar nymitr avatar opusk avatar renakim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wiz550s2e's Issues

FDNS timeout not occur

Hi if I send for example not correct address AT+FDNS=www.google.c, or not connected to internet, then the timeout of DNS never not occure. Then I must reset the module, becouse is freeze.

It is possible change some code to repair it?
I use FW version 1.1.4.

Thanks
Best regards

Request to new at-command set

Description

  • Type: Enhancement
  • Priority: Major

Enhancement

Details
To change of Port, Setting Password, Connection Password, Module Name in at-command mode

Change Remote port

Hello,
Can I ask you if is possible change the REMOTE PORT via AT command?
Because, If I send command "AT+FDNS=xxxxxx" then returned IP address is automatically entered into HOST IP - It is OK
But if I want to change the remote port it must do via config tools.
I need send data to 3 different servers with different ports:
AT+FDNS=xxxxxx port xxxx
AT+FDNS=yyyyy port yyyy
AT+FDNS=zzzzzz port zzzz

Thanks For your help
Best Regards

Request to new command

Hello,

One of my customers wanted to change the connection mode, for example from Server mode to Client mode, or the destination IP and port number in command mode and then let WIZ550S2E try to connect with information he changed when I come out to data mode.
But it looks impossible because WIZ550S2E doesn't have any command for this.

Please implement new command for this.

Thank you.

a mistake ???

In file "src/Internet/httpServer.c", at line 250, function "get_http_uri_name", return a address on stack ???

Maybe, I am wrong, please tell me the reason, thank you.

MAC Address change will make the module report MAC Error.

FW is written for default MAC address provided by WIZNET, if you change the MAC Address, you will need to change the FW to take care of this.

/* Check MAC Address */
check_mac_address();

This call - check_mac_address() will need to modified.

See suggested change below,, 0xAA, 0xBB, 0xCC should be reflective of your mac address prefix assigned to you.
code fragment that needs to changed shown below

if(s2e_packet.network_info_common.mac[0] != 0xaa || s2e_packet.network_info_common.mac[1] != 0xBB || s2e_packet.network_info_common.mac[2] != 0xCC) {
printf("Input MAC ? ");

//================================
Make a change to the ConfigData.c

void set_S2E_Packet_to_factory_value()
{
//
...
// enter your default MAC ID you want to reset for your module.
s2e_packet.network_info_common.mac[0] = 0xAA;
s2e_packet.network_info_common.mac[1] = 0xBB;
s2e_packet.network_info_common.mac[2] = 0xCC;
s2e_packet.network_info_common.mac[3] = 0xDD;
s2e_packet.network_info_common.mac[4] = 0xEE;
s2e_packet.network_info_common.mac[5] = 0xFF;
//
...
//
}

some bugs

Description

  • Type: Bug
  • Priority: Major

Bug

Details

  • Vector relocation RAM problem due to buffer initialization
  • MQTT connection message transmission when operating as a TCP server
  • MQTT subscription setting error when there is no topic

v1.0.2 binary Release

Hello,
It is possible for you create the BINARY release for 1.0.2 version to download?
Best Regards

Can´t compile WIZ550S2E v 1.1.4

Hello,
Can You help me with compile problem :

Building target: WIZ550S2E_App.axf
Invoking: MCU Linker
arm-none-eabi-gcc -nostdlib -Xlinker -Map="WIZ550S2E_App.map" -Xlinker --gc-sections -Xlinker --allow-multiple-definition -mcpu=cortex-m0 -mthumb -T "WIZ550S2E.ld" -L ../linkscripts &Heap:Default;Post Data;Default&Stack:Default;End;Default -o "WIZ550S2E_App.axf" ./src/netutil/netutil.o ./src/callback/dhcp_cb.o ./src/S2E/S2E.o ./src/PlatformHandler/eepromHandler.o ./src/PlatformHandler/sspHandler.o ./src/PlatformHandler/timerHandler.o ./src/PlatformHandler/uartHandler.o ./src/Internet/httpServer/httpParser.o ./src/Internet/httpServer/httpServer.o ./src/Internet/httpServer/httpUtil.o ./src/Internet/TFTP/netutil.o ./src/Internet/TFTP/tftp.o ./src/Internet/SNTP/sntp.o ./src/Internet/SNMP/snmp.o ./src/Internet/SNMP/snmp_custom.o ./src/Internet/MQTT/MQTTPacket/src/MQTTConnectClient.o ./src/Internet/MQTT/MQTTPacket/src/MQTTConnectServer.o ./src/Internet/MQTT/MQTTPacket/src/MQTTDeserializePublish.o ./src/Internet/MQTT/MQTTPacket/src/MQTTFormat.o ./src/Internet/MQTT/MQTTPacket/src/MQTTPacket.o ./src/Internet/MQTT/MQTTPacket/src/MQTTSerializePublish.o ./src/Internet/MQTT/MQTTPacket/src/MQTTSubscribeClient.o ./src/Internet/MQTT/MQTTPacket/src/MQTTSubscribeServer.o ./src/Internet/MQTT/MQTTPacket/src/MQTTUnsubscribeClient.o ./src/Internet/MQTT/MQTTPacket/src/MQTTUnsubscribeServer.o ./src/Internet/MQTT/MQTTClient.o ./src/Internet/MQTT/mqtt_interface.o ./src/Internet/FTPServer/ftpd.o ./src/Internet/FTPClient/ftpc.o ./src/Internet/DNS/dns.o ./src/Internet/DHCP/dhcp.o ./src/Ethernet/W5500/w5500.o ./src/Ethernet/socket.o ./src/Ethernet/wizchip_conf.o ./src/Configuration/ConfigData.o ./src/Configuration/ConfigMessage.o ./src/ATcmd/library/sockutil.o ./src/ATcmd/library/util.o ./src/ATcmd/atcmd.o ./src/ATcmd/cmdrun.o ./src/aeabi_romdiv_patch.o ./src/cr_startup_lpc11exx.o ./src/crp.o ./src/main.o ./src/sysinit.o -lwiznet_s2e_wiz550s2e_board -llpc_chip_11exx
/bin/sh: Heap:Default: command not found
/bin/sh: Post: command not found
/bin/sh: Default: command not found
/bin/sh: Stack:Default: command not found
/bin/sh: End: command not found
c:/nxp/lpcxpresso_7.5.0_254/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld.exe: Linker CRP Enabled, but no CRP_WORD provided within application
c:/nxp/lpcxpresso_7.5.0_254/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld.exe: warning: cannot find entry symbol ResetISR; defaulting to 00006000
collect2.exe: error: ld returned 1 exit status
/bin/sh: Default: command not found
make: *** [WIZ550S2E_App.axf] Error 127

Best Regards

Web client

Hello,

Can I ask you, is it possible send POST (GET) reguest to the web server form WIZ550S2E module?

Thanks

Bootloader bug - out of bounds

WIZ550S2E->WIZ550S2E_Boot->ConfigData.c

for(i = 0, j = 0 ; i <= 6 ; i++, j += 2) s2e_packet.network_info_common.mac[i] = get_hex(buf[j], buf[j+1]);

When i=6 and j=12, both .mac[i] and buf[j] will go out of bounds. I was alerted by a compiler warning in LPCXpresso 8.2.2.

Does this break the bootloader, or does in field flashing still work?
Which version of LPCXpresso are you using for compiles?

Socket does not stay open for more than 2 to 3 seconds.

I am using FW Version 1.03 and older versions. By default the device does not connect to a socket say 5000 and communicate. I am using the Development board with a WIZ550S2E module. When entering the AT Mode, I am able to open a socket, and receive data from the Ethernet port. When I close the AT+MDATA comms, I cant send data to the ethernet side. Putty closes the connection, on RAW Socket comms or TELNET to port 5000.

if the Module is a Serial to Ethernet Device (Serial TTL / RS232 / RS485/422) it should start to function like one from power up after the necessary initialization.
(Surely I am missing something.. my experience with WIZNET has been very satisfactory.)

After update no UART comunication

Hello,
I try compile the Firmware projects for WIZ550S2E, everything was OK. After update to module one status LED is blinking and if I send some command via SERIAL then second status LED is on for cca 1sec and then is off and no answer from module. If I update back to version 1.0.0 then communication is OK.
Can You help me with this??
Thanks
Best Regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.