完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
预计调用esp_wifi_start后内置的jtag会掉线吗?
在我的软件中,调试工作正常,直到那时。我也可以进入 esp_wifi_start,但是在没有断点的情况下检查它会断开 USB jtag 连接。停在 esp_wifi_start 似乎打破了函数的时间。 这是在 esp_wifi_start 上设置断点时: 代码:全选 (gdb) target extended-remote :3333 Remote debugging using :3333 0x420081c6 in app_main () at ../main/startup.cpp:389 389 while (WaitStartup == 0); (gdb) break esp_wifi_start Breakpoint 1 at 0x42096480: file ../main/startup.cpp, line 555. (gdb) set WaitStartup =1 (gdb) c Continuing. Note: automatically using hardware breakpoints for read-only addresses. [esp32s3.cpu0] Target halted, PC=0x42096480, debug_reason=00000001 Set GDB target to 'esp32s3.cpu0' [esp32s3.cpu1] Target halted, PC=0x40043A40, debug_reason=00000000 [New Thread 1070544848] [New Thread 1070524092] [New Thread 1070551216] [New Thread 1070559892] [New Thread 1070555096] [New Thread 1070519636] [New Thread 1070547256] [New Thread 1070538432] [Switching to Thread 1070542952] Thread 1 "main" hit Breakpoint 1, 0x42096480 in esp_wifi_start () at ../main/startup.cpp:555 555 event_trigger(event_id("init`done")); (gdb) where #0 0x42096480 in esp_wifi_start () at ../main/startup.cpp:555 #1 0x42019dea in wifi_start_station (ssid= pass= #2 0x42034cb2 in cfg_activate () at ../components/streams/estring.h:71 #3 0x4200827a in app_main () at ../main/startup.cpp:477 #4 0x420e6a16 in main_task (args=0x0) at ../idf/idf-esp32/components/freertos/port/port_common.c:141 #5 0x40381948 in vPortTaskWrapper (pxCode=0x420e69c4 pvParameters=0x0) at ../idf/idf-esp32/components/freertos/port/xtensa/port.c:131 (gdb) n xTaskGetCurrentTaskHandle () at ../idf/idf-esp32/components/freertos/tasks.c:4650 4650 { (gdb) n 4654 state = portSET_INTERRUPT_MASK_FROM_ISR(); (gdb) where #0 xTaskGetCurrentTaskHandle () at ../idf/idf-esp32/components/freertos/tasks.c:4654 #1 0x4209ca5a in current_task_is_wifi_task () at ../main/settings.cpp:595 #2 0x42095d07 in wifi_api_lock () at ../main/settings.cpp:595 #3 0x42095d66 in wifi_init_completed () at ../main/settings.cpp:595 #4 0x42096486 in esp_wifi_start () at ../main/settings.cpp:595 #5 0x42019dea in wifi_start_station (ssid= pass= #6 0x42034cb2 in cfg_activate () at ../components/streams/estring.h:71 #7 0x4200827a in app_main () at ../main/startup.cpp:477 #8 0x420e6a16 in main_task (args=0x0) at ../idf/idf-esp32/components/freertos/port/port_common.c:141 #9 0x40381948 in vPortTaskWrapper (pxCode=0x420e69c4 pvParameters=0x0) at ../idf/idf-esp32/components/freertos/port/xtensa/port.c:131 (gdb) |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
541浏览 6评论
454浏览 5评论
有没有办法在不使用混杂模式的情况下实现Wifi驱动程序接收缓冲区访问中断呢?
434浏览 5评论
436浏览 4评论
409浏览 4评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-18 19:21 , Processed in 0.652495 second(s), Total 47, Slave 40 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号