Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
RT-Thread一般讨论
RW007使用SPI方式异常
发布于 2020-04-18 22:18:37 浏览:1647
订阅该版
执行 wifi scan 命令总是扫描失败或者卡住,如下:  工程是根据 [https://www.rt-thread.org/document/site/application-note/packages/rw007_module_using/an0034-rw007-module-using/](https://www.rt-thread.org/document/site/application-note/packages/rw007_module_using/an0034-rw007-module-using/) 教程搭建的,使用 SPI 模式在 NUCLEO-F401RE 上连接 RW007 模块,Menuconfig 配置,包括 SPI 引脚配置都是一样的,rw007 软件包的几个版本都试过了,还是不行......
查看更多
12
个回答
默认排序
按发布时间排序
sync
2020-04-20
这家伙很懒,什么也没写!
也在用rw007,这个问题还没遇到过,帮顶下
阿基米东
认证专家
2020-04-20
https://github.com/luhuadong
今天把调试串口焊上,直接在rw007上执行 wifi scan,第一次可以找到WiFi,第二次再扫就出错了!如下: ``` [446715]WiFi: Scan is running. Wait 2s timeout.ERROR: wifi scan failed ```
阿基米东
认证专家
2020-04-20
https://github.com/luhuadong
然后让板子飞了一会儿,居然满屏的Error:L ``` [add_mem_usage] Catch a mem alloc fail with size of 32, current heap free size = 16384 ```
阿基米东
认证专家
2020-04-20
https://github.com/luhuadong
怎么感觉这么水。。。文档也不齐全。。。 附上RW007的启动信息,看看我是不是要更新固件: ``` \ | / - RT - Thread Operating System / | \ 3.1.1 build Dec 19 2019 2006 - 2018 Copyright by rt-thread team lwIP-2.0.2 initialized! LDO Mode, BD_Info: 0 LDO Mode, BD_Info: 0 i2c_idx:0 [I/SAL_SOC] Socket Abstraction Layer initialize success. [start_value]: 1 SPI raw mode init [I/WLAN.dev] wlan init success [I/WLAN.lwip] eth device init ok name:w0 [I/WLAN.dev] wlan init success [I/WLAN.lwip] eth device init ok name:w1 [D/FAL] (fal_flash_init:63) Flash device | norflash0 . [I/FAL] ==================== FAL partition table ==================== [I/FAL] | name | flash_dev | offset | length | [I/FAL] ------------------------------------------------------------- [I/FAL] | app | norflash0 | 0x0000b000 | 0x00135000 | [I/FAL] | env | norflash0 | 0x00140000 | 0x00001000 | [I/FAL] | download | norflash0 | 0x00141000 | 0x000af000 | [I/FAL] | bootloader | norflash0 | 0x001f0000 | 0x0000f000 | [I/FAL] | rdp | norflash0 | 0x001ff000 | 0x00001000 | [I/FAL] ============================================================= [I/FAL] RT-Thread Flash Abstraction Layer (V0.2.0) initialize succes. [Flash] (packages/EasyFlash/src/ef_env.c:152) ENV start address is 0. [Flash] (packages/EasyFlash/src/ef_env.c:821) Calculate ENV CRC32 nu. [Flash] (packages/EasyFlash/src/ef_env.c:833) Verify ENV CRC32 resul. [Flash] EasyFlash V3.2.3 is initialize success. [Flash] You can get the latest version on https://github.com/armink/. Mac:88:97:46:07:cc:a5 rw007 sn: [rw007746978800a5cc] rw007 ver: [1.2.9-72a55281-28908] build time: Dec 19 2019 11:19:44 Hello RT-Thread! [Flash] (packages/EasyFlash/src/ef_env.c:152) ENV start address is 0. [Flash] (packages/EasyFlash/src/ef_env.c:821) Calculate ENV CRC32 nu. [Flash] (packages/EasyFlash/src/ef_env.c:833) Verify ENV CRC32 resul. [Flash] EasyFlash V3.2.3 is initialize success. [Flash] You can get the latest version on https://github.com/armink/. msh /> ```
阿基米东
认证专家
2020-04-20
https://github.com/luhuadong
有内存溢出。。。 启动后查看内存情况: ``` msh />free total memory: 113532 used memory : 75592 maximum allocated memory: 77800 ``` 执行 wifi scan 扫描失败,一段时间后再查看: ``` msh />free total memory: 113532 used memory : 96640 maximum allocated memory: 96640 msh />free total memory: 113532 used memory : 98240 maximum allocated memory: 98240 msh />free total memory: 113532 used memory : 100000 maximum allocated memory: 100000 msh />free total memory: 113532 used memory : 101280 maximum allocated memory: 101280 msh />free total memory: 113532 used memory : 104160 maximum allocated memory: 104160 msh />free total memory: 113532 used memory : 107360 maximum allocated memory: 107436 msh />free total memory: 113532 used memory : 111360 maximum allocated memory: 111360 msh />free total memory: 113532 used memory : 112000 maximum allocated memory: 112236 msh />free total memory: 113532 used memory : 113280 maximum allocated memory: 113280 msh /> [add_mem_usage] Catch a mem alloc fail with size of 32, current heap free size = 16384 [add_mem_usage] Catch a mem alloc fail with size of 32, current heap free size = 16384 [add_mem_usage] Catch a mem alloc fail with size of 32, current heap free size = 16384 [add_mem_usage] Catch a mem alloc fail with size of 32, current heap free size = 16384 [add_mem_usage] Catch a mem alloc fail with size of 32, current heap free size = 16384 [add_mem_usage] Catch a mem alloc fail with size of 32, current heap free size = 16384 ```
阿基米东
认证专家
2020-04-20
https://github.com/luhuadong
### 异常复现 - 启动后通过调试串口进入RW007,第一次执行 `wifi scan` 扫描成功,但内存占用不断升高,再次扫描时会失败。 - 在RW007调试串口中执行 `reboot` 重启模块,多次执行 `wifi scan` 均正常。
阿基米东
认证专家
2020-04-20
https://github.com/luhuadong
:L难道只有我一个人遇到这种问题???
sync
2020-04-22
这家伙很懒,什么也没写!
[https://www.rt-thread.org/qa/thread-424041-1-1.html](https://www.rt-thread.org/qa/thread-424041-1-1.html) 我这个帖子里面也打印了rw007的启动信息,看起来是一样的 楼主的问题还真没遇到了
sync
2020-04-22
这家伙很懒,什么也没写!
rw007不能连接5G 注意下
阿基米东
认证专家
2020-04-22
https://github.com/luhuadong
>rw007不能连接5G 注意下 --- 我连的是2.4G :'(
撰写答案
登录
注册新账号
关注者
0
被浏览
1.6k
关于作者
阿基米东
https://github.com/luhuadong
提问
11
回答
52
被采纳
3
关注TA
发私信
相关问题
1
有关动态模块加载的一篇论文
2
最近的调程序总结
3
晕掉了,这么久都不见layer2的踪影啊
4
继续K9ii的历程
5
[GUI相关] FreeType 2
6
[GUI相关]嵌入式系统中文输入法的设计
7
20081101 RT-Thread开发者聚会总结
8
嵌入式系统基础
9
linux2.4.19在at91rm9200 上的寄存器设置
10
[转]基于嵌入式Linux的通用触摸屏校准程序
推荐文章
1
RT-Thread应用项目汇总
2
玩转RT-Thread系列教程
3
国产MCU移植系列教程汇总,欢迎查看!
4
机器人操作系统 (ROS2) 和 RT-Thread 通信
5
五分钟玩转RT-Thread新社区
6
【技术三千问】之《玩转ART-Pi》,看这篇就够了!干货汇总
7
关于STM32H7开发板上使用SDIO接口驱动SD卡挂载文件系统的问题总结
8
STM32的“GPU”——DMA2D实例详解
9
RT-Thread隐藏的宝藏之completion
10
【ART-PI】RT-Thread 开启RTC 与 Alarm组件
最新文章
1
RT-thred的stm32h723对应bsp包CubeMX添加其他外设报错
2
RT-Thread中的time溢出问题,时间戳溢出,解决方法
3
ART-PI使用env驱动ETH网卡,pc和板子可以ping通
4
SystemView线程名字不显示
5
只用网页也能跑RT-Smart 无门槛腾讯Cloud studio + smart-build快速构建
热门标签
RT-Thread Studio
串口
Env
LWIP
SPI
AT
Bootloader
Hardfault
CAN总线
FinSH
ART-Pi
DMA
USB
文件系统
RT-Thread
SCons
RT-Thread Nano
线程
MQTT
STM32
RTC
rt-smart
FAL
I2C_IIC
UART
ESP8266
cubemx
WIZnet_W5500
ota在线升级
PWM
BSP
flash
freemodbus
packages_软件包
潘多拉开发板_Pandora
定时器
ADC
GD32
flashDB
socket
编译报错
中断
Debug
rt_mq_消息队列_msg_queue
keil_MDK
ulog
SFUD
msh
C++_cpp
MicroPython
本月问答贡献
RTT_逍遥
9
个答案
2
次被采纳
三世执戟
8
个答案
1
次被采纳
KunYi
8
个答案
1
次被采纳
winfeng
2
个答案
1
次被采纳
YZRD
2
个答案
1
次被采纳
本月文章贡献
catcatbing
2
篇文章
5
次点赞
swet123
1
篇文章
4
次点赞
Days
1
篇文章
4
次点赞
YZRD
1
篇文章
2
次点赞
阳光的掌控者
1
篇文章
1
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部