Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Programming ESP-C3-12F boards (Read 1178 times)
Acuario
Full Member
***
Offline


Posts: 233
Location: Spain
Joined: Aug 28th, 2015
Programming ESP-C3-12F boards
Nov 20th, 2021 at 5:45am
Print Post  
I just received my ESP-C3-12F boards (not KIT boards, the 'raw' board) that are (nearly) pin compatible with the ESP12F.

First thing to note is that there is no Reset pin - this is now GPIO0. Reset is done via the EN pin which was CH_PD on the ESP8266.

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 Sad

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) - NOTE: this was GPIO15 on the ESP8266 which is tied LOW to program!!!
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) - NOTE: this was CH_PD on the ESP8266 which was normally strapped to ground.

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 - works perfectly with VM  Smiley

Hope this helps someone.

Acuario
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Programming ESP-C3-12F boards
Reply #1 - Nov 24th, 2021 at 4:38pm
Print Post  
Thank you
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint