Search found 21 matches

by user4_esp32
Fri May 31, 2019 12:20 am
Forum: ESP32 IDF
Topic: Flash encryption without secure boot
Replies: 9
Views: 1680

Flash encryption without secure boot

Hello All--a few questions about using flash encryption without secure boot: If I serial flash a binary with flash encryption enabled (i.e. "in make menuconfig, navigate to “Security Features” and select “Yes” for “Enable flash encryption on boot”."), and then write-protect the FLASH_CRYPT_CNT efuse...
by user4_esp32
Mon Feb 04, 2019 4:42 pm
Forum: ESP32 IDF
Topic: Separate user code from system code to decrease ota binary size
Replies: 9
Views: 2998

Re: Separate user code from system code to decrease ota binary size

Would it be possible to use linker script generation https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/linker-script-generation.html to place all of the esp-idf "system" in one portion of the memory, then place the user function code in another portion of the memory, and only perform ...
by user4_esp32
Sat Aug 25, 2018 1:22 pm
Forum: ESP32 IDF
Topic: ESP-IDF SSL example can only connect once
Replies: 1
Views: 1383

Re: ESP-IDF SSL example can only connect once

Hello, are you developing in arduino-esp32? Since you are coding for sockets, and the console output shows a failure to bind a new socket after successfully binding the socket for the first time, perhaps the code should destroy the socket each time it finishes the for loop. You could also checkout t...
by user4_esp32
Tue Jun 05, 2018 12:28 pm
Forum: ESP32 IDF
Topic: Separate user code from system code to decrease ota binary size
Replies: 9
Views: 2998

Re: Separate user code from system code to decrease ota binary size

Thanks much, kolban . As of now, I do plan to downsize my factory app and factory app partition to less than the size of the ota apps and ota partitions, to give me more room in flash for the larger ota apps. Decreasing the size of the ota apps in order to decrease ota time in the field is also a pr...
by user4_esp32
Sun Jun 03, 2018 4:20 pm
Forum: ESP32 IDF
Topic: Separate user code from system code to decrease ota binary size
Replies: 9
Views: 2998

Separate user code from system code to decrease ota binary size

Hello, Is there a method in the ESP32 IDF to "partition" the flash memory space to store the user-coded code separately from the ESP32 "system" code (e.g. all the code in esp-idf/components), and realize the capability to ota the user code and system code separately? My code is about 1.2 MB currentl...
by user4_esp32
Thu Jan 25, 2018 1:32 pm
Forum: ESP32 IDF
Topic: Storage API support for small capacity SD cards
Replies: 3
Views: 2295

Re: Storage API support for small capacity SD cards

Thanks for the tips ESP_igrr--the verbose output is very helpful. I am not sure which version of the ESP32 IDF I have, but I cloned it from git on 17 Nov 2017, if that helps, and I have not updated since. Is there a command line method to check the version? Here is the verbose output using the sd ex...
by user4_esp32
Mon Jan 15, 2018 2:40 pm
Forum: ESP32 IDF
Topic: Storage API support for small capacity SD cards
Replies: 3
Views: 2295

Storage API support for small capacity SD cards

Hello, I am using an ESP-WROOM-32 to test the interface to different SD cards, using the sd_card_example_main.c example from the ESP32 IDF. The interface works with an 8 GB SDHC card, but when I try it with a 128 MB micro SD card and see the following error: E (244) sdmmc_cmd: sdmmc_card_init: send_...
by user4_esp32
Wed Dec 20, 2017 1:32 pm
Forum: General Discussion
Topic: Software Command to Enter Download Boot Mode
Replies: 2
Views: 1861

Software Command to Enter Download Boot Mode

Hello,

Is there an ESP32 IDF software command to enter download boot mode?

Thanks.
by user4_esp32
Sat Dec 02, 2017 2:08 pm
Forum: ESP32 IDF
Topic: [SOLVED] Eclipse SDK cannot find certain files when building.
Replies: 9
Views: 4982

Re: Eclipse SDK cannot find certain files when building.

Hello tuskiomi, I had an issue with python versions on Windows for running eclipse_make.py in which python v3 on my machine would throw an error like this: 07:04:00 **** Incremental Build of configuration Default for project wakespy **** py -3 D:/ESP32_Projects/ESP32-IDF/esp-idf/tools/windows/eclips...
by user4_esp32
Sat Dec 02, 2017 2:02 pm
Forum: ESP32 IDF
Topic: error message ledc_isr_register()
Replies: 16
Views: 5420

Re: error message ledc_isr_register()

I think I figured it out: Enable the Overflow interrupt: // add ledc isr register function ESP_ERROR_CHECK( ledc_isr_register(ledc_timer_overflow_isr, NULL, ESP_INTR_FLAG_IRAM , NULL)); // Enable timer overflow interrupt Register 13.17: LEDC_INT_ENA_REG (0x0188) /* description: The interrupt enable ...