完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
【环境】idf版本4.4,
【问题】在需要省电的时候,我调用adc_digi_stop()和dac_digi_stop()关闭ADC/DAC功能,同时调用esp_now_set_wake_window(ESPNOW_WAKEUP_tiME_MS)用手任意触摸开发板的脚位,就会一直重启, 如果只调用adc_digi_stop()和dac_digi_stop()不会有异常,只调用esp_now_set_wake_window(ESPNOW_WAKEUP_TIME_MS)也不会有异常,两个都调用都会一直重启 menuconfig修改如下 Code: Select all component config-> ESP32S2-specific-> CPU frequency-> 240MHZ RTC clock source-> Internal 8MHz oscillator, divided by 256(~32kHz) Power Management-> Support for power management-> Enable dynamic frequency scaling (DFS) at startup WI-FI-> Power Management for station at disconnected FreeRTOS-> Tickless idle support 【部分日志】 Code: Select all ELF file SHA256: 86660b37867889e0 Rebooting... ESP-ROM:esp32s2-rc4-20191025 Build:Oct 25 2019 rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT) Saved PC:0x400235e0 0x400235e0: esp_restart_noos at C:/Users/Administrator/Desktop/esp-idf/components/esp_system/port/soc/esp32s2/system_internal.c:112 (discriminator 1) SPIWP:0xee mode:DIO, clock div:1 load:0x3ffe6100,len:0x1734 load:0x4004c000,len:0xa04 load:0x40050000,len:0x2b28 entry 0x4004c1f4 I (24) boot: ESP-IDF v4.4-dev-1254-g639e7ad49-dirty 2nd stage bootloader I (24) boot: compile time 16:13:47 I (24) boot: chip revision: 0 I (28) boot.esp32s2: SPI Speed : 80MHz I (33) boot.esp32s2: SPI Mode : DIO I (38) boot.esp32s2: SPI Flash Size : 2MB I (42) boot: Enabling RNG early entropy source... I (48) boot: Partition Table: I (51) boot: ## Label Usage Type ST Offset Length I (59) boot: 0 nvs WiFi data 01 02 00009000 00006000 I (66) boot: 1 phy_init RF data 01 01 0000f000 00001000 I (74) boot: 2 factory factory app 00 00 00010000 00100000 I (81) boot: End of partition table I (85) esp_image: segment 0: paddr=00010020 vaddr=3f000020 size=1f438h (128056) map I (121) esp_image: segment 1: paddr=0002f460 vaddr=3ffc82c0 size=00bb8h ( 3000) load I (122) esp_image: segment 2: paddr=00030020 vaddr=40080020 size=735fch (472572) map I (229) esp_image: segment 3: paddr=000a3624 vaddr=3ffc8e78 size=02940h ( 10560) load I (231) esp_image: segment 4: paddr=000a5f6c vaddr=40022000 size=162b8h ( 90808) load I (258) esp_image: segment 5: paddr=000bc22c vaddr=50000000 size=00010h ( 16) load I (270) boot: Loaded app from partition at offset 0x10000 I (271) boot: Disabling RNG early entropy source... I (282) cache: Instruction cache : size 8KB, 4Ways, cache line size 32Byte I (282) cpu_start: Pro cpu up. I (303) cpu_start: Pro cpu start user code I (303) cpu_start: cpu freq: 240000000 I (304) cpu_start: Application information: I (306) cpu_start: Project name: dsr I (311) cpu_start: App version: v4.4-dev-1254-g639e7ad49-dirty I (318) cpu_start: Compile time: Sep 22 2021 16:12:24 I (324) cpu_start: ELF file SHA256: 86660b37867889e0... I (330) cpu_start: ESP-IDF: v4.4-dev-1254-g639e7ad49-dirty I (337) heap_init: Initializing. RAM available for dynamic allocation: I (344) heap_init: At 3FF9E000 len 00002000 (8 KiB): RTCRAM I (350) heap_init: At 3FFD12F0 len 0002AD10 (171 KiB): DRAM I (357) heap_init: At 3FFFC000 len 00003A10 (14 KiB): DRAM I (363) spi_flash: detected chip: generic I (367) spi_flash: flash io: dio W (371) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header. I (396) pm: Frequency switching config: CPU_MAX: 240, APB_MAX: 80, APB_MIN: 40, Light sleep: DISABLED I (396) cpu_start: Starting scheduler on PRO CPU. Hello world! This is esp32s2 chip with 1 CPU cores, WiFi, silicon revision 0, 2MB external flash Free heap: 179308 esp_clk_cpu_freq: 240000000 esp_clk_apb_freq: ��I (473) wifi:wifi driver task: 3ffd9b10, prio:23, stack:6656, core=0 I (473) system_api: Base MAC address is not set I (473) system_api: read default base MAC address from EFUSE I (483) wifi:wifi firmware version: 44799ff I (483) wifi:wifi certification version: v7.0 I (483) wifi:config NVS flash: enabled I (483) wifi:config nano formating: disabled I (493) wifi:Init data frame dynamic rx buffer num: 32 I (493) wifi:Init management frame dynamic rx buffer num: 32 I (503) wifi:Init management short buffer num: 32 I (503) wifi:Init dynamic tx buffer num: 32 I (513) wifi:Init static rx buffer size: 1600 I (513) wifi:Init static rx buffer num: 10 I (513) wifi:Init dynamic rx buffer num: 32 I (523) wifi_init: rx ba win: 6 I (523) wifi_init: tcpip mbox: 32 I (533) wifi_init: udp mbox: 6 I (533) wifi_init: tcp mbox: 6 I (533) wifi_init: tcp tx win: 5744 I (543) wifi_init: tcp rx win: 5744 I (543) wifi_init: tcp mss: 1440 I (553) wifi_init: WiFi IRAM OP enabled I (553) wifi_init: WiFi RX IRAM OP enabled I (563) phy_init: phy_version 1800,e7ef680,Apr 13 2021,11:45:08 I (713) wifi:mode : sta (7c:df:a1:00:41:b1) I (713) wifi:enable tsf I (713) wifi:enable tsf I (713) wifi:set country: cc=JP schan=1 nchan=14 policy=0 I (713) ESPNOW: espnow [version: 1.0] init I (713) pm: Frequency switching config: CPU_MAX: 240, APB_MAX: 80, APB_MIN: 10, Light sleep: ENABLED I (723) wifi:Set ps type: 1 abort() was called at PC 0x400250df on core 0 0x400250df: lock_acquire_generic at C:/Users/Administrator/Desktop/esp-idf/components/newlib/locks.c:138 Backtrace:0x40083063:0x3ffd93900x4002c1ed:0x3ffd93b0 0x40032c6e:0x3ffd93d0 0x400250df:0x3ffd9440 0x40025229:0x3ffd9470 0x400e941a:0x3ffd9490 0x400ec479:0x3ffd97a0 0x400f3601:0x3ffd97d0 0x400316f9:0x3ffd9800 0x400dc2ad:0x3ffd9850 0x400dc2d7:0x3ffd98d0 0x40027daf:0x3ffd9920 0x40028f7d:0x3ffd9990 0x40094c30:0x3ffd99b0 0x40032b55:0x3ffd99d0 0x400c7fb1:0x3ffd99f0 0x400c7fd6:0x3ffd9a10 0x400c8238:0x3ffd9a30 0x400c8a5b:0x3ffd9a50 0x400caa09:0x3ffd9a70 0x400f1f8d:0x3ffd9a90 0x400345de:0x3ffd9ab0 0x4002ec09:0x3ffd9ae0 0x40083063: panic_abort at C:/Users/Administrator/Desktop/esp-idf/components/esp_system/panic.c:379 0x4002c1ed: esp_system_abort at C:/Users/Administrator/Desktop/esp-idf/components/esp_system/esp_system.c:126 0x40032c6e: abort at C:/Users/Administrator/Desktop/esp-idf/components/newlib/abort.c:46 0x400250df: lock_acquire_generic at C:/Users/Administrator/Desktop/esp-idf/components/newlib/locks.c:138 0x40025229: _lock_acquire_recursive at C:/Users/Administrator/Desktop/esp-idf/components/newlib/locks.c:166 0x400e941a: _vfprintf_r at /builds/idf/crosstool-NG/.build/HOST-x86_64-w64-mingw32/xtensa-esp32s2-elf/src/newlib/newlib/libc/stdio/vfprintf.c:853 (discriminator 2) 0x400ec479: vprintf at /builds/idf/crosstool-NG/.build/HOST-x86_64-w64-mingw32/xtensa-esp32s2-elf/src/newlib/newlib/libc/stdio/vprintf.c:34 (discriminator 5) 0x400f3601: esp_log_writev at C:/Users/Administrator/Desktop/esp-idf/components/log/log.c:181 0x400316f9: esp_log_write at C:/Users/Administrator/Desktop/esp-idf/components/log/log.c:191 0x400dc2ad: lib_printf at C:/Users/Administrator/Desktop/esp-idf/components/esp_wifi/src/lib_printf.c:47 (discriminator 13) 0x400dc2d7: phy_printf at C:/Users/Administrator/Desktop/esp-idf/components/esp_wifi/src/lib_printf.c:57 0x40027daf: phy_i2c_init1 at ??:? 0x40028f7d: phy_wakeup_init at ??:? 0x40094c30: esp_phy_enable at C:/Users/Administrator/Desktop/esp-idf/components/esp_wifi/src/phy_init.c:240 0x40032b55: wifi_rf_phy_enable at ??:? 0x400c7fb1: lmac_stop_hw_txq at ??:? 0x400c7fd6: lmac_stop_hw_txq at ??:? 0x400c8238: pm_update_by_connectionless_status at ??:? 0x400c8a5b: pm_connectionless_wake_interval_timeout_process at ??:? 0x400caa09: dbg_lmac_ps_statis_reset at ??:? 0x400f1f8d: pp_timer_do_process at ??:? 0x400345de: ppTask at ??:? 0x4002ec09: vPortTaskWrapper at C:/Users/Administrator/Desktop/esp-idf/components/freertos/port/xtensa/port.c:168 |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
945 浏览 0 评论
1672 浏览 0 评论
请问一下我想用ESP8685直接替换ESP8266而不用写程序,可以让ESP8685直接通过之前ESP8266的外挂的flash运行程序吗
1330 浏览 1 评论
1233 浏览 1 评论
5021 浏览 2 评论
为blufi_device设置自定义名称,但是无法修改,为什么?
1254浏览 4评论
请问ESP32-S2-WROOM怎么获得ESP32-S2外接FLASH的唯一序列号?
927浏览 3评论
2338浏览 3评论
ESP-IDF的VScode插件的build按钮点击会报错的原因?
2528浏览 3评论
ESP-Jumpstart例程中第5个工程:5_cloud连接报错是哪里的问题?
1052浏览 2评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 12:31 , Processed in 0.646996 second(s), Total 70, Slave 53 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
927
