ESP32-C3-DevKitM-1 default software

eperie
Posts: 10
Joined: Fri Apr 30, 2021 2:48 pm

ESP32-C3-DevKitM-1 default software

Postby eperie » Fri Apr 30, 2021 3:04 pm

Where can I find the software that is flashed by default in the ESP32-C3-DevKitM-1 development board ?
I built the blinky project present in esp-idf revision 9d34a1cd42f6f63b3c699c3fe8ec7216dd56f36a dated Tue Apr 27 08:52:09 2021 +0000, but is does doing anything, and has JTAG disabled.
The default software on the ESP32-C3-DevKitM-1 was causing had a non-blinking pale blue LED to be on, and had JTAG enabled. Thanks.

ESP_Minatel
Posts: 364
Joined: Mon Jan 04, 2021 2:06 pm

Re: ESP32-C3-DevKitM-1 default software

Postby ESP_Minatel » Fri Apr 30, 2021 3:27 pm

Hi,

There is no default software. Have you tried the blink example in our master branch from ESP-IDF on GitHub?

https://github.com/espressif/esp-idf/tr ... rted/blink

Note that the RGB LED is addressable and does not work as a regular LED.

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

Re: ESP32-C3-DevKitM-1 default software

Postby chegewara » Fri Apr 30, 2021 3:38 pm

I believe this was installed on my devices:
https://github.com/espressif/esp-rainma ... /led_light

eperie
Posts: 10
Joined: Fri Apr 30, 2021 2:48 pm

Re: ESP32-C3-DevKitM-1 default software

Postby eperie » Fri Apr 30, 2021 4:03 pm

@ESP_Minatel: Well, If I erase the flash and reset the ESP32-C3-DevKitM-1, the pale blue LED would be off. If I dump the flash from a second ESP32-C3-DevKitM-1 device out-of-the-box and re-flash first one with the extracted flash content, then reset it, the pale blue LED would be on again, and the JTAG is working. I therefore consider there was definitively some kind of software running by default on my ESP32-C3-DevKitM-1 kits.

eperie
Posts: 10
Joined: Fri Apr 30, 2021 2:48 pm

Re: ESP32-C3-DevKitM-1 default software

Postby eperie » Fri Apr 30, 2021 4:05 pm

@chegewara: Thank you.

eperie
Posts: 10
Joined: Fri Apr 30, 2021 2:48 pm

Re: ESP32-C3-DevKitM-1 default software

Postby eperie » Fri Apr 30, 2021 4:09 pm

@ESP_Minatel: Yes, I tried https://github.com/espressif/esp-idf/tr ... rted/blink following the instructions, to no avail. Besides, JTAG seems to be disabled in this demo. Is there any documentation explain how to enable the JTAG on the /examples/get-started/blink demo project ? Thanks.

ESP_Minatel
Posts: 364
Joined: Mon Jan 04, 2021 2:06 pm

Re: ESP32-C3-DevKitM-1 default software

Postby ESP_Minatel » Fri Apr 30, 2021 5:03 pm

Can you share the "sdkconfig" file from the blink project you are trying?

eperie
Posts: 10
Joined: Fri Apr 30, 2021 2:48 pm

Re: ESP32-C3-DevKitM-1 default software

Postby eperie » Fri Apr 30, 2021 5:22 pm

@ESp_Minatel Here it is. Is there any information available on how enabling the JTAG in a ESP32-C3-DevKitM-1 project ?
Attachments
sdkconfig.zip
(8.12 KiB) Downloaded 282 times

ESP_Minatel
Posts: 364
Joined: Mon Jan 04, 2021 2:06 pm

Re: ESP32-C3-DevKitM-1 default software

Postby ESP_Minatel » Fri Apr 30, 2021 5:46 pm

Hi,

You mean by JTAG the console output from the serial? This board shouldn't have JTAG yet.

Can you confirm the chip revision you have?

You can see that by the following command: esptool.py -p <PORT> flash_id

The output should be something like this:

Code: Select all

esptool.py v3.1-dev
Serial port /dev/ttyUSB0
Connecting....
Detecting chip type... ESP32-C3
Chip is ESP32-C3 (revision 3)
Features: Wi-Fi
Crystal is 40MHz
MAC: xx:xx:xx:xx:xx:xx
Uploading stub...
Running stub...
Stub running...
Manufacturer: 20
Device: 4016
Detected flash size: 4MB
Hard resetting via RTS pin...

eperie
Posts: 10
Joined: Fri Apr 30, 2021 2:48 pm

Re: ESP32-C3-DevKitM-1 default software

Postby eperie » Fri Apr 30, 2021 5:54 pm

I have revision 2 of the chip:

Code: Select all

esptool.py esp32c3 -p /dev/ttyUSB0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 2MB 0x0 bootloader/bootloader.bin 0x10000 blink.bin 0x8000 partition_table/partition-table.bin
esptool.py v3.1-dev
Serial port /dev/ttyUSB0
Connecting....
Chip is ESP32-C3 (revision 2)
Features: Wi-Fi
Crystal is 40MHz
MAC: 7c:df:a1:42:f3:68
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00004fff...
Flash will be erased from 0x00010000 to 0x0003afff...
Flash will be erased from 0x00008000 to 0x00008fff...
Compressed 19200 bytes to 11648...
Writing at 0x00000000... (100 %)
Wrote 19200 bytes (11648 compressed) at 0x00000000 in 0.6 seconds (effective 260.6 kbit/s)...
Hash of data verified.
Compressed 174544 bytes to 87698...
Writing at 0x00010000... (16 %)
Writing at 0x00019ea9... (33 %)
Writing at 0x00020916... (50 %)
Writing at 0x00027d1a... (66 %)
Writing at 0x00030693... (83 %)
Writing at 0x0003823e... (100 %)
Wrote 174544 bytes (87698 compressed) at 0x00010000 in 3.2 seconds (effective 443.0 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 103...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.1 seconds (effective 418.7 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
Done

Who is online

Users browsing this forum: aliarifat794, axellin and 137 guests