Search found 5 matches

by Alex Rossouw
Thu Sep 01, 2022 9:02 am
Forum: ESP32 Arduino
Topic: ESP32-C3 sometimes won't execute code
Replies: 7
Views: 4320

Re: ESP32-C3 sometimes won't execute code

Ok so after an hour of module testing, I found that 'one line of code' responsible for the bad behaviour I was seeing. I forgot that my battery library I wrote will set the board into hibernation mode (deep sleep without a timer wakeup) if battery voltage was low (no battery was even connected). Yes...
by Alex Rossouw
Tue Aug 30, 2022 10:43 am
Forum: ESP32 Arduino
Topic: ESP32-C3 sometimes won't execute code
Replies: 7
Views: 4320

Re: ESP32-C3 sometimes won't execute code

The thing is the serial monitor prints nothing, no boot load, no core dump nor crash report. Sometimes there is a "waiting for download" msg printing tho. What I do is I take my code apart, upload bit by bit and see what causes this behaviour. It's a pain, but it's the best fix I have so far. I'm us...
by Alex Rossouw
Sat Aug 27, 2022 4:08 pm
Forum: ESP32 Arduino
Topic: ESP32-C3 sometimes won't execute code
Replies: 7
Views: 4320

ESP32-C3 sometimes won't execute code

Every so often the board won't execute its code, and needs a manual reset just to reconnect the usb back onto my pc (win 10). I'm using platformio with the Arduino framework. I have been using ESP's for a year and a half, I love them, however this C3 mini is a real pain sometimes. Any ideas what exa...
by Alex Rossouw
Sun Jun 26, 2022 8:31 pm
Forum: Hardware
Topic: ESP32 C3 USB not connecting to PC after a few uploads
Replies: 3
Views: 4898

Re: ESP32 C3 USB not connecting to PC after a few uploads

Hm, I can't find a proper datasheet for the C3 version of that board, but assuming it uses the internal USB-serial-JTAG converter, you could have configured one of the USB pins as a GPIO. In this case, you need to force the chip into download mode. Easiest way is to connect GPIO9 to ground and rese...
by Alex Rossouw
Wed May 18, 2022 11:31 am
Forum: Hardware
Topic: ESP32 C3 USB not connecting to PC after a few uploads
Replies: 3
Views: 4898

ESP32 C3 USB not connecting to PC after a few uploads

My pc fails to recognize my DFRobot Beetle dev board v 1.0. It uses the ESP32-C3-mini-1. It works out the box then after some uploads no connection or the connection is cycling on-off... Using Windows 10 OS. Swapping Arduino IDE and VSCode around don't work. Cool term wont connect nor see it on com ...