Search found 5 matches

by chefotm
Tue Sep 04, 2018 1:30 pm
Forum: ESP-IDF
Topic: Brownout Detection Interrupt
Replies: 8
Views: 31639

Re: Brownout Detection Interrupt

You can save the data to flash using low level library to custom address. Im using spi_flash_write(ADDRESS, DATA_TO_WRITE, DATA_SIZE); . But you must have erased the selected region to 0xFF. (im using spi_flash_erase_range(ADDRESS, LENGTH); ). You can not erase the sector in brownout because of time...
by chefotm
Fri Aug 24, 2018 5:02 pm
Forum: ESP-IDF
Topic: Flash encryption key when CODING_SCHEME 3/4 used
Replies: 1
Views: 4021

Flash encryption key when CODING_SCHEME 3/4 used

Hey guys. Have one question. I made successfully ESP32 safe boot + flash encryption work on devkit (ESP-WROOM-32). Now i tried to make it work on ESP32-WROWER. I wrote the keys as previously on devkit. The same with the fuses. But the HW bootloader still not found the software bootloader (flash read...
by chefotm
Fri May 04, 2018 5:23 am
Forum: ESP-IDF
Topic: BT memory consumption
Replies: 3
Views: 6228

Re: BT memory consumption

Im tried the malloc from PSRAM option in Bluetooth menuconfig. And use the dynamic memory allocation. It will free up many space. You can optimize that library consumption in the menuconfig turning off features you will never use (and for example closing the bluedroid stock log print). Bluetooth is ...
by chefotm
Tue Apr 10, 2018 10:35 am
Forum: ESP-IDF
Topic: 2nd stage Bootloader NVS access
Replies: 1
Views: 3410

Re: 2nd stage Bootloader NVS access

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 :).
by chefotm
Thu Apr 05, 2018 6:51 am
Forum: ESP-IDF
Topic: 2nd stage Bootloader NVS access
Replies: 1
Views: 3410

2nd stage Bootloader NVS access

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 m...