Search found 44 matches

by chadpham75
Fri Jan 24, 2020 4:03 am
Forum: ESP-IDF
Topic: v4.1-dev https_OTA is not working
Replies: 7
Views: 9505

Re: v4.1-dev https_OTA is not working

@ESP-MJ, please follow exactly the instruction by Espressif here https://github.com/espressif/esp-idf/tree/master/examples/system/ota There is nothing else need to be done differently with self-sign server setup, the only thing change is the SDK between v4.0-beta1 vs. v4.1-dev @kkentzo, I gave up in...
by chadpham75
Fri Jan 17, 2020 5:24 am
Forum: ESP-IDF
Topic: NVS Encryption is not working with V4.0-Release
Replies: 0
Views: 2051

NVS Encryption is not working with V4.0-Release

Hi all, I tried to implement the NVS Encryption with version V4.0-Release. I followed this https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/storage/nvs_flash.html#nvs-encryption . I used the example nvs_rw_blob with the addition of the code if (!esp_flash_encryption_enabled()) { p...
by chadpham75
Thu Jan 16, 2020 9:34 am
Forum: ESP-IDF
Topic: How to find the image size for OTA
Replies: 7
Views: 8275

How to find the image size for OTA

Hi all,
Do any of you know how can find the download image's size at the time we check for the image's description at the beginning of the OTA? I would like to show the status of the download by using the percentage of the image's size since I do know the image_len_read.
by chadpham75
Wed Jan 08, 2020 6:15 pm
Forum: ESP-IDF
Topic: Secure Boot and Flash Encryption with Release Mode did not work
Replies: 5
Views: 5667

Re: Secure Boot and Flash Encryption with Release Mode did not work

Hi Angus,
I am using v4.1-dev-1757-g826b9f638-dirty. Is there any suggestion for what I should try next?
Thank you for your helps.
by chadpham75
Wed Jan 08, 2020 8:20 am
Forum: ESP-IDF
Topic: v4.1-dev https_OTA is not working
Replies: 7
Views: 9505

v4.1-dev https_OTA is not working

Hi guys, I think the v4.1-dev has an issue with OTA. I am using version v4.1-dev-1770-g71b4768df-dirty. Previously, I tested the version v4.0-beta2, and the simple_ota_example is working correctly when I followed this https://github.com/espressif/esp-idf/tree/master/examples/system/ota Due to the pr...
by chadpham75
Wed Jan 08, 2020 2:12 am
Forum: ESP-IDF
Topic: Secure Boot and Flash Encryption with Release Mode did not work
Replies: 5
Views: 5667

Re: Secure Boot and Flash Encryption with Release Mode did not work

I set my bootloader log level at No output (BOOTLOADER_LOG_LEVEL_NONE). If I turn off both secure boot and flash encryption features off, once loaded, my app will be boot up correctly. For this particular case my my module is still good so I am able to reuse it. These are my successfully tested case...
by chadpham75
Tue Jan 07, 2020 7:27 pm
Forum: ESP-IDF
Topic: Secure Boot and Flash Encryption with Release Mode did not work
Replies: 5
Views: 5667

Secure Boot and Flash Encryption with Release Mode did not work

Hi guys, I am desperately need help on this topic since I tried so many different way and wast many module for testing this since the efuse got programmed for testing this. I follow step 1 to 9 from section "How to enable Secure Boot" from this link https://docs.espressif.com/projects/esp-idf/en/lat...
by chadpham75
Mon Nov 18, 2019 8:32 am
Forum: ESP-IDF
Topic: ESP32 wifi couldn't connect to specific SSID
Replies: 5
Views: 6358

Re: ESP32 wifi couldn't connect to specific SSID

WiFive,
For my developing set up, I only have one AP, one esp32, one app to send the SSID and passkey, over and over again to test the system reliable.
Could you please suggest where/what I can insert the debug trace to get more information to provide to you?
by chadpham75
Mon Nov 18, 2019 6:05 am
Forum: ESP-IDF
Topic: ESP32 wifi couldn't connect to specific SSID
Replies: 5
Views: 6358

Re: ESP32 wifi couldn't connect to specific SSID

WiFive, I am using V4.0-beta1. We are using the default library #define WIFI_INIT_CONFIG_DEFAULT() { \ .event_handler = &esp_event_send, \ .osi_funcs = &g_wifi_osi_funcs, \ .wpa_crypto_funcs = g_wifi_default_wpa_crypto_funcs, \ .static_rx_buf_num = CONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM,\ .dynamic_r...
by chadpham75
Mon Nov 18, 2019 2:00 am
Forum: ESP-IDF
Topic: ESP32 wifi couldn't connect to specific SSID
Replies: 5
Views: 6358

ESP32 wifi couldn't connect to specific SSID

Hi all, Could you guys please help me to point out how/where can I download the wifi stack code to try to debug my problem of the wifi couldn't reconnect to the same SSID/passkey? I don't know where to find the dump information like "wifi: add mismatch" in the trace below W (926900) wifi: add mismat...