2018-01-22 05:56 AM
hello ,
SPWF04SA
,can not send message just receive
the WiFi is freeze whe:n sending a message ,
receiving is working very good ,writing fails i used Uart
please advice :
+WIND:0:Console active
+WIND:3:Watchdog Running:20
+WIND:32:WiFi Hardware Started
+WIND:19:WiFi Join:3C:1E:04:03:B9:46
+WIND:25:WiFi Association successful:yaniv
+WIND:51:WPA Handshake Complete
+WIND:24:WiFi Up:0:10.0.0.4
+WIND:24:WiFi Up::fe80:0:0:0:280:e1ff:febd:d122
+WIND:84:NTP Server delivery:2018.1.22:1:13.40.9
AT+S.SOCKON=10.0.0.2,32000,,t
AT-S.On:10.0.0.2:0
AT-S.OK
AT+S.SOCKW=0,11<CR>
then i write hello word <cr>
and then it freeze
this is the configuration status
AT+S.STS
AT-S.ListAT-S.Var:build=170216-fd39c59-SPWF04SAT-S.Var:fw_version=1.0.0AT-S.Var:boot_version=1.0AT-S.Var:var_version=1AT-S.Var:free_heap=69896AT-S.Var:min_heap=69072AT-S.Var:system_time=635AT-S.Var:system_uptime=635AT-S.Var:system_sleeptime=0AT-S.Var:reset_reason=0AT-S.Var:startup=0AT-S.Var:random_number=1753830384AT-S.Var:gpio_enable=0x0000AT-S.Var:app_fs=1AT-S.Var:user_fs=0AT-S.Var:extvol_fs=0AT-S.Var:nv_power_cycles=32AT-S.Var:nv_wdog_resets=0AT-S.Var:nv_reset_cycles=101AT-S.Var:wifi_state=10AT-S.Var:wifi_own_macaddr=00:80:E1:BD:D1:22AT-S.Var:wifi_bssid=3C:1E:04:03:B9:46AT-S.Var:wifi_aid=2AT-S.Var:wifi_channelnum=11AT-S.Var:wifi_sup_rate_mask=0x003FFFCFAT-S.Var:wifi_bas_rate_mask=0x0000000FAT-S.Var:wifi_chan_activity=0x00001FFFAT-S.Var:wifi_max_tx_power=18AT-S.Var:wifi_gf_mode=0AT-S.Var:wifi_reg_country=ILAT-S.Var:wifi_dtim_period=1AT-S.Var:wifi_num_assoc=0AT-S.Var:ip_from_AutoIP=0AT-S.Var:ip_ipaddr=10.0.0.4AT-S.Var:ip_netmask=255.255.255.0AT-S.Var:ip_gw=10.0.0.138AT-S.Var:ip_dns1=10.0.0.138AT-S.Var:ip_dns2=0.0.0.0AT-S.Var:ip_linklocal=fe80:0:0:0:280:e1ff:febd:d122AT-S.Var:ip_local=0:0:0:0:0:0:0:0AT-S.Var:ip_dns1v6=0:0:0:0:0:0:0:0AT-S.Var:ip_dns2v6=0:0:0:0:0:0:0:0AT-S.OK#spwf04sa2018-01-22 06:14 AM
Could you please send a wireshark log of the transaction?
I would also suggest to upgrade the FW to latest release (P/N STSW-WIFI004, available on st.com at SPWF04Sx page).
Best Regards
2018-01-22 06:22 AM
how do i upgrade ?
any link to script ?command ?
2018-01-22 07:33 AM
If on your own board you might want to tunnel a USART connection from the module to a PC via your own controller or connectivity provided in your system.
2018-01-22 07:37 AM
All instructions and link are in the DB3234 document in the STSW-WIFI004 page.
Lab 3 in 'STSW-IDW004 Wifi hands on training' also describes several ways to perform the upgrade.