Search found 18 matches

by plusorc
Tue Jan 14, 2020 2:38 pm
Forum: ESP32 IDF
Topic: Extra NVS Partition with Flash Encryption , Can't Init the partition
Replies: 3
Views: 212

Re: Extra NVS Partition with Flash Encryption , Can't Init the partition

Thank you so much You're a life saver my friend .. thank you . I have one more question .. what is the proper workflow for this ? right now .. I have a cmake script that writes to the flash during the Build process ! , to escape the encrypt-flash process and flash as a plain text , so .. Ignoring th...
by plusorc
Tue Jan 14, 2020 2:23 am
Forum: ESP32 IDF
Topic: Extra NVS Partition with Flash Encryption , Can't Init the partition
Replies: 3
Views: 212

Re: Extra NVS Partition with Flash Encryption , Can't Init the partition

I looked again at this subject , and I figured out what should be done create the Key partition and NVS partition , find them in the software and then access them . but in the Test Case (the link above) , the keys are in a bin format that gets combined with the firmware itself and then read and writ...
by plusorc
Sun Jan 12, 2020 12:16 am
Forum: ESP32 IDF
Topic: Extra NVS Partition with Flash Encryption , Can't Init the partition
Replies: 3
Views: 212

Extra NVS Partition with Flash Encryption , Can't Init the partition

Hello I'm totally confused about how to manage an extra NVS partition . As far as I understand the documentation , THE NVS partition (the main one) is not encrypted , So I initialize it with nvs_flash_init(); // only for the main NVS even if Flash encryption is enabled Now my other NVS partition is ...
by plusorc
Wed Dec 04, 2019 3:24 pm
Forum: ESP32 IDF
Topic: (resolved) problem with esptool.py
Replies: 10
Views: 575

Re: problem with esptool.py

@mzimmers Can you test this ? Put the full address of the Bin file you're flashing .. not the IDF environment I recently has a similar issue and it was esptool needing the full path of the Bin file @ESP_Angus With all due respect , I found the IDF Command in windows is very inconvenient I wish ther...
by plusorc
Wed Dec 04, 2019 1:30 pm
Forum: ESP32 IDF
Topic: How to include a Custom Bin in the Flash ?
Replies: 0
Views: 125

How to include a Custom Bin in the Flash ?

Hello I made a Custom NVS partition to include some sensitive data and used cmake to automate the process. Things are working with some defects . for example .. If I execute idf.py flash monitor All is done and the partition is built and flashed but the problem is if I execute idf.py menuconfig the ...
by plusorc
Fri Nov 29, 2019 1:26 pm
Forum: ESP32 IDF
Topic: Store Certificates in encrypted partition , how ?
Replies: 5
Views: 411

Re: Store Certificates in encrypted partition , how ?

Thanks for pointing that out I'm not sure how to work with offsets in that case My partition table has no offsets (only partition sizes) in anticipation for the bootloader expansion after enabling secure boot and flash encryption. I'm looking for a similar way like spiffs because it will save me the...
by plusorc
Thu Nov 28, 2019 2:00 am
Forum: ESP32 IDF
Topic: Store Certificates in encrypted partition , how ?
Replies: 5
Views: 411

Re: Store Certificates in encrypted partition , how ?

jcsbanks wrote: NVS as blob to avoid string limit. There is an Espressif tool to make NVS partition data.
Thank you for the suggestion , But this will require the 2 stage flashing as well
by plusorc
Wed Nov 27, 2019 2:52 am
Forum: ESP32 IDF
Topic: Store Certificates in encrypted partition , how ?
Replies: 5
Views: 411

Store Certificates in encrypted partition , how ?

Hello I always used SPIFFS , they are great for storage .. they have a way to upload while building and they are super easy to work with . The only down side now is it can't be encrypted , So I look for NVS .. I found lots of posts here about sector size and each file shouldn't exceed 2KB ?? Some Ce...
by plusorc
Mon Nov 25, 2019 12:31 am
Forum: ESP32 IDF
Topic: Jumpstart : How to detect a BLE client connected ?
Replies: 6
Views: 649

Re: Jumpstart : How to detect a BLE client connected ?

Thank you so much ESP_Piyush It only needed a bool value on Connected and Disconnected events and expose it in the simple_ble.h I then included that header in the app and all is fine . I didn't need to make a callback because I have a Task for measuring time already , so I can simply check for the v...

Go to advanced search