Search found 188 matches

by ESP_Mahavir
Fri Dec 14, 2018 1:36 pm
Forum: ESP-IDF
Topic: IRAM0 segment data does not fit
Replies: 19
Views: 23048

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: ESP-IDF
Topic: Amazon IOT disconnects and won't reconnect
Replies: 16
Views: 19213

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: ESP-IDF
Topic: FATFS upgrade via OTA
Replies: 9
Views: 9745

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: ESP-IDF
Topic: AWS IoT Subscribe/Publish example problem
Replies: 3
Views: 5007

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: ESP-IDF
Topic: can't enable secureboot and encryption together
Replies: 4
Views: 5572

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: ESP-IDF
Topic: Failure during link, smartconfig
Replies: 3
Views: 5368

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: ESP-IDF
Topic: OpenOCD ESP32 - Erase
Replies: 8
Views: 13396

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...
by ESP_Mahavir
Tue Apr 10, 2018 2:13 pm
Forum: ESP-IDF
Topic: socket connect error 104
Replies: 8
Views: 20066

Re: socket connect error 104

Try changing debug options from
components/lwip/include/lwip/port/lwipopts.h
Following are few options that might be helpful here,
#define TCP_DEBUG LWIP_DBG_ON
#define TCP_INPUT_DEBUG LWIP_DBG_ON
#define SOCKETS_DEBUG LWIP_DBG_ON