Search found 1267 matches

by ESP_Angus
Wed Nov 14, 2018 10:44 pm
Forum: ESP32 IDF
Topic: Non-volatile storage with flash encryption enabled.
Replies: 17
Views: 1029

Re: Non-volatile storage with flash encryption enabled.

I think he is saying that because the ciphertext is two identical 128-bit blocks then the key will also be. So key space has been reduced to 128-bit. The ciphertext is not two identical 128-bit blocks. The first block is all 0xff and the second block is all 0xee. However, because the flash encrypti...
by ESP_Angus
Tue Nov 13, 2018 11:30 pm
Forum: ESP32 IDF
Topic: Non-volatile storage with flash encryption enabled.
Replies: 17
Views: 1029

Re: Non-volatile storage with flash encryption enabled.

Hi Stan, The AES-XTS keys are generated by taking two different generated ciphertexts (all 0xff and all 0xee) which are written to flash as-is. These are then decrypted by the flash encryption hardware, which does use the same AES key to decrypt both (due to reading the same 32 byte block). However ...
by ESP_Angus
Tue Nov 13, 2018 11:21 pm
Forum: General Discussion
Topic: Recommendations for MQTT Library with ESPIDF
Replies: 2
Views: 1037

Re: Recommendations for MQTT Library with ESPIDF

Hi Ozanhan, Since this post was originally made last year, the esp-mqtt library has been integrated into ESP-IDF. There is some documentation here: https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/protocols/mqtt.html And some examples here: https://github.com/espressif/esp-idf/tre...
by ESP_Angus
Thu Nov 08, 2018 5:52 am
Forum: Hardware
Topic: ESP-WROOM-32 Problems programming with esptool.py etc
Replies: 5
Views: 220

Re: ESP-WROOM-32 Problems programming with esptool.py etc

You can try adding the "--trace" option to esptool.py and see if anything is coming back: https://github.com/espressif/esptool#tracing-esptoolpy-interactions If you want to rule out a problem with timing, as Sprite suggests, then you can reset the board until it shows you the correct UART bootloader...
by ESP_Angus
Thu Nov 08, 2018 5:50 am
Forum: General Discussion
Topic: Error using Windows CMake configuration
Replies: 1
Views: 98

Re: Error using Windows CMake configuration

Hi rwel59, Is it possible there's a mismatch between the pip.exe and the python.exe which CMake is running? You can try "python -m pip --version" and see if there is any difference in output. Are you still using an MSYS2 terminal, or are you using a different environment with/without IDF Tools insta...
by ESP_Angus
Wed Nov 07, 2018 12:04 am
Forum: Hardware
Topic: Can't flash ESP32 Pico D4 on custom FCB board
Replies: 3
Views: 183

Re: Can't flash ESP32 Pico D4 on custom FCB board

In UART download mode, the ESP32 normally doesn't echo anything back. If the echo is really coming from the serial link (not from a "local echo" option in the serial console program) then it may indicate that RX & TX pins are shorted somewhere. The problem with esptool could be caused by this, or it...
by ESP_Angus
Tue Nov 06, 2018 10:17 pm
Forum: ESP32 IDF
Topic: Pinning (std::)threads to cores
Replies: 3
Views: 203

Re: Pinning (std::)threads to cores

Hi pemal, I can see how this would be useful. Although it seems like it's a little fiddly to have to call this function before each new thread is created, I don't know of a better solution. I've logged this as a feature request internally. We don't have an ETA at the moment for any implementation. (...
by ESP_Angus
Mon Nov 05, 2018 2:42 am
Forum: General Discussion
Topic: Compiler flag oprion to change CPU FREQ ?
Replies: 4
Views: 154

Re: Compiler flag oprion to change CPU FREQ ?

Hi mike, The F_CPU macro is an Arduino thing, ESP-IDF doesn't use it. Platform.io might add some extra layers to support this, but you'd have to ask them (I suspect the answer is "no"). The official way to change the default CPU speed in ESP-IDF is to change it in menuconfig and rebuild the app. I d...
by ESP_Angus
Fri Nov 02, 2018 4:30 am
Forum: Hardware
Topic: Signed number representations for ESP32?
Replies: 1
Views: 169

Re: Signed number representations for ESP32?

The CPU instructions that operate on signed integers use two's complement (for the particular integer length in question).
by ESP_Angus
Thu Nov 01, 2018 10:08 pm
Forum: ESP32 IDF
Topic: ESP-IDF V3.1.1 and V3.0.6 have been released
Replies: 0
Views: 572

ESP-IDF V3.1.1 and V3.0.6 have been released

Full details, release notes, download instructions and links can be found on GitHub: https://github.com/espressif/esp-idf/releases/tag/v3.1.1 https://github.com/espressif/esp-idf/releases/tag/v3.0.6 At time of writing, the latest stable release is V3.1.1. Both of these releases include a fix for a b...

Go to advanced search