Search found 1683 matches

by kolban
Thu Jun 15, 2017 1:42 pm
Forum: ESP-IDF
Topic: Flash through host and Esptool
Replies: 14
Views: 18781

Re: Flash through host and Esptool

One idea would be to write a REST server that handles POST requests. The firmware could then be posted to that REST server which writes the image as a temporary file and then invoked esptool.py via a "System" like call and finally deletes the file. For a task like this that one wanted done quickly, ...
by kolban
Thu Jun 15, 2017 1:37 pm
Forum: General Discussion
Topic: Is the https_request(get and post) simultaneously works on esp32..??
Replies: 3
Views: 5925

Re: Is the https_request(get and post) simultaneously works on esp32..??

When an exception occurs while running ESP32 code, you can configure the ESP32 to log either a dump or directly enter gdb mode. In both cases, we see exactly the source line where the exception occurred. I think it might be useful to enable that additional level of debugging so that we can see which...
by kolban
Tue Jun 13, 2017 7:44 pm
Forum: Report Bugs
Topic: esp-idf-template-master sample program not working
Replies: 18
Views: 23257

Re: esp-idf-template-master sample program not working

Maybe provide a description of how you built your environment? I use Ubuntu on mine. Lets look and see if there is something odd in the compiler chain you are using, the version of ESP-IDF or something else. Maybe someone can compile your program for you to build the images and you can test with a c...
by kolban
Tue Jun 13, 2017 4:23 pm
Forum: Report Bugs
Topic: esp-idf-template-master sample program not working
Replies: 18
Views: 23257

Re: esp-idf-template-master sample program not working

For the sake of an idea to try, consider running:

make erase_flash

and then try re-flashing. This command will erase (reset) all flash memory. It is just possible that some previous application you had installed "confused" the environment.
by kolban
Tue Jun 13, 2017 4:16 pm
Forum: General Discussion
Topic: wdt
Replies: 14
Views: 32771

Re: wdt

Does the diagnostic message written to serial output contain the identity of which task is being starved?
by kolban
Tue Jun 13, 2017 4:11 pm
Forum: Report Bugs
Topic: esp_wifi_set_country() seems not working
Replies: 3
Views: 9447

Re: esp_wifi_set_country() seems not working

Its a good question. I don't know WiFi and radio rules but if you are saying that the US FCC only allows radio channel 1-11 to be used for WiFi in the US but outside the US other channels can be used ... then I would also have imagined that non-valid channels would not be shown based on the country ...
by kolban
Tue Jun 13, 2017 2:13 pm
Forum: General Discussion
Topic: Crash running https_request example
Replies: 19
Views: 22757

Re: Crash running https_request example

I tend to suggest always go ahead and post the traces and logs but post them to pastebin.com and include a link(s). Since your forum post is public domain and you are prepared to share the traces, it doesn't seem to do any harm to post them to pastebin.
by kolban
Tue Jun 13, 2017 12:35 am
Forum: General Discussion
Topic: Crash running https_request example
Replies: 19
Views: 22757

Re: Crash running https_request example

Non-deterministic or timing problems can be ugly to diagnose. If a hang is occurring, what I would suggest is to find the statement that was entered but has not returned and see if it is consistent across hangs. Without the ability to "break into" code, the best suggestion I have is to liberally spr...
by kolban
Mon Jun 12, 2017 7:29 pm
Forum: ESP-IDF
Topic: [Solved] Recipes for being a TCP server ...
Replies: 2
Views: 8911

Re: [Solved] Recipes for being a TCP server ...

When I learn something that is useful, I try and keep a snippet of it around ... my sockets snippets can be found here:

https://github.com/nkolban/esp32-snippe ... er/sockets
by kolban
Mon Jun 12, 2017 7:23 pm
Forum: General Discussion
Topic: Crash running https_request example
Replies: 19
Views: 22757

Re: Crash running https_request example

There is a FreeRTOS API called vTaskList ... see: http://www.freertos.org/a00021.html#vTaskList However, it comes with caveats (see the docs). It is also not enabled by default in ESP-IDF but can be enabled by changing the FreeRTOS config files. See also: https://github.com/espressif/esp-idf/issues/...