Search found 75 matches
- Wed Mar 16, 2022 9:26 pm
- Forum: ESP-IDF
- Topic: UART RX FSM behaviour on exmtremely low BAUD rates
- Replies: 1
- Views: 1292
UART RX FSM behaviour on exmtremely low BAUD rates
I'm using the UART similar to the examples in the DOCs. Our application uses below 500bps data rates. It seems that it takes a long time (many seconds) before read_bytes or data available values are filled. repeated calls to uart_get_buffered_data_len return 0 but all of a sudden you get 100+ bytes ...
- Tue Mar 08, 2022 6:08 pm
- Forum: ESP-IDF
- Topic: Visual Studio Professional no longer works with ESP-IDF 4.4 because of cmake 3.20.3
- Replies: 2
- Views: 5965
Re: Visual Studio Professional no longer works with ESP-IDF 4.4 because of cmake 3.20.3
Nice! Much thanks @ESP_Roland
So it looks like if modify tools.json and include the older cmake, it works fine. Not sure if there is a better way.
-a
So it looks like if modify tools.json and include the older cmake, it works fine. Not sure if there is a better way.
-a
- Tue Mar 08, 2022 4:19 pm
- Forum: ESP-IDF
- Topic: Visual Studio Professional no longer works with ESP-IDF 4.4 because of cmake 3.20.3
- Replies: 2
- Views: 5965
Visual Studio Professional no longer works with ESP-IDF 4.4 because of cmake 3.20.3
Please Note: there never was support for Visual Studio Community or Professional. While there is IDF support for VSCode, which is NOT what this post is about. In prior IDF versions you could get it working well using this helpful post: https://esp32.com/viewtopic.php?t=18924 . With IDF 4.4, this doe...
- Mon Feb 21, 2022 2:15 pm
- Forum: ESP-IDF
- Topic: esp_err_t 0x1119 (ESP_ERR_NVS_WRONG_ENCRYPTION) On addtional storage/nvs partition with Host Generated Flash Encryption
- Replies: 5
- Views: 2750
Re: esp_err_t 0x1119 (ESP_ERR_NVS_WRONG_ENCRYPTION) On addtional storage/nvs partition with Host Generated Flash Encrypt
Much thanks @WiFive. Owe you a drink.
-a
This is the confusing part. If flash encryption works fine for read and write (and it's hardware based), what's the advantage of using AES-XTS for NVS parts?The storage partition is a raw flash partition.
-a
- Fri Feb 18, 2022 5:56 pm
- Forum: ESP-IDF
- Topic: esp_err_t 0x1119 (ESP_ERR_NVS_WRONG_ENCRYPTION) On addtional storage/nvs partition with Host Generated Flash Encryption
- Replies: 5
- Views: 2750
Re: esp_err_t 0x1119 (ESP_ERR_NVS_WRONG_ENCRYPTION) On addtional storage/nvs partition with Host Generated Flash Encrypt
Nvs data should not be encrypted by espsecure.py or marked as an encrypted partition. It is protected by AES-XTS, not by flash encryption. It would makes sense not to have to double encrypt. But the sample app marks theirs encrypted. I''ll try without encrypting the nvs data. https://github.com/esp...
- Fri Feb 18, 2022 5:00 pm
- Forum: ESP-IDF
- Topic: esp_err_t 0x1119 (ESP_ERR_NVS_WRONG_ENCRYPTION) On addtional storage/nvs partition with Host Generated Flash Encryption
- Replies: 5
- Views: 2750
esp_err_t 0x1119 (ESP_ERR_NVS_WRONG_ENCRYPTION) On addtional storage/nvs partition with Host Generated Flash Encryption
[ESP32 IDF 4.4] Our set up has the following: - Host Generated Flash Encryption Keys - Host Generated NVS Encryption Keys - NVS Keys Partition, usual NVS Partition, an extra storage NVS type partition. - Manually encrypted files flashed off-site This means plain-text nvs data and app is never flashe...
- Fri Feb 04, 2022 9:47 pm
- Forum: ESP-IDF
- Topic: Generating and flashing encrypted NVS partions
- Replies: 1
- Views: 2569
Generating and flashing encrypted NVS partions
[IDF 4.1.2] Prior to enabling flash encryption, we generated our factory settings data on a separate NVS subtype partition using mfg_gen.py and flashed it along with bootloader and app with esptool.py . The app loaded as expected, read the factory settings from the nvs partition all ok. With flash a...
- Mon Jan 17, 2022 5:11 pm
- Forum: ESP-IDF
- Topic: Secure Boot V2 Reflashable + flash encryption
- Replies: 1
- Views: 3525
Secure Boot V2 Reflashable + flash encryption
The IDF 4.1.2 documentation refers to reflashable but I think that's only for V1.
Provided that we have host generated per device flash encryption keys and secure boot keys, what steps do we need to take allow for serial uploading of new firmware (signed and encrypted)?
thx
Provided that we have host generated per device flash encryption keys and secure boot keys, what steps do we need to take allow for serial uploading of new firmware (signed and encrypted)?
thx
- Thu Jan 06, 2022 6:03 pm
- Forum: ESP-IDF
- Topic: IDF IRAM usage change between IDF 4.0 and 4.3.2
- Replies: 1
- Views: 2130
IDF IRAM usage change between IDF 4.0 and 4.3.2
In my app, upgrading from IDF 4.0 to 4.3 fails to fit in the IRAM. I have tried to use the hints in optimizing IRAM https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/performance/ram-usage.html?highlight=ram%20usage#optimizing-iram-usage to make it fit, but it results in other is...
- Thu Jan 06, 2022 2:39 pm
- Forum: ESP-IDF
- Topic: idf.py encrypted-flash error (file not found flash_encrypted_project_args)
- Replies: 1
- Views: 2482
Re: idf.py encrypted-flash error (file not found flash_encrypted_project_args)
The flash_encrypted_project_args are only made in development mode.