I had already set 115200 baud in my program. After verbose output I got this message output which I think is the same as before changing verbose output
Sketch uses 291153 bytes (9%) of program storage space. Maximum is 3145728 bytes.
Global variables use 21900 bytes (6%) of dynamic memory, leaving 305780 bytes for local variables. Maximum is 327680 bytes.
"C:\Users\janf5\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\5.1.0/esptool.exe" --chip esp32s3 --port "COM8" --baud 921600 --before default-reset --after hard-reset write-flash -e -z --flash-mode keep --flash-freq keep --flash-size keep 0x0 "C:\Users\janf5\AppData\Local\arduino\sketches\5C2FB8A2841F54E1E258FA0D5B63644A/sketch_feb20a.ino.bootloader.bin" 0x8000 "C:\Users\janf5\AppData\Local\arduino\sketches\5C2FB8A2841F54E1E258FA0D5B63644A/sketch_feb20a.ino.partitions.bin" 0xe000 "C:\Users\janf5\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.3.7/tools/partitions/boot_app0.bin" 0x10000 "C:\Users\janf5\AppData\Local\arduino\sketches\5C2FB8A2841F54E1E258FA0D5B63644A/sketch_feb20a.ino.bin"
esptool v5.1.0
Serial port COM8:
Connecting....
Connected to ESP32-S3 on COM8:
Chip type: ESP32-S3 (QFN56) (revision v0.2)
Features: Wi-Fi, BT 5 (LE), Dual Core + LP Core, 240MHz, Embedded PSRAM 8MB (AP_3v3)
Crystal frequency: 40MHz
MAC: dc:b4:d9:22:13:90
Uploading stub flasher...
Running stub flasher...
Stub flasher running.
Changing baud rate to 921600...
Changed.
Configuring flash size...
Erasing flash memory (this may take a while)...
Flash memory erased successfully in 1.4 seconds.
Compressed 18736 bytes to 12238...
Writing at 0x00000000 [ ] 0.0% 0/12238 bytes...
Writing at 0x00004930 [==============================] 100.0% 12238/12238 bytes...
Wrote 18736 bytes (12238 compressed) at 0x00000000 in 0.2 seconds (635.6 kbit/s).
Hash of data verified.
Compressed 3072 bytes to 144...
Writing at 0x00008000 [ ] 0.0% 0/144 bytes...
Writing at 0x00008c00 [==============================] 100.0% 144/144 bytes...
Wrote 3072 bytes (144 compressed) at 0x00008000 in 0.0 seconds (1658.0 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.0 seconds (2595.0 kbit/s).
Hash of data verified.
Compressed 291296 bytes to 159414...
Writing at 0x00010000 [ ] 0.0% 0/159414 bytes...
Writing at 0x0001ba14 [==> ] 10.3% 16384/159414 bytes...
Writing at 0x0002826b [=====> ] 20.6% 32768/159414 bytes...
Writing at 0x0002dc93 [========> ] 30.8% 49152/159414 bytes...
Writing at 0x00033998 [===========> ] 41.1% 65536/159414 bytes...
Writing at 0x00038f39 [==============> ] 51.4% 81920/159414 bytes...
Writing at 0x0003e654 [=================> ] 61.7% 98304/159414 bytes...
Writing at 0x000440fe [====================> ] 71.9% 114688/159414 bytes...
Writing at 0x0004ac85 [=======================> ] 82.2% 131072/159414 bytes...
Writing at 0x00052bcc [==========================> ] 92.5% 147456/159414 bytes...
Writing at 0x000571e0 [==============================] 100.0% 159414/159414 bytes...
Wrote 291296 bytes (159414 compressed) at 0x00010000 in 2.3 seconds (1012.5 kbit/s).
Hash of data verified.
Hard resetting via RTS pin...