Search found 18 matches

by ferrero
Thu Feb 13, 2025 2:42 am
Forum: ESP-AT
Topic: KeyError: Bootloader.bin
Replies: 1
Views: 3416

KeyError: Bootloader.bin

When im trying to build AT project with Falsh Encryption and Secure Boot v2 i got an error "KeyError: Bootloader.bin". Without encryption everything builds fine, where could be a problem?
by ferrero
Wed Feb 12, 2025 1:18 am
Forum: ESP-IDF
Topic: Flash Encryption + Secure Boot V2
Replies: 1
Views: 969

Re: Flash Encryption + Secure Boot V2

Here is some usefull info about this topic https://docs.espressif.com/projects/esp ... flows.html
by ferrero
Mon Feb 10, 2025 9:06 am
Forum: ESP-IDF
Topic: Flash Encryption + Secure Boot V2
Replies: 1
Views: 969

Flash Encryption + Secure Boot V2

Can anyone tell me how the two methods will initially work together.

When i building the project with Flash Encryption + Secure Boot V2, it will be signed with the manually generated private key. Then the unencrypted firmware with sign gets into memory, generate encrypt key and is encrypted there ...
by ferrero
Thu Jan 30, 2025 5:38 am
Forum: ESP-AT
Topic: Cannot compile custom at command code
Replies: 2
Views: 4746

Re: Cannot compile custom at command code

You should add ESP_AT_CMD_SET_INIT_FN(esp_at_custom_cmd_register, 1); into your app_main.
And all your custom files should be added into cmake file of component where this files is placed.
https://docs.espressif.com/projects/esp ... ystem.html
by ferrero
Thu Jan 30, 2025 3:56 am
Forum: ESP-AT
Topic: ESP32S2 AT wifi repeater
Replies: 2
Views: 4230

Re: ESP32S2 AT wifi repeater

SOLVED:
1. exec AT+CWMODE=3
2. Connect to AP with AT+CWJAP=
3. exec AT+CWDHCP=1,3
4. exec custom AT cmd AT+NAT=1
5. using phone connect to ESP soft AP WIFI
+turn on the NAT param in lwIP in menuconfig

idf: 5.0.6

AT+NAT:

static int32_t proc = 0;

uint8_t user_at_query_cmd_nat(uint8_t *cmd_name ...
by ferrero
Tue Jan 28, 2025 8:13 am
Forum: ESP-AT
Topic: ESP32S2 AT wifi repeater
Replies: 2
Views: 4230

ESP32S2 AT wifi repeater

Is it possible to create a wifi network repeater using AT commands or will you have to manually implement NAT by changing the internals of the firmware?
by ferrero
Wed Dec 04, 2024 7:33 am
Forum: ESP-AT
Topic: UART encryption
Replies: 3
Views: 11600

Re: UART encryption

The problem was solved.
I placed the encryption and data processing processes in the at_port_read_data function before executing read_fn, but it was necessary after.
Encryption now works properly
by ferrero
Wed Dec 04, 2024 5:47 am
Forum: ESP-AT
Topic: UART encryption
Replies: 3
Views: 11600

Re: UART encryption

I tried using encryption in the at_port_read_data and at_port_write_data functions. The recording function works properly, it correctly encrypts data from the *buffer and sends it further. However, the reading function works strangely. Even with decryption disabled, when you try to read a buffer ...
by ferrero
Fri Nov 29, 2024 5:31 am
Forum: ESP-IDF
Topic: ESP32S2 Restarting after connecting USB as a log output
Replies: 2
Views: 1252

Re: ESP32S2 Restarting after connecting USB as a log output

I connect the ground in another place, a temporary solution. The USB itself works, I load the firmware through it into the bootloader without any problems
by ferrero
Fri Nov 29, 2024 2:16 am
Forum: ESP-IDF
Topic: ESP32S2 Restarting after connecting USB as a log output
Replies: 2
Views: 1252

ESP32S2 Restarting after connecting USB as a log output

When im trying too use USB as an output for log information my device start continusly rebooting after usb connection. I just using ESP_LOGV for output some messages through USB port. In PCB i have only usb D+ and D-, and when i connect them, device start rebooting with error: rst:0x3 (RTC_SW_SYS ...

Go to advanced search