Make proper XIAO ESP32C3 firmware.bin for use with ESP Web Tools?

Hi there,
LOL, Ok
I used Arduino, Compiled and built, flashed individually the group
then combined them and flashed that , in between I flashed a SD card, Read sketch for validation each time.
Well Works Fine,
Compiler Output

esptool.py v4.5.1
Creating esp32c3 image...
Merged 2 ELF sections
Successfully created esp32c3 image.
"C:\\Users\\Dude\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.11/tools/gen_esp32part.exe" -q "C:\\Users\\Dude\\AppData\\Local\\Temp\\arduino\\sketches\\1B532610C9C03DA361C31EFFAA5A57CB/partitions.csv" "C:\\Users\\Dude\\AppData\\Local\\Temp\\arduino\\sketches\\1B532610C9C03DA361C31EFFAA5A57CB/sketch_mar21a_hello_9600.ino.partitions.bin"
cmd /c if exist "C:\\Users\\Dude\\AppData\\Local\\Temp\\arduino\\sketches\\1B532610C9C03DA361C31EFFAA5A57CB\\libraries\\Insights" "C:\\Users\\Dude\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.11/tools/gen_insights_package.exe" "C:\\Users\\Dude\\AppData\\Local\\Temp\\arduino\\sketches\\1B532610C9C03DA361C31EFFAA5A57CB" sketch_mar21a_hello_9600.ino "D:\\Arduino_projects\\sketch_mar21a_hello_9600"
cmd /c IF 0==1 COPY /y "C:\\Users\\Dude\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\openocd-esp32\\v0.11.0-esp32-20221026\\share\\openocd\\scripts\\board\\esp32c3-builtin.cfg" "D:\\Arduino_projects\\sketch_mar21a_hello_9600\\debug.cfg"
cmd /c IF 0==1 COPY /y "C:\\Users\\Dude\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.11\\tools\\ide-debug\\esp32c3.json" "D:\\Arduino_projects\\sketch_mar21a_hello_9600\\debug_custom.json"
cmd /c IF 0==1 COPY /y "C:\\Users\\Dude\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.11\\tools\\ide-debug\\svd\\esp32c3.svd" "D:\\Arduino_projects\\sketch_mar21a_hello_9600\\debug.svd"

"C:\\Users\\Dude\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\riscv32-esp-elf-gcc\\esp-2021r2-patch5-8.4.0/bin/riscv32-esp-elf-size" -A "C:\\Users\\Dude\\AppData\\Local\\Temp\\arduino\\sketches\\1B532610C9C03DA361C31EFFAA5A57CB/sketch_mar21a_hello_9600.ino.elf"
Sketch uses 228422 bytes (17%) of program storage space. Maximum is 1310720 bytes.
Global variables use 13552 bytes (4%) of dynamic memory, leaving 314128 bytes for local variables. Maximum is 327680 bytes.

here’s your Serial output (9600) baud BTW.

353 Hello from setup: 150234723153568
353 Hello from loop: 150234723153568
1353 Hello from loop: 150234723153568
2358 Hello from loop: 150234723153568
3358 Hello from loop: 150234723153568
4363 Hello from loop: 150234723153568
5363 Hello from loop: 150234723153568

and here’s the Zip with a Bin
target.zip (141.4 KB)
You can drop that directly on with EspRFTestTool and press reset to get same output as above.
FYI , USB must be plugged in, Your code has (While Serial) So…

HTH
GL :wink: PJ

P.S. I followed my own Guide here, maybe you should too. :v: