Search found 5 matches

by schafon
Fri Dec 30, 2022 6:53 pm
Forum: General Discussion
Topic: Mismatch chip id on preencrypted OTA
Replies: 1
Views: 2049

Re: Mismatch chip id on preencrypted OTA

I'm having a similar problem. I'm doing firmware OTA with the same code for esp32-s2 and esp32-s3. The esp-32-s3 works as intended, it downloads the firmware and reboot and everything works. But for the esp-32-s2 it doesn't work. gives me esp_https_ota: Mismatch chip id, expected 2, found 25300 I'm ...
by schafon
Thu Dec 29, 2022 7:03 pm
Forum: ESP-IDF
Topic: Planning to use secure boot-loader
Replies: 5
Views: 3876

Re: Planning to use secure boot-loader

https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/security/secure-boot-v2.html You can enable this and sign your firmware. This will prevent unauthorized firmware to be flashed. You will still be able to do OTA updates but it will need to be singed firmware too. Also don't forget: Enable...
by schafon
Thu Dec 29, 2022 6:53 pm
Forum: ESP-IDF
Topic: Unique hardware serial number
Replies: 4
Views: 9088

Re: Unique hardware serial number

Hi, I'm having the same challenge as you. I decided to not count on the mac address and write my own serial for each device. But during my research I did found that my esp32 (s2) has a field in efuse by the name optional unique id. OPTIONAL_UNIQUE_ID (BLOCK2) Optional unique 128-bit ID This might be...
by schafon
Thu Dec 29, 2022 6:47 pm
Forum: ESP-IDF
Topic: Writing a char array to efuse
Replies: 0
Views: 1181

Writing a char array to efuse

Hi everyone, I'm trying to create a code that gets an input using serial(UART) and saves it to the ESP_EFUSE_USER_DATA. I'm learning C as I code so the problem is most probably with the way I C ( :lol: ) and not the ESP framework. Relevant code starts at line 26 static void uart_event_task() { uart_...
by schafon
Mon Dec 12, 2022 7:53 pm
Forum: General Discussion
Topic: Help creating a I2C driver using ULP
Replies: 0
Views: 993

Help creating a I2C driver using ULP

Hi everyone! I'm brand new here and I need some help getting a project up and running. I'm trying to read an I2C sensor (DPS310) using the ULP core. I just can get my head around the assembly code needed to program such thing. I've found few examples of I2C ULP reading a similar sensor(BMP180) but I...