Search found 26 matches

by GerryTitan
Wed Apr 22, 2020 2:38 pm
Forum: ESP32 IDF
Topic: Enable security settings via OTA
Replies: 1
Views: 560

Enable security settings via OTA

Hello,

I was wondering if it was possible to enable the flash encryption and secure boot features on the ESP32 via an OTA update?

Thanks.
by GerryTitan
Thu Feb 13, 2020 2:46 pm
Forum: ESP32 IDF
Topic: Writing to flash is faster when flash encryption is enabled??
Replies: 7
Views: 1246

Re: Writing to flash is faster when flash encryption is enabled??

Here is the new code. I generated two data partitions, one encrypted and the other plaintext. I made sure not to measure the erase time, as you can see below. Encrypted writes took 0.34 seconds, plaintext writes took 1.17 seconds. I also tried this with a 512-byte payload. In that case, encrypted wr...
by GerryTitan
Wed Feb 12, 2020 2:10 pm
Forum: ESP32 IDF
Topic: Writing to flash is faster when flash encryption is enabled??
Replies: 7
Views: 1246

Re: Writing to flash is faster when flash encryption is enabled??

Okay, after making the changes you suggest, now the non-encrypted chip runs in 49 seconds, while the encrypted chip runs in 43 seconds. Certainly less of a discrepancy than before, but it still doesn't explain why flash encrypted writes are faster. For the record, both chips are the ESP32-WROOM-32 a...
by GerryTitan
Tue Feb 11, 2020 3:57 pm
Forum: ESP32 IDF
Topic: Writing to flash is faster when flash encryption is enabled??
Replies: 7
Views: 1246

Re: Writing to flash is faster when flash encryption is enabled??

Can you try checking the error codes returned from esp_partition_erase_range and esp_partition_write? Does the operation actually succeed? Seems the erase operation was failing before. I moved it to outside the for loop and had it erase the whole partition. Now both the erase and write operations r...
by GerryTitan
Tue Feb 11, 2020 1:52 pm
Forum: ESP32 IDF
Topic: Writing to flash is faster when flash encryption is enabled??
Replies: 7
Views: 1246

Writing to flash is faster when flash encryption is enabled??

Hi all, I am trying to run some benchmarks on the ESP32 to see how flash encryption affects performance. I am using esp_partition_write to write to an OTA partition, which, to my knowledge, will transparently encrypt the contents of write buffer when flash encryption is enabled. Based on this post ,...
by GerryTitan
Sat Feb 08, 2020 1:30 am
Forum: Hardware
Topic: ESP32 with ATECC608A
Replies: 6
Views: 4991

Re: ESP32 with ATECC608A

Thanks for the response. I have actually succeeded in pairing with the ECC608 since my initial post. :)
by GerryTitan
Tue Dec 10, 2019 5:14 pm
Forum: General Discussion
Topic: ESP32 in Commercial Products
Replies: 3
Views: 833

Re: ESP32 in Commercial Products

We have a commercial product in a very niche market, but I don't know that it could be considered "consumer friendly" to everyone so I won't share any links. I am very satisfied with Espressif and esp-idf as a platform and happy we went this route. Did you have any particular questions about bringi...
by GerryTitan
Mon Dec 09, 2019 8:50 pm
Forum: General Discussion
Topic: ESP32 in Commercial Products
Replies: 3
Views: 833

ESP32 in Commercial Products

Hi,

Does anybody know about any popular commercial (i.e., consumer-friendly) products that use the ESP32? I only know about the LIFX smart light and the Emporia Vue energy monitor. Are there any other noteworthy products?

Thanks in advance.
by GerryTitan
Mon Nov 04, 2019 1:11 am
Forum: ESP32 IDF
Topic: Eclipse Debugging: cannot set breakpoints
Replies: 0
Views: 468

Eclipse Debugging: cannot set breakpoints

Hi, I am trying to learn how to debug the ESP32 in Eclipse. I am following this debugging guide to learn some basic examples. I got to the section "Setting and clearing breakpoints" and tried to set a couple of breakpoints in the code. For the record, I am using the "hello_world" example provided by...
by GerryTitan
Fri Oct 18, 2019 5:50 pm
Forum: ESP32 IDF
Topic: OpenOCD keep_alive() error
Replies: 0
Views: 448

OpenOCD keep_alive() error

Hello, I am trying to set up the debugging environment for ESP32 on command line, but I am having trouble when I launch GDB. I have followed the tutorials here and here for setting up OpenOCD. Connecting to OpenOCD seems to work okay. I am using the Attify Badge adapter for the JTAG interface. There...

Go to advanced search