Custom ESP32 Board - Repeated Flashing Error

Hello!

So I designed a custom PCB using a ESP32-S3 Mini but am getting repeated issues with flashing to it. I am able to flash to it once I enter bootloader mode, flash, reset, and then the code I uploaded runs. But if I edit anything and reupload, it again errors when trying to upload. So I AM able to upload to this board, but only when in bootloader mode (why I am not sure...)

Error Messages:

A serial exception error occurred: Write timeout
Note: This error originates from pySerial. It is likely not a problem with esptool, but with the hardware connection or drivers.

System Information:
W10, Arduino 2.3.3

Code: 
#include <FastLED.h>

#define LED_PIN 6    
#define NUM_LEDS 1   

CRGB led[NUM_LEDS];

void setup() {
  delay(1000);
  USBSerial.begin(9600);
  
  
  
  // Initialize the LED
  FastLED.addLeds<WS2812B, LED_PIN, GRB>(led, NUM_LEDS);

  led[0] = CRGB::Red;
  FastLED.show(); 
  // USBSerial.begin(9600);
  USBSerial.println("Testing");
}

void loop() {
  USBSerial.println("testing print loop");
  delay(1000);
}

I am not allowed to upload zip files as a new user so here is a google drive link to my board design.

https://drive.google.com/drive/folders/1ij0BTjsvhTws74AVT51pqcifCAKdr0R7?usp=drive_link

Any help is well appreciated, please let me know if there's anything else I should provide

Edit: Thanks! Including images is a much better idea for sharing the board files
Further adding on, I've confirmed the following parts of the board operate as intended

  • 3v3 Line
  • Power Indicator
  • WS2812B LED
  • The motors drive channels AIN1, AIN2, BIN1, BIN2


  • We need to see a JPEG image of the schematic of our PCB.

Nobody wants zip-files so no loss.

1 Like

As a new user Im not allowed to have 3+ images, so here is one last schematic photo in the reply

  • First try a 10k pull-up resistor on pin 4 IO0

Hmmm... still the same issue arises even when I have attached the 10k pull up resistor


Im sure its not the connection itself, I proped connectivity between the 3v3 side of the resistor & other 3v3 pads and that was connected, and the button connection to the resistor was also good.

Any other ideas? (Sorry for the late response I have been somewhat sick :C)

So, I tried it on a mac and it uploaded fine! So I guess I will be switching to a mac now

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.