-
Hi! I'm programming ESP32 using MicroPython and recently I started preparing my application for production so I turn on Secure Boot and Flash Encryption on ESP32. Before turning it on everything works perfectly fine, but right now I'm getting problem with nvs - which hadn't occured before. Connecting to the device by idf.py monitor and I get:
This error is caused because of the line: Before turning on Secure Boot and Flash Encryption that code works perfectly fine without any troubles so I don't have any ideas what is wrong right now. In addition I didn't set any specific flags in my custom partition table to any partition, so Flash Encryption should encrypt only app partitions by default. Any ideas what's wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
From what I've read in MicroPython's documentation esp32.NVS('name') in the absence of an object creates one itself, after which NVS memory is initialized. There is no strictly method designed exclusively for NVS initialization, unless there is and I don't know about it? Thanks in advance for your help |
Beta Was this translation helpful? Give feedback.
-
It turned out that in idf.py menuconfig in Components Settings in NVS I had enabled NVS encryption. I don't have to encrypt data in NVS, because it's nothing important in there in my case so I turn it off and now everthing works fine :) |
Beta Was this translation helpful? Give feedback.
It turned out that in idf.py menuconfig in Components Settings in NVS I had enabled NVS encryption. I don't have to encrypt data in NVS, because it's nothing important in there in my case so I turn it off and now everthing works fine :)