You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
I have searched the issue tracker for a similar issue and not found a similar issue.
IDF version.
v5.3.1
Espressif SoC revision.
ESP32-S3 (N16R2)
Operating System used.
Windows
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
CMD
Development Kit.
ESP32-S3-DevKitC-1
Power Supply used.
USB
What is the expected behavior?
It should work without crashing.
What is the actual behavior?
I just downloaded the latest master branch esp-iot-solution.zip, went to esp-iot-solution-master\examples\usb\host\usb_cdc_4g_module build the code for esp32s3, connect esp32s3 dev kit with a7672s devkit using usb cable and run it and I got the runtime error.
Please help.
Steps to reproduce.
Download the latest master branch of esp-iot-solution
Go to esp-iot-solution-master\examples\usb\host\usb_cdc_4g_module
Open ESP-IDF v5.3.1 then do the following commands
idf.py set-target esp32s3
idf.py menuconfig (change board to A7600C1)
idf.py build flash monitor
Debug Logs.
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x2b (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce2820,len:0x1918
load:0x403c8700,len:0x4
load:0x403c8704,len:0xe5c
load:0x403cb700,len:0x303c
entry 0x403c893c
I (27) boot: ESP-IDF v5.3.1-dirty 2nd stage bootloader
I (27) boot: compile time Dec 3 2024 17:23:50
I (27) boot: Multicore bootloader
I (30) boot: chip revision: v0.1
I (34) qio_mode: Enabling default flash chip QIO
I (40) boot.esp32s3: Boot SPI Speed : 80MHz
I (44) boot.esp32s3: SPI Mode : QIO
I (49) boot.esp32s3: SPI Flash Size : 4MB
I (54) boot: Enabling RNG early entropy source...
I (59) boot: Partition Table:
I (63) boot: ## Label Usage Type ST Offset Length
I (70) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (78) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (85) boot: 2 factory factory app 00 00 00010000 00100000
I (92) boot: 3 storage Unknown data 01 82 00110000 00100000
I (100) boot: End of partition table
I (104) esp_image: segment 0: paddr=00010020 vaddr=3c0b0020 size=2d5bch (185788) map
I (141) esp_image: segment 1: paddr=0003d5e4 vaddr=3fc9ca00 size=02a34h ( 10804) load
I (143) esp_image: segment 2: paddr=00040020 vaddr=42000020 size=a8050h (688208) map
I (251) esp_image: segment 3: paddr=000e8078 vaddr=3fc9f434 size=02038h ( 8248) load
I (253) esp_image: segment 4: paddr=000ea0b8 vaddr=40374000 size=18968h (100712) load
I (286) boot: Loaded app from partition at offset 0x10000
I (286) boot: Disabling RNG early entropy source...
I (298) cpu_start: Multicore app
I (307) cpu_start: Pro cpu start user code
I (307) cpu_start: cpu freq: 240000000 Hz
I (307) app_init: Application information:
I (310) app_init: Project name: usb_cdc_4g_module
I (315) app_init: App version: 1
I (320) app_init: Compile time: Dec 3 2024 17:23:17
I (326) app_init: ELF file SHA256: 879835726...
I (331) app_init: ESP-IDF: v5.3.1-dirty
I (336) efuse_init: Min chip rev: v0.0
I (341) efuse_init: Max chip rev: v0.99
I (346) efuse_init: Chip rev: v0.1
I (351) heap_init: Initializing. RAM available for dynamic allocation:
I (358) heap_init: At 3FCA4DA8 len 00044968 (274 KiB): RAM
I (364) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM
I (370) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (376) heap_init: At 600FE100 len 00001EE8 (7 KiB): RTCRAM
I (383) spi_flash: detected chip: gd
I (387) spi_flash: flash io: qio
W (391) spi_flash: Detected size(16384k) larger than the size in the binary image header(4096k). Using the size in the binary image header.
I (404) sleep: Configure to isolate all GPIO pins in sleep state
I (411) sleep: Enable automatic switching of GPIO sleep configuration
I (418) main_task: Started on CPU0
I (433) main_task: Calling app_main()
I (433) led_indicator: LED Indicator Version: 0.3.0
I (434) gpio: GPIO[15]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (441) led_indicator: blink_lists is null, use default blink list
W (448) led_indicator: ./managed_components/espressif__led_indicator/src/led_indicator.c:280 (_led_indicator_create_com):LED indicator does not have the hal_indicator_set_brightness function
I (466) led_indicator: Indicator create successfully. type:GPIO mode, hardware_data:0xf, is_active_level_high:1, blink_lists:default
I (478) led_indicator: LED Indicator Version: 0.3.0
I (484) gpio: GPIO[17]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (493) led_indicator: blink_lists is null, use default blink list
W (500) led_indicator: ./managed_components/espressif__led_indicator/src/led_indicator.c:280 (_led_indicator_create_com):LED indicator does not have the hal_indicator_set_brightness function
I (518) led_indicator: Indicator create successfully. type:GPIO mode, hardware_data:0x11, is_active_level_high:1, blink_lists:default
I (530) led_indicator: LED Indicator Version: 0.3.0
I (536) gpio: GPIO[16]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (545) led_indicator: blink_lists is null, use default blink list
W (552) led_indicator: ./managed_components/espressif__led_indicator/src/led_indicator.c:280 (_led_indicator_create_com):LED indicator does not have the hal_indicator_set_brightness function
I (570) led_indicator: Indicator create successfully. type:GPIO mode, hardware_data:0x10, is_active_level_high:1, blink_lists:default
I (587) 4g_main: ====================================
I (588) 4g_main: ESP 4G Cat.1 Wi-Fi Router
I (593) 4g_main: ====================================
I (599) modem_board: iot_usbh_modem, version: 1.0.0
I (605) modem_board: Force reset modem board....
I (610) gpio: GPIO[13]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (619) modem_board: Resetting modem using io=13, level=0
I (825) modem_board: Waiting for modem initialize ready
I (5825) USBH_CDC: iot usbh cdc version: 1.0.0
I (5855) esp-modem: --------- Modem PreDefined Info ------------------
I (5856) esp-modem: Model: A7600C1
I (5856) esp-modem: Modem itf 0
I (5860) esp-modem: ----------------------------------------------------
I (5867) gpio: GPIO[12]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (5876) gpio: GPIO[13]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x420179f0 PS : 0x00060330 A0 : 0x82017f54 A1 : 0x3fcb1be0
--- 0x420179f0: _cdc_transfers_allocate at C:/esp-iot-solution-master/components/usb/iot_usbh_cdc/iot_usbh_cdc.c:480
(inlined by) _cdc_open at C:/esp-iot-solution-master/components/usb/iot_usbh_cdc/iot_usbh_cdc.c:625
A2 : 0x00000000 A3 : 0x00000001 A4 : 0x0000000e A5 : 0x3fcb1c20
A6 : 0x00060f20 A7 : 0x3fcb2dec A8 : 0x3fcbc518 A9 : 0x3fcb1bc0
A10 : 0x00000000 A11 : 0x00000000 A12 : 0x3fcb2e04 A13 : 0x3fcb2e10
A14 : 0x3fcb1bf0 A15 : 0x00000000 SAR : 0x00000014 EXCCAUSE: 0x0000001c
EXCVADDR: 0x00060f22 LBEG : 0x400570e8 LEND : 0x400570f3 LCOUNT : 0x00000000
--- 0x400570e8: memset in ROM
0x400570f3: memset in ROM
Backtrace: 0x420179ed:0x3fcb1be0 0x42017f51:0x3fcb1c30 0x420199b1:0x3fcb1c60 0x42017813:0x3fcb1c90
--- 0x420179ed: _cdc_transfers_allocate at C:/esp-iot-solution-master/components/usb/iot_usbh_cdc/iot_usbh_cdc.c:477 (discriminator 1)
(inlined by) _cdc_open at C:/esp-iot-solution-master/components/usb/iot_usbh_cdc/iot_usbh_cdc.c:625 (discriminator 1)
0x42017f51: usb_event_cb at C:/esp-iot-solution-master/components/usb/iot_usbh_cdc/iot_usbh_cdc.c:243
0x420199b1: usb_host_client_handle_events at C:/Espressif/frameworks/esp-idf-v5.3.1/components/usb/usb_host.c:809
0x42017813: usbh_cdc_client_task at C:/esp-iot-solution-master/components/usb/iot_usbh_cdc/iot_usbh_cdc.c:198
More Information.
No response
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
_cdc_transfers_allocate() - LoadProhibited - runtime error
_cdc_transfers_allocate() - LoadProhibited - runtime error (AEGHB-902)
Dec 3, 2024
Answers checklist.
IDF version.
v5.3.1
Espressif SoC revision.
ESP32-S3 (N16R2)
Operating System used.
Windows
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
CMD
Development Kit.
ESP32-S3-DevKitC-1
Power Supply used.
USB
What is the expected behavior?
It should work without crashing.
What is the actual behavior?
I just downloaded the latest master branch esp-iot-solution.zip, went to esp-iot-solution-master\examples\usb\host\usb_cdc_4g_module build the code for esp32s3, connect esp32s3 dev kit with a7672s devkit using usb cable and run it and I got the runtime error.
Please help.
Steps to reproduce.
Debug Logs.
More Information.
No response
The text was updated successfully, but these errors were encountered: