Search found 121 matches

by newsettler_AI
Wed Apr 10, 2019 11:23 am
Forum: General Discussion
Topic: Encrypted flash and SPIFFS storage together?
Replies: 8
Views: 11296

Re: Encrypted flash and SPIFFS storage together?

ESP_Angus , Thank you for information. Looks like SPIFFS not suitable for my task. Actually, I'm using SPIFFS because it have wrappers for creating bin file from PC folder (mkspiffs). This makes uploading DATA files( those I want to secure ) pretty easy to use for multiple devices, which require to...
by newsettler_AI
Tue Apr 09, 2019 5:57 pm
Forum: General Discussion
Topic: UART receive failure after 120 bytes
Replies: 4
Views: 7091

Re: UART receive failure after 120 bytes

Try this: if (xQueueReceive(UARTqueue, (void *)&event, (portTickType)portMAX_DELAY)) { switch (event.type) { case UART_DATA: //ESP_LOGE(TAG, "serialTask: uart data break\n"); int len = uart_read_bytes(uart_num, dtmp, event.size, (portTickType) portMAX_DELAY); ESP_LOGI(TAG, "uart read: %d", len); bre...
by newsettler_AI
Tue Apr 09, 2019 5:14 pm
Forum: General Discussion
Topic: Encrypted flash and SPIFFS storage together?
Replies: 8
Views: 11296

Encrypted flash and SPIFFS storage together?

Hi, In my project I'm using SPIFFS storage, which contains files: DATA: some kind of read-only (not supposed to be edited after flashing, but have private info, txt files) CONF: files which will be modified from app (but not needed to be protected actually, binary files with some configurations) I n...
by newsettler_AI
Sun Apr 07, 2019 1:45 pm
Forum: General Discussion
Topic: ESP app versions question
Replies: 4
Views: 9003

Re: ESP app versions question

Thank you for explanation :)
by newsettler_AI
Wed Apr 03, 2019 6:40 pm
Forum: General Discussion
Topic: ESP app versions question
Replies: 4
Views: 9003

ESP app versions question

Hi, When ESP32 start I have this in log: I (558) boot: Loaded app from partition at offset 0x10000 I (559) boot: Disabling RNG early entropy source... I (559) cpu_start: Pro cpu up. I (563) cpu_start: Application information: I (567) cpu_start: Project name: My_project I (572) cpu_start: App version...
by newsettler_AI
Thu Mar 28, 2019 7:19 pm
Forum: General Discussion
Topic: Generic questions about secure boot & flash enc
Replies: 27
Views: 28530

Re: Generic questions about secure boot & flash enc

Hi, I've reading this topic, but still I' stuck with basics... After I enabled Security features - Enable flash encryption on boot , I have flashed my app with command "make flash". On first start it takes a while to run, but on next boots it starts as usual. I made minor change in app. Flashed agai...
by newsettler_AI
Thu Mar 07, 2019 3:38 pm
Forum: General Discussion
Topic: POSIX functions with spiffs works wrong? ("access" doest work)
Replies: 0
Views: 1954

POSIX functions with spiffs works wrong? ("access" doest work)

Hi, I'm using spiffs and I have created binary file. I need check file existance. When I'm cheking with fopen(path, "rb") != NULL { // file exist } it works. But it takes about 300-400 ms to do this check for some reason :? So I want to try different - access function. if ( access(path, (F_OK) != -1...
by newsettler_AI
Mon Feb 04, 2019 1:27 pm
Forum: General Discussion
Topic: Power Management settings cause spi delays
Replies: 4
Views: 5469

Re: Power Management settings cause spi delays

Change made in sdkconfig are below. Application code remais unchanged.

Power management:
pm_conf.jpg
pm_conf.jpg (53.44 KiB) Viewed 5292 times
FreeRTOS:
freertos_conf.jpg
freertos_conf.jpg (63.74 KiB) Viewed 5292 times
Paremeter Minimum number of ticks to enter sleep mode was set to 3 by default
by newsettler_AI
Sat Feb 02, 2019 3:35 pm
Forum: General Discussion
Topic: Power Management settings cause spi delays
Replies: 4
Views: 5469

Re: Power Management settings cause spi delays

Any ideas where I should to dig?
by newsettler_AI
Thu Jan 31, 2019 7:21 pm
Forum: General Discussion
Topic: Power Management settings cause spi delays
Replies: 4
Views: 5469

Power Management settings cause spi delays

Hi, I' using ESP32 as spi master for driving LCD over spi, clock freq configured as 60MHz. Graphic library uses custom tick handler esp_register_freertos_tick_hook() . I'm loading picture from spiffs image and draw it on LCD. After I enabled Component config -> Power Management -> Support for power ...