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.
Sketch and webserver
Re: Sketch and webserver
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.
Re: Sketch and webserver
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.
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.
Re: Sketch and webserver
Hello,
Is this schematic enough?
Can something be wrong Boot Loader. Can it make so it there can't upload again
Is this schematic enough?
Can something be wrong Boot Loader. Can it make so it there can't upload again
- Attachments
-
- DF.jpg (19.58 KiB) Viewed 1473 times
Last edited by -JaPa- on Mon Oct 06, 2025 2:16 pm, edited 1 time in total.
Re: Sketch and webserver
No.Hello,
Is this schematic enough?
No, the bootloader is in ROM; you cannot change it as it's part of the design of the chip.Can something be wrong Boot Loader. Can it make so it there can't upload again
Re: Sketch and webserver
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?
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: No registered users and 1 guest
