完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
嗨!
我正在使用在MiniAP模式下配置的SPWF04S模块。我使用AT + S.FSC命令在RAM内存中创建了一个文件。 我正在使用AT + S.FSP命令读取文件。在大约450-500次成功读数后,模块以低内存响应并在20秒后自行复位(看门狗)。有时响应是'WIND:8:Hard Fault:ConUart:0002b290:20030000:07fd5003:08023588:47938cc4:fb3f49b6:080bb3e0:21000000'而不是Low Memory。 如果我使用POST消息创建文件到模块,也会发生同样的情况。在这种情况下,我有以下步骤: 1.我从客户端PC发送此信息:curl -i -X POST -H'Content-type:multipart / form-data'-F'data = @ FileSetX'172.10.20.1 2.我使用'AT + S.FSP = FileSetX ,,'读取模块。正确读取文件的内容。 3.重复1和2.大约400-500成功后,模块被阻塞(低内存/硬故障或者别的......) 谢谢。 以上来自于谷歌翻译 以下为原文 Hi! I am using the SPWF04S module configured in MiniAP mode. I've created a file in RAM memory using the AT+S.FSC command. I am reading the file using the AT+S.FSP command. After about 450-500 successfully readings, the module responds with Low Memory and resets itself (watchdog) after 20 seconds. Sometimes the respond is 'WIND:8:Hard Fault:ConUart:0002b290:20030000:07fd5003:08023588:47938cc4:fb3f49b6:080bb3e0:21000000' instead of Low Memory. The same happens if I am creating the file using POST messages to the module. In this case I have the following steps: 1. I send this from client PC: curl -i -X POST -H 'Content-type: multipart/form-data' -F 'data=@FileSetX' 172.10.20.1 2. I read the module using 'AT+S.FSP=FileSetX,,'. The content of the file are read correctly. 3. Repeat 1 and 2. After about 400-500 success, the module is blocked (Low Memory / Hard Fault or maybe something else...) Thanks. |
|
相关推荐
3个回答
|
|
|
嗨,
请在此附上AT + S.GCFG命令的内容。 RAM磁盘是静态的,因此,不能使用超过该数量的RAM ... 感谢500次测试 再见 杰瑞 以上来自于谷歌翻译 以下为原文 Hi, please attach here content of AT+S.GCFG command. RAM disk is static, so, cannot use more than that amount of RAM... Thanks for 500 tests Ciao jerry |
|
|
|
|
|
嗨!
可能我不够清楚。在第一种情况下,我发送AT + S.FSC命令仅创建一个ONCE文件。之后我每秒都在阅读那个文件。大约500次读数后,问题出现了。这不应该是RAM大小的问题,我只是在读一个包含5个字符的文件......这是一个真实的情况,读取文件你想要的时间不应该受到限制。 我用500次测试的目的是测试我的应用程序而不是模块,但我在模块上发现了这个问题。 以下是AT + S.GCFG: AT-S.List AT-S.Var:nv_manuf = ST AT-S.Var:nv_model = SPWF04SA AT-S.Var:nv_serial = 0317&LT; 06103 AT-S.Var:nv_wifi_macaddr = 00:80:E1:BD:D5:40 AT-S.Var:standby_time = 10 AT-S.Var:standby_enabled = 0 AT-S.Var:sleep_enabled = 0 AT-S.Var:etf_mode = 0 AT-S.Var:blink_led = 1 AT-S.Var:ext_volume = 3 AT-S.Var:aes128_key = 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 AT-S.Var:user_desc = XXX AT-S.Var:python_script = 3:/uPython_test.py AT-S.Var:python_memsize = 32 AT-S.Var:console_enabled = 1 AT-S.Var:console_speed = 115200 AT-S.Var:console_hwfc = 0 AT-S.Var:console_echo = 0 AT-S.Var:console_errs = 2 AT-S.Var:console_winds = 2 AT-S.Var:console_verbose = 1 AT-S.Var:console_repeater = 0×21 AT-S.Var:console_delimiter = 0x2c上 AT-S.Var:console_wind_off_low = 00000000 AT-S.Var:console_wind_off_medium = 00000000 AT-S.Var:console_wind_off_high = 00000000 AT-S.Var:wifi_tx_msdu_lifetime = 0 AT-S.Var:wifi_rx_msdu_lifetime = 0 AT-S.Var:wifi_operational_mode = 0x00000011 AT-S.Var:wifi_beacon_wakeup = 1 AT-S.Var:wifi_beacon_interval = 100 AT-S.Var:wifi_listen_interval = 0 AT-S.Var:wifi_rts_threshold = 3000 AT-S.Var:wifi_ssid = 45:4C:45:4B:54:52:41:5F:44:45:46:41:55:4C:54:5F:41:50:5F:42:44: 44:35:34:30:00:00:00:00:00:00:00 AT-S.Var:wifi_ssid_len = 25 AT-S.Var:wifi_txfail_thresh = 5 AT-S.Var:wifi_dtim_period = 1 AT-S.Var:wifi_add_tim_ie = 0 AT-S.Var:wifi_region = 1 AT-S.Var:wifi_ht_mode = 1 AT-S.Var:wifi_channelnum = 6 AT-S.Var:wifi_opr_rate_mask = 0x003FFFCF AT-S.Var:wifi_bas_rate_mask = 0x0000000F AT-S.Var:wifi_mode = 3 AT-S.Var:wifi_auth_type = 0 AT-S.Var:wifi_atim_window = 0 AT-S.Var:wifi_powersave = 0 AT-S.Var:wifi_tx_power = 18 AT-S.Var:wifi_rssi_thresh = 0 AT-S.Var:wifi_rssi_hyst = 0 AT-S.Var:wifi_ap_idle_timeout = 120 AT-S.Var:wifi_beacon_loss_thresh = 10 AT-S.Var:wifi_priv_mode = 0 AT-S.Var:wifi_wep_keys [0] = 31:32:33:34:35:00:00:00:00:00:00:00:00:00:00:00 AT-S.Var:wifi_wep_keys [1] = 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 AT-S.Var:wifi_wep_keys [2] = 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 AT-S.Var:wifi_wep_keys [3] = 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 AT-S.Var:wifi_wep_key_lens = 05:00:00:00 AT-S.Var:wifi_wep_default_key = 0 AT-S.Var:wifi_wpa_psk_raw = 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00: 00:00:00:00:00:00:00:00:00:00:00 AT-S.Var:wifi_wpa_psk_text = AT-S.Var:wifi_eap_identity =身份 AT-S.Var: 邮寄地址:wifi_eap_anon_identity=anonymous@identity.org AT-S.Var:wifi_eap_passwd =密码 AT-S.Var:wifi_eap_type = 0 AT-S.Var:wifi_eap_skip_datechecks = 0 AT-S.Var:wifi_wps_walk_time = 120 AT-S.Var:wifi_wps_pin = 1234567 AT-S.Var:ip_sock_memsize = 1 AT-S.Var:ip_sock_threshold = 0 AT-S.Var:ip_dhcp_lease_time = 120 AT-S.Var:ip_macfilter = 00:00:00:00:00:00 AT-S.Var:ip_num_clients = 5 AT-S.Var:ip_allow_port_scans = 1 AT-S.Var:ip_use_v6 = 1 AT-S.Var:ip_use_dhcpd = 1 AT-S.Var:ip_use_httpd = 1 AT-S.Var:ip_use_tftpd = 1 AT-S.Var:ip_use_dhcpc = 2 AT-S.Var:ip_hostname = DEFAULT_AP_BDD540 AT-S.Var:ip_apdomainname = captiveportal.net AT-S.Var:ip_apredirect =的index.html AT-S.Var:ip_ipaddr = 172.10.20.1 AT-S.Var:ip_netmask = 255.255.255.0 AT-S.Var:ip_gw = 192.168.0.1 AT-S.Var:ip_dns1 = 208.67.222.222 AT-S.Var:ip_dns2 = 208.67.220.220 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.Var:ip_dhcp_timeout = 20 AT-S.Var:ip_ntp_server1 = ptbtime1.ptb.de AT-S.Var:ip_ntp_server2 = ntp0.ipv6.fau.de AT-S.Var:ip_ntp_refresh = 3600 AT-S.Var:ip_ntp_startup = 1 AT-S.Var:ip_mdns_domain_name = SPWF04S,默认 AT-S.Var:ip_mdns_device_name_ttl = 120 AT-S.Var:ip_mdns_services_name = SPWF04S-WebSrv SPWF04S-TFTPSrv AT-S.Var:ip_mdns_services_prot = _http._tcp _tftp._udp AT-S.Var:ip_mdns_services_keys = dev1 dev2 AT-S.Var:ip_mdns_services_vals = number1 number2 AT-S.Var:ip_mdns_services_port = 80 69 AT-S.Var:ip_mdns_services_ttl = 120 60 AT-S.Var:ip_mdns_startup = 01:01 AT-S.OKThanks 以上来自于谷歌翻译 以下为原文 Hi! Probably I was not clear enough. In the first case, I am sending AT+S.FSC command to create a file only ONCE. After that I am reading that file every second. After about 500 readings the issue appear. This should not be a RAM size problem, I am just reading a file containing 5 characters... This is a real situation, reading a file how many time you want should not be limited. My purpose with 500 tests was to test my application not the module, but I found this issue on the module. Here follows the AT+S.GCFG: AT-S.List AT-S.Var:nv_manuf=ST AT-S.Var:nv_model=SPWF04SA AT-S.Var:nv_serial=0317<06103 AT-S.Var:nv_wifi_macaddr=00:80:E1:BD:D5:40 AT-S.Var:standby_time=10 AT-S.Var:standby_enabled=0 AT-S.Var:sleep_enabled=0 AT-S.Var:etf_mode=0 AT-S.Var:blink_led=1 AT-S.Var:ext_volume=3 AT-S.Var:aes128_key=00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 AT-S.Var:user_desc=xxx AT-S.Var:python_script=3:/uPython_test.py AT-S.Var:python_memsize=32 AT-S.Var:console_enabled=1 AT-S.Var:console_speed=115200 AT-S.Var:console_hwfc=0 AT-S.Var:console_echo=0 AT-S.Var:console_errs=2 AT-S.Var:console_winds=2 AT-S.Var:console_verbose=1 AT-S.Var:console_repeater=0x21 AT-S.Var:console_delimiter=0x2C AT-S.Var:console_wind_off_low=0x00000000 AT-S.Var:console_wind_off_medium=0x00000000 AT-S.Var:console_wind_off_high=0x00000000 AT-S.Var:wifi_tx_msdu_lifetime=0 AT-S.Var:wifi_rx_msdu_lifetime=0 AT-S.Var:wifi_operational_mode=0x00000011 AT-S.Var:wifi_beacon_wakeup=1 AT-S.Var:wifi_beacon_interval=100 AT-S.Var:wifi_listen_interval=0 AT-S.Var:wifi_rts_threshold=3000 AT-S.Var:wifi_ssid=45:4C:45:4B:54:52:41:5F:44:45:46:41:55:4C:54:5F:41:50:5F:42:44:44:35:34:30:00:00:00:00:00:00:00 AT-S.Var:wifi_ssid_len=25 AT-S.Var:wifi_txfail_thresh=5 AT-S.Var:wifi_dtim_period=1 AT-S.Var:wifi_add_tim_ie=0 AT-S.Var:wifi_region=1 AT-S.Var:wifi_ht_mode=1 AT-S.Var:wifi_channelnum=6 AT-S.Var:wifi_opr_rate_mask=0x003FFFCF AT-S.Var:wifi_bas_rate_mask=0x0000000F AT-S.Var:wifi_mode=3 AT-S.Var:wifi_auth_type=0 AT-S.Var:wifi_atim_window=0 AT-S.Var:wifi_powersave=0 AT-S.Var:wifi_tx_power=18 AT-S.Var:wifi_rssi_thresh=0 AT-S.Var:wifi_rssi_hyst=0 AT-S.Var:wifi_ap_idle_timeout=120 AT-S.Var:wifi_beacon_loss_thresh=10 AT-S.Var:wifi_priv_mode=0 AT-S.Var:wifi_wep_keys[0]=31:32:33:34:35:00:00:00:00:00:00:00:00:00:00:00 AT-S.Var:wifi_wep_keys[1]=00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 AT-S.Var:wifi_wep_keys[2]=00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 AT-S.Var:wifi_wep_keys[3]=00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 AT-S.Var:wifi_wep_key_lens=05:00:00:00 AT-S.Var:wifi_wep_default_key=0 AT-S.Var:wifi_wpa_psk_raw=00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 AT-S.Var:wifi_wpa_psk_text= AT-S.Var:wifi_eap_identity=identity AT-S.Var: mailto:wifi_eap_anon_identity=anonymous@identity.org AT-S.Var:wifi_eap_passwd=password AT-S.Var:wifi_eap_type=0 AT-S.Var:wifi_eap_skip_datechecks=0 AT-S.Var:wifi_wps_walk_time=120 AT-S.Var:wifi_wps_pin=1234567 AT-S.Var:ip_sock_memsize=1 AT-S.Var:ip_sock_threshold=0 AT-S.Var:ip_dhcp_lease_time=120 AT-S.Var:ip_macfilter=00:00:00:00:00:00 AT-S.Var:ip_num_clients=5 AT-S.Var:ip_allow_port_scans=1 AT-S.Var:ip_use_v6=1 AT-S.Var:ip_use_dhcpd=1 AT-S.Var:ip_use_httpd=1 AT-S.Var:ip_use_tftpd=1 AT-S.Var:ip_use_dhcpc=2 AT-S.Var:ip_hostname=DEFAULT_AP_BDD540 AT-S.Var:ip_apdomainname=captiveportal.net AT-S.Var:ip_apredirect=index.html AT-S.Var:ip_ipaddr=172.10.20.1 AT-S.Var:ip_netmask=255.255.255.0 AT-S.Var:ip_gw=192.168.0.1 AT-S.Var:ip_dns1=208.67.222.222 AT-S.Var:ip_dns2=208.67.220.220 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.Var:ip_dhcp_timeout=20 AT-S.Var:ip_ntp_server1=ptbtime1.ptb.de AT-S.Var:ip_ntp_server2=ntp0.ipv6.fau.de AT-S.Var:ip_ntp_refresh=3600 AT-S.Var:ip_ntp_startup=1 AT-S.Var:ip_mdns_domain_name=SPWF04S-Default AT-S.Var:ip_mdns_device_name_ttl=120 AT-S.Var:ip_mdns_services_name=SPWF04S-WebSrv SPWF04S-TFTPSrv AT-S.Var:ip_mdns_services_prot=_http._tcp _tftp._udp AT-S.Var:ip_mdns_services_keys=dev1 dev2 AT-S.Var:ip_mdns_services_vals=number1 number2 AT-S.Var:ip_mdns_services_port=80 69 AT-S.Var:ip_mdns_services_ttl=120 60 AT-S.Var:ip_mdns_startup=01:01 AT-S.OKThanks |
|
|
|
|
|
谢谢Tarek,bug解决了!
修复将成为FW1.1.0的一部分 以上来自于谷歌翻译 以下为原文 Thanks Tarek, bug solved! Fix will be part of FW1.1.0 |
|
|
|
|
只有小组成员才能发言,加入小组>>
stm32mp157的异核通信的rpmsg_sdb的m4固件和a7驱动该如何编写?
1453 浏览 0 评论
stm32f103用freertos对一个采样率为1kHz的传感器,进行采样,数据出差
1502 浏览 0 评论
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
3649 浏览 1 评论
3842 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
2461 浏览 1 评论
STM32H7打开DCache后,出现了串口接收信息为空的现象,是哪里出了问题?
727浏览 5评论
用NANO STM32F103RBT6的开发板烧录不了是哪里出了问题?
663浏览 5评论
710浏览 5评论
外部中断触发类型为双边沿触发,进入中断回调后有什么办法判断该边沿是上升沿还是下降沿?
941浏览 5评论
STM32L071CBT6低温环境下无法正常工作是什么原因引起的?
745浏览 5评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 10:46 , Processed in 0.676668 second(s), Total 78, Slave 61 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
2812