Sketch and webserver

-JaPa-
Posts: 5
Joined: Sat Oct 04, 2025 5:32 pm

Sketch and webserver

Postby -JaPa- » Sat Oct 04, 2025 5:50 pm

Hello,

I am novice with ESP32 and try make own circuit board with ESP32 and Webserver.

When I try to upload Sketch and webserver files with TTL to ESP32. It only can upload another to ESP32 sketch or webserver files, but not both. I have training with ESP32 DEV board and there is not any problem upload both. Is any one knowledge what is problem? I am using Arduino IDE foe uploading.
Last edited by -JaPa- on Sun Oct 05, 2025 3:56 am, edited 1 time in total.

Sprite
Espressif staff
Espressif staff
Posts: 10599
Joined: Thu Nov 26, 2015 4:08 am

Re: Sketch and webserver

Postby Sprite » Sun Oct 05, 2025 3:05 am

Can you show what exactly you want and where it goes wrong? Also, ESP32 chips don't support UPDI (that's an AVR thing if memory serves) so I'm sure you're using something else.

-JaPa-
Posts: 5
Joined: Sat Oct 04, 2025 5:32 pm

Re: Sketch and webserver

Postby -JaPa- » Sun Oct 05, 2025 4:03 am

Hello,

Sorry, I have error last comment. I am using TTL for uploading. I can upload another Sketch or Webserver files after that I got message:

"LittleFS Filesystem Uploader v1.2.0 -- https://github.com/earlephilhower/ardui ... efs-upload

Sketch Path: C:\Users.. Path: C:\Users... Device: ESP32 series, model esp32 Using partition: default Partitions: C:\Users\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.3.1\tools\partitions\default.csv

Building LittleFS filesystem Command Line: C:\Users\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\4.0.2-db0513a\mklittlefs.exe -c C:\Users\... -p 256 -b 4096 -s 1441792 C:\Users\AppData\Local\Temp\tmp-14740-7dJTDs5dKIml-.littlefs.bin /index.html /script.js /style.css Uploading LittleFS filesystem Command Line: C:\Users\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\5.1.0\esptool.exe --chip esp32 --port COM10 --baud 115200 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 2686976 C:\Users\AppData\Local\Temp\tmp-14740-7dJTDs5dKIml-.littlefs.bin

Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' instead. Warning: Deprecated: Option '--flash_freq' is deprecated. Use '--flash-freq' instead. Warning: Deprecated: Option '--flash_size' is deprecated. Use '--flash-size' instead. Warning: Deprecated: Choice 'default_reset' for option '--before' is deprecated. Use 'default-reset' instead. Warning: Deprecated: Choice 'hard_reset' for option '--after' is deprecated. Use 'hard-reset' instead. Warning: Deprecated: Command 'write_flash' is deprecated. Use 'write-flash' instead. esptool v5.1.0 Serial port COM10: Connecting...................................... A fatal error occurred: Failed to connect to ESP32: No serial data received. For troubleshooting steps visit: https://docs.espressif.com/projects/esp ... oting.html ERROR: Upload failed, error code: 2"

Can't over upload new sketch or webserver files. I can only upload one time. I have try with two circuit board this. This is maybe simple problem, but I don't have much experience so didn't find solution for this.
Last edited by -JaPa- on Sun Oct 05, 2025 7:06 am, edited 3 times in total.

Sprite
Espressif staff
Espressif staff
Posts: 10599
Joined: Thu Nov 26, 2015 4:08 am

Re: Sketch and webserver

Postby Sprite » Mon Oct 06, 2025 2:02 am

Can you show your board schematics?

-JaPa-
Posts: 5
Joined: Sat Oct 04, 2025 5:32 pm

Re: Sketch and webserver

Postby -JaPa- » Mon Oct 06, 2025 1:35 pm

Hello,

Is this schematic enough?
Can something be wrong Boot Loader. Can it make so it there can't upload again
Attachments
DF.jpg
DF.jpg (19.58 KiB) Viewed 1476 times
Last edited by -JaPa- on Mon Oct 06, 2025 2:16 pm, edited 1 time in total.

Sprite
Espressif staff
Espressif staff
Posts: 10599
Joined: Thu Nov 26, 2015 4:08 am

Re: Sketch and webserver

Postby Sprite » Tue Oct 07, 2025 1:19 am

Hello,

Is this schematic enough?
No.
Can something be wrong Boot Loader. Can it make so it there can't upload again
No, the bootloader is in ROM; you cannot change it as it's part of the design of the chip.

-JaPa-
Posts: 5
Joined: Sat Oct 04, 2025 5:32 pm

Re: Sketch and webserver

Postby -JaPa- » Tue Oct 07, 2025 10:16 am

Hello,

Thank you for help.

The problem was that programming voltage. ESP32 in this system not boot with reset button.
Make real boot you have to take programmer voltage cable off. This project is battery system so reset working maybe if battery is connect. Jus asking last: Is it reset (EN) in ESP32 same as boot?

Who is online

Users browsing this forum: Barkrowler, Qwantbot, Semrush [Bot] and 2 guests