ESP-C3-12F programming

Acuario
Posts: 7
Joined: Mon Apr 04, 2016 11:21 am

ESP-C3-12F programming

Postby Acuario » Sat Nov 20, 2021 5:37 am

I just received my ESP-C3-12F boards (not KIT boards, the 'raw' board) that are (nearly) pin compatible with the ESP12F.

After assembling my board I found I couldn't program it via my USB -> RS232 adaptor using RX/TX (as I had always programmed my ESP8266 devices. The serial port worked fine.

Read the docs - not very clear :-(

Finally, it appears there are (at least) 3 different ways to program the device depending on the IO pin states.

It seems the default when no IO pins are strapped is usb which ISN'T using rx/tx

To boot to be able to use rx/tx (as per the ESP8266) you need the following:
GPIO8 HIGH (can tie to 3V3 with a resistor)
GPIO2 HIGH (can tie to 3V3 with a resistor)
GPIO9 LOW (best with a switch or temporary link or it will always boot in download)
Take EN low momentarily (reset)

You will then get an output on the Serial port:
rst:0x1 (POWERON),boot:0x5 (DOWNLOAD(USB/UART0/1))
waiting for download

You can now upload your code via rx/tx as per the ESP8266

Hope this helps someone.

Acuario

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

Re: ESP-C3-12F programming

Postby chegewara » Sat Nov 20, 2021 12:17 pm

https://docs.ai-thinker.com/_media/esp3 ... cation.pdf
Screenshot from 2021-11-20 13-15-24.png
Screenshot from 2021-11-20 13-15-24.png (29.85 KiB) Viewed 5657 times

https://www.espressif.com/sites/default ... eet_en.pdf
Screenshot from 2021-11-20 13-17-14.png
Screenshot from 2021-11-20 13-17-14.png (118.18 KiB) Viewed 5657 times

Who is online

Users browsing this forum: Bing [Bot] and 36 guests