Search found 59 matches

by gregstewart90
Thu Jul 13, 2017 4:09 pm
Forum: General Discussion
Topic: i2c randombly fails
Replies: 19
Views: 37348

Re: i2c randombly fails

I have the same problem. Here is my post. The reset seems to be the only fix. Your driver looks nice.

Anyone from Espressif have a fix that can be integrated into the IDF? I'm resetting when I detect the issue, but that's kind of a bad solution.
by gregstewart90
Mon Jun 19, 2017 2:05 pm
Forum: General Discussion
Topic: Reset I2C
Replies: 8
Views: 17591

Re: Reset I2C

With this being i2c, I only have the SCL and SDA lines. What is the CS ( /CE or RST ) pin?
by gregstewart90
Mon Jun 19, 2017 12:49 pm
Forum: General Discussion
Topic: Reset I2C
Replies: 8
Views: 17591

Re: Reset I2C

That top is the clock. It is unable to parse the signal. The small segment I showed in the first picture repeats continuously. When it works normally, I only see it poll the mcp's a few times a second.
by gregstewart90
Fri Jun 16, 2017 8:41 pm
Forum: General Discussion
Topic: Reset I2C
Replies: 8
Views: 17591

Reset I2C

I'm working on a project using MCP23017's which are port expanders using the i2c protocol. Occasionally, the chips start returning the wrong readings. I use relays in my design, which I imagine is causing the problem. I hooked it up to a login analizer and got the following result. Screen Shot 2017-...
by gregstewart90
Thu Jun 08, 2017 5:39 pm
Forum: General Discussion
Topic: SSH Client
Replies: 13
Views: 31752

Re: SSH Client

This post uses libssh2. It works for needs
by gregstewart90
Thu Jun 08, 2017 4:24 pm
Forum: General Discussion
Topic: Custom Partition Table
Replies: 1
Views: 3765

Custom Partition Table

I'm working on a project that uses wifi, ble, and an external library called libssh2. After everything is compiled my .bin file is over 1007504 in size. This is a problem for OTA updates. I decided to create a custom partition table which I have below. # Name, Type, SubType, Offset, Size nvs, data, ...
by gregstewart90
Tue May 30, 2017 11:19 pm
Forum: General Discussion
Topic: mbedtls error connecting to server
Replies: 1
Views: 3950

mbedtls error connecting to server

I've been working on using libcurl to connect to an access point to make configuration changes. The code works on my mac, but it fails when I try it on the ESP32. I believe the issue resides in mbedtls. With the help of loboris from post , I have enabled mbedtls debugging, and I now receive the foll...
by gregstewart90
Tue May 23, 2017 10:10 pm
Forum: Sample Code
Topic: [Video] - ESP32 and working with Lib CURL
Replies: 11
Views: 17006

Re: [Video] - ESP32 and working with Lib CURL

I'm still stuck on this problem. What I have found is that I do not need the cert to make it work. I can connect to other servers and get the same warning about not having the cert in the /etc/ssl/certs. The issue arrises in the next part mbedTLS: Connecting to 192.168.1.20:443 The system sits there...
by gregstewart90
Tue May 16, 2017 9:34 pm
Forum: Sample Code
Topic: Full example of using libcurl with ESP32
Replies: 12
Views: 43044

Re: Full example of using libcurl with ESP3232

Thanks for enabling that. Below is my output * timeout on name lookup is not supported * Trying 192.168.1.25... * TCP_NODELAY set * Connected to 192.168.1.25 (192.168.1.25) port 443 (#0) * Error reading ca cert file /certs/ca-certificates.crt - mbedTLS: (-0x3E00) PK - Read/write of file failed * mbe...
by gregstewart90
Fri May 12, 2017 4:20 pm
Forum: Sample Code
Topic: Full example of using libcurl with ESP32
Replies: 12
Views: 43044

Re: Full example of using libcurl with ESP3232

@loboris Have you done any https post requests or just get requests? Would that make a difference??? I think I might have found something. When I run the code on my mac, it works just fine. When I run it on the ESP32, it hangs (even after 20 seconds). I did verbose on both, and I found a difference ...