Search found 151 matches
- Thu Feb 01, 2018 5:22 am
- Forum: ESP-IDF
- Topic: I2C crash with release/v3.0 - what's an effective way to debug this?
- Replies: 28
- Views: 33508
Re: I2C crash with release/v3.0 - what's an effective way to debug this?
I noticed there's a very similar I2C interrupt watchdog issue reported on Github recently, and the driver team is helping with this one, so you may want to follow along there as well: https://github.com/espressif/esp-idf/issues/1503 Well, fancy that... ;) [I created that issue - it's one and the sa...
- Wed Jan 31, 2018 8:30 pm
- Forum: ESP-IDF
- Topic: I2C crash with release/v3.0 - what's an effective way to debug this?
- Replies: 28
- Views: 33508
Re: I2C crash with release/v3.0 - what's an effective way to debug this?
@ESP_Angus: when a backtrace occurs, there's often one or more yellow lines that looks like this: 0x400847e7: i2c_master_cmd_begin_static at /Users/david/esp32/esp-idf-v3.0/components/driver/./i2c.c:1023 It's just occurred to me that these lines may actually be being displayed by the 'monitor' progr...
- Wed Jan 31, 2018 7:06 pm
- Forum: ESP-IDF
- Topic: I2C crash with release/v3.0 - what's an effective way to debug this?
- Replies: 28
- Views: 33508
Re: I2C crash with release/v3.0 - what's an effective way to debug this?
The exception cause "interrupt wdt timeout" is also a clue - something is spending too long in an interrupt context (or with interrupts disabled). You can read about the interrupt watchdog here: http://esp-idf.readthedocs.io/en/v3.0-rc1/api-reference/system/wdts.html?highlight=interrupt%20wdt#inter...
- Wed Jan 31, 2018 6:59 pm
- Forum: ESP-IDF
- Topic: I2C crash with release/v3.0 - what's an effective way to debug this?
- Replies: 28
- Views: 33508
Re: I2C crash with release/v3.0 - what's an effective way to debug this?
Hi ESP_Angus, The error I'm currently getting (which I believe is the same error) is currently displayed in the log as: ets Jun 8 2016 00:22:57 rst:0xc (SW_CPU_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode...
- Wed Jan 31, 2018 9:01 am
- Forum: ESP-IDF
- Topic: I2C crash with release/v3.0 - what's an effective way to debug this?
- Replies: 28
- Views: 33508
Re: I2C crash with release/v3.0 - what's an effective way to debug this?
What kind of sensor are you using? Can you paste your exact error message? When it crashes, does it crash over-and-over?ginodecock wrote:Hi,
I've got a simular error when the i2c sensor is disconnected.
- Wed Jan 31, 2018 8:59 am
- Forum: ESP-IDF
- Topic: I2C crash with release/v3.0 - what's an effective way to debug this?
- Replies: 28
- Views: 33508
Re: I2C crash with release/v3.0 - what's an effective way to debug this?
That sounds useful, but which tool do you mean?chegewara wrote:Sometimes im using this tool to decode errors even from esp-idf projects. Its enough to start new arduino project and start this tool, then it will ask you to load elf file you want to decode and then provide backtrace. Thats all.
- Thu Jan 25, 2018 11:18 pm
- Forum: ESP-IDF
- Topic: I2C crash with release/v3.0 - what's an effective way to debug this?
- Replies: 28
- Views: 33508
Re: I2C crash with release/v3.0 - what's an effective way to debug this?
An update (of sorts): I'm pretty much at a dead end with this. It can sometimes run happily for a day or two before it crashes, other times it crashes after 10 minutes. There seems to be no way out of the repeated crash cycle without human intervention. I suspect (guess) that something in the I2C ha...
- Mon Jan 22, 2018 9:56 pm
- Forum: ESP-IDF
- Topic: Route input GPIO to output GPIO via IO Mux or GPIO Matrix?
- Replies: 3
- Views: 6952
Re: Route input GPIO to output GPIO via IO Mux or GPIO Matrix?
Thanks for that link, it's exactly what I needed to see.
Works perfectly.
Code: Select all
// route incoming frequency signal to onboard LED
gpio_matrix_in(GPIO_FREQ_SIGNAL, SIG_IN_FUNC228_IDX, false);
gpio_matrix_out(GPIO_LED, SIG_IN_FUNC228_IDX, false, false);
- Fri Jan 19, 2018 11:40 am
- Forum: ESP-IDF
- Topic: I2C crash with release/v3.0 - what's an effective way to debug this?
- Replies: 28
- Views: 33508
I2C crash with release/v3.0 - what's an effective way to debug this?
I'm struggling with a persistent and frequent crash scenario and I'd like to request some advice with debugging it please, which seems to happen at or around the time of calling i2c_driver_install(). Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0) Register dump: PC : 0x400847e...
- Thu Jan 18, 2018 3:02 am
- Forum: ESP-IDF
- Topic: Route input GPIO to output GPIO via IO Mux or GPIO Matrix?
- Replies: 3
- Views: 6952
Route input GPIO to output GPIO via IO Mux or GPIO Matrix?
Somewhat of an academic question: is it possible to use the GPIO Matrix or IO Mux to somehow send an incoming level on an input GPIO to an output GPIO? I know this is a bit strange - why not just electrically connect the circuit on the output GPIO to the input signal, you may ask - what I'm consider...