Have same problem with board ESP32-C3-0.42 OLED
it detects as:
BN: ESP32S3 CAM LCD
VID: 0x303a
PID: 0x1001
SN: A0:76:4E:18:FA:34
When i choise in Arduino IDE board: "ESP32S3 CAM LCD" after compiling I got message:
esptool.py v4.6
Serial port /dev/ttyACM0
Connecting...
A fatal error occurred: This chip is ESP32-C3 not ESP32-S3. Wrong --chip argument?
Failed uploading: uploading error: exit status 2
After choising in Arduino IDE board: "ESP32C3 Dev Module", it compiling without errors and uploads without errors.
But when I reset board, it repeatly rebooting... in Serial console it prints next debug:
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x3 (RTC_SW_SYS_RST),boot:0xf (SPI_FAST_FLASH_BOOT)
Saved PC:0x40048b82
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd5820,len:0x3ac
load:0x403cc710,len:0x6c4
load:0x403ce710,len:0x2784
entry 0x403cc710
=========== Before Setup Start ===========
Chip Info:
------------------------------------------
Model : ESP32-C3
Package : 0
Revision : 3
Cores : 1
Frequency : 160 MHz
Embedded Flash : No
Embedded PSRAM : No
2.4GHz WiFi : Yes
Classic BT : No
BT Low Energy : Yes
IEEE 802.15.4 : No
------------------------------------------
INTERNAL Memory Info:
------------------------------------------
Total Size : 334824 B ( 327.0 KB)
Free Bytes : 303056 B ( 296.0 KB)
Allocated Bytes : 28076 B ( 27.4 KB)
Minimum Free Bytes: 303056 B ( 296.0 KB)
Largest Free Block: 278516 B ( 272.0 KB)
------------------------------------------
Flash Info:
------------------------------------------
Chip Size : 4194304 B (4 MB)
Block Size : 65536 B ( 64.0 KB)
Sector Size : 4096 B ( 4.0 KB)
Page Size : 256 B ( 0.2 KB)
Bus Speed : 80 MHz
Bus Mode : DIO
------------------------------------------
Partitions Info:
------------------------------------------
nvs : addr: 0x00009000, size: 20.0 KB, type: DATA, subtype: NVS
otadata : addr: 0x0000E000, size: 8.0 KB, type: DATA, subtype: OTA
app0 : addr: 0x00010000, size: 1280.0 KB, type: APP, subtype: OTA_0
app1 : addr: 0x00150000, size: 1280.0 KB, type: APP, subtype: OTA_1
spiffs : addr: 0x00290000, size: 1408.0 KB, type: DATA, subtype: SPIFFS
coredump : addr: 0x003F0000, size: 64.0 KB, type: DATA, subtype: COREDUMP
------------------------------------------
Software Info:
------------------------------------------
Compile Date/Time : Dec 3 2023 01:00:38
Compile Host OS : linux
ESP-IDF Version : v5.1.1-577-g6b1f40b9bf-dirty
Arduino Version : 3.0.0
------------------------------------------
Board Info:
------------------------------------------
Arduino Board : ESP32C3_DEV
Arduino Variant : esp32c3
Arduino FQBN : esp32:esp32:esp32c3:UploadSpeed=921600,CDCOnBoot=cdc,CPUFreq=160,FlashFreq=80,FlashMode=dio,FlashSize=4M,PartitionScheme=default,DebugLevel=verbose,EraseFlash=none,JTAGAdapter=default
============ Before Setup End ============
[ 201][I][esp32-hal-i2c.c:99] i2cInit(): Initialising I2C Master: sda=5 scl=6 freq=100000
[ 202][W][Wire.cpp:305] begin(): Bus already started in Master Mode.
assert failed: i2c_ll_cal_bus_clk /IDF/components/hal/esp32c3/include/hal/i2c_ll.h:105 (clk_cal->scl_wait_high < clk_cal->sda_sample && clk_cal->sda_sample < clk_cal->scl_high)
Core 0 register dump:
MEPC : 0x40381ef2 RA : 0x40385ac4 SP : 0x3fc96580 GP : 0x3fc8d400
TP : 0x3fc88dac T0 : 0x656c706d T1 : 0x6d61735f T2 : 0x61735f61
S0/FP : 0x00000001 S1 : 0x3fc96760 A0 : 0x3fc965e4 A1 : 0x3fc8d4fd
A2 : 0x00000001 A3 : 0x00000029 A4 : 0x00000001 A5 : 0x3fc8f000
A6 : 0x6c63203c A7 : 0x20656c70 S2 : 0x00000017 S3 : 0x3fc965d8
S4 : 0x3fc965d8 S5 : 0x4200db34 S6 : 0x00000002 S7 : 0x3c036334
S8 : 0x00000000 S9 : 0x00000000 S10 : 0x00000000 S11 : 0x00000000
T3 : 0x6164733e T4 : 0x2d6c6163 T5 : 0x5f6b6c63 T6 : 0x20262620
MSTATUS : 0x00001801 MTVEC : 0x40380001 MCAUSE : 0x00000007 MTVAL : 0x00000000
MHARTID : 0x00000000
3fc96740: 0xa0000000 0x0000000a 0x00000000 0x00000000 0x3fc8f000 0x3fc8e000 0x3fc8de98 0x420003b4
3fc96760: 0x00000000 0x000000ae 0x3fc8de98 0x420010cc 0x00000000 0x00000000 0x000000fe 0x00000019
3fc96780: 0x00000017 0x3fc8de98 0x3c030645 0x4200100e 0x00000000 0x3fc8f000 0x00000000 0xae000000
3fc967a0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x3fc8f000 0x3fc8de98 0x42001192
3fc967c0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x3fc8f000 0x3fc8e000 0x4200011a
3fc967e0: 0x00000000 0x00000000 0x00000000 0x42004434 0x00000000 0x00000000 0x00000000 0x00000000
3fc96800: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5
3fc96820: 0xa5a5a5a5 0xbaad5678 0x00000160 0xabba1234 0x00000154 0x3fc96700 0x000001a1 0x3fc8e544
3fc96840: 0x3fc8e544 0x3fc96834 0x3fc8e53c 0x00000018 0x3fc96ba4 0x3fc96ba4 0x3fc96834 0x00000000
3fc96860: 0x00000001 0x3fc94824 0x706f6f6c 0x6b736154 0x0dfee400 0x00fb349f 0x00000000 0x3fc96820
3fc96880: 0x00000001 0x00000002 0x00000000 0x00000000 0x00000000 0x3fc8fe9c 0x3fc8ff04 0x3fc8ff6c
3fc968a0: 0x00000000 0x00000000 0x00000001 0x00000000 0x00000000 0x3fc96d24 0x4201c570 0x00000000
3fc968c0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fc968e0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fc96900: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fc96920: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fc96940: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
3fc96960: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
ELF file SHA256: 8399380bf2a6fecf
Rebooting...
Always Error:
assert failed: i2c_ll_cal_bus_clk /IDF/components/hal/esp32c3/include/hal/i2c_ll.h:105 (clk_cal->scl_wait_high < clk_cal->sda_sample && clk_cal->sda_sample < clk_cal->scl_high)
I can restore my module using
esptool.py --port /dev/ttyACM0 --chip esp32c3 --baud 115200 write_flash 0x0 firmware_main.bin
firmware_main.bin - that flash which I saved from new device, and it back as new, and loads without errors.
But I can not to write my own programs.
What is wrong? How to fix it? Can someone help?
- I tried to Upload test program Hello world, and always got same error at boot

assert failed: i2c_ll_cal_bus_clk /IDF/components/hal/esp32c3/include/hal/i2c_ll.h:105