GithubHelp home page GithubHelp logo

wiznet / wiz550s2e Goto Github PK

View Code? Open in Web Editor NEW
11.0 21.0 10.0 3.6 MB

Serial to Ethernet Module based on W5500 & Cortex-M0

Home Page: https://docs.wiznet.io/Product/S2E-Module/WIZ550S2E

C 99.48% Assembly 0.52%
s2e converter mqtt mqtt-client gateway serial-to-ethernet rs232-to-ethernet rs485-to-ethernet serial-to-mqtt serial-gateway

wiz550s2e's Issues

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

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?

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;
//
...
//
}

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

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.

v1.0.2 binary Release

Hello,
It is possible for you create the BINARY release for 1.0.2 version to download?
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

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.)

Web client

Hello,

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

Thanks

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.

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

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

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

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.