cancel
Showing results for 
Search instead for 
Did you mean: 

SPWF04SA ,can not send message just receive

maor
Associate III
Posted on January 22, 2018 at 14:56

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

AT-S.Var:build=170216-fd39c59-SPWF04S

AT-S.Var:fw_version=1.0.0

AT-S.Var:boot_version=1.0

AT-S.Var:var_version=1

AT-S.Var:free_heap=69896

AT-S.Var:min_heap=69072

AT-S.Var:system_time=635

AT-S.Var:system_uptime=635

AT-S.Var:system_sleeptime=0

AT-S.Var:reset_reason=0

AT-S.Var:startup=0

AT-S.Var:random_number=1753830384

AT-S.Var:gpio_enable=0x0000

AT-S.Var:app_fs=1

AT-S.Var:user_fs=0

AT-S.Var:extvol_fs=0

AT-S.Var:nv_power_cycles=32

AT-S.Var:nv_wdog_resets=0

AT-S.Var:nv_reset_cycles=101

AT-S.Var:wifi_state=10

AT-S.Var:wifi_own_macaddr=00:80:E1:BD:D1:22

AT-S.Var:wifi_bssid=3C:1E:04:03:B9:46

AT-S.Var:wifi_aid=2

AT-S.Var:wifi_channelnum=11

AT-S.Var:wifi_sup_rate_mask=0x003FFFCF

AT-S.Var:wifi_bas_rate_mask=0x0000000F

AT-S.Var:wifi_chan_activity=0x00001FFF

AT-S.Var:wifi_max_tx_power=18

AT-S.Var:wifi_gf_mode=0

AT-S.Var:wifi_reg_country=IL

AT-S.Var:wifi_dtim_period=1

AT-S.Var:wifi_num_assoc=0

AT-S.Var:ip_from_AutoIP=0

AT-S.Var:ip_ipaddr=10.0.0.4

AT-S.Var:ip_netmask=255.255.255.0

AT-S.Var:ip_gw=10.0.0.138

AT-S.Var:ip_dns1=10.0.0.138

AT-S.Var:ip_dns2=0.0.0.0

AT-S.Var:ip_linklocal=fe80:0:0:0:280:e1ff:febd:d122

AT-S.Var:ip_local=0:0:0:0:0:0:0:0

AT-S.Var:ip_dns1v6=0:0:0:0:0:0:0:0

AT-S.Var:ip_dns2v6=0:0:0:0:0:0:0:0

AT-S.OK

#spwf04sa
4 REPLIES 4
Elio Cometti
Senior II
Posted on January 22, 2018 at 15:14

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

maor
Associate III
Posted on January 22, 2018 at 15:22

how do i upgrade  ?

any link to script  ?command  ?

Posted on January 22, 2018 at 15:33

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.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on January 22, 2018 at 15:37

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.