2nd stage Bootloader NVS access

chefotm
Posts: 5
Joined: Thu Apr 05, 2018 6:14 am

2nd stage Bootloader NVS access

Postby chefotm » Thu Apr 05, 2018 6:51 am

Hello. I would to ask about the use of NVS in the bootloader. Im using the NVS to store the configuration of my device and need to share some parameters with bootloader (security features for OTA recovery). Is it possible using NVS or in the other way? I tryed to include the nvs_flash component to my bootloader but it was not functional. Thx a lot :).

chefotm
Posts: 5
Joined: Thu Apr 05, 2018 6:14 am

Re: 2nd stage Bootloader NVS access

Postby chefotm » Tue Apr 10, 2018 10:35 am

Im solved it replacing the NVM-based data sharing, to eeprom partition based sharing. It takes a little time to customize EEPROM.h library from arduino component, but it works nicely :).

Who is online

Users browsing this forum: Majestic-12 [Bot] and 120 guests