1
完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好ST社区,对不起,也许我应该在这里发布我的问题。
现在我正在研究wifi模块 X-细胞核 - IDW01M1 ,我发现了一些问题。 硬件 :细胞核 - F401RE,X-细胞核 - IDW01M1 软件 :STM32CubeExpansion_WIFI1_V3.0.1 IDE :iar ARM 7.70.1从示例项目中我发现两个类型一个是SPWF01另一个是SPWF04,我发现示例二进制是SPW04。 我将配置更改为SPWF01,但它仍然无效。 从Tera术语我发现了打印消息,但是当我输入'AT + S.STS'时,没有输出。 从这个例子来看,它总是在wifi init上运行。 文件 wifi_module.c第294行 并且不能用完这个功能。它似乎在等待状态。 我只在wifi_conf.h中改变了一件事 旧的是#define SPWF04,我改为 #define SPWF01 / ********* / while(IO_status_flag.WiFi_WIND_State!= WiFiHWStarted) { __NOP(); //没事做 } //总是在这个功能中 / *************** / 有没有人可以告诉我有什么问题?非常感谢你。 以上来自于谷歌翻译 以下为原文 Hello ST community,sorry,maybe I should post my problem here. Now I am working on the wifi module X-NUCLEO-IDW01M1 ,I found some problem. Hardware :NUCLEO-F401RE,X-NUCLEO-IDW01M1 Software :STM32CubeExpansion_WIFI1_V3.0.1 IDE : iar arm 7.70.1From the example project I found two types one is SPWF01 another is SPWF04, I found the example Binary is the SPW04. I change the config to SPWF01,but it still not work. From the Tera term I found the print message,but when I input 'AT+S.STS',nothing output. From this example it will always run at the wifi init. file wifi_module.c line 294 and can not run out this function.It seems to wait for the state. I only changed one thing in wifi_conf.h the old one is #define SPWF04,I change to #define SPWF01 /**********************************/ while(IO_status_flag.WiFi_WIND_State != WiFiHWStarted) { __NOP(); //nothing to do } //always in this function /*******************************/ Is there anyone can tell me what is wrong ? Thank you very much. |
|
相关推荐
12个回答
|
|
即使我已经为我的F411RE板重建,我也有相同的WiFi_VCOM问题。
我试着看看我是否可以升级X-NUCLEO-IDW01M1板的固件 但是示例工具只有FW_Update_UART_Nucleo-F401RE.bin, 没有相应的F411RE.bin,也没办法自己建这个垃圾箱?! 我想知道您是否已经尝试使用此Utilities PC_Software FW_Update_UART升级固件 X-NUCLEO-IDW01M1板验证'AT + S.STS'是否可以正常工作?! 在我的情况下,它甚至不允许我升级固件,因为Flash_Loader_Demonstrator无法检测到我的目标板,这可能是因为我没有正确的FW_Update_UART_Nucleo-F411RE.bin?! 我现在不知道如何获得FW_Update_UART_Nucleo-F411RE.bin?! 谢谢&最好的祝福, 罗伯特 以上来自于谷歌翻译 以下为原文 I also have the same WiFi_VCOM issue even though I already rebuilt for my F411RE board. I tried to see if I could upgrade the firmware of X-NUCLEO-IDW01M1 board but the sample tool has only the FW_Update_UART_Nucleo-F401RE.bin, no corresponding F411RE.bin and no way to build this bin myself?! I wonder if you have already tried to use this UtilitiesPC_SoftwareFW_Update_UART to upgrade the firmware of X-NUCLEO-IDW01M1 board to verify if the 'AT+S.STS' would then work please?! In my case, it would not allow me to even upgrade the firmware because Flash_Loader_Demonstrator cannot detect my target board and it is probably because I don't have the right FW_Update_UART_Nucleo-F411RE.bin?! And I have no idea how to get the FW_Update_UART_Nucleo-F411RE.bin now?! Thanks & Best Regards, Robert |
|
|
|
嗨罗伯特,
我很伤心, 我尝试更新SPWF01S的固件,但Flash加载器demostrator:FAIL:无法擦除闪存。 现在我在等待ST的FAE来解决我的问题。 该演示项目适用于SPWF04,我不知道硬件或软件存在问题。 最好的方法是使用演示的默认硬件。 如果我们无法运行演示,更新WIFI模块就比较困难了。 以上来自于谷歌翻译 以下为原文 Hi Robert, I feel so sadly, I try to update the firmware of the SPWF01S, but the Flash loader demostrator : FAIL:unable to erase flash. Now I am waiting for the FAE of ST come to solve my problem. The demo project is for SPWF04 and I do not know where is the problem hardware or software. The best way is using the default hardware for the demo. If we can not run the demo, update the WIFI module is more difficult. |
|
|
|
嗨嘉里,
我完全可以理解你的沮丧 因为我也在努力,但我仍然有点惊讶,因为你已经直接使用F401RE, 所以它应该比我的情况更好。 无论如何,如果你想,你可以试试 /external-link.jspa?url=https%3A%2F%2Fdeveloper.mbed.org%2Fteams%2FST%2Fcode%2FHelloWorld_IDW01M1v2%2F 我发现如果我将它们的示例代码导入在线mbed编译器以编译F411RE,它将会起作用。 (那么你需要为F401RE编译它。) 当我从在线mbed编译输出中刷新.bin时,它会正常工作。 但是,此示例应用程序没有我需要的迷你AP功能 因此,证明我的硬件应该可以正常工作,但只是XCube Wifi代码在某种程度上无法正常使用我的设置! 希望它有所帮助。 谢谢&最好的祝福, 罗伯特 注意:原始帖子包含大量线程对话,只能迁移到第9级 以上来自于谷歌翻译 以下为原文 Hi Kerry, I can understand your frustration totally as I am struggling with it too but I am still a bit surprised because you are using F401RE directly already, so it should work better than my case. Anyway, if you want, you may try /external-link.jspa?url=https%3A%2F%2Fdeveloper.mbed.org%2Fteams%2FST%2Fcode%2FHelloWorld_IDW01M1v2%2F I found that it would work if I import their sample code to the online mbed compiler to compile for F411RE. (You will need to compile it for F401RE then.) It will just work fine when I flash the .bin from the online mbed compiled output. However, this sample app does not have the mini AP capability I need and so it is just good to prove that my hardware should work but just the XCube Wifi codes somehow cannot work well with my setup! Hope that it helps. Thanks & Best Regards, Robert Note: the original post contained a large number of threaded conversations and was only able to be migrated to the 9th level |
|
|
|
嗨罗伯特,
非常感谢您的建议,我尝试了mbed示例,但仍然无法工作,我使用了 示波器监视RX和TX线路,发现RX线路没有任何接收。也许WIFI模块坏了。 以上来自于谷歌翻译 以下为原文 Hi Robert, Thanks a lot for your suggestion,I try the mbed example but still not work,I use the oscilloscope to monitor the RX and TX lines and find nothing receive from the RX line.Maybe the WIFI module is broken. |
|
|
|
嗨嘉里,
关于模块,它应该在复位或上电后在其TX线上给出一些东西(通常为WIND:1)。此外,您可以监控GPIO 10或13或14(它们应该变高或闪烁)。如果没有两个选项: - 模块坏了 - >因为你得到'我认为不会被打破' 无法擦除闪光灯 ',即在初始Flasher握手模块被擦除之后(完全或包含引导加载程序的初始页面) - >不要在0x08002800之前删除地址 - 模块处于启动模式(启动引脚为高电平) 你可以使用连接到TX和RX模块线路的UART2USB设备通过'Flash loader demonstrator'工具检查内部闪存吗? http://www.st.com/content/st_com/en/products/evaluation-tools/solution-evaluation-tools/communication-and-connectivity-solution-eval-boards/steval-pcc018v1.html 是我使用的那个。 以上来自于谷歌翻译 以下为原文 Hi Kerry, about the module, it should give something on its TX line after reset or poweron (WIND:1, typically). Moreover, you can monitor GPIOs 10 or 13 or 14 (they should go high, or blinking). If none of two options are in place: - module is broken -> I don't think is broken, since you get ' unable to erase flash ', that is after initial Flasher handshake- module was erased (fully, or initial page containing bootloader) -> do not never erase addresses before 0x08002800 - module is in boot mode (boot pin is high) Can you check internal flash by 'Flash loader demonstrator' tool using a UART2USB device connected to TX and RX module's lines? http://www.st.com/content/st_com/en/products/evaluation-tools/solution-evaluation-tools/communication-and-connectivity-solution-eval-boards/steval-pcc018v1.html is the one I use. |
|
|
|
非常感谢您的回复。
我没有 UART2USB设备。 我使用mbed示例从RX中得不到任何东西 (PA10 F401RE) 但是TX(PA9 F401RE)线路上的线路接近400ms。 你建议我监控 GPIO 10或13或14,这些引脚是否属于F401RE或WIFI模块? 谢谢。 以上来自于谷歌翻译 以下为原文 Thank you very much for your reply. I do not have UART2USB device. I use the mbed example get nothing from the RX (PA10 F401RE) line but almost 400ms frames on the TX(PA9 F401RE) line. You suggest me to monitor the GPIOs 10 or 13 or 14,does these pins belong to the F401RE or WIFI module ? Thanks. |
|
|
|
WiFi模块。如果模块是理智的,复位后应该高
以上来自于谷歌翻译 以下为原文 WiFi module. After reset should go high, if module is sane |
|
|
|
嗨,我只是连接
GPIO 10或13或14到示波器 GPIO 10 - >保持低电平 GPIO 13 - >高和帧上 GPIO 14 - >高。 这是正确的吗? 我连接到WIFI模块的CN7.GPIO 10(NC),GPIO 13(PA13),GPIO 14(RESET),我不确定我是否连接了正确的PIN。 以上来自于谷歌翻译 以下为原文 Hi, I just connect the GPIOs 10 or 13 or 14 to the oscilloscope GPIO 10 ->keep low GPIO 13 ->high and frames on it GPIO 14 ->high. Is this right? I connect to the CN7 of the WIFI module.GPIO 10(NC),GPIO 13(PA13),GPIO 14(RESET),I am not sure I connect the right PIN. |
|
|
|
- 如果blink_led变量设置为1,则GPIO10为闪烁LED。默认变量值为0,因此GPIO10必须为低电平。
- GPIO13是状态LED,连接到接入点时为低电平,如果未连接则为高电平 - GPIO14是控制台LED,当AT命令可以发送时为低电平,启动时为高电平 你的模块是理智的,因为GPIOs10和13都可以。我预计GPIO14会在启动后关闭。 我只知道保持GPIO14高的原因:通过配置变量在SPWF上设置了hw流量控制,而外部MCU没有控制它。这也可以解释为什么你的模块没有传输任何东西。这是你的情况吗? 恢复:擦除配置变量并执行恢复出厂设置,在启动时保持GPIO0为高电平。 BR Ĵ ps:由于输出了GPIO 10,13和14,请确保您的MCU将这些引脚配置为浮动输入。为什么GPIO14连接到MCU RESET线? 以上来自于谷歌翻译 以下为原文 - GPIO10 is the blinking LED, if blink_led variable is set to 1. Default variable value is 0, so, GPIO10 must be low. - GPIO13 is the status LED, low when connected to an access point, high if not connected - GPIO14 is the console LED, low when AT-commands can be sent, high at startup Your module is sane, since GPIOs10 and 13 are ok. I expect GPIO14 goes down after boot. I only know a reason to keep GPIO14 high: hw flow control was set on SPWF via configuration variable, and external MCU is not controlling it. This also could explain why your module is not transmitting anything. Is this your case? Recovery: to erase configuration variables, and perform a factory reset, keep GPIO0 high at boot time. BR j ps: since GPIOs 10,13 and 14 are output, be sure that your MCU is configuring these pins as input floating. Why is GPIO14 connected to MCU RESET line? |
|
|
|
非常感谢您的回复。
抱歉,连接错误,我监控了F401RE的RESET线和PA13。 今天我再次测试一下 GPIO10首先是高位,在我输入SSID,密码,加密后,它将变为低200ms然后变为高。 GPIO13总是很低。 GPIO14总是很低。 来自F401RE schmetic GPIO10-> PD2,GPIO13-> PA4,GPIO14->不从CN7或CN10来自wifi模块板。 注意:原始帖子包含大量线程对话,只能迁移到第9级 以上来自于谷歌翻译 以下为原文 Thanks a lot for your reply. Sorry I got the wrong connection,I monitor the RESET line and PA13 of the F401RE. Today I test it again GPIO10 is high at first,after I enter the SSID, password, encryption,then it will become to low 200ms then to high. GPIO13 is alway low. GPIO14 is alway low. from the F401RE schmetic GPIO10->PD2,GPIO13->PA4, GPIO14->not out from CN7 or CN10 from wifi module board. Note: the original post contained a large number of threaded conversations and was only able to be migrated to the 9th level |
|
|
|
Gallucci.Gerardo
‌Das.Mridupawan “非常感谢你的帮助。 电路板现在正常,FAE帮我更新WIFI模块的固件。 现在工作正常, 注意:原始帖子包含大量线程对话,只能迁移到第9级 以上来自于谷歌翻译 以下为原文 Gallucci.Gerardo ‌Das.Mridupawan ‌Thanks a lot for your help. The board is OK now, the FAE help me update the firmware of the WIFI module. It work fine now, Note: the original post contained a large number of threaded conversations and was only able to be migrated to the 9th level |
|
|
|
别客气!
你可以关闭这个帖子...... 问候 杰瑞 以上来自于谷歌翻译 以下为原文 You're welcome! You can close this thread... Regards jerry |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2732 浏览 1 评论
3241 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1810 浏览 1 评论
3650 浏览 6 评论
6038 浏览 21 评论
1339浏览 4评论
201浏览 3评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
350浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
443浏览 2评论
STM32处理增量式编码器Z信号如何判断中断是正转的还是反向转的?
274浏览 2评论
小黑屋| 手机版| Archiver| 德赢Vwin官网 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-23 17:59 , Processed in 1.311359 second(s), Total 98, Slave 82 queries .
Powered by 德赢Vwin官网 网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
德赢Vwin官网 观察
版权所有 © 湖南华秋数字科技有限公司
德赢Vwin官网 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号