3207 views|1 replies

1w

Posts

25

Resources
The OP
 

【Beetle ESP32-C3】Download MicroPython firmware [Copy link]

Running micropython on esp32 is a very interesting way to quickly experience the powerful functions of esp32 without waiting for a long compilation. Because the development board does not come with firmware by default, we need to install micropython first.

First, go to the official website to download the esp32c3 firmware ( https://micropython.org/download/?mcu=esp32c3 ). Currently, the official website provides firmware for three different development boards. We can use the two that support USB functions (marked with red circles). Click the icon of the development board to enter the download page. You can choose to download the stable version or the daily build version.

If the development board has not been downloaded before, you can directly connect the development board to USB. Otherwise, you need to connect IO9 ( note not IO0 ) to GND first and then insert USB (or reset) to put esp32c3 into download mode.

To download the firmware, you can use the command line tool esptool (you can install python first and then install it with pip) or the official graphical software Flash download tool flash_downlaod_tool ( https://www.espressif.com.cn/zh-hans/support/download/other-tools ). The following takes the Flash download tool as an example.

After running the flash downlaod tool, a selection box will appear and you need to select ESP32C3 as the chip model.

After selecting the chip, enter the program download interface. First load the downloaded firmware file, check the front selection box, and fill in 0 for the address behind. After inserting the development board, the serial port will be automatically recognized in the win10 system. Select the serial port corresponding to the development board in the COM in the lower right corner. The baud rate can be selected as high as possible, so that the download speed is fast.

First click the ERASE button to clear the flash contents so that the internal file system can be initialized. Then press the START button to download the firmware.

After the download is complete, you need to reset it once (you can short the RST pad of the development board or re-insert the USB), and then you can run MicroPython. Use a terminal software (such as mobaxterm, putty, thonny, etc.) to use MicroPython. Note that you may not see the prompt for the first time, and you need to press Enter to see it, because the serial port can only be selected after the USB is inserted, and at this time the chip has already printed the prompt.

In addition, the current version of the firmware does not support the MSD function (U disk mode), and files cannot be copied directly into it. This function needs to be added in subsequent version upgrades.

This post is from RF/Wirelessly

Latest reply

Python development method is still very convenient.  Details Published on 2022-8-3 21:23
 

6818

Posts

11

Resources
2
 
Python development method is still very convenient.
This post is from RF/Wirelessly
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

快速回复 返回顶部 Return list