Bootloops and Other Things

Joe_McPlumber
Posts: 1
Joined: Fri Feb 16, 2024 10:10 pm

Bootloops and Other Things

Postby Joe_McPlumber » Fri Feb 16, 2024 10:38 pm

I wrote to Customer Service and they responded that i should post at Adafruit. So i went there and the first post i saw similar to my issue, the fellow was advised he should probably post to espressif directly. I hope this is appropriate. I'm just gonna post my email as i sent it to support.

==============

Hello,

I purchased a ESP32-S3-BOX-3 (order#: 3189583-7822121818) and received it approximately 12/18/2023 and i have had nothing but trouble with it. Unfortunately i can't easily specify the troubles because i got frustrated and put it aside, but i will try to recall broadly:

  • The device would not reconcile with the apps or online tools because "Invalid Chip ID". This was with me simply following instructions as given, i.e. scanning QR codes and downloading app and so forth. I had made no alterations yet at that time.
  • I flashed it at website (espressif.github.io/esp-launchpad/) and it went into a bootloop.
  • Then i flashed it again and it refused to boot at all.
That's when i got frustrated and didn't touch it for a month. So i got it back out last night and tried flashing it once more at website and it was successful but went into a bootloop. This time however, the bootloop resolved when i unplugged the USB cable. The device worked fine for several hours, but when i woke in the morning it was bootlooping again.

I was very eager to get to working with this device but i can't even begin when i don't have baseline stability. Please help me sort this? I have some experience coding in Arduino and with other firmwares like Tasmota, and i can follow instructions. I have esptool installed on my PC. I just need direction to get started.

Thank you,
- jb

PS i've attached a log from one of my initial flashing attempts. I also plugged it in and connected it to website, that log is attached as well. I hope these can help isolate the issue.

-- flash_log --

Code: Select all

esptool.js 
Serial port WebSerial VendorID 0x303a ProductID 0x1001 
Connecting.... 
Detecting chip type... ESP32-S3 
Chip is ESP32-S3 
Features: Wi-Fi,BLE 
Crystal is 40MHz 
MAC: 30:30:f9:5a:bb:64 
Uploading stub... 
Running stub... 
Stub running... 
Changing baudrate to 921600 
Changed 

Manufacturer: c8 
Device: 6018 
Detected flash size: 16MB 

Warning: Image file at 0x0 doesn't look like an image file, so not changing any flash settings. 

Compressed 1460656 bytes to 746190... 

Writing at 0x0... (2%) 
Writing at 0x21fb1... (4%) 
Writing at 0x2d8c5... (6%) 
<....>
Writing at 0x15a1fa... (97%) 
Writing at 0x16102d... (100%) 
Wrote 1460656 bytes (746190 compressed) at 0x0 in 9.134 seconds. 

Leaving... 
ESP-ROM:esp32s3-20210327 
Build:Mar 27 2021 
rst:0x15 (USB_UART_CHIP_RESET),boot:0x8 (SPI_FAST_FLASH_BOOT) 
Saved PC:0x40378c15 
Invalid chip id. Expected 9 read 5. Bootloader for wrong chip? 
ets_main.c 329  
ESP-ROM:esp32s3-20210327 
Build:Mar 27 2021 
rst:0x15 (USB_UART_CHIP_RESET),boot:0x8 (SPI_FAST_FLASH_BOOT) 
Saved PC:0x40043ac8 
Invalid chip id. Expected 9 read 5. Bootloader for wrong chip? 
ets_main.c 329  
ESP-ROM:esp32s3-20210327 
Build:Mar 27 2021 
rst:0x7 (TG0WDT_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT) 
Saved PC:0x40043ac8 
Invalid chip id. Expected 9 read 5. Bootloader for wrong chip? 
ets_main.c 329  
ESP-ROM:esp32s3-20210327 
Build:Mar 27 2021 
rst:0x7 (TG0WDT_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT) 
Saved PC:0x40043ac8 
Invalid chip id. Expected 9 read 5. Bootloader for wrong chip? 
ets_main.c 329  
ESP-ROM:esp32s3-20210327 
Invalid chip id. Expected 9 read 5. Bootloader for wrong chip? 
ets_main.c 329  
ESP-ROM:esp32s3-20210327 
Build:Mar 27 2021 
rst:0x7 (TG0WDT_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT) 
Saved PC:0x40043ac8 
Invalid chip id. Expected 9 read 5. Bootloader for wrong chip? 
ets_main.c 329  
ESP-ROM:esp32s3-20210327 
Build:Mar 27 2021 
rst:0x7 (TG0WDT_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT) 
Saved PC:0x40043ac8 
Invalid chip id. Expected 9 read 5. Bootloader for wrong chip? 
ets_main.c 329  
ESP-ROM:esp32s3-20210327 
Build:Mar 27 2021 
rst:0x7 (TG0WDT_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT) 
Saved PC:0x40043ac8 
Invalid chip id. Expected 9 read 5. Bootloader for wrong chip? 

<<<REPEAT>>>
-- boot_loop --

Code: Select all

esptool.js
Serial port WebSerial VendorID 0x303a ProductID 0x1001
Connecting....
Detecting chip type... ESP32-S3
Chip is ESP32-S3
Features: Wi-Fi,BLE
Crystal is 40MHz
MAC: 30:30:f9:5a:bb:64
Uploading stub...
Running stub...
Stub running...
Changing baudrate to 921600
Changed
Manufacturer: c8
Device: 6018
Detected flash size: 16MB
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x2a (SPI_FAST_FLASH_BOOT)
Saved PC:0x40378c72
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3818,len:0x18ec
load:0x403c9700,len:0x4
load:0x403c9704,len:0xd88
load:0x403cc700,len:0x2f98
entry 0x403c9934

I (19) boot: ESP-IDF v5.1.2-691-g7380f96017 2nd stage bootloader
I (19) boot: compile time Feb  7 2024 09:56:50
I (19) boot: Multicore bootloader
I (19) boot: chip revision: v0.2
I (19) qio_mode: Enabling QIO for flash chip GD
I (20) boot.esp32s3: Boot SPI Speed : 80MHz
I (20) boot.esp32s3: SPI Mode       : QIO
I (20) boot.esp32s3: SPI Flash Size : 16MB
I (20) boot: Enabling RNG early entropy source...
I (21) boot: Partition Table:
I (21) boot: ## Label            Usage          Type ST Offset   Length
I (21) boot:  0 sec_cert         Unknown data     01 06 0000d000 00003000
I (22) boot:  1 nvs              WiFi data        01 02 00010000 00006000
I (22) boot:  2 otadata          OTA data         01 00 00016000 00002000
I (22) boot:  3 phy_init         RF data          01 01 00018000 00001000
I (23) boot:  4 fctry            WiFi data        01 02 00019000 00006000
I (23) boot:  5 ota_0            OTA app          00 10 00020000 0041a000
I (24) boot:  6 storage          Unknown data     01 82 0043a000 0028a000
I (24) boot:  7 model            Unknown data     01 82 006c4000 00866000
I (25) boot: End of partition table
I (25) esp_image: segment 0: paddr=00020020 vaddr=3c180020 size=22dec8h (2285256) map
I (371) esp_image: segment 1: paddr=0024def0 vaddr=3fca3900 size=02128h (  8488) load
I (373) esp_image: segment 2: paddr=00250020 vaddr=42000020 size=170e60h (1511008) map
I (603) esp_image: segment 3: paddr=003c0e88 vaddr=3fca5a28 size=05f10h ( 24336) load
I (608) esp_image: segment 4: paddr=003c6da0 vaddr=40378000 size=1b870h (112752) load
I (630) esp_image: segment 5: paddr=003e2618 vaddr=50000000 size=00004h (     4) load
I (630) esp_image: segment 6: paddr=003e2624 vaddr=600fe000 size=0005ch (    92) load
I (643) boot: Loaded app from partition at offset 0x20000
I (643) boot: Disabling RNG early entropy source...
I (643) cpu_start: Multicore app
I (644) octal_psram: vendor id    : 0x0d (AP)
I (644) octal_psram: dev id       : 0x03 (generation 4)
I (644) octal_psram: density      : 0x05 (128 Mbit)
I (644) octal_psram: good-die     : 0x01 (Pass)
I (645) octal_psram: Latency      : 0x01 (Fixed)
I (645) octal_psram: VCC          : 0x00 (1.8V)
I (645) octal_psram: SRF          : 0x01 (Fast Refresh)
I (646) octal_psram: BurstType    : 0x01 (Hybrid Wrap)
I (646) octal_psram: BurstLen     : 0x01 (32 Byte)
I (646) octal_psram: Readlatency  : 0x02 (10 cycles@Fixed)
I (646) octal_psram: DriveStrength: 0x00 (1/1)
I (647) MSPI Timing: PSRAM timing tuning index: 6
I (648) esp_psram: Found 16MB PSRAM device
I (648) esp_psram: Speed: 80MHz
I (648) cpu_start: Pro cpu up.
I (648) cpu_start: Starting app cpu, entry point is 0x40379a54
I (0) cpu_start: App cpu up.
I (1284) esp_psram: SPI SRAM memory test OK
I (1293) cpu_start: Pro cpu start user code
I (1293) cpu_start: cpu freq: 240000000 Hz
I (1293) cpu_start: Application information:
I (1293) cpu_start: Project name:     factory_demo
I (1294) cpu_start: App version:      1
I (1294) cpu_start: Compile time:     Feb  7 2024 09:56:42
I (1294) cpu_start: ELF file SHA256:  8d649067...
I (1294) cpu_start: ESP-IDF:          v5.1.2-691-g7380f96017
I (1294) cpu_start: Min chip rev:     v0.0
I (1295) cpu_start: Max chip rev:     v0.99 
I (1295) cpu_start: Chip rev:         v0.2
I (1295) heap_init: Initializing. RAM available for dynamic allocation:
I (1295) heap_init: At 3FCB2358 len 000373B8 (220 KiB): DRAM
I (1295) heap_init: At 3FCE9710 len 00005724 (21 KiB): STACK/DRAM
I (1296) heap_init: At 600FE05C len 00001F8C (7 KiB): RTCRAM
I (1296) esp_psram: Adding pool of 16384K of PSRAM memory to heap allocator
I (1297) spi_flash: detected chip: gd
I (1297) spi_flash: flash io: qio
I (1298) sleep: Configure to isolate all GPIO pins in sleep state
I (1298) sleep: Enable automatic switching of GPIO sleep configuration
I (1298) pm: Frequency switching config: CPU_MAX: 240, APB_MAX: 80, APB_MIN: 40, Light sleep: DISABLED
I (1299) coexist: coex firmware version: 77cd7f8
I (1299) coexist: coexist rom version e7ae62f
I (1299) app_start: Starting scheduler on CPU0
I (0) app_start: Starting scheduler on CPU1
I (1300) main_task: Started on CPU0
I (1301) esp_psram: Reserving pool of 8K of internal memory for DMA/internal allocations
I (1301) main_task: Calling app_main()
I (1302) main: Compile time: Feb  7 2024 09:57:43
I (1532) ESP-BOX-3: Partition size: total: 2439971, used: 1376986
I (1533) LVGL: Starting LVGL task
I (1534) gpio: GPIO[4]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (1535) gpio: GPIO[48]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (1535) ili9341: LCD panel create success, version: 1.2.0
W (1655) ili9341: The 36h command has been used and will be overwritten by external initialization sequence
W (1655) ili9341: The 3Ah command has been used and will be overwritten by external initialization sequence
I (1658) gpio: GPIO[3]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:2 
I (1660) GT911: TouchPad_ID:0x39,0x31,0x31
I (1660) GT911: TouchPad_Config_Version:65
I (1660) button: IoT Button Version: 3.2.0
I (1661) gpio: GPIO[0]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
I (1661) button: IoT Button Version: 3.2.0
I (1661) gpio: GPIO[1]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
I (1661) button: IoT Button Version: 3.2.0
I (1671) ES8311: Work in Slave mode
I (1674) gpio: GPIO[46]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (1678) ES7210: Work in Slave mode
I (1687) ES7210: Enable ES7210_INPUT_MIC1
I (1690) ES7210: Enable ES7210_INPUT_MIC2
I (1699) I2S_IF: channel mode 0 bits:16/16 channel:2 mask:3
I (1699) I2S_IF: STD Mode 1 bits:16/16 channel:2 sample_rate:16000 mask:3
I (1719) Adev_Codec: Open codec device OK
I (1719) I2S_IF: channel mode 0 bits:16/16 channel:2 mask:3
I (1719) I2S_IF: STD Mode 0 bits:16/16 channel:2 sample_rate:16000 mask:3
I (1721) ES7210: Bits 16
I (1729) ES7210: Enable ES7210_INPUT_MIC1
I (1733) ES7210: Enable ES7210_INPUT_MIC2
I (1741) ES7210: Unmuted
I (1742) Adev_Codec: Open codec device OK
I (1742) pm: Frequency switching config: CPU_MAX: 240, APB_MAX: 80, APB_MIN: 40, Light sleep: ENABLED
I (1742) sleep: Code start at 0x42000020, total 1511007, data start at 0x3c000000, total 33554432 Bytes
I (1743) gpio: GPIO[21]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:1 
I (1743) bsp_sensor: I2C num: 0, [40, 41], speed:400000
W (1743) bsp_sensor: Sensor bottom connected
I (1743) AT581X: MoreSense AT581X: 0.1.0
I (1744) gpio: GPIO[0]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:2 
I (1746) bsp_sensor: Radar init ok
I (1746) AHT20: ASAIR AHT20    : 0.1.0
I (1747) AHT20: SUPPLY_VOLTAGE : 2.2 - 5.5V
I (1747) AHT20: TEMPERATURE    : -40.00 - 125.00℃
I (1747) bsp_sensor: Temp & humidity init ok
I (1747) main: Display LVGL demo
I (1748) ui_main: Input device type have pointer
I (1752) ui_sr: sr animation initialize
I (2265) ESP-BOX-3: Setting LCD backlight: 100%
I (2458) file_iterator: File : Dance with Me.mp3
I (2482) file_iterator: File : Canon.mp3
I (2484) main: mute setting 0, volume:70
I (2486) main: speech recognition start
I (6486) MODEL_LOADER: The storage free size is 12608 KB
I (6486) MODEL_LOADER: The partition size is 8600 KB
I (6487) MODEL_LOADER: Successfully map model partition
I (6487) AFE_SR: afe interface for speech recognition

I (6487) AFE_SR: AFE version: SR_V220727

I (6488) AFE_SR: Initial auido front-end, total channel: 3, mic num: 2, ref num: 1

I (6488) AFE_SR: aec_init: 0, se_init: 1, vad_init: 1

I (6488) AFE_SR: wakenet_init: 1

MC Quantized wakenet9: wakeNet9_v1h24_hiesp_3_0.63_0.635, tigger:v3, mode:2, p:0, (Aug 24 2023 11:56:47)
I (6613) AFE_SR: wake num: 3, mode: 0, (Aug 24 2023 11:56:48)

W (6613) app_sr: Set language to EN
MC Quantized wakenet9: wakeNet9_v1h24_hiesp_3_0.63_0.635, tigger:v3, mode:2, p:0, (Aug 24 2023 11:56:47)
I (6647) AFE_SR: wakenet wn_frame_size = 512

I (6647) app_sr: load wakenet:wn9_hiesp
Build fst from commands.
Quantized MultiNet6:rnnt_ctc_1.0, name:mn6_en, (Aug 24 2023 14:24:02)
Load 49 pre-defined speech commands.
Quantized MultiNet6 search method: 2, time out:5.8 s
I (7257) app_sr: load multinet:mn6_en
I (7261) app_sr: cmd_number=14
Build fst from commands.
I (7288) MN_COMMAND: ---------------------SPEECH COMMANDS---------------------
I (7289) MN_COMMAND: Command ID0, phrase ID0: Turn On the Light
I (7289) MN_COMMAND: Command ID1, phrase ID1: Switch On the Light
I (7289) MN_COMMAND: Command ID2, phrase ID2: Switch Off the Light
I (7290) MN_COMMAND: Command ID3, phrase ID3: Turn Off the Light
I (7290) MN_COMMAND: Command ID4, phrase ID4: Turn Red
I (7290) MN_COMMAND: Command ID5, phrase ID5: Turn Green
I (7290) MN_COMMAND: Command ID6, phrase ID6: Turn Blue
I (7291) MN_COMMAND: Command ID7, phrase ID7: Customize Color
I (7291) MN_COMMAND: Command ID8, phrase ID8: Sing a song
I (7291) MN_COMMAND: Command ID9, phrase ID9: Play Music
I (7291) MN_COMMAND: Command ID10, phrase ID10: Next Song
I (7292) MN_COMMAND: Command ID11, phrase ID11: Pause Playing
I (7292) MN_COMMAND: Command ID12, phrase ID12: Turn on the Air
I (7292) MN_COMMAND: Command ID13, phrase ID13: Turn off the Air
I (7292) MN_COMMAND: ---------------------------------------------------------

I (7293) app_sr: audio_chunksize=1024, feed_channel=3
I (7294) app_sr: ------------detect start------------

I (7294) main_task: Returned from app_main()
I (7296) pp: pp rom version: e7ae62f
I (7296) net80211: net80211 rom version: e7ae62f
I (7298) wifi:wifi driver task: 3fcd0298, prio:23, stack:6144, core=0
I (7308) wifi:wifi firmware version: 0016c4d
I (7308) wifi:wifi certification version: v7.0
I (7308) wifi:config NVS flash: enabled
I (7308) wifi:config nano formating: enabled
I (7308) wifi:Init data frame dynamic rx buffer num: 4
I (7309) wifi:Init static rx mgmt buffer num: 5
I (7309) wifi:Init management short buffer num: 32
I (7309) wifi:Init static tx buffer num: 4
I (7309) wifi:Init tx cache buffer num: 16
I (7310) wifi:Init static tx FG buffer num: 2
I (7310) wifi:Init static rx buffer size: 1600
I (7310) wifi:Init static rx buffer num: 3
I (7310) wifi:Init dynamic rx buffer num: 4
I (7311) wifi:Allocate MAC register memory base addr(0x3fcd9c24).
I (7312) wifi_init: rx ba win: 4
I (7312) wifi_init: tcpip mbox: 16
I (7312) wifi_init: udp mbox: 6
I (7312) wifi_init: tcp mbox: 6
I (7312) wifi_init: tcp tx win: 5760
I (7312) wifi_init: tcp rx win: 5760
I (7312) wifi_init: tcp mss: 1440
I (7312) wifi_init: WiFi/LWIP prefer SPIRAM
I (7313) wifi_init: WiFi SLP IRAM OP enabled
I (7315) phy_init: phy_version 640,cd64a1a,Jan 24 2024,17:28:12
I (7355) wifi:mode : sta (30:30:f9:5a:bb:64)
I (7355) wifi:enable tsf
I (7380) esp_rmaker_work_queue: Work Queue created.
I (7385) esp_claim: Initialising Self Claiming. This may take time.
I (7451) esp_claim: Private key already exists. No need to re-initialise it.
E (8015) bignum: Failed to allocate RSA interrupt 261

abort() was called at PC 0x4210533a on core 0


Backtrace: 0x40379fce:0x3fcdc8b0 0x4038a505:0x3fcdc8d0 0x4038fcf2:0x3fcdc8f0 0x4210533a:0x3fcdc960 0x421054a3:0x3fcdc980 0x421055bd:0x3fcdc9c0 0x421017db:0x3fcdc9e0 0x421021e1:0x3fcdca20 0x421029e9:0x3fcdcaa0 0x42102a7b:0x3fcdcac0 0x420ffb51:0x3fcdcaf0 0x420ff899:0x3fcdcb20 0x420ff8d2:0x3fcdcb60 0x4210bdec:0x3fcdcb90 0x4210bf02:0x3fcdcc30 0x4210bf29:0x3fcdcc60 0x42085fa2:0x3fcdcca0 0x420862bd:0x3fcdcf00 0x4208633c:0x3fcdcf70 0x4038ac8e:0x3fcdcf90




ELF file SHA256: 8d649067

Rebooting...
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x3 (RTC_SW_SYS_RST),boot:0x2a (SPI_FAST_FLASH_BOOT)
Saved PC:0x40379e50
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3818,len:0x18ec
load:0x403c9700,len:0x4
load:0x403c9704,len:0xd88
load:0x403cc700,len:0x2f98
entry 0x403c9934
I (19) boot: ESP-IDF v5.1.2-691-g7380f96017 2nd stage bootloader
I (19) boot: compile time Feb  7 2024 09:56:50
I (19) boot: Multicore bootloader
I (19) boot: chip revision: v0.2
I (20) qio_mode: Enabling QIO for flash chip GD
I (20) boot.esp32s3: Boot SPI Speed : 80MHz
I (20) boot.esp32s3: SPI Mode       : QIO
I (20) boot.esp32s3: SPI Flash Size : 16MB
I (20) boot: Enabling RNG early entropy source...
I (21) boot: Partition Table:
I (21) boot: ## Label            Usage          Type ST Offset   Length
I (21) boot:  0 sec_cert         Unknown data     01 06 0000d000 00003000
I (22) boot:  1 nvs              WiFi data        01 02 00010000 00006000
I (22) boot:  2 otadata          OTA data         01 00 00016000 00002000
I (22) boot:  3 phy_init         RF data          01 01 00018000 00001000
I (23) boot:  4 fctry            WiFi data        01 02 00019000 00006000
I (23) boot:  5 ota_0            OTA app          00 10 00020000 0041a000
I (24) boot:  6 storage          Unknown data     01 82 0043a000 0028a000
I (24) boot:  7 model            Unknown data     01 82 006c4000 00866000
I (25) boot: End of partition table
I (25) esp_image: segment 0: paddr=00020020 vaddr=3c180020 size=22dec8h (2285256) map
I (371) esp_image: segment 1: paddr=0024def0 vaddr=3fca3900 size=02128h (  8488) load
I (373) esp_image: segment 2: paddr=00250020 vaddr=42000020 size=170e60h (1511008) map
I (603) esp_image: segment 3: paddr=003c0e88 vaddr=3fca5a28 size=05f10h ( 24336) load
I (608) esp_image: segment 4: paddr=003c6da0 vaddr=40378000 size=1b870h (112752) load
I (630) esp_image: segment 5: paddr=003e2618 vaddr=50000000 size=00004h (     4) load
I (630) esp_image: segment 6: paddr=003e2624 vaddr=600fe000 size=0005ch (    92) load
I (643) boot: Loaded app from partition at offset 0x20000
I (643) boot: Disabling RNG early entropy source...
I (643) cpu_start: Multicore app
I (644) octal_psram: vendor id    : 0x0d (AP)
I (644) octal_psram: dev id       : 0x03 (generation 4)
I (644) octal_psram: density      : 0x05 (128 Mbit)
I (644) octal_psram: good-die     : 0x01 (Pass)
I (645) octal_psram: Latency      : 0x01 (Fixed)
I (645) octal_psram: VCC          : 0x00 (1.8V)
I (645) octal_psram: SRF          : 0x01 (Fast Refresh)
I (645) octal_psram: BurstType    : 0x01 (Hybrid Wrap)
I (646) octal_psram: BurstLen     : 0x01 (32 Byte)
I (646) octal_psram: Readlatency  : 0x02 (10 cycles@Fixed)
I (646) octal_psram: DriveStrength: 0x00 (1/1)
I (647) MSPI Timing: PSRAM timing tuning index: 6
I (648) esp_psram: Found 16MB PSRAM device
I (648) esp_psram: Speed: 80MHz
I (648) cpu_start: Pro cpu up.
I (648) cpu_start: Starting app cpu, entry point is 0x40379a54
I (0) cpu_start: App cpu up.
I (1284) esp_psram: SPI SRAM memory test OK
I (1293) cpu_start: Pro cpu start user code
I (1293) cpu_start: cpu freq: 240000000 Hz
I (1293) cpu_start: Application information:
I (1293) cpu_start: Project name:     factory_demo
I (1294) cpu_start: App version:      1
I (1294) cpu_start: Compile time:     Feb  7 2024 09:56:42
I (1294) cpu_start: ELF file SHA256:  8d649067...
I (1294) cpu_start: ESP-IDF:          v5.1.2-691-g7380f96017
I (1295) cpu_start: Min chip rev:     v0.0
I (1295) cpu_start: Max chip rev:     v0.99 
I (1295) cpu_start: Chip rev:         v0.2
I (1295) heap_init: Initializing. RAM available for dynamic allocation:
I (1295) heap_init: At 3FCB2358 len 000373B8 (220 KiB): DRAM
I (1295) heap_init: At 3FCE9710 len 00005724 (21 KiB): STACK/DRAM
I (1296) heap_init: At 600FE05C len 00001F8C (7 KiB): RTCRAM
I (1296) esp_psram: Adding pool of 16384K of PSRAM memory to heap allocator
I (1297) spi_flash: detected chip: gd
I (1297) spi_flash: flash io: qio
I (1298) sleep: Configure to isolate all GPIO pins in sleep state
I (1298) sleep: Enable automatic switching of GPIO sleep configuration
I (1298) pm: Frequency switching config: CPU_MAX: 240, APB_MAX: 80, APB_MIN: 40, Light sleep: DISABLED
I (1299) coexist: coex firmware version: 77cd7f8
I (1299) coexist: coexist rom version e7ae62f
I (1299) app_start: Starting scheduler on CPU0
I (0) app_start: Starting scheduler on CPU1
I (1300) main_task: Started on CPU0
I (1301) esp_psram: Reserving pool of 8K of internal memory for DMA/internal allocations
I (1301) main_task: Calling app_main()
I (1302) main: Compile time: Feb  7 2024 09:57:43
I (1532) ESP-BOX-3: Partition size: total: 2439971, used: 1376986
I (1533) LVGL: Starting LVGL task
I (1534) gpio: GPIO[4]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (1535) gpio: GPIO[48]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (1535) ili9341: LCD panel create success, version: 1.2.0
W (1655) ili9341: The 36h command has been used and will be overwritten by external initialization sequence
W (1655) ili9341: The 3Ah command has been used and will be overwritten by external initialization sequence
I (1658) gpio: GPIO[3]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:2 
I (1660) GT911: TouchPad_ID:0x39,0x31,0x31
I (1660) GT911: TouchPad_Config_Version:65
I (1660) button: IoT Button Version: 3.2.0
I (1661) gpio: GPIO[0]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
I (1661) button: IoT Button Version: 3.2.0
I (1661) gpio: GPIO[1]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 
I (1661) button: IoT Button Version: 3.2.0
I (1671) ES8311: Work in Slave mode
I (1675) gpio: GPIO[46]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (1679) ES7210: Work in Slave mode
I (1687) ES7210: Enable ES7210_INPUT_MIC1
I (1691) ES7210: Enable ES7210_INPUT_MIC2
I (1699) I2S_IF: channel mode 0 bits:16/16 channel:2 mask:3
I (1700) I2S_IF: STD Mode 1 bits:16/16 channel:2 sample_rate:16000 mask:3
I (1719) Adev_Codec: Open codec device OK
I (1719) I2S_IF: channel mode 0 bits:16/16 channel:2 mask:3
I (1719) I2S_IF: STD Mode 0 bits:16/16 channel:2 sample_rate:16000 mask:3
I (1721) ES7210: Bits 16
I (1729) ES7210: Enable ES7210_INPUT_MIC1
I (1733) ES7210: Enable ES7210_INPUT_MIC2
I (1741) ES7210: Unmuted
I (1741) Adev_Codec: Open codec device OK
I (1741) pm: Frequency switching config: CPU_MAX: 240, APB_MAX: 80, APB_MIN: 40, Light sleep: ENABLED
I (1742) sleep: Code start at 0x42000020, total 1511007, data start at 0x3c000000, total 33554432 Bytes
I (1742) gpio: GPIO[21]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:1 
I (1742) bsp_sensor: I2C num: 0, [40, 41], speed:400000
W (1743) bsp_sensor: Sensor bottom connected
I (1743) AT581X: MoreSense AT581X: 0.1.0
I (1743) gpio: GPIO[0]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:2 
I (1746) bsp_sensor: Radar init ok
I (1746) AHT20: ASAIR AHT20    : 0.1.0
I (1746) AHT20: SUPPLY_VOLTAGE : 2.2 - 5.5V
I (1746) AHT20: TEMPERATURE    : -40.00 - 125.00℃
I (1747) bsp_sensor: Temp & humidity init ok
I (1747) main: Display LVGL demo
I (1747) ui_main: Input device type have pointer
I (1752) ui_sr: sr animation initialize
I (2265) ESP-BOX-3: Setting LCD backlight: 100%
I (2458) file_iterator: File : Dance with Me.mp3
I (2482) file_iterator: File : Canon.mp3
I (2485) main: mute setting 0, volume:70
I (2486) main: speech recognition start
I (6486) MODEL_LOADER: The storage free size is 12608 KB
I (6486) MODEL_LOADER: The partition size is 8600 KB
I (6487) MODEL_LOADER: Successfully map model partition
I (6487) AFE_SR: afe interface for speech recognition

I (6487) AFE_SR: AFE version: SR_V220727

I (6487) AFE_SR: Initial auido front-end, total channel: 3, mic num: 2, ref num: 1

I (6488) AFE_SR: aec_init: 0, se_init: 1, vad_init: 1

I (6488) AFE_SR: wakenet_init: 1

MC Quantized wakenet9: wakeNet9_v1h24_hiesp_3_0.63_0.635, tigger:v3, mode:2, p:0, (Aug 24 2023 11:56:47)
I (6613) AFE_SR: wake num: 3, mode: 0, (Aug 24 2023 11:56:48)

W (6613) app_sr: Set language to EN
MC Quantized wakenet9: wakeNet9_v1h24_hiesp_3_0.63_0.635, tigger:v3, mode:2, p:0, (Aug 24 2023 11:56:47)
I (6647) AFE_SR: wakenet wn_frame_size = 512

I (6647) app_sr: load wakenet:wn9_hiesp
Build fst from commands.
Quantized MultiNet6:rnnt_ctc_1.0, name:mn6_en, (Aug 24 2023 14:24:02)
Load 49 pre-defined speech commands.
Quantized MultiNet6 search method: 2, time out:5.8 s
I (7256) app_sr: load multinet:mn6_en
I (7260) app_sr: cmd_number=14
Build fst from commands.
I (7288) MN_COMMAND: ---------------------SPEECH COMMANDS---------------------
I (7288) MN_COMMAND: Command ID0, phrase ID0: Turn On the Light
I (7288) MN_COMMAND: Command ID1, phrase ID1: Switch On the Light
I (7289) MN_COMMAND: Command ID2, phrase ID2: Switch Off the Light
I (7289) MN_COMMAND: Command ID3, phrase ID3: Turn Off the Light
I (7289) MN_COMMAND: Command ID4, phrase ID4: Turn Red
I (7289) MN_COMMAND: Command ID5, phrase ID5: Turn Green
I (7289) MN_COMMAND: Command ID6, phrase ID6: Turn Blue
I (7290) MN_COMMAND: Command ID7, phrase ID7: Customize Color
I (7290) MN_COMMAND: Command ID8, phrase ID8: Sing a song
I (7290) MN_COMMAND: Command ID9, phrase ID9: Play Music
I (7290) MN_COMMAND: Command ID10, phrase ID10: Next Song
I (7291) MN_COMMAND: Command ID11, phrase ID11: Pause Playing
I (7291) MN_COMMAND: Command ID12, phrase ID12: Turn on the Air
I (7291) MN_COMMAND: Command ID13, phrase ID13: Turn off the Air
I (7291) MN_COMMAND: ---------------------------------------------------------

I (7292) app_sr: audio_chunksize=1024, feed_channel=3
I (7293) app_sr: ------------detect start------------

I (7293) main_task: Returned from app_main()
I (7295) pp: pp rom version: e7ae62f
I (7295) net80211: net80211 rom version: e7ae62f
I (7297) wifi:wifi driver task: 3fcd2a4c, prio:23, stack:6144, core=0
I (7307) wifi:wifi firmware version: 0016c4d
I (7307) wifi:wifi certification version: v7.0
I (7307) wifi:config NVS flash: enabled
I (7307) wifi:config nano formating: enabled
I (7307) wifi:Init data frame dynamic rx buffer num: 4
I (7308) wifi:Init static rx mgmt buffer num: 5
I (7308) wifi:Init management short buffer num: 32
I (7308) wifi:Init static tx buffer num: 4
I (7309) wifi:Init tx cache buffer num: 16
I (7309) wifi:Init static tx FG buffer num: 2
I (7309) wifi:Init static rx buffer size: 1600
I (7309) wifi:Init static rx buffer num: 3
I (7309) wifi:Init dynamic rx buffer num: 4
I (7310) wifi:Allocate MAC register memory base addr(0x3fcda6e0).
I (7311) wifi_init: rx ba win: 4
I (7311) wifi_init: tcpip mbox: 16
I (7311) wifi_init: udp mbox: 6
I (7311) wifi_init: tcp mbox: 6
I (7311) wifi_init: tcp tx win: 5760
I (7311) wifi_init: tcp rx win: 5760
I (7311) wifi_init: tcp mss: 1440
I (7312) wifi_init: WiFi/LWIP prefer SPIRAM
I (7312) wifi_init: WiFi SLP IRAM OP enabled
I (7314) phy_init: phy_version 640,cd64a1a,Jan 24 2024,17:28:12
I (7349) wifi:mode : sta (30:30:f9:5a:bb:64)
I (7349) wifi:enable tsf
I (7375) esp_rmaker_work_queue: Work Queue created.
I (7380) esp_claim: Initialising Self Claiming. This may take time.
I (7444) esp_claim: Private key already exists. No need to re-initialise it.
E (8022) bignum: Failed to allocate RSA interrupt 261

abort() was called at PC 0x4210533a on core 0


Backtrace: 0x40379fce:0x3fcdd370 0x4038a505:0x3fcdd390 0x4038fcf2:0x3fcdd3b0 0x4210533a:0x3fcdd420 0x421054a3:0x3fcdd440 0x421055bd:0x3fcdd480 0x421017db:0x3fcdd4a0 0x421021e1:0x3fcdd4e0 0x421029e9:0x3fcdd560 0x42102a7b:0x3fcdd580 0x420ffb51:0x3fcdd5b0 0x420ff899:0x3fcdd5e0 0x420ff8d2:0x3fcdd620 0x4210bdec:0x3fcdd650 0x4210bf02:0x3fcdd6f0 0x4210bf29:0x3fcdd720 0x42085fa2:0x3fcdd760 0x420862bd:0x3fcdd9c0 0x4208633c:0x3fcdda30 0x4038ac8e:0x3fcdda50


<<<INFINITE REPEAT>>>

ESP_Xuxin
Posts: 76
Joined: Thu Sep 22, 2022 3:35 am

Re: Bootloops and Other Things

Postby ESP_Xuxin » Sun Feb 18, 2024 2:59 am

Code: Select all

I (7485) esp_rmaker_work_queue: Work Queue created.
I (7486) esp_claim: Initialising Self Claiming. This may take time.
W (7493) esp_claim: Generating the private key. This may take time.
I (13336) esp_rmaker_node: Node ID ----- 3030F95ACFB4
I (13343) esp_rmaker_time_service: Time service enabled
I (13344) esp_rmaker_system_service: System service enabled.
I (13344) app_wifi: waiting provisioning
I'm not sure about your situation, the above is the log display after I burned it (launchpad web page flashing + local compilation and flashing)。 I took a look at your log, and it's the same as the firmware flashed by the launchpad.

1: Have you tried to erase all the flash first ?

Code: Select all

idf.py -p /dev/ttyACM0 erase-flash
2: Whether other demos can run normally?

Who is online

Users browsing this forum: No registered users and 28 guests