Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gpio ISR crash after setup error with int pin #97

Closed
SpComb opened this issue Dec 31, 2024 · 0 comments · Fixed by #101
Closed

gpio ISR crash after setup error with int pin #97

SpComb opened this issue Dec 31, 2024 · 0 comments · Fixed by #101
Labels

Comments

@SpComb
Copy link
Member

SpComb commented Dec 31, 2024

I (872) start_i2c_gpio: i2c-gpio1: type=PCA9554 port=0 addr=37 int_pin=36
E (882) gpio_i2c_pca54xx_read: i2c_master_write_to_device port=0 addr=37: ESP_FAIL
E (892) gpio_i2c_new: gpio_i2c_init
E (892) start_i2c_gpio: gpio_i2c_new[1]
E (892) app_main: start_i2c_gpio
W (902) user_alert: ERROR_START
Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.

Core  0 register dump:
PC      : 0x400897cf  PS      : 0x00060031  A0      : 0x80083881  A1      : 0x3ffb0b00  
0x400897cf: gpio_i2c_intr_handler at /build/components/gpio/i2c.c:18

A2      : 0x3ffc3dc0  A3      : 0x00000000  A4      : 0x00000000  A5      : 0x00000010  
A6      : 0x3ffb3628  A7      : 0x3ffbb880  A8      : 0xb33fffff  A9      : 0x3ffbb7a0  
A10     : 0x00000003  A11     : 0x00060023  A12     : 0x8008fff1  A13     : 0x3ffbb850  
A14     : 0x00000003  A15     : 0x00060023  SAR     : 0x00000004  EXCCAUSE: 0x0000001c  
EXCVADDR: 0xb340001f  LBEG    : 0x00000000  LEND    : 0x00000000  LCOUNT  : 0x00000000  


Backtrace: 0x400897cc:0x3ffb0b00 0x4008387e:0x3ffb0b20 0x40083221:0x3ffb0b40 0x40173427:0x3ffbb8b0 0x400d50ee:0x3ffbb8d0 0x4008cb99:0x3ffbb8f0 0x4008fd3d:0x3ffbb910
0x400897cc: gpio_i2c_intr_handler at /build/components/gpio/i2c.c:14

0x4008387e: gpio_isr at /build/components/gpio/esp32/gpio_intr.c:50 (discriminator 3)

0x40083221: _xt_lowint1 at /opt/esp-idf/components/freertos/port/xtensa/xtensa_vectors.S:1114

0x40173427: cpu_ll_waiti at /opt/esp-idf/components/hal/esp32/include/hal/cpu_ll.h:183
 (inlined by) esp_pm_impl_waiti at /opt/esp-idf/components/esp_pm/pm_impl.c:847

0x400d50ee: esp_vApplicationIdleHook at /opt/esp-idf/components/esp_system/freertos_hooks.c:63

0x4008cb99: prvIdleTask at /opt/esp-idf/components/freertos/tasks.c:3987 (discriminator 1)

0x4008fd3d: vPortTaskWrapper at /opt/esp-idf/components/freertos/port/xtensa/port.c:142





ELF file SHA256: 79fda899fd9eb07b

Rebooting...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant