完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
程序配置 wifi STA模式,手动写入SSID和密码后, 下载进入芯片,然后芯片一直反复重启,STA模式设置失败,使用的测试代码为
中STA部分代码,然后程序烧录后,一直反复重启,并打印: I (284) espressif: Setting WiFi configuration SSID GlocalMe_12933... I (12) boot: ESP-IDF v3.2.3-dirty 2nd stage bootloader I (12) boot: compile time 19:43:07 I (12) boot: Enabling RNG early entropy source... I (16) boot: SPI Speed : 40MHz I (20) boot: SPI Mode : DIO I (24) boot: SPI Flash Size : 4MB I (28) boot: Partition Table: I (32) boot: ## Label Usage Type ST Offset Length I (39) boot: 0 nvs WiFi data 01 02 00009000 00006000 I (46) boot: 1 phy_init RF data 01 01 0000f000 00001000 I (54) boot: 2 factory factory app 00 00 00010000 00100000 I (61) boot: End of partition table I (66) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x1445c ( 8p I (104) esp_image: segment 1: paddr=0x00024484 vaddr=0x3ffb0000 size=0x02e54 ( d I (109) esp_image: segment 2: paddr=0x000272e0 vaddr=0x40080000 size=0x00400 ( d I (111) esp_image: segment 3: paddr=0x000276e8 vaddr=0x40080400 size=0x08928 ( d I (134) esp_image: segment 4: paddr=0x00030018 vaddr=0x400d0018 size=0x61728 (3p I (274) esp_image: segment 5: paddr=0x00091748 vaddr=0x40088d28 size=0x06f44 ( d I (296) boot: Loaded app from partition at offset 0x10000 I (296) boot: Disabling RNG early entropy source... I (296) cpu_start: Pro cpu up. I (300) cpu_start: Starting app cpu, entry point is 0x40080ff8 I (0) cpu_start: App cpu up. I (310) heap_init: Initializing. RAM available for dynamic allocation: I (317) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM I (323) heap_init: At 3FFB8D50 len 000272B0 (156 KiB): DRAM I (330) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM I (336) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM I (342) heap_init: At 4008FC6C len 00010394 (64 KiB): IRAM I (349) cpu_start: Pro cpu start user code I (143) cpu_start: Starting scheduler on PRO CPU. I (0) cpu_start: Starting scheduler on APP CPU. I (224) wifi: wifi driver task: 3ffc0000, prio:23, stack:3584, core=0 I (224) system_api: Base MAC address is not set, read default base MAC address E I (224) system_api: Base MAC address is not set, read default base MAC address E I (254) wifi: wifi firmware version: 7997e4b I (254) wifi: config NVS flash: enabled I (254) wifi: config nano formating: disabled I (254) wifi: Init dynamic tx buffer num: 32 I (254) wifi: Init data frame dynamic rx buffer num: 32 I (264) wifi: Init management frame dynamic rx buffer num: 32 I (264) wifi: Init management short buffer num: 32 I (274) wifi: Init static tx buffer num: 16 I (274) wifi: Init static rx buffer size: 1600 I (274) wifi: Init static rx buffer num: 10 I (284) wifi: Init dynamic rx buffer num: 32 I (284) espressif: Setting WiFi configuration SSID GlocalMe_12933... I (12) boot: ESP-IDF v3.2.3-dirty 2nd stage bootloader I (12) boot: compile time 19:43:07 I (12) boot: Enabling RNG early entropy source... I (16) boot: SPI Speed : 40MHz I (20) boot: SPI Mode : DIO I (24) boot: SPI Flash Size : 4MB I (28) boot: Partition Table: I (32) boot: ## Label Usage Type ST Offset Length I (39) boot: 0 nvs WiFi data 01 02 00009000 00006000 I (46) boot: 1 phy_init RF data 01 01 0000f000 00001000 I (54) boot: 2 factory factory app 00 00 00010000 00100000 I (61) boot: End of partition table I (66) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x1445c ( 8p I (104) esp_image: segment 1: paddr=0x00024484 vaddr=0x3ffb0000 size=0x02e54 ( d I (109) esp_image: segment 2: paddr=0x000272e0 vaddr=0x40080000 size=0x00400 ( d I (111) esp_image: segment 3: paddr=0x000276e8 vaddr=0x40080400 size=0x08928 ( d I (134) esp_image: segment 4: paddr=0x00030018 vaddr=0x400d0018 size=0x61728 (3p I (274) esp_image: segment 5: paddr=0x00091748 vaddr=0x40088d28 size=0x06f44 ( d I (296) boot: Loaded app from partition at offset 0x10000 I (296) boot: Disabling RNG early entropy source... I (296) cpu_start: Pro cpu up. I (300) cpu_start: Starting app cpu, entry point is 0x40080ff8 I (0) cpu_start: App cpu up. I (310) heap_init: Initializing. RAM available for dynamic allocation: I (317) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM I (323) heap_init: At 3FFB8D50 len 000272B0 (156 KiB): DRAM I (330) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM I (336) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM I (342) heap_init: At 4008FC6C len 00010394 (64 KiB): IRAM I (349) cpu_start: Pro cpu start user code I (143) cpu_start: Starting scheduler on PRO CPU. I (0) cpu_start: Starting scheduler on APP CPU. I (224) wifi: wifi driver task: 3ffc0000, prio:23, stack:3584, core=0 I (224) system_api: Base MAC address is not set, read default base MAC address E I (224) system_api: Base MAC address is not set, read default base MAC address E I (254) wifi: wifi firmware version: 7997e4b I (254) wifi: config NVS flash: enabled I (254) wifi: config nano formating: disabled I (254) wifi: Init dynamic tx buffer num: 32 I (254) wifi: Init data frame dynamic rx buffer num: 32 I (264) wifi: Init management frame dynamic rx buffer num: 32 I (264) wifi: Init management short buffer num: 32 I (274) wifi: Init static tx buffer num: 16 I (274) wifi: Init static rx buffer size: 1600 I (274) wifi: Init static rx buffer num: 10 I (284) wifi: Init dynamic rx buffer num: 32 I (284) espressif: Setting WiFi configuration SSID GlocalMe_12933... I (12) boot: ESP-IDF v3.2.3-dirty 2nd stage bootloader iguration SSID 后,到设置 ESP_ERROR_CHECK( esp_wifi_set_mode(WIFI_MODE_STA) ); 这里就会重启, 感觉是模式设置失败,但是为什么会模式设置失败呢? 代码完全拷贝的例子,只是修改了SSID和密码, 此问题一直这样,请协助解决下,多谢! |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
409浏览 6评论
344浏览 5评论
有没有办法在不使用混杂模式的情况下实现Wifi驱动程序接收缓冲区访问中断呢?
325浏览 5评论
327浏览 4评论
311浏览 4评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-8-19 04:17 , Processed in 0.533118 second(s), Total 45, Slave 38 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191