Xiao esp32 c3 not running uploaded code

I’m pretty new to arduino as a whole but I’ve been working on the xiao esp32 c3 board for a while and I’ve soldering a battery and have been trying to finish a project with it. I know the board is a bit finicky and I’ve had my fair share of upload issues but now when I upload any code the IDE says it has finished uploading but code such as serial and just digitalWrite high and low they don’t seem to be running (I tried to hook up a simple buzzer to it). I’ve tried erasing flash and other methods but nothing seems to work. Is by board bricked?

Sketch uses 283688 bytes (21%) of program storage space. Maximum is 1310720 bytes.
Global variables use 11944 bytes (3%) of dynamic memory, leaving 315736 bytes for local variables. Maximum is 327680 bytes.
esptool v5.0.0
Serial port COM8:
Connecting...
Connected to ESP32-C3 on COM8:
Chip type: ESP32-C3 (QFN32) (revision v0.4)
Features: Wi-Fi, BT 5 (LE), Single Core, 160MHz, Embedded Flash 4MB (XMC)
Crystal frequency: 40MHz
USB mode: USB-Serial/JTAG
MAC: 24:ec:4a:ce:23:1c

Uploading stub flasher...
Running stub flasher...
Stub flasher running.

Configuring flash size...
Flash will be erased from 0x00000000 to 0x00004fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x00055fff...
Compressed 19696 bytes to 12712...

Writing at 0x00000000 [ ] 0.0% 0/12712 bytes...

Writing at 0x00004cf0 [==============================] 100.0% 12712/12712 bytes...
Wrote 19696 bytes (12712 compressed) at 0x00000000 in 0.4 seconds (428.6 kbit/s).
Hash of data verified.
Compressed 3072 bytes to 146...

Writing at 0x00008000 [ ] 0.0% 0/146 bytes...

Writing at 0x00008c00 [==============================] 100.0% 146/146 bytes...
Wrote 3072 bytes (146 compressed) at 0x00008000 in 0.1 seconds (233.8 kbit/s).
Hash of data verified.
Compressed 8192 bytes to 47...

Writing at 0x0000e000 [ ] 0.0% 0/47 bytes...

Writing at 0x00010000 [==============================] 100.0% 47/47 bytes...
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.2 seconds (428.7 kbit/s).
Hash of data verified.
Compressed 283840 bytes to 155792...

Writing at 0x00010000 [ ] 0.0% 0/155792 bytes...

Writing at 0x0001ba11 [==> ] 10.5% 16384/155792 bytes...

Writing at 0x00023b5f [=====> ] 21.0% 32768/155792 bytes...

Writing at 0x00029dee [========> ] 31.5% 49152/155792 bytes...

Writing at 0x000301b6 [===========> ] 42.1% 65536/155792 bytes...

Writing at 0x000366d5 [==============> ] 52.6% 81920/155792 bytes...

Writing at 0x0003c897 [=================> ] 63.1% 98304/155792 bytes...

Writing at 0x00045793 [=====================> ] 73.6% 114688/155792 bytes...

Writing at 0x0004bdc3 [========================> ] 84.1% 131072/155792 bytes...

Writing at 0x0005201e [===========================> ] 94.6% 147456/155792 bytes...

Writing at 0x000554c0 [==============================] 100.0% 155792/155792 bytes...
Wrote 283840 bytes (155792 compressed) at 0x00010000 in 2.3 seconds (974.7 kbit/s).
Hash of data verified.

Hard resetting via RTS pin...

can you load a simple example program such as blink?

what board have you selected under Tools>Board?

also under the Tools menu you may require
Select “USB CDC on boot” and ensure it is enabled.

Impossible to say based on so little information. Have you read the forum guide yet? What is connected to the ESP? What code did you upload?

In future, please post error messages/upload messages in code tags.

Serial only works if you have enabled it in the tools menu, with “CDC on boot”.

Pins not working must be something wrong with your code, which we can’t see.

The sketch seems to have uploaded OK.

Leo..