ESP32-8048S043C error programming

Hi,

I have both ESP32-3248S035C & ESP32-8048S043C.

I was able to program ESP32-3248S035C easily on

https://suchmememanyskill.github.io/CYD-Klipper/

and

https://install.openhasp.com/

but ESP32-8048S043C isn't programming.

even on arduino ide, I can't upload a simple blink code

In arduino ide I get this error:

Sketch uses 248501 bytes (18%) of program storage space. Maximum is 1310720 bytes.
Global variables use 18456 bytes (5%) of dynamic memory, leaving 309224 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.5.1
Serial port COM8
Connecting...

A serial exception error occurred: Cannot configure port, something went wrong. Original message: PermissionError(13, 'Access is denied.', None, 5)
Note: This error originates from pySerial. It is likely not a problem with esptool, but with the hardware connection or drivers.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
the selected serial port For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
 does not exist or your board is not connected

Return and replace it.

That would be near impossible, I'm in the middle east and the seller probably in china. Not worth the cost of shipping it back to china.

But the board boots up and run the lvgl demo ! And the PC device manager recognize the board on the COM port.

I tried to program it through platformio.

I get this message:

Building in release mode
Retrieving maximum program size .pio\build\esp32-8048S043C-SD\firmware.elf
Checking size .pio\build\esp32-8048S043C-SD\firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [===       ]  28.2% (used 92540 bytes from 327680 bytes)
Flash: [==        ]  18.0% (used 1177825 bytes from 6553600 bytes)
Configuring upload protocol...
AVAILABLE: cmsis-dap, esp-bridge, esp-builtin, esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa   
CURRENT: upload_protocol = esptool
Looking for upload port...
Auto-detected: COM6
Forcing reset using 1200bps open/close on port COM6
Waiting for the new upload port...
Uploading .pio\build\esp32-8048S043C-SD\firmware.bin
esptool.py v4.5.1
Serial port COM6
Connecting...

A serial exception error occurred: Cannot configure port, something went wrong. Original message: PermissionError(13, 'Access is denied.', None, 5)
Note: This error originates from pySerial. It is likely not a problem with esptool, but with the hardware connection or drivers.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
*** [upload] Error 1
=================================== [FAILED] Took 20.87 seconds ===================================
Environment         Status    Duration
------------------  --------  ------------
esp32-8048S043C-SD  FAILED    00:00:20.869
============================== 1 failed, 0 succeeded in 00:00:20.869 ==============================
 *  The terminal process "C:\Users\eagle\.platformio\penv\Scripts\platformio.exe 'run', '--target', 'upload', '--target', 'monitor', '--environment', 'esp32-8048S043C-SD'" terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it. 

Found the solution here:

https://github.com/espressif/esptool/issues/682

By installing old CH340 driver and connecting the board on USB 2.0 port.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.