Search found 144 matches

by Ritesh
Thu Jan 19, 2017 1:49 pm
Forum: ESP32 SDK
Topic: Command line sample code to accept custom command as input
Replies: 3
Views: 130

Re: Command line sample code to accept custom command as input

Hi, Please let me know if anyone has implemented such kind of command line code which will ask for input and will perform operation for WiFi or UART or other interface test-cases based on input. As I have checked with scanf function but some how its not working as not able to stop execution process ...
by Ritesh
Sat Jan 14, 2017 10:56 am
Forum: ESP32 SDK
Topic: Need sample to communicate APK with ESP32 over socket
Replies: 9
Views: 322

Re: Need sample to communicate APK with ESP32 over socket

Thanks for Reply.. Let me check and will let you know..
by Ritesh
Tue Jan 10, 2017 9:05 am
Forum: ESP32 SDK
Topic: ota data partition info error
Replies: 12
Views: 203

Re: ota data partition info error

Hi, I am getting following warnings while using "Factory APP, Two OTA Definitions" at boot time. I (31) boot: Espressif ESP32 2nd stage bootloader v. V0.1 I (40) boot: compile time 14:22:28 I (62) boot: SPI Speed : 40MHz I (62) boot: SPI Mode : DIO I (62) boot: SPI Flash Size : 16MB I (64)...
by Ritesh
Thu Jan 05, 2017 5:58 pm
Forum: ESP32 SDK
Topic: ota data partition info error
Replies: 12
Views: 203

Re: ota data partition info error

Is it possible to create custom OTA partitions for more than 1 MB? Do I need to change bootloader for that?

I have tried but not got any success for that.
by Ritesh
Thu Jan 05, 2017 5:55 pm
Forum: ESP32 SDK
Topic: Stack Overflow issue in GPIO Callback for Interrupt
Replies: 11
Views: 156

Re: Stack Overflow issue in GPIO Callback for Interrupt

I think we have to realize that there are limitations on what one can sensibly do in an "Interrupt Service Routine" ... the way I think about it (which might be woolly) is that the CPU is happily ticking along ... all is well ... its running its programs ... and then an event happens ... ...
by Ritesh
Thu Jan 05, 2017 5:20 pm
Forum: ESP32 SDK
Topic: Stack Overflow issue in GPIO Callback for Interrupt
Replies: 11
Views: 156

Re: Stack Overflow issue in GPIO Callback for Interrupt

This is purely a guess on my part .... it may be that even ets_printf() might not work ... the reason for that *may* be that ets_printf() attempts to drive the UART output and it is the UART output that may be invalid for execution in ISRs. IFF that is the case and there isn't already an architecte...
by Ritesh
Thu Jan 05, 2017 5:19 pm
Forum: ESP32 SDK
Topic: Stack Overflow issue in GPIO Callback for Interrupt
Replies: 11
Views: 156

Re: Stack Overflow issue in GPIO Callback for Interrupt

WiFive wrote:
Ritesh wrote:So, I can not use ESP_LOGI into interrupt callback function for any GPIO. Correct?


Yes, for any isr including gpio and other. Yes, try ets_printf


I have commented all debug print statements but still facing same issue.

Do you have any other idea or clue for this type of issue?
by Ritesh
Thu Jan 05, 2017 10:20 am
Forum: ESP32 SDK
Topic: ota data partition info error
Replies: 12
Views: 203

Re: ota data partition info error

Hi, Thanks for Reply. I have one quick question that can I allocate more than 1 MB for OTA Factory and OTA_0 partitions as i have tried with following OTA Partition CSV file but not worked. # Name, Type, SubType, Offset, Size nvs, data, nvs, 0x9000, 0x4000 otadata, data, ota, 0xd000, 0x2000 phy_init...
by Ritesh
Thu Jan 05, 2017 4:57 am
Forum: ESP32 SDK
Topic: ota data partition info error
Replies: 12
Views: 203

Re: ota data partition info error

Hi,

I have checked with flash_erase and it works for me but it seems like if i change partition table then it is going to create problem which means that I have to finalize partition table onetime to recover this issue.

Let me know if i am wrong.
by Ritesh
Thu Jan 05, 2017 1:53 am
Forum: ESP32 SDK
Topic: ota data partition info error
Replies: 12
Views: 203

Re: ota data partition info error

Running an OTA update will write to this section, as it contains metadata about which OTA partition is currently selected. However, if you previously ran different (non-OTA) code on this module, with a different partition table, then there can be invalid data there from before OTA was even enabled....

Go to advanced search