Search found 564 matches

by fly135
Thu Apr 18, 2019 5:59 pm
Forum: General Discussion
Topic: how to flash in Esp32 module
Replies: 2
Views: 58

Re: how to flash in Esp32 module

LOL good thing you posted a picture or we wouldn't know what CPU you were talking about! :D Be sure to look into GPIO 00 and it's use as a download mode signal during boot. My friend build an Ethernet board and ran the clock into GPIO 00 (the default for ethernet applications). Now the board refuses...
by fly135
Thu Apr 18, 2019 5:55 pm
Forum: ESP32 IDF
Topic: Dynamically changing the partition file.
Replies: 1
Views: 31

Dynamically changing the partition file.

I'm would like to build multiple versions of my app to retain backwards compatibility with devices that must use OTA. I need to change the partition layout going forward, but want to keep the old one for OTA updates. I'm thinking that just building a different version to be OTA'd might be ok, since ...
by fly135
Thu Apr 18, 2019 5:48 pm
Forum: ESP32 IDF
Topic: I2C call panicking system
Replies: 25
Views: 546

Re: I2C call panicking system

How so? I use queues for inter-task communication. But my structures are small, and every event loop has a wait at the end. Hard to see how I'd be overconsuming resources with these, especially given how much heap I seem to have available. I'm not convinced that you are having a problem with consum...
by fly135
Thu Apr 18, 2019 5:20 pm
Forum: ESP32 IDF
Topic: I2C call panicking system
Replies: 25
Views: 546

Re: I2C call panicking system

mzimmers wrote:
Thu Apr 18, 2019 4:44 pm
Essentially, yes. The program does a few other things (looks at queues for entries), but when the device is left alone, as it was in this case, not much else is really happening.
That might be where your problems lie.
by fly135
Thu Apr 18, 2019 4:00 pm
Forum: ESP32 IDF
Topic: I2C call panicking system
Replies: 25
Views: 546

Re: I2C call panicking system

So, if all you do is call that function over and over the program eventually crashes? BTW, I'm using IDF v3.1.3.

John
by fly135
Thu Apr 18, 2019 2:49 pm
Forum: ESP32 IDF
Topic: I2C call panicking system
Replies: 25
Views: 546

Re: I2C call panicking system

Why not write the simplest possible program to read the I2C and see if it works without failing? That would get rid of your worries about the underlying library.

John A
by fly135
Thu Apr 18, 2019 2:46 pm
Forum: ESP32 IDF
Topic: I2C call panicking system
Replies: 25
Views: 546

Re: I2C call panicking system

I make a series of calls to the i2c library every half second, and according to the tick-stamp, this ran for better than 30 minutes before the malloc error. I'm hard pressed to see how this wouldn't be some kind of bug in the i2c library. I use I2C all the time and am not seeing a mem leak. I do re...
by fly135
Wed Apr 17, 2019 5:01 pm
Forum: ESP32 IDF
Topic: I2C call panicking system
Replies: 25
Views: 546

Re: I2C call panicking system

Looks to me like you are writing outside of allocated memory. What's the function prototype for readReg?
by fly135
Wed Apr 17, 2019 12:43 am
Forum: General Discussion
Topic: make command to compile library (ESP32 setting windows)
Replies: 3
Views: 169

Re: make command to compile library (ESP32 setting windows)

Let me help you out with that...

viewtopic.php?f=13&t=9798
Need to do these two things in win10, as it appear the requirements script doesn't work correctly on 10 with IDF v3.1.1

pacman -S mingw-w64-i686-python2-cryptography
pacman -S mingw-w64-i686-python2-enum

Go to advanced search