Skip to content

i2c: CONFLICT! driver_ng is not allowed to be used with this old driver #492

@ruf

Description

@ruf

This is somewhere like the old bug report .

My board is Waveshare ESP32-S3-TOUCH-LCD-1.47 . I compiled lvgl-micropython with the command:
$ python3 make.py esp32 --flash-size=16 BOARD=ESP32_GENERIC_S3 BOARD_VARIANT=SPIRAM_OCT DISPLAY=jd9853 INDEV=axs5106

It failed and I have to change machine_timer_enable(self->rxidle_timer, uart_timer_callback); to machine_timer_enable(self->rxidle_timer); in file "micropy_updates/esp32/machine_uart.c" , and fix the file "micropy_updates/esp32/modesp32.h" by appending the following lines:

#if MICROPY_PY_ESP32_PCNT
extern const mp_obj_type_t esp32_pcnt_type;
void esp32_pcnt_deinit_all(void);
#endif

Then it passed and I download the firmware to the board .

C:\esp32> esptool --port COM3 --chip esp32s3 -b 460800 --before default-reset --after hard-reset write-flash --flash-mode dio --flash-size 16MB --flash-freq 80m --erase-all 0 lvgl_micropy_ESP32_GENERIC_S3-SPIRAM_OCT-16.bin

but I get a bootloop :


ELF file SHA256: a12baf872
Rebooting...
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x2a (SPI_FAST_FLASH_BOOT)
Saved PC:0x403763b0
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce2820,len:0xeb0
load:0x403c8700,len:0x4
load:0x403c8704,len:0xc1c
load:0x403cb700,len:0x2fa4
entry 0x403c88ac
E (987) i2c: CONFLICT! driver_ng is not allowed to be used with this old driver

A fatal error occurred. The crash dump printed below may be used to help
determine what caused it. If you are not already running the most recent
version of MicroPython, consider upgrading. New versions often fix bugs.

To learn more about how to debug and/or report this crash visit the wiki
page at: https://github.com/micropython/micropython/wiki/ESP32-debugging

LVGL MicroPython
IDF version : 67c1de1e
Machine     : Generic ESP32S3 module with Octal-SPIRAM with ESP32S3


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


Backtrace: 0x40375661:0x3fceb1f0 0x40387b01:0x3fceb210 0x4038dcda:0x3fceb230 0x421a2964:0x3fceb2a0 0x420f0b8e:0x3fceb2c0 0x40375ac1:0x3fceb2f0 0x403ccb3d:0x3fceb340 0x403ccef9:0x3fceb380 0x403c8919:0x3fceb4b0 0x40045c01:0x3fceb570 0x40043ab6:0x3fceb6f0 0x40034c45:0x3fceb710

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions