esp32c3 revisions

User avatar
citoyx
Posts: 14
Joined: Sat Sep 28, 2019 10:14 am

esp32c3 revisions

Postby citoyx » Thu May 20, 2021 3:33 pm

Good afternoon,

After two months delay, i just received my esp32c3 devkitC 02v1.1
Sadly after trying to flash blink exemple i got this message:
E (38) boot_comm: This chip is revision 2 but the application is configured for minimum revision 3. Can't run.


I understand there is a workaround with modifying some files, but what is the difference between rev2 and rev3 ? does it have an impact on code ? will there be some structural change between revisions ?

and most important, where can i get latest revision chip devkit ?

***addons***

Just to let you know, and in case someone face the same issue. Just idf.py menuconfig -> component config -> esp32c3 specific -> Minimum supported esp32-c3 revision : choose 2 (or whatever your revision is).

here is the output of blink :

Code: Untitled.bsh Select all

Serial port COM22
Connecting....
Detecting chip type... ESP32-C3
Running idf_monitor in directory d:\work\esp\examples\get-started\blink
Executing "C:\Users\plonky\.espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe D:\work\esp\tools/idf_monitor.py -p COM22 -b 115200 --toolchain-prefix riscv32-esp-elf- --target esp32c3 --decode-panic backtrace d:\work\esp\examples\get-started\blink\build\blink.elf -m 'C:\Users\plonky\.espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe' 'D:\work\esp\tools\idf.py'"...
--- WARNING: GDB cannot open serial ports accessed as COMx
--- Using \\.\COM22 instead...
--- idf_monitor on \\.\COM22 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ESP-ROM:esp32c3-20200918
Build:Sep 18 2020
rst:0x1 (POWERON),boot:0xc (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6100,len:0x1654
load:0x403ce000,len:0x8c0
load:0x403d0000,len:0x2928
entry 0x403ce000
I (32) boot: ESP-IDF v4.4-dev-1404-gc13afea63 2nd stage bootloader
I (32) boot: compile time 17:40:37
I (32) boot: chip revision: 2
I (35) boot.esp32c3: SPI Speed : 80MHz
I (40) boot.esp32c3: SPI Mode : DIO
I (45) boot.esp32c3: SPI Flash Size : 2MB
I (50) boot: Enabling RNG early entropy source...
I (55) boot: Partition Table:
I (59) boot: ## Label Usage Type ST Offset Length
I (66) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (73) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (81) boot: 2 factory factory app 00 00 00010000 00100000
I (88) boot: End of partition table
I (92) esp_image: segment 0: paddr=00010020 vaddr=3c020020 size=07640h ( 30272) map
I (105) esp_image: segment 1: paddr=00017668 vaddr=3fc8ae00 size=0145ch ( 5212) load
I (110) esp_image: segment 2: paddr=00018acc vaddr=40380000 size=0754ch ( 30028) load
I (123) esp_image: segment 3: paddr=00020020 vaddr=42000020 size=178b0h ( 96432) map
I (141) esp_image: segment 4: paddr=000378d8 vaddr=4038754c size=03724h ( 14116) load
I (144) esp_image: segment 5: paddr=0003b004 vaddr=50000000 size=00010h ( 16) load
I (150) boot: Loaded app from partition at offset 0x10000
I (153) boot: Disabling RNG early entropy source...
I (169) cpu_start: Pro cpu up.
I (177) cpu_start: Pro cpu start user code
I (177) cpu_start: cpu freq: 160000000
I (177) cpu_start: Application information:
I (180) cpu_start: Project name: blink
I (185) cpu_start: App version: v4.4-dev-1404-gc13afea63
I (191) cpu_start: Compile time: May 20 2021 17:40:32
I (197) cpu_start: ELF file SHA256: 78cbbe885cdab963...
I (203) cpu_start: ESP-IDF: v4.4-dev-1404-gc13afea63
I (210) heap_init: Initializing. RAM available for dynamic allocation:
I (217) heap_init: At 3FC8D0E0 len 00032F20 (203 KiB): DRAM
I (223) heap_init: At 3FCC0000 len 0001F260 (124 KiB): STACK/DRAM
I (230) heap_init: At 50000010 len 00001FF0 (7 KiB): RTCRAM
I (237) spi_flash: detected chip: generic
I (241) spi_flash: flash io: dio
W (245) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (258) sleep: Configure to isolate all GPIO pins in sleep state
I (265) sleep: Enable automatic switching of GPIO sleep configuration
I (272) cpu_start: Starting scheduler.
I (276) example: Example configured to blink addressable LED!
I (276) example: Turning the LED OFF!
I (1286) example: Turning the LED ON!
I (2286) example: Turning the LED OFF!
I (3286) example: Turning the LED ON!
I (4286) example: Turning the LED OFF!
I (5286) example: Turning the LED ON!
I (6286) example: Turning the LED OFF!
I (7286) example: Turning the LED ON!
I (8286) example: Turning the LED OFF!
I (9286) example: Turning the LED ON!

Sprite
Espressif staff
Espressif staff
Posts: 10593
Joined: Thu Nov 26, 2015 4:08 am

Re: esp32c3 revisions

Postby Sprite » Fri May 21, 2021 5:43 am

I understand there is a workaround with modifying some files, but what is the difference between rev2 and rev3 ? does it have an impact on code ? will there be some structural change between revisions ?
There's some minor changes in the radio/MAC logic between eco2 and eco3, and USB-to-JTAG-serial doesn't work in ECO2. No structural changes otherwise.
and most important, where can i get latest revision chip devkit ?
Any mass market devkit you get at this point should have ECO3 on it. ECO2 and earlier was only given out in sample quantities.

chegewara
Posts: 2505
Joined: Wed Jun 14, 2017 9:00 pm

Re: esp32c3 revisions

Postby chegewara » Fri May 21, 2021 7:54 am

Any mass market devkit you get at this point should have ECO3 on it. ECO2 and earlier was only given out in sample quantities.
I have bought esp32 C3 from mouser. My order was delayed about 5 weeks due to shortages and production, but thats not the point. My order was sent about 6 weeks ago, so not that long time ago and it was not sample. All 5 devkit boards are with eco2, at least esp-idf reports it is revision 2.

User avatar
citoyx
Posts: 14
Joined: Sat Sep 28, 2019 10:14 am

Re: esp32c3 revisions

Postby citoyx » Fri May 21, 2021 8:03 am

Any mass market devkit you get at this point should have ECO3 on it. ECO2 and earlier was only given out in sample quantities.
I have bought esp32 C3 from mouser. My order was delayed about 5 weeks due to shortages and production, but thats not the point. My order was sent about 6 weeks ago, so not that long time ago and it was not sample. All 5 devkit boards are with eco2, at least esp-idf reports it is revision 2.
Yeah my order from mouser was made 23th of march.
4xESP32-C3-DevKitC-02 and 4xESP32-C3-DevKitM-1

So far i received devkit 02 last Wednesday an all are sample (rainmaker version) rev2.

devkitm-1 is delayed to mid june again with resupply status.

WHERE can i buy mass market version ?

chegewara
Posts: 2505
Joined: Wed Jun 14, 2017 9:00 pm

Re: esp32c3 revisions

Postby chegewara » Fri May 21, 2021 8:06 am

Dont take this wrong, i do not complain, i knew exactly what i am buying and i am happy with that. Even without USB/JTAG i can work with new chip, test BLE5 or other API compatibility, which is good, but i am just a programmer.

DoctorDan
Posts: 2
Joined: Thu Jul 08, 2021 4:26 am

Re: esp32c3 revisions

Postby DoctorDan » Thu Jul 08, 2021 4:32 am

Well, I do want to complain. I am new to these products. I also ordered esp32-c3 from mouser. The units were shipped with notes on the esp32-c3 idf. It describes the commands that should be run to test the installation (blink)

I followed these instructions step-by-step and got
E (36) boot_comm: This chip is revision 2 but the application is configured for minimum revision 3. Can't run.

This is pretty unacceptable. As a newcomer I have no idea if this error can be corrected or how to do that but it certainly does not appear that the merchandise that I received is what appears on my order. If the C3 modules are/were not ready the shipping should have been postponed until the correct items became available.

I don't know what to do next but I am one very unhappy camper.

Thank you,
de

chegewara
Posts: 2505
Joined: Wed Jun 14, 2017 9:00 pm

Re: esp32c3 revisions

Postby chegewara » Thu Jul 08, 2021 10:39 am

@DoctorDan, dont worry, you can still use it and have a lot of fun. All you have to do is to change 1 option in menuconfig.

Code: Select all

idf.py menuconfig
Then search for revision keyword and change it from version 3 to version 2.

DoctorDan
Posts: 2
Joined: Thu Jul 08, 2021 4:26 am

Re: esp32c3 revisions

Postby DoctorDan » Thu Jul 08, 2021 7:17 pm

Thanks, I'll take a look

PoClab
Posts: 1
Joined: Fri Dec 24, 2021 12:32 pm

Re: esp32c3 revisions

Postby PoClab » Fri Dec 24, 2021 12:36 pm

Seems like I have 1-st revision of ESP32-C3 that works not as expected. I am interested in how I can understand by marking on-chip that I am buying revision higher than 3?

axellin
Posts: 205
Joined: Mon Sep 17, 2018 9:09 am

Re: esp32c3 revisions

Postby axellin » Sat Dec 25, 2021 11:20 am

@DoctorDan, dont worry, you can still use it and have a lot of fun. All you have to do is to change 1 option in menuconfig.

Code: Select all

idf.py menuconfig
Then search for revision keyword and change it from version 3 to version 2.
This is no longer true, you will hit link error if rev < 3.
https://github.com/espressif/esp-idf/is ... -978774224

Who is online

Users browsing this forum: Applebot, Bytespider, ChatGPT-User, PerplexityBot, Qwantbot, Semrush [Bot] and 6 guests