ESP32 S3 Box Lite unstable uploading

Gienek
Posts: 10
Joined: Wed Dec 21, 2022 11:09 am

ESP32 S3 Box Lite unstable uploading

Postby Gienek » Mon Mar 13, 2023 10:14 am

Hi, I bought mentioned box in Official Espressif Ali Store. Programming it using USB-C is really tedious.
I stared with online tool which wasn't working at all with USB C.
Then tried with platformio and esptool. After several attempts with different upload speeds progress reached several % and failed corrupting internal program.
Then I tried external CPxx bridge and it was ok, using 115200 baud I managed to upload some LED blink.
Then I tried again using USB C it faled several times, succeeded 2-3 times and then again only failes with at most partially uploaded code.
I was trying using boot/reset buttons: pressing boot all the time during upload, ejecting USB, presing boot then inserting USB. I have nothing wired to exposed GPIOs
What should I do?

One type of error:

Code: Select all

CURRENT: upload_protocol = esptool
Looking for upload port...
Auto-detected: COM12
Uploading .pio\build\esp32s3box\firmware.bin
esptool.py v4.4
Serial port COM12
Connecting...
Chip is ESP32-S3 (revision v0.1)

Flash will be erased from 0x00010000 to 0x00063fff...
Compressed 20816 bytes to 13274...
Writing at 0x00000000... (100 %)


A fatal error occurred: Packet content transfer stopped (received 1 bytes)
*** [upload] Error 2
2nd type of error:

Code: Select all

Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.0 seconds (effective 546.9 kbit/s)...
Hash of data verified.
Compressed 342080 bytes to 190394...
Writing at 0x00010000... (8 %)
Writing at 0x0001c9c5... (16 %)
Writing at 0x00024973... (25 %)
Writing at 0x0002a705... (33 %)
Traceback (most recent call last):
  File "C:\Users\padamczyk\.platformio\packages\tool-esptoolpy\esptool.py", line 34, in <module>
    esptool._main()
  File "C:\Users\padamczyk\.platformio\packages\tool-esptoolpy\esptool\__init__.py", line 1026, in _main
    main()
  File "C:\Users\padamczyk\.platformio\packages\tool-esptoolpy\esptool\__init__.py", line 826, in main
    operation_func(esp, args)
  File "C:\Users\padamczyk\.platformio\packages\tool-esptoolpy\esptool\cmds.py", line 556, in write_flash
    esp.flash_defl_block(block, seq, timeout=timeout)
  File "C:\Users\padamczyk\.platformio\packages\tool-esptoolpy\esptool\loader.py", line 109, in inner
    return func(*args, **kwargs)
  File "C:\Users\padamczyk\.platformio\packages\tool-esptoolpy\esptool\loader.py", line 991, in flash_defl_block
    self.check_command(
  File "C:\Users\padamczyk\.platformio\packages\tool-esptoolpy\esptool\loader.py", line 407, in check_command
    val, data = self.command(op, data, chk, timeout=timeout)
  File "C:\Users\padamczyk\.platformio\packages\tool-esptoolpy\esptool\loader.py", line 376, in command
    p = self.read()
  File "C:\Users\padamczyk\.platformio\packages\tool-esptoolpy\esptool\loader.py", line 308, in read
    return next(self._slip_reader)
StopIteration
*** [upload] Error 1
Packages:
PACKAGES:
- framework-espidf @ 3.50000.0 (5.0.0)
- tool-cmake @ 3.16.4
- tool-esptoolpy @ 1.40400.0 (4.4.0)
- tool-idf @ 1.0.1
- tool-mconf @ 1.4060000.20190628 (406.0.0)
- tool-mkfatfs @ 2.0.1
- tool-mklittlefs @ 1.203.210628 (2.3)
- tool-mkspiffs @ 2.230.0 (2.30)
- tool-ninja @ 1.9.0
- toolchain-esp32ulp @ 1.23500.220830 (2.35.0)
- toolchain-riscv32-esp @ 11.2.0+2022r1

PLATFORM: Espressif 32 (6.0.1) > Espressif ESP32-S3-Box
HARDWARE: ESP32S3 240MHz, 320KB RAM, 16MB Flash

ESP_Rachel
Posts: 96
Joined: Wed Nov 10, 2021 9:28 am

Re: ESP32 S3 Box Lite unstable uploading

Postby ESP_Rachel » Tue Mar 14, 2023 1:33 pm

Can your PC detect the USB device under Computer Management - Device Manager?
WXWorkCapture_16788006508763.png
WXWorkCapture_16788006508763.png (440.93 KiB) Viewed 30272 times
Can you try another USB-C Cable?

Gienek
Posts: 10
Joined: Wed Dec 21, 2022 11:09 am

Re: ESP32 S3 Box Lite unstable uploading

Postby Gienek » Wed Mar 22, 2023 8:29 am

Hi, it turned out that ESP Box Light is in some way broken - I got it from official Ali store.
Now I got S3 Devkit V1 N8R2 from reseller in Poland and it is working perfectly fine.

ESP_Rachel
Posts: 96
Joined: Wed Nov 10, 2021 9:28 am

Re: ESP32 S3 Box Lite unstable uploading

Postby ESP_Rachel » Wed Mar 22, 2023 8:59 am

Please contact our customer service for returns or exchanges. Please accept our apologies for any inconvenience caused.

Who is online

Users browsing this forum: No registered users and 13 guests