Search found 263 matches

by snahmad75
Mon Oct 15, 2018 9:33 pm
Forum: ESP32 IDF
Topic: Non-volatile storage with flash encryption enabled.
Replies: 2
Views: 63

Re: Non-volatile storage with flash encryption enabled.

ok, thanks. I will try to do same later. check flash encryption is enabled or not in the code.
by snahmad75
Mon Oct 15, 2018 5:33 pm
Forum: ESP32 IDF
Topic: esp_timer: timer queue overflow
Replies: 11
Views: 593

Re: esp_timer: timer queue overflow

Now esp timer queue overflow. when I write SPI flash file.

What this means esp timer queue overflow.
by snahmad75
Mon Oct 15, 2018 5:23 pm
Forum: ESP32 IDF
Topic: spi flash fat write slow cause esp_timer: timer queue overflow
Replies: 0
Views: 27

spi flash fat write slow cause esp_timer: timer queue overflow

Hi, I am using this code to mount SPI flash Fat. esp_vfs_fat_mount_config_t mountConfig = { 0, true, CONFIG_WL_SECTOR_SIZE }; mountConfig.max_files = 3; mountConfig.format_if_mount_failed = true; mountConfig.allocation_unit_size = CONFIG_WL_SECTOR_SIZE; ESP_LOGD(LOG_TAG, "FATFS_VFS::mount(%s,%s...
by snahmad75
Mon Oct 15, 2018 3:55 pm
Forum: ESP32 IDF
Topic: Non-volatile storage with flash encryption enabled.
Replies: 2
Views: 63

Non-volatile storage with flash encryption enabled.

Hi, If I need to read and write nvs while my flash encryption is enabled. What steps I need to do. I read it https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/storage/nvs_flash.html not understood with flash encryption is enabled. But do provide me example using while flash encrypt...
by snahmad75
Mon Oct 15, 2018 10:48 am
Forum: ESP32 IDF
Topic: Enable Time stamp on FatFs SD card
Replies: 15
Views: 595

Re: Enable Time stamp on FatFs SD card

ok, thanks. I will try this in few days time.
by snahmad75
Mon Oct 15, 2018 8:26 am
Forum: ESP32 IDF
Topic: Enable Time stamp on FatFs SD card
Replies: 15
Views: 595

Re: Enable Time stamp on FatFs SD card

Kindly check this example code. I am using SD card. how I specify volume? FRESULT set_timestamp ( char *obj, /* Pointer to the file name */ int year, int month, int mday, int hour, int min, int sec ) { FILINFO fno; fno.fdate = (WORD)(((year - 1980) * 512U) | month * 32U | mday); fno.ftime = (WORD)(h...
by snahmad75
Sun Oct 14, 2018 2:46 pm
Forum: ESP32 IDF
Topic: Enable Time stamp on FatFs SD card
Replies: 15
Views: 595

Re: Enable Time stamp on FatFs SD card

Hi, As my esp32 will not have public internet access. It will running on local LAN with private IP address. I can upload via OTA. I can pass time stamp with upload file. I can keep save time stamp. when I create/update files using fopen. I need to set this same time stamp for all files after files/f...
by snahmad75
Fri Oct 12, 2018 4:40 pm
Forum: General Discussion
Topic: What is the purpose of two OTA partition?
Replies: 32
Views: 3088

Re: What is the purpose of two OTA partition?

Hi, Did you try out with single OTA? Can I use single partition. Write bin to my SD card file and on startup application apply OTA update to OTA_0. My custom partition is nvs,data,nvs,0x9000,16K, otadata,data,ota,0xd000,8K, phy_init,data,phy,0xf000,4K, ota_0,app,ota_0,0x10000,1856K, ota_1,app,ota_1,...
by snahmad75
Thu Oct 11, 2018 10:41 pm
Forum: ESP32 IDF
Topic: Secure boot and Flash encryption
Replies: 6
Views: 633

Re: Secure boot and Flash encryption

So nvs and storage does not support encryption.

Anyone can read using esptool by physical access to device.

Can I also do make erase_flash when encrypted bin / encrypted partition without know key.

Go to advanced search