Blink Fails on XIAO_ESP32S3

I’m a newbie. I’m having difficulty running the most basic sketch on a Xiao ESP32S3 with the camera module and antenna plugged in. I need help at the starting gate, please.

Board: XIAO_ESP32S3
Running under Ubuntu with IDE 2.3.3
I’ve checked that the only port that gets turned off is ttyACM2 when I disconnect the XIAO. Uploading Blink results in the following message:

Sketch uses 276405 bytes (8%) of program storage space. Maximum is 3342336 bytes.
Global variables use 18024 bytes (5%) of dynamic memory, leaving 309656 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.6
Serial port /dev/ttyACM2
Connecting...
Chip is ESP32-S3 (revision v0.2)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 24:58:7c:e2:a6:dc
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600

A fatal error occurred: No serial data received.

What is my mistake, please?

Thanks.

Hi there,
and welcome.
No worries it’s a first time thing :v:
Your device isn’t in (BOOT LOADER) mode to accept incoming code So, Press and hold Boot button and press and release the Reset button then release the boot button. The com port may change so be aware. It will upload and you will need to press the reset button for the code to take over.
After a successful upload you won’t need the boot loader mode button presses Most of the times if all is good.
Post up any questions you may have , lots of smart folks on here willing to help out

HTH
GL :slight_smile: PJ :+1:

fyi, so there is a tools menu in IDE for things like PSram enable and Filesystem type partitions settings, etc. you set them before you upload and some demo’s require them to be set in a certain way so be mindful of that. often it’s in the Header comments /on the Demo or Example code /

1 Like

Thanks, @PJ_Glasso!

Your suggestion worked even though I have fat fingers. Thanks also for the heads-up on PSRAM. I’m trying to troubleshoot the standard CameraWebServer example (for Edge Impulse tutorial). I’ll probably spin a few more wheels including RTM before posting again.

Best Regards.

1 Like

Hi there
Awesome, Good Stuff. Please mark it as the solution and others will be able to find it.
It’s only a little tricky (webcam server) but pretty much works out of the box/bag :smile: :v:
I have a demo of it on here as well as the code and expected compiler output.
(enable PSram), set partition , note in the header AFAIK
HTH
GL :slight_smile: PJ :v:

1 Like