We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I use the IDF4.4.4 with this default SDK config.
There are two issue:
1024 might be not enough for sd_enqueue_proc, 1536 seems fine. BaseType_t res = xTaskCreatePinnedToCore(&sd_enqueue_proc, "SD Enq", 1024, nullptr, 1, &s_sd_enqueue_task, core);
BaseType_t res = xTaskCreatePinnedToCore(&sd_enqueue_proc, "SD Enq", 1024, nullptr, 1, &s_sd_enqueue_task, core);
$ idf.py -p /dev/ttyUSB0 flash monitor Executing action: flash Running ninja in directory /home/daniel/Work/esp32-cam-fpv/air_firmware/build Executing "ninja flash"... [1/5] cd /home/daniel/Work/esp32-cam-fpv/air_firmware/build/esp-idf/esptool_py && ...tion-table.bin /home/daniel/Work/esp32-cam-fpv/air_firmware/build/air_firmware.bin air_firmware.bin binary size 0xb9010 bytes. Smallest app partition is 0x100000 bytes. 0x46ff0 bytes (28%) free. [2/5] Performing build step for 'bootloader' [1/1] cd /home/daniel/Work/esp32-cam-fpv/air_firmware/build/bootloader/esp-idf/esptool_py && /home/daniel/.espressif/python_env/idf4.4_py3.8_env/bin/python /home/daniel/Work/esp-sdk/esp-idf-v4.4.4/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 /home/daniel/Work/esp32-cam-fpv/air_firmware/build/bootloader/bootloader.bin Bootloader binary size 0x63b0 bytes. 0xc50 bytes (11%) free. [2/3] cd /home/daniel/Work/esp-sdk/esp-idf-v4.4.4/components/esptool_py && /usr/bi...ome/daniel/Work/esp-sdk/esp-idf-v4.4.4/components/esptool_py/run_serial_tool.cmake esptool.py esp32 -p /dev/ttyUSB0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 40m --flash_size 2MB 0x1000 bootloader/bootloader.bin 0x10000 air_firmware.bin 0x8000 partition_table/partition-table.bin esptool.py v3.3.2 Serial port /dev/ttyUSB0 Connecting.......... Chip is ESP32-D0WD-V3 (revision 3) Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None Crystal is 40MHz MAC: e0:5a:1b:6b:d5:74 Uploading stub... Running stub... Stub running... Changing baud rate to 460800 Changed. Configuring flash size... Flash will be erased from 0x00001000 to 0x00007fff... Flash will be erased from 0x00010000 to 0x000c9fff... Flash will be erased from 0x00008000 to 0x00008fff... Compressed 25520 bytes to 15998... Writing at 0x00001000... (100 %) Wrote 25520 bytes (15998 compressed) at 0x00001000 in 1.2 seconds (effective 168.2 kbit/s)... Hash of data verified. Compressed 757776 bytes to 474248... Writing at 0x00010000... (3 %) Writing at 0x0001c116... (6 %) Writing at 0x0002760a... (10 %) Writing at 0x0003200b... (13 %) Writing at 0x000376a1... (17 %) Writing at 0x0003d876... (20 %) Writing at 0x0004343b... (24 %) Writing at 0x0004923c... (27 %) Writing at 0x0004ec06... (31 %) Writing at 0x0005482c... (34 %) Writing at 0x00059e61... (37 %) Writing at 0x0005f118... (41 %) Writing at 0x00064504... (44 %) Writing at 0x000698ca... (48 %) Writing at 0x0006ef0d... (51 %) Writing at 0x0007483c... (55 %) Writing at 0x0007a77a... (58 %) Writing at 0x000801b9... (62 %) Writing at 0x00085a47... (65 %) Writing at 0x0008b169... (68 %) Writing at 0x00090829... (72 %) Writing at 0x00096c96... (75 %) Writing at 0x0009c716... (79 %) Writing at 0x000a4812... (82 %) Writing at 0x000ad347... (86 %) Writing at 0x000b3020... (89 %) Writing at 0x000b87d3... (93 %) Writing at 0x000be1e2... (96 %) Writing at 0x000c3cf7... (100 %) Wrote 757776 bytes (474248 compressed) at 0x00010000 in 11.7 seconds (effective 517.7 kbit/s)... Hash of data verified. Compressed 3072 bytes to 103... Writing at 0x00008000... (100 %) Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.1 seconds (effective 217.4 kbit/s)... Hash of data verified. Leaving... Hard resetting via RTS pin... Executing action: monitor Running idf_monitor in directory /home/daniel/Work/esp32-cam-fpv/air_firmware Executing "/home/daniel/.espressif/python_env/idf4.4_py3.8_env/bin/python /home/daniel/Work/esp-sdk/esp-idf-v4.4.4/tools/idf_monitor.py -p /dev/ttyUSB0 -b 115200 --toolchain-prefix xtensa-esp32-elf- --target esp32 --revision 0 /home/daniel/Work/esp32-cam-fpv/air_firmware/build/air_firmware.elf -m '/home/daniel/.espressif/python_env/idf4.4_py3.8_env/bin/python' '/home/daniel/Work/esp-sdk/esp-idf-v4.4.4/tools/idf.py' '-p' '/dev/ttyUSB0'"... --- idf_monitor on /dev/ttyUSB0 115200 --- --- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H --- xx▒▒▒x▒x▒x▒▒xxx▒▒▒x▒x▒x▒▒xxx▒▒▒x▒x▒x▒▒xxx▒▒▒x▒x▒x▒▒xxx▒▒▒x▒x▒x▒▒xxx▒▒▒x▒x▒x▒▒xxx▒▒▒x▒x▒x▒▒xxx▒▒▒x▒x▒x▒▒xets Jul▒ets Jul▒ets Jul▒ets Jul▒ets Jul▒ets Jul▒ets Jul▒ets Jul▒ets Jul▒ets Jul▒ets Jul▒ets Jul▒ets Jul▒ets Jul▒ets Jul▒ets Jul▒ets Jul▒ets Jul▒ets Jul 29 2019 12:21:46 rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0030,len:6664 load:0x40078000,len:14944 load:0x40080400,len:3816 0x40080400: _init at ??:? entry 0x40080698 I (27) boot: ESP-IDF v4.4.4 2nd stage bootloader I (27) boot: compile time 09:05:29 I (27) boot: chip revision: v3.0 I (30) boot_comm: chip revision: 3, min. bootloader chip revision: 0 I (37) boot.esp32: SPI Speed : 40MHz I (42) boot.esp32: SPI Mode : DIO I (47) boot.esp32: SPI Flash Size : 2MB I (51) boot: Enabling RNG early entropy source... I (57) boot: Partition Table: I (60) boot: ## Label Usage Type ST Offset Length I (67) boot: 0 nvs WiFi data 01 02 00009000 00006000 I (75) boot: 1 phy_init RF data 01 01 0000f000 00001000 I (82) boot: 2 factory factory app 00 00 00010000 00100000 I (90) boot: End of partition table I (94) boot_comm: chip revision: 3, min. application chip revision: 0 I (101) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=1b4bch (111804) map I (150) esp_image: segment 1: paddr=0002b4e4 vaddr=3ffb0000 size=043fch ( 17404) load I (157) esp_image: segment 2: paddr=0002f8e8 vaddr=40080000 size=00730h ( 1840) load I (158) esp_image: segment 3: paddr=00030020 vaddr=400d0020 size=80a88h (526984) map I (355) esp_image: segment 4: paddr=000b0ab0 vaddr=40080730 size=18538h ( 99640) load I (408) boot: Loaded app from partition at offset 0x10000 I (408) boot: Disabling RNG early entropy source... I (420) cpu_start: Pro cpu up. I (420) cpu_start: Starting app cpu, entry point is 0x40081550 0x40081550: call_start_cpu1 at /home/daniel/Work/esp-sdk/esp-idf-v4.4.4/components/esp_system/port/cpu_start.c:148 I (0) cpu_start: App cpu up. I (437) cpu_start: Pro cpu start user code I (437) cpu_start: cpu freq: 160000000 I (437) cpu_start: Application information: I (441) cpu_start: Project name: air_firmware I (446) cpu_start: App version: 9adb40b I (451) cpu_start: Compile time: Feb 6 2023 09:05:14 I (458) cpu_start: ELF file SHA256: 55c3a3b9f7f4ce65... I (463) cpu_start: ESP-IDF: v4.4.4 I (469) heap_init: Initializing. RAM available for dynamic allocation: I (476) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM I (482) heap_init: At 3FFB8A38 len 000275C8 (157 KiB): DRAM I (488) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM I (494) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM I (501) heap_init: At 40098C68 len 00007398 (28 KiB): IRAM I (508) spi_flash: detected chip: gd I (511) spi_flash: flash io: dio W (515) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header. I (530) cpu_start: Starting scheduler on PRO CPU. I (0) cpu_start: Starting scheduler on APP CPU. Initializing... MEMORY at start: Heap summary for capabilities 0x00000004: At 0x3ffae6e0 len 6432 free 4 allocated 5912 min_free 4 largest_free_block 0 alloc_blocks 34 free_blocks 0 total_blocks 34 At 0x3ffb8a38 len 161224 free 136396 allocated 23780 min_free 136396 largest_free_block 131072 alloc_blocks 27 free_blocks 1 total_blocks 28 At 0x3ffe0440 len 15072 free 14656 allocated 0 min_free 14656 largest_free_block 14336 alloc_blocks 0 free_blocks 1 total_blocks 1 At 0x3ffe4350 len 113840 free 112968 allocated 0 min_free 112968 largest_free_block 110592 alloc_blocks 0 free_blocks 1 total_blocks 1 Totals: free 264024 allocated 29692 min_free 264024 largest_free_block 131072 I (802) gpio: GPIO[33]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 MEMORY after fec: Heap summary for capabilities 0x00000004: At 0x3ffae6e0 len 6432 free 4 allocated 5912 min_free 4 largest_free_block 0 alloc_blocks 34 free_blocks 0 total_blocks 34 At 0x3ffb8a38 len 161224 free 4 allocated 159092 min_free 4 largest_free_block 0 alloc_blocks 297 free_blocks 0 total_blocks 297 At 0x3ffe0440 len 15072 free 1348 allocated 13140 min_free 1348 largest_free_block 1280 alloc_blocks 42 free_blocks 1 total_blocks 43 At 0x3ffe4350 len 113840 free 104768 allocated 8192 min_free 104768 largest_free_block 102400 alloc_blocks 2 free_blocks 1 total_blocks 3 Totals: free 106124 allocated 186336 min_free 106124 largest_free_block 102400 I (872) wifi:wifi driver task: 3ffe9364, prio:23, stack:6656, core=0 I (872) system_api: Base MAC address is not set I (872) system_api: read default base MAC address from EFUSE I (902) wifi:wifi firmware version: 6567a16 I (902) wifi:wifi certification version: v7.0 I (902) wifi:config NVS flash: enabled I (902) wifi:config nano formating: disabled I (912) wifi:Init data frame dynamic rx buffer num: 32 I (912) wifi:Init management frame dynamic rx buffer num: 32 I (922) wifi:Init management short buffer num: 32 I (922) wifi:Init dynamic tx buffer num: 32 I (932) wifi:Init static rx buffer size: 1600 I (932) wifi:Init static rx buffer num: 10 I (942) wifi:Init dynamic rx buffer num: 32 I (942) wifi_init: rx ba win: 6 I (942) wifi_init: tcpip mbox: 32 I (952) wifi_init: udp mbox: 6 I (952) wifi_init: tcp mbox: 6 I (952) wifi_init: tcp tx win: 5744 I (962) wifi_init: tcp rx win: 5744 I (962) wifi_init: tcp mss: 1440 I (972) wifi_init: WiFi IRAM OP enabled I (972) wifi_init: WiFi RX IRAM OP enabled I (982) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07 I (1082) wifi:mode : sta (e0:5a:1b:6b:d5:74) I (1082) wifi:enable tsf I (1082) wifi:Set ps type: 0 I (1082) wifi:ic_enable_sniffer MEMORY After WIFI: Heap summary for capabilities 0x00000004: At 0x3ffae6e0 len 6432 free 4 allocated 5912 min_free 4 largest_free_block 0 alloc_blocks 34 free_blocks 0 total_blocks 34 At 0x3ffb8a38 len 161224 free 4 allocated 159092 min_free 4 largest_free_block 0 alloc_blocks 297 free_blocks 0 total_blocks 297 At 0x3ffe0440 len 15072 free 4 allocated 14444 min_free 4 largest_free_block 0 alloc_blocks 52 free_blocks 0 total_blocks 52 At 0x3ffe4350 len 113840 free 71328 allocated 41428 min_free 71300 largest_free_block 69632 alloc_blocks 53 free_blocks 2 total_blocks 55 Totals: free 71340 allocated 220876 min_free 71312 largest_free_block 69632 Initialized I (1142) gpio: GPIO[5]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1152) gpio: GPIO[18]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1162) gpio: GPIO[19]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1172) gpio: GPIO[21]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1182) gpio: GPIO[22]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1192) gpio: GPIO[23]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1202) gpio: GPIO[25]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1212) gpio: GPIO[34]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1222) gpio: GPIO[35]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1232) gpio: GPIO[36]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1242) gpio: GPIO[39]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1252) sccb: pin_sda 26 pin_scl 27 I (1252) gpio: GPIO[32]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 I (1422) camera: Detected OV2640 camera I (1422) camera: Line width (for DMA): 6400 bytes I (1422) camera: DMA buffer size: 3200, DMA buffers per line: 2 I (1422) camera: DMA buffer count: 8 I (1432) camera: DMA buffer total: 25600 bytes I (1432) camera: Allocating DMA buffer #0, size=3200 I (1442) camera: Allocating DMA buffer #1, size=3200 I (1442) camera: Allocating DMA buffer #2, size=3200 I (1452) camera: Allocating DMA buffer #3, size=3200 I (1452) camera: Allocating DMA buffer #4, size=3200 I (1462) camera: Allocating DMA buffer #5, size=3200 I (1462) camera: Allocating DMA buffer #6, size=3200 I (1472) camera: Allocating DMA buffer #7, size=3200 MEMORY Before Loop: Heap summary for capabilities 0x00000004: At 0x3ffae6e0 len 6432 free 4 allocated 5912 min_free 4 largest_free_block 0 alloc_blocks 34 free_blocks 0 total_blocks 34 At 0x3ffb8a38 len 161224 free 4 allocated 159092 min_free 4 largest_free_block 0 alloc_blocks 297 free_blocks 0 total_blocks 297 At 0x3ffe0440 len 15072 free 4 allocated 14444 min_free 4 largest_free_block 0 alloc_blocks 52 free_blocks 0 total_blocks 52 At 0x3ffe4350 len 113840 free 2464 allocated 110100 min_free 2464 largest_free_block 1600 alloc_blocks 101 free_blocks 2 total_blocks 103 Totals: free 4112 allocated 287916 min_free 2476 largest_free_block 1600 S: 94464, R: 0, E: 0, D: 0, % : 97 | FPS: 2, D: 178130 | D: 0, E: 0 S: 1546848, R: 0, E: 0, D: 0, % : 97 | FPS: 42, D: 3129186 | D: 0, E: 0 S: 1712160, R: 0, E: 0, D: 0, % : 95 | FPS: 46, D: 2088226 | D: 0, E: 0 S: 1530612, R: 0, E: 0, D: 0, % : 95 | FPS: 42, D: 1719292 | D: 0, E: 0 S: 1591128, R: 0, E: 0, D: 0, % : 95 | FPS: 46, D: 1885012 | D: 0, E: 0 S: 1545372, R: 0, E: 0, D: 0, % : 95 | FPS: 42, D: 1709435 | D: 0, E: 0 S: 1566036, R: 0, E: 0, D: 0, % : 95 | FPS: 41, D: 1710876 | D: 0, E: 0 Wifi rate changed from 9 to 13 Camera resolution changed from 3 to 0 Target FPS changed from 30 to 0 Camera quality from 8 to 63 S: 1064196, R: 350, E: 0, D: 0, % : 0 | FPS: 74, D: 939872 | D: 0, E: 0 S: 411804, R: 420, E: 0, D: 0, % : 0 | FPS: 93, D: 203399 | D: 0, E: 0 S: 411804, R: 420, E: 0, D: 0, % : 4 | FPS: 93, D: 204859 | D: 0, E: 0 S: 413280, R: 420, E: 0, D: 0, % : 0 | FPS: 93, D: 203624 | D: 0, E: 0 S: 408852, R: 350, E: 0, D: 0, % : 0 | FPS: 93, D: 202705 | D: 0, E: 0 S: 411804, R: 420, E: 0, D: 0, % : 0 | FPS: 93, D: 204502 | D: 0, E: 0 S: 407376, R: 420, E: 0, D: 0, % : 0 | FPS: 92, D: 202271 | D: 0, E: 0 S: 410328, R: 420, E: 0, D: 0, % : 0 | FPS: 92, D: 203578 | D: 0, E: 0 S: 408852, R: 350, E: 0, D: 0, % : 0 | FPS: 93, D: 202812 | D: 0, E: 0 S: 407376, R: 420, E: 0, D: 0, % : 0 | FPS: 92, D: 202108 | D: 0, E: 0 S: 407376, R: 350, E: 0, D: 0, % : 0 | FPS: 92, D: 202121 | D: 0, E: 0 S: 405900, R: 350, E: 0, D: 0, % : 2 | FPS: 92, D: 201994 | D: 0, E: 0 S: 407376, R: 420, E: 0, D: 0, % : 0 | FPS: 91, D: 201160 | D: 0, E: 0 S: 404424, R: 420, E: 0, D: 0, % : 0 | FPS: 92, D: 200264 | D: 0, E: 0 S: 405900, R: 420, E: 0, D: 0, % : 0 | FPS: 91, D: 201039 | D: 0, E: 0 S: 404424, R: 420, E: 0, D: 0, % : 0 | FPS: 92, D: 200198 | D: 0, E: 0 S: 402948, R: 420, E: 0, D: 0, % : 0 | FPS: 91, D: 199513 | D: 0, E: 0 S: 405900, R: 420, E: 0, D: 0, % : 0 | FPS: 91, D: 200891 | D: 0, E: 0 S: 404424, R: 420, E: 0, D: 0, % : 0 | FPS: 92, D: 199844 | D: 0, E: 0 S: 402948, R: 420, E: 0, D: 0, % : 0 | FPS: 91, D: 199188 | D: 0, E: 0 S: 402948, R: 420, E: 0, D: 0, % : 0 | FPS: 91, D: 199350 | D: 0, E: 0 S: 402948, R: 420, E: 0, D: 0, % : 0 | FPS: 91, D: 199347 | D: 0, E: 0 Mounting SD card... I (30622) gpio: GPIO[13]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 Guru Meditation Error: Core 0 panic'ed (StoreProhibited). Exception was unhandled. Core 0 register dump: PC : 0x4000c2e4 PS : 0x00060a30 A0 : 0x800d6834 A1 : 0x3fff9450 A2 : 0x00000000 A3 : 0x3ffb91ac A4 : 0x00000320 A5 : 0x00000000 A6 : 0xe0ffd8ff A7 : 0x464a1000 A8 : 0x00000000 A9 : 0x3fff9400 A10 : 0x3ffb4668 A11 : 0x3ffb4668 A12 : 0x00000000 A13 : 0x3ffb904c A14 : 0x00000001 A15 : 0x00060c23 SAR : 0x00000000 EXCCAUSE: 0x0000001d EXCVADDR: 0x00000000 LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0x00000031 Backtrace: 0x4000c2e1:0x3fff9450 0x400d6831:0x3fff9460 0x4008eb69:0x3fff9480 0x400d6831: Circular_Buffer::write(void const*, unsigned int) at /home/daniel/Work/esp32-cam-fpv/components/common/circular_buffer.h:56 (inlined by) sd_enqueue_proc at /home/daniel/Work/esp32-cam-fpv/air_firmware/build/../main/main.cpp:604 0x4008eb69: vPortTaskWrapper at /home/daniel/Work/esp-sdk/esp-idf-v4.4.4/components/freertos/port/xtensa/port.c:142 ELF file SHA256: 55c3a3b9f7f4ce65 Rebooting... ets Jul 29 2019 12:21:46 rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0030,len:6664 load:0x40078000,len:14944 load:0x40080400,len:3816 0x40080400: _init at ??:? entry 0x40080698 I (27) boot: ESP-IDF v4.4.4 2nd stage bootloader I (27) boot: compile time 09:05:29 I (27) boot: chip revision: v3.0 I (30) boot_comm: chip revision: 3, min. bootloader chip revision: 0 I (37) boot.esp32: SPI Speed : 40MHz I (42) boot.esp32: SPI Mode : DIO I (46) boot.esp32: SPI Flash Size : 2MB Fatal exception (29): StoreProhibited epc1=0x4007af2f, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00040064, depc=0x00000000 ets Jul 29 2019 12:21:46 rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0030,len:6664 load:0x40078000,len:14944 load:0x40080400,len:3816 0x40080400: _init at ??:? entry 0x40080698 I (28) boot: ESP-IDF v4.4.4 2nd stage bootloader I (28) boot: compile time 09:05:29 I (28) boot: chip revision: v3.0 I (31) boot_comm: chip revision: 3, min. bootloader chip revision: 0 I (38) boot.esp32: SPI Speed : 40MHz I (42) boot.esp32: SPI Mode : DIO I (47) boot.esp32: SPI Flash Size : 2MB I (52) boot: Enabling RNG early entropy source... I (57) boot: Partition Table: I (60) boot: ## Label Usage Type ST Offset Length I (68) boot: 0 nvs WiFi data 01 02 00009000 00006000 I (75) boot: 1 phy_init RF data 01 01 0000f000 00001000 I (83) boot: 2 factory factory app 00 00 00010000 00100000 I (90) boot: End of partition table I (94) boot_comm: chip revision: 3, min. application chip revision: 0 I (101) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=1b4bch (111804) map I (151) esp_image: segment 1: paddr=0002b4e4 vaddr=3ffb0000 size=043fch ( 17404) load I (158) esp_image: segment 2: paddr=0002f8e8 vaddr=40080000 size=00730h ( 1840) load I (159) esp_image: segment 3: paddr=00030020 vaddr=400d0020 size=80a88h (526984) map I (355) esp_image: segment 4: paddr=000b0ab0 vaddr=40080730 size=18538h ( 99640) load I (409) boot: Loaded app from partition at offset 0x10000 I (409) boot: Disabling RNG early entropy source... I (420) cpu_start: Pro cpu up. I (421) cpu_start: Starting app cpu, entry point is 0x40081550 0x40081550: call_start_cpu1 at /home/daniel/Work/esp-sdk/esp-idf-v4.4.4/components/esp_system/port/cpu_start.c:148 I (0) cpu_start: App cpu up. I (437) cpu_start: Pro cpu start user code I (437) cpu_start: cpu freq: 160000000 I (437) cpu_start: Application information: I (441) cpu_start: Project name: air_firmware I (447) cpu_start: App version: 9adb40b I (452) cpu_start: Compile time: Feb 6 2023 09:05:14 I (458) cpu_start: ELF file SHA256: 55c3a3b9f7f4ce65... I (464) cpu_start: ESP-IDF: v4.4.4 I (469) heap_init: Initializing. RAM available for dynamic allocation: I (476) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM I (482) heap_init: At 3FFB8A38 len 000275C8 (157 KiB): DRAM I (488) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM I (495) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM I (501) heap_init: At 40098C68 len 00007398 (28 KiB): IRAM I (509) spi_flash: detected chip: gd I (512) spi_flash: flash io: dio W (515) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header. I (530) cpu_start: Starting scheduler on PRO CPU. I (0) cpu_start: Starting scheduler on APP CPU. Initializing... MEMORY at start: Heap summary for capabilities 0x00000004: At 0x3ffae6e0 len 6432 free 4 allocated 5912 min_free 4 largest_free_block 0 alloc_blocks 34 free_blocks 0 total_blocks 34 At 0x3ffb8a38 len 161224 free 136396 allocated 23780 min_free 136396 largest_free_block 131072 alloc_blocks 27 free_blocks 1 total_blocks 28 At 0x3ffe0440 len 15072 free 14656 allocated 0 min_free 14656 largest_free_block 14336 alloc_blocks 0 free_blocks 1 total_blocks 1 At 0x3ffe4350 len 113840 free 112968 allocated 0 min_free 112968 largest_free_block 110592 alloc_blocks 0 free_blocks 1 total_blocks 1 Totals: free 264024 allocated 29692 min_free 264024 largest_free_block 131072 I (802) gpio: GPIO[33]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 MEMORY after fec: Heap summary for capabilities 0x00000004: At 0x3ffae6e0 len 6432 free 4 allocated 5912 min_free 4 largest_free_block 0 alloc_blocks 34 free_blocks 0 total_blocks 34 At 0x3ffb8a38 len 161224 free 4 allocated 159092 min_free 4 largest_free_block 0 alloc_blocks 297 free_blocks 0 total_blocks 297 At 0x3ffe0440 len 15072 free 1348 allocated 13140 min_free 1348 largest_free_block 1280 alloc_blocks 42 free_blocks 1 total_blocks 43 At 0x3ffe4350 len 113840 free 104768 allocated 8192 min_free 104768 largest_free_block 102400 alloc_blocks 2 free_blocks 1 total_blocks 3 Totals: free 106124 allocated 186336 min_free 106124 largest_free_block 102400 I (872) wifi:wifi driver task: 3ffe9364, prio:23, stack:6656, core=0 I (872) system_api: Base MAC address is not set I (872) system_api: read default base MAC address from EFUSE I (902) wifi:wifi firmware version: 6567a16 I (902) wifi:wifi certification version: v7.0 I (902) wifi:config NVS flash: enabled I (902) wifi:config nano formating: disabled I (912) wifi:Init data frame dynamic rx buffer num: 32 I (912) wifi:Init management frame dynamic rx buffer num: 32 I (922) wifi:Init management short buffer num: 32 I (922) wifi:Init dynamic tx buffer num: 32 I (932) wifi:Init static rx buffer size: 1600 I (932) wifi:Init static rx buffer num: 10 I (942) wifi:Init dynamic rx buffer num: 32 I (942) wifi_init: rx ba win: 6 I (942) wifi_init: tcpip mbox: 32 I (952) wifi_init: udp mbox: 6 I (952) wifi_init: tcp mbox: 6 I (952) wifi_init: tcp tx win: 5744 I (962) wifi_init: tcp rx win: 5744 I (962) wifi_init: tcp mss: 1440 I (972) wifi_init: WiFi IRAM OP enabled I (972) wifi_init: WiFi RX IRAM OP enabled I (982) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07 I (1082) wifi:mode : sta (e0:5a:1b:6b:d5:74) I (1082) wifi:enable tsf I (1082) wifi:Set ps type: 0 I (1092) wifi:ic_enable_sniffer MEMORY After WIFI: Heap summary for capabilities 0x00000004: At 0x3ffae6e0 len 6432 free 4 allocated 5912 min_free 4 largest_free_block 0 alloc_blocks 34 free_blocks 0 total_blocks 34 At 0x3ffb8a38 len 161224 free 4 allocated 159092 min_free 4 largest_free_block 0 alloc_blocks 297 free_blocks 0 total_blocks 297 At 0x3ffe0440 len 15072 free 4 allocated 14444 min_free 4 largest_free_block 0 alloc_blocks 52 free_blocks 0 total_blocks 52 At 0x3ffe4350 len 113840 free 71328 allocated 41428 min_free 71300 largest_free_block 69632 alloc_blocks 53 free_blocks 2 total_blocks 55 Totals: free 71340 allocated 220876 min_free 71312 largest_free_block 69632 Initialized I (1152) gpio: GPIO[5]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1152) gpio: GPIO[18]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1162) gpio: GPIO[19]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1172) gpio: GPIO[21]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1182) gpio: GPIO[22]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1192) gpio: GPIO[23]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1202) gpio: GPIO[25]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1212) gpio: GPIO[34]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1222) gpio: GPIO[35]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1232) gpio: GPIO[36]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1242) gpio: GPIO[39]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1252) sccb: pin_sda 26 pin_scl 27 I (1252) gpio: GPIO[32]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 I (1422) camera: Detected OV2640 camera I (1422) camera: Line width (for DMA): 6400 bytes I (1422) camera: DMA buffer size: 3200, DMA buffers per line: 2 I (1422) camera: DMA buffer count: 8 I (1432) camera: DMA buffer total: 25600 bytes I (1432) camera: Allocating DMA buffer #0, size=3200 I (1442) camera: Allocating DMA buffer #1, size=3200 I (1442) camera: Allocating DMA buffer #2, size=3200 I (1452) camera: Allocating DMA buffer #3, size=3200 I (1452) camera: Allocating DMA buffer #4, size=3200 I (1462) camera: Allocating DMA buffer #5, size=3200 I (1462) camera: Allocating DMA buffer #6, size=3200 I (1472) camera: Allocating DMA buffer #7, size=3200 MEMORY Before Loop: Heap summary for capabilities 0x00000004: At 0x3ffae6e0 len 6432 free 4 allocated 5912 min_free 4 largest_free_block 0 alloc_blocks 34 free_blocks 0 total_blocks 34 At 0x3ffb8a38 len 161224 free 4 allocated 159092 min_free 4 largest_free_block 0 alloc_blocks 297 free_blocks 0 total_blocks 297 At 0x3ffe0440 len 15072 free 4 allocated 14444 min_free 4 largest_free_block 0 alloc_blocks 52 free_blocks 0 total_blocks 52 At 0x3ffe4350 len 113840 free 4100 allocated 108468 min_free 2464 largest_free_block 1600 alloc_blocks 100 free_blocks 3 total_blocks 103 Totals: free 4112 allocated 287916 min_free 2476 largest_free_block 1600 S: 87084, R: 0, E: 0, D: 0, % : 97 | FPS: 1, D: 133577 | D: 0, E: 0 S: 1359396, R: 0, E: 0, D: 0, % : 97 | FPS: 39, D: 3066468 | D: 0, E: 0 S: 1526184, R: 0, E: 0, D: 0, % : 95 | FPS: 40, D: 1909868 | D: 0, E: 0 S: 1490760, R: 0, E: 0, D: 0, % : 97 | FPS: 40, D: 1743754 | D: 0, E: 0
The text was updated successfully, but these errors were encountered:
[jeanlemotan#31] Fix IDF4.4.4 sd_enqueue_proc stack issue
761412b
Fixed in 29fd749
Sorry, something went wrong.
Is this airfirmware should be upgrde with gs together?
Since my old airunit firmware works with gs(laptop version), and it give black screen when use this fixed version.
commit 3dfd013147004bfb3277d8999f9d58e77673b0c6 (HEAD -> jeanlemotan-main, origin/jeanlemotan-main, origin/HEAD) Author: jeanlemotan <[email protected]> Date: Mon Feb 6 10:35:58 2023 +0100 GS Fixes (contributed)
My gs version changes:
a) ImGui_ImplSDL2_SetMouseEnabled(true); b) glFlush(); c) wifi card in app_main
No branches or pull requests
I use the IDF4.4.4 with this default SDK config.
There are two issue:
1024 might be not enough for sd_enqueue_proc, 1536 seems fine.
BaseType_t res = xTaskCreatePinnedToCore(&sd_enqueue_proc, "SD Enq", 1024, nullptr, 1, &s_sd_enqueue_task, core);
The text was updated successfully, but these errors were encountered: