Search found 6 matches

by osiris81
Fri Jul 30, 2021 3:55 pm
Forum: ESP-IDF
Topic: UART ROM download mode when using Flash Encryption
Replies: 1
Views: 3804

UART ROM download mode when using Flash Encryption

Hello, When enabling Flash encryption for a production build I have to choose between the two UART ROM download modes: - Permanently switch to secure mode - Permanently disabled What is the benefit of using the secure mode instead of completely disable the UART? Since flash encryption is enabled, I ...
by osiris81
Mon Jun 14, 2021 2:03 pm
Forum: ESP-IDF
Topic: Secure Boot V2 and Flash Download Tool
Replies: 3
Views: 5942

Secure Boot V2 and Flash Download Tool

Hello, I'm trying to enable secure boot V2 and flash encryption for our project. When flashing the target as described in the secure boot documentation (https://docs.espressif.com/projects/esp-idf/en/release-v4.3/esp32s2/security/secure-boot-v2.html) it works. For production however, we'd like to us...
by osiris81
Fri Feb 26, 2021 1:26 pm
Forum: ESP-IDF
Topic: USB HID for ESP32-S2
Replies: 4
Views: 10550

Re: USB HID for ESP32-S2

Hello,

there is still no support for USB-HID in the esp-idf, will this ever be added?

Does anyone know a working example project for USB-HID for esp-idf (not arduino)? I tried to just compile an example from the tinyusb component itself, but this does not work...

Thanks for any help!
by osiris81
Wed Dec 16, 2020 2:04 pm
Forum: General Discussion
Topic: OTA: prevent stealing the firmware
Replies: 2
Views: 3431

Re: OTA: prevent stealing the firmware

I've just realized that I simply can turn on basic http authentication on the server side and set the authentication in the esp_http_client_config_t: esp_http_client_config_t config = { .url = "someurl", .cert_pem = (char *)server_cert_pem_start, .timeout_ms = 5000, .username = "myuser", .password =...
by osiris81
Wed Dec 16, 2020 10:28 am
Forum: General Discussion
Topic: OTA: prevent stealing the firmware
Replies: 2
Views: 3431

OTA: prevent stealing the firmware

Hi,

I've just tested the OTA example via https and it works flawless. The problem is, that anybody can simply download the firmware file (bin file) from the server and flash it to another device, how do I prevent this from happening? What is the recommended way to do this?

Thanks
by osiris81
Fri Sep 11, 2020 1:13 pm
Forum: ESP-IDF
Topic: USB HID for ESP32-S2
Replies: 4
Views: 10550

USB HID for ESP32-S2

Hello, there is an example for USB CDC for the ESP32-S2. For a new project, we need to implement USB HID (Generic, Device Mode). I've seen an example for HID in the tinyusb github but I'm not able to get it working on the ESP32-S2. Will there be an example for USB HID for the ESP32-S2? Thanks, Rico