Search found 44 matches

by mgleason_3
Mon Jun 12, 2017 1:18 am
Forum: General Discussion
Topic: Crash running https_request example
Replies: 19
Views: 10995

Re: Crash running https_request example

@f.h-f.s. >> Have you made any changes to the example? Minor - recently in https_request_example_main.c: Commented out line 302 to avoid buffer overflow and so much output // putchar(buf ); Changed the delay on Line 320 to get faster iterations from: vTaskDelay(1000 / portTICK_PERIOD_MS); to: vTaskD...
by mgleason_3
Sat Jun 10, 2017 11:31 pm
Forum: General Discussion
Topic: Crash running https_request example
Replies: 19
Views: 10995

Re: Crash running https_request example

Tried adding vTaskDelay() in a couple spots. Seemed a little better but not much. Unfortunately, I suspect something needs to be done in the esp_idf and I don't want to go monkeying there yet... Also, increased the "Interrupt watchdog timeout (ms)" from 300 to 5000. It seems to go a bit longer befor...
by mgleason_3
Sat Jun 10, 2017 10:47 pm
Forum: General Discussion
Topic: Crash running https_request example
Replies: 19
Views: 10995

Re: Crash running https_request example

Tried setting the CPU Speed to 160Mhz instead of 240Mhz. That did not seem to affect the crashes. Interestingly, there was an additional crash I hadn't noticed before that was a bit different from the others: ... I (111952) example: Connected. I (111952) example: Performing the SSL/TLS handshake... ...
by mgleason_3
Sat Jun 10, 2017 6:15 am
Forum: General Discussion
Topic: Crash running https_request example
Replies: 19
Views: 10995

Re: Crash running https_request example

It's an Espressif ESP32-DEVKITC. Black PCB, 4Mbyte Flash. It says its based on the ESP-WROOM-32. Here's the link: https://www.olimex.com/Products/IoT/ESP32-CoreBoard/ Assuming it matches the BOM, It should have: - a silicon labs CP2102-GM UART. - one of the following voltage regulators: NCP1117ST33T...
by mgleason_3
Sat Jun 10, 2017 2:30 am
Forum: General Discussion
Topic: Crash running https_request example
Replies: 19
Views: 10995

Crash running https_request example

Running the "esp-idf/examples/protocols/https_request example" (on a ESP-WROOM-32) plugged into a USB port on my computer. The https_request example basically makes a request via SSL to a web site, waits 10 seconds and repeats. It seems to run fine for a while, then BOOM! it panics and reboots. It m...
by mgleason_3
Mon May 08, 2017 7:24 am
Forum: General Discussion
Topic: curl/libcurl networking unreliable? Could it be more modular?
Replies: 10
Views: 6648

Re: curl/libcurl networking unreliable? Could it be more modular?

OK, created a Docker image based on Ununtu 16.04 so I could remove any unknowns and hopefully get away from the compilation problems. It's brand-new install with the latest git clones of esp-idf, curl, etc... Unfortunately, compiling produces the same errors as in this issue: https://github.com/nkol...
by mgleason_3
Fri May 05, 2017 10:23 pm
Forum: General Discussion
Topic: curl/libcurl networking unreliable? Could it be more modular?
Replies: 10
Views: 6648

Re: curl/libcurl networking unreliable? Could it be more modular?

@kolban - thanks for the comments! The concept of using C++ classes to encapsulate the ESP-IDF sounds promising. But, a few things kept me from using your RESTClient: Is there a version which doesn't use lib curl? The two I've seen appear to be based on libcurl rather than the base ESP-IDF - at leas...
by mgleason_3
Fri Apr 28, 2017 9:23 pm
Forum: General Discussion
Topic: curl/libcurl networking unreliable? Could it be more modular?
Replies: 10
Views: 6648

Re: ESP32 Networking unreliable? Could it be more modular?

Are you seeing this behaviour with the curl library or with other code? Good question. My recollection was that I had the same issue running the http example (esp's version without curl). However, I just updated the esp-idf and re-ran the http example and it does work consistently as far as I can t...
by mgleason_3
Thu Apr 27, 2017 11:15 pm
Forum: General Discussion
Topic: curl/libcurl networking unreliable? Could it be more modular?
Replies: 10
Views: 6648

curl/libcurl networking unreliable? Could it be more modular?

It may be easiest to show an example from a video - with apologies to Neil Kolban who made the video and is an awesome asset to the ESP32 community... https://www.youtube.com/watch?v=tp4OC_kGMgU. For those who don't have access to the video, Neil's trying to demonstrate using libcurl to make a RESTF...
by mgleason_3
Wed Mar 22, 2017 11:32 pm
Forum: Report Bugs
Topic: I2S Receive bug causing garbage data?
Replies: 12
Views: 6890

Re: I2S Receive bug causing garbage data?

Forgot to mention the data above is 32-bits - using following definitions:

Code: Select all

#define SAMPLE_RATE     (48000) 
#define I2S_NUM         (0)
#define BUFFER_SAMPLES  (2048)
#define BITS_PER_SAMPLE (32) 

Go to advanced search