2015-10-01 12:51 AM
Hi,
I am broadcasting a small UDP packet once a second through the SPWF01 using AT+S.SOCKON=192.168.1.255,55555,u and AT+S.SOCKW and that appears to work just fine but if I access the SPWF01 web server at the same time to reload some web pages it often dies with a hard fault like this +WIND:8:Hard Fault:TCPIP: r0 2C303035, r1 00000300, r2 00000000, r3 0000FFFF, r12 2000867C, lr 08022E25, pc 08022E3A, psr 61000000 Or the module may just crash, reboot, etc. If I don't do the UDP broadcast, then the module appears reliable. This is very bad as I need to be able to do the UDP broadcast so clients can find the device. Cheers, Mark2015-10-01 12:57 AM
AT+S.STS and AT&V dump please
2015-10-01 11:56 PM
2015-10-05 06:57 AM
Hi Mark,
I tried to reproduce the hardfault, but I don't see the error.Can I have your filesystem image/content of SOCKW?Thanksjerry2015-10-05 07:58 AM
2015-10-05 08:24 AM
2015-10-05 08:45 AM
2015-10-06 01:46 AM
Hi Mark,
I successfully reproduced the issue using exactly your use case:- module in STA- module listening on a TCP port but no incoming connection- module sends 1 packet (NAME@192.168.1.106:4000) per sec to an UDP server- external user continuously opens the index.html (uploaded the test.img)After a while, the hard fault has been observed. We will investigate on it and we will give you a feedback asap.Cheers,Salvatore2015-10-06 02:31 AM
2015-10-06 02:37 AM
Hi Mark,
Faster than light, there is simple workaround also.Please try to reduce ip_wait_timeout variable (down to 1000). As a temporary workaround should be fine. Confirm please :)Tnxjps: about UDP broadcast in miniAP, I suspect the problem is that miniAP is not a Router. However, it's under investigation...