Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fail to flash the firmware due to the new I2C target mode feature #17871

@synodriver

Description

@synodriver

Port, board and/or hardware

esp32 port, esp32-s3

MicroPython version

master branch(593ae04), esp32-s3 board

Reproduction

  1. Build the firmware for esp32-s3, using make BOARD=ESP32_GENERIC_S3 BOARD_VARIANT=SPIRAM_OCT
  2. using mp-image-tool-esp32 --extract-app firmware.bin to get the app partition
  3. using https://github.com/glenn20/micropython-esp32-ota to perform an ota update

Expected behaviour

Expected to successfully perform an ota update.

Observed behaviour

The log shows

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40383a26
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce2820,len:0xeb0
load:0x403c8700,len:0x4
load:0x403c8704,len:0xc1c
load:0x403cb700,len:0x2fbc
entry 0x403c88ac
E (773) i2c: CONFLICT! driver_ng is not allowed to be used with this old driver

Additional Information

Before the i2c slave mode feature was added, every thing works well. I tried to set CONFIG_I2C_SKIP_LEGACY_CONFLICT_CHECK=n but it didn't work.

Code of Conduct

Yes, I agree

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions