Search found 31 matches

by ESP_Mahavir
Fri Feb 08, 2019 1:51 pm
Forum: ESP32 IDF
Topic: assertion "res == coreID || res == portMUX_FREE_VAL" failed
Replies: 1
Views: 1346

Re: assertion "res == coreID || res == portMUX_FREE_VAL" failed

Memory corruption could be one of the reason which can result in this scenario. Is it possible to share application code?
by ESP_Mahavir
Wed Jan 09, 2019 12:40 pm
Forum: ESP32 IDF
Topic: SSL Certificate Renewal
Replies: 12
Views: 6242

Re: SSL Certificate Renewal

Yes, your understanding is correct, cert_pem needs to point to server certificate buffer. Further more this could also be chain (list of certs) and it should just work (gets handled in esp-tls component). If you run into any issues, kindly keep us posted.

Thanks.
by ESP_Mahavir
Tue Jan 08, 2019 10:41 am
Forum: ESP32 IDF
Topic: SSL Certificate Renewal
Replies: 12
Views: 6242

Re: SSL Certificate Renewal

2. Is it possible to read certificates from a file on flash partition as opposed to the certs being baked into the firmware? Please refer https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/storage/nvs_partition_gen.html, which can be used to create storage partition for certificate...
by ESP_Mahavir
Fri Dec 14, 2018 1:36 pm
Forum: ESP32 IDF
Topic: IRAM0 segment data does not fit
Replies: 19
Views: 5995

Re: IRAM0 segment data does not fit

If not already done then would recommend enabling make menuconfig -> Compiler options -> Optimization Level (Release). Well this does not really answer your question but can serve as quick fix.
by ESP_Mahavir
Fri Dec 14, 2018 9:11 am
Forum: ESP32 IDF
Topic: Amazon IOT disconnects and won't reconnect
Replies: 16
Views: 5942

Re: Amazon IOT disconnects and won't reconnect

Could you please help to check if there is sufficient dynamic memory available before attempting to connect to AWS IoT (error code -0x7F00 points to failure in allocation)? If not already done then, aws_iot_mqtt_disconnect() API can help to free up memory from previous TLS connection, once there is ...
by ESP_Mahavir
Mon Nov 19, 2018 6:06 am
Forum: ESP32 IDF
Topic: FATFS upgrade via OTA
Replies: 9
Views: 2535

Re: FATFS upgrade via OTA

Right now OTA firmware upgrades are only supported for partitions with app:ota_o/ota_15 as type:subtype (Please refer https://github.com/espressif/esp-idf/blob/master/components/app_update/esp_ota_ops.c#L72). Hence OTA upgrade for fatfs partition is not something that is supported right now even if ...
by ESP_Mahavir
Fri Nov 16, 2018 9:02 am
Forum: ESP32 IDF
Topic: AWS IoT Subscribe/Publish example problem
Replies: 3
Views: 1384

Re: AWS IoT Subscribe/Publish example problem

I can not get the example to work with any of Amazon's root certificates including the one provided in the example.

Can you please provide detailed log with ESP-IDF version/commit that you tried with?
by ESP_Mahavir
Mon Jun 25, 2018 5:39 am
Forum: ESP32 IDF
Topic: can't enable secureboot and encryption together
Replies: 4
Views: 1724

Re: can't enable secureboot and encryption together

I've been trying to enable secureboot with flash encryption without success. Had success with each independently. I followed the programming guide, but after flashing the bootloader, then the app, I get the following on reboot: rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: ...
by ESP_Mahavir
Thu May 31, 2018 11:00 am
Forum: ESP32 IDF
Topic: Failure during link, smartconfig
Replies: 3
Views: 1729

Re: Failure during link, smartconfig

Hi HenryM, Amazon FreeRTOS has its own TCP/IP stack, hence it is unlikely that there will be official support for lwIP stack. Having said that, if their TCP/IP stack had standard POSIX socket interface, then it would have been really straight forward to run ESP-IDF components like `smartconfig` in t...
by ESP_Mahavir
Wed Apr 18, 2018 3:20 am
Forum: ESP32 IDF
Topic: OpenOCD ESP32 - Erase
Replies: 8
Views: 3536

Re: OpenOCD ESP32 - Erase

I think it should be possible using `flash erase_sector` command, flash probe 0 flash erase_sector 0 1 1023 Please note that, sector 0 erase is not supported, protected considering any secure boot related data there. Ref: https://github.com/espressif/openocd-esp32/blob/07baed8ccb1331c0ede43e49e4b730...