I’m using WIZ100SR for the internet communication but I am a little bit disappointed. Old firmware returned wrong answer to via uart option so I tried upgrade to 5.11 firmware. This FW was wrong too, because I was unable to set UART code to enter uart configuration (with <+++> - FW before worked well). So I tried 5.10 and this FW worked good until I found a new bug:
When I switched WIZ100SR to DHCP I was unable to connect via uart configuration with my code (<+++>). When I switched back to STATIC uart mode worked well. Then I tried PPPoE and after that [size=150][color=#FF0040]I AM UNABLE to connect to WIZ100SR[/color][/size] (via UART or TCP config tool)
Is it some way to reset WIZ100SR to factory defaults?
I need more info to reproduce your problem.
Please send screen images of CFG tool and test scenario in detail.
And if you can use Wireshark, please add Ethernet log of Wireshark.
Is it some way to reset WIZ100SR to factory defaults?
(WIZnet) Sorry. There is no factory reset in WIZ100SR because there is no HW pin for factory reset.
I could not give you screenshot because there is nothing to show. After entering PPPoE I am unable to SEARCH device via CFG tool ( WIZ connected directly to PC) so I cant see my device. And what is worse - I cant connect to wiznet via uart with <+++> command - there is no response from uart. I tried almost every uart settings and baudrates…
So again:
When it was in static mode, everything worked! When I entered DHCP I couldnt connect to wiznet via UART but with CFG tool it was possible. When I switched (just for test) into PPPoE mode I was unable to connect via uart and CFG tool.
And it is really bad that wiznet doesnt have any factory reset. You dont need to have any special pin for this. Some modules uses grounding of some pin after startup. It is really bad because when communication goes down I can throw this module out the window…
I solved part of the problem. I connected wiznet directly to PC and I overloaded UART with <+++> commands and voila:
wiz100sr was discovered by CFG tool. So I switched back to static and now I am able to connect with wiz100sr.
BUT
[size=150]There is still problem[/size] with DHCP configuration. I attached some file.
At first, look at static.jpg. As you can see - I sent <+++> command and wiz100sr replied. Dont be confused that I am sending <<++> - it is how the hercules translate special ascii names. In window (pink color) you can see that message is <+++>. So it is correct. Black color is answer from wiz100sr.
Via CFG tool I switch to DHCP and you can see that wiz100sr DOESNT reply!!! (dhcp.jpg)
After that I switch back to STATIC (I didnt clear terminal window for better understanding) and as you can see - wiz100sr replies AGAIN! (back from dhcp to static.jpg)
So there is problem with DHCP mode. My question is WHY and how to solve it
pictures 4 and 5… thank you. I am not new in software and electronic engineering - so I think that this is not my mistake but something is wrong with WIZ firmware…
Could you post your source code partially?
I will inspect UART code. I guess that there is unnecessary code.
And please try to test by other serial tool. sites.google.com/site/terminalbpp/
thank you for your patience. But did you watch my video on youtube? There is only WIZNET and terminal with +++ command and command. As you can see when I have STATIC mode everything works, but with DHCP not. WIZNET is directly connected with USB/TTL UART 3.3V.
In WIZNET I do not have the ethernet cable but this can not be a problem… because I have to communicate with WIZNET before ethernet connection. Because:
My user for example accidentally switch from STATIC to DHCP on his device where wiznet is. His router do not have DHCP mode enabled - so WIZNET do not have assigned an IP - and when UART mode does not work - he has a problem
I will try another terminal consoles but I do not have any problem with Hercules…
I saw your movie of test.
I think DHCP operation is failed because there is no change of local IP after DHCP setting.
Please activate “Enable Serial Debug Mode”.
test again and add logs of serial port.
Yes, When I switch to DHCP after a few seconds I have this message from Serial Debug Mode:
DHCP failed
But this is of course right, because I do NOT have ethernet cable plugged in so DHCP server cannot assigned IP settings. Again I have to configure my device with or without network.
Imagine, that you are common user and you want to configure the device. You have Static IP mode on your router and you do not have access to this router - because you are common user. And now you made a mistake - accidentally enable DHCP mode! So your router doesnt assigned you IP because it is in STATIC mode. Now you realize a mistake but it cannot be undone - because you cannot access to wiznet via my UART application anymore… the only way how you could repair it is use your wiznet CFG tool. But this is totally bad for common user - some users do not have access to install SW…
But I dont understand why it is not possible. UART console on every network device is for configuration when something is wrong with the network - Here somebody just cut cable from wiznet and after that all my uart communication is not possible… this is a BIG BIG disadvantage
Is possible to correct it in a new firmware release?
OK, thank you for your patience! I dont like your last answer because I have to make changes in our design I will add reset button to STATIC mode via Ethernet connection if something goes wrong…