Skip to content
New issue

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

idf 5.3版本,运行VOIP 例程提示i2c: CONFLICT! driver_ng is not allowed to be used with this old driver (AUD-5701) #1274

Open
ktoto2011 opened this issue Sep 13, 2024 · 3 comments

Comments

@ktoto2011
Copy link

  • [ √] I have read the documentation Espressif Audio Development Guide and the issue is not addressed there.
  • [ √] I have updated my ADF and 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.

Environment

  • Audio development kit: ESP32-S3-Korvo-2
  • Audio kit version (ESP32-S3-Korvo-2): v3
  • [Required] Module or chip used: ESP32-S3-WROOM-1
  • [Required] IDF version v5.3
  • [Required] ADF version v2.6-183-gce64fea5
  • Build system: [idf.py]
  • [Required] Running log: All logs from power-on to problem recurrence
  • Compiler version (run xtensa-esp32-elf-gcc --version in your project folder to find it):
    // 1.22.0-80-g6c4433a
  • Operating system: [Windows]
  • (Windows only) Environment type: [ESP Command Prompt]
  • Using an IDE?: vscode
  • Power supply: USB

idf 5.3版本, ADF 2.6 开发板ESP32-S3-Korvo-2
运行VOIP 例程提示i2c: CONFLICT! driver_ng is not allowed to be used with this old driver

Debug Logs

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x8 (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-dirty 2nd stage bootloader
I (27) boot: compile time Sep 13 2024 18:26:29
I (27) boot: Multicore bootloader
I (30) boot: chip revision: v0.2
I (34) qio_mode: Enabling default flash chip QIO
I (39) 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 (77) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (85) boot: 2 factory factory app 00 00 00010000 00200000
I (92) boot: 3 flash_tone Unknown data 01 ff 00210000 0007d000
I (100) boot: End of partition table
I (104) esp_image: segment 0: paddr=00010020 vaddr=3c150020 size=543ach (345004) map
I (165) esp_image: segment 1: paddr=000643d4 vaddr=3fc98e00 size=09594h ( 38292) load
I (172) esp_image: segment 2: paddr=0006d970 vaddr=40374000 size=026a8h ( 9896) load
I (174) esp_image: segment 3: paddr=00070020 vaddr=42000020 size=14f0d0h (1372368) map
I (387) esp_image: segment 4: paddr=001bf0f8 vaddr=403766a8 size=1267ch ( 75388) load
I (411) boot: Loaded app from partition at offset 0x10000
I (412) boot: Disabling RNG early entropy source...
I (423) octal_psram: vendor id : 0x0d (AP)
I (423) octal_psram: dev id : 0x02 (generation 3)
I (424) octal_psram: density : 0x03 (64 Mbit)
I (428) octal_psram: good-die : 0x01 (Pass)
I (434) octal_psram: Latency : 0x01 (Fixed)
I (439) octal_psram: VCC : 0x01 (3V)
I (444) octal_psram: SRF : 0x01 (Fast Refresh)
I (450) octal_psram: BurstType : 0x01 (Hybrid Wrap)
I (456) octal_psram: BurstLen : 0x01 (32 Byte)
I (461) octal_psram: Readlatency : 0x02 (10 cycles@Fixed)
I (467) octal_psram: DriveStrength: 0x00 (1/1)
I (473) MSPI Timing: PSRAM timing tuning index: 5
I (478) esp_psram: Found 8MB PSRAM device
I (482) esp_psram: Speed: 80MHz
I (515) mmu_psram: Read only data copied and mapped to SPIRAM
I (621) mmu_psram: Instructions copied and mapped to SPIRAM
I (621) cpu_start: Multicore app
I (978) esp_psram: SPI SRAM memory test OK
I (987) cpu_start: Pro cpu start user code
I (987) cpu_start: cpu freq: 240000000 Hz
I (987) app_init: Application information:
I (990) app_init: Project name: voip_app
I (995) app_init: App version: v2.6-183-gce64fea5
I (1001) app_init: Compile time: Sep 13 2024 18:25:39
I (1007) app_init: ELF file SHA256: 0de4141ee...
I (1012) app_init: ESP-IDF: v5.3-dirty
I (1018) efuse_init: Min chip rev: v0.0
I (1022) efuse_init: Max chip rev: v0.99
I (1028) efuse_init: Chip rev: v0.2
I (1032) heap_init: Initializing. RAM available for dynamic allocation:
I (1040) heap_init: At 3FCA3D68 len 000459A8 (278 KiB): RAM
I (1046) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM
I (1052) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (1058) heap_init: At 600FE100 len 00001EE8 (7 KiB): RTCRAM
I (1065) esp_psram: Adding pool of 6450K of PSRAM memory to heap allocator
I (1073) spi_flash: detected chip: gd
I (1077) spi_flash: flash io: qio
W (1081) spi_flash: Detected size(16384k) larger than the size in the binary image header(4096k). Using the size in the binary image header.
E (1094) i2c: CONFLICT! driver_ng is not allowed to be used with this old driver

abort() was called at PC 0x42079647 on core 0
0x42079647: check_i2c_driver_conflict at C:/Espressif/frameworks/esp-idf-v5.3/components/driver/i2c/i2c.c:1716

Backtrace: 0x40375f32:0x3fceb1c0 0x403825d9:0x3fceb1e0 0x403872d1:0x3fceb200 0x42079647:0x3fceb270 0x420050c7:0x3fceb290 0x420051ae:0x3fceb2b0 0x40375aea:0x3fceb2d0 0x403cca4c:0x3fceb340 0x403cce6d:0x3fceb380 0x403c89a5:0x3fceb4b0 0x40045c01:0x3fceb570 0x40043ab6:0x3fceb6f0 0x40034c45:0x3fceb710
0x40375f32: panic_abort at C:/Espressif/frameworks/esp-idf-v5.3/components/esp_system/panic.c:463
0x403825d9: esp_system_abort at C:/Espressif/frameworks/esp-idf-v5.3/components/esp_system/port/esp_system_chip.c:92
0x403872d1: abort at C:/Espressif/frameworks/esp-idf-v5.3/components/newlib/abort.c:38
0x42079647: check_i2c_driver_conflict at C:/Espressif/frameworks/esp-idf-v5.3/components/driver/i2c/i2c.c:1716
0x420050c7: do_global_ctors at C:/Espressif/frameworks/esp-idf-v5.3/components/esp_system/startup.c:101
0x420051ae: start_cpu0_default at C:/Espressif/frameworks/esp-idf-v5.3/components/esp_system/startup.c:201
0x40375aea: call_start_cpu0 at C:/Espressif/frameworks/esp-idf-v5.3/components/esp_system/port/cpu_start.c:826 (discriminator 1)
0x40045c01: ets_run_flash_bootloader in ROM
0x40043ab6: main in ROM
0x40034c45: .stack_ok in ROM

@github-actions github-actions bot changed the title idf 5.3版本,运行VOIP 例程提示i2c: CONFLICT! driver_ng is not allowed to be used with this old driver idf 5.3版本,运行VOIP 例程提示i2c: CONFLICT! driver_ng is not allowed to be used with this old driver (AUD-5701) Sep 13, 2024
@jason-mao
Copy link
Collaborator

@ktoto2011 I2C 驱动5.3 有升级调整 ADF2.6 不能跑,你拉 ADF最新的master代码可以跑的。

@ktoto2011
Copy link
Author

@jason-mao 还是一样的报错,我这样拉master 有问题吗?
Uploading PixPin_2024-09-14_09-20-25.png…

@ktoto2011
Copy link
Author

PixPin_2024-09-14_09-20-25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants