Search found 6 matches

by whoim2
Sat Sep 27, 2025 9:54 pm
Forum: ESP32 Arduino
Topic: ESP32S2 Crypted OTA bin err uploading: Could Not Activate The Firmware
Replies: 2
Views: 2510

Re: ESP32S2 Crypted OTA bin err uploading: Could Not Activate The Firmware


This functionality requires secure boot and flash encryption . arduino-esp32 does not directly support these features, so you need to install them and flash the fuses with esp-idf. You can then use Update.setupCrypt to OTA flash code written in arduino-esp32 (and the IDE).


I moved setupCrypt to ...
by whoim2
Sat Sep 27, 2025 8:57 pm
Forum: ESP32 Arduino
Topic: ESP32S2 Crypted OTA bin err uploading: Could Not Activate The Firmware
Replies: 2
Views: 2510

ESP32S2 Crypted OTA bin err uploading: Could Not Activate The Firmware

Hey.
- Lolin S2 mini
- sketch compiled with Arduino 1.8.19 && 3.3.1 framework
- sketch have Wifi.softAP and OTA functions


#include <Update.h>
..
const uint8_t OTA_KEY[32] = {'0','v','R','u','e','o','B','n','S','v','t','B','P','l','e','Q','4','D','s','0','1','q','Q','U','5','g','x','7','Z','u','3 ...
by whoim2
Wed Dec 06, 2023 10:31 pm
Forum: ESP-IDF
Topic: esp32s2 flash remotely, socat
Replies: 4
Views: 5207

Re: esp32s2 flash remotely, socat


Great news you made it working!

For anybody exploring this topic, please refer to Esptool.py Documentation > Remote Serial Ports


I read this page, it was very helpful, thank you! The only thing I don’t like is that sometimes the firmware is only installed on the second attempt, as I noticed ...
by whoim2
Wed Dec 06, 2023 10:39 am
Forum: ESP-IDF
Topic: esp32s2 flash remotely, socat
Replies: 4
Views: 5207

Re: esp32s2 flash remotely, socat


Not sure why that doesn't work, but you may want to look at the functionality esptool has natively for this: see the comments here .


thanks, im using socat on windows side:
socat -d /dev/ttyS%COM-1% tcp:serverrip:port1

and socat on server side:
socat -d TCP4-LISTEN:port1,reuseaddr TCP4 ...
by whoim2
Wed Dec 06, 2023 6:55 am
Forum: ESP-IDF
Topic: esp32s2 flash remotely, socat
Replies: 4
Views: 5207

esp32s2 flash remotely, socat

Hello!
I'm trying to forward the ESP serial port for remote firmware.
ESP is connected to the Windows machine and the flashing port is com41, the port in normal mode (usb>serial) is com43. First I try the normal mode.
On this computer I start a connection to the Linux server:
socat /dev/ttyS42,raw ...
by whoim2
Thu Nov 09, 2023 2:05 pm
Forum: ESP-IDF
Topic: [Resolved] Unabled to burn_efuse FLASH_CRYPT_CNT
Replies: 6
Views: 12078

Re: [Resolved] Unabled to burn_efuse FLASH_CRYPT_CNT

Hello! My problem probably relates to this topic, try to describe it.
I wanted to use the generated esp-idf bootloader for the encryption section with the firmware created in Arduino (binary file). Everything worked out for me, I left the option to download via USB and turned on the development mode ...

Go to advanced search