Skip to content

samples/drivers/watchdog: Fatal fault in ISR #13291

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

Closed
cinlyooi-intel opened this issue Feb 12, 2019 · 3 comments
Closed

samples/drivers/watchdog: Fatal fault in ISR #13291

cinlyooi-intel opened this issue Feb 12, 2019 · 3 comments
Assignees
Labels
area: Watchdog Watchdog bug The issue is a bug, or the PR is fixing a bug platform: ESP32 Espressif ESP32 priority: low Low impact/importance bug
Milestone

Comments

@cinlyooi-intel
Copy link
Contributor

Describe the bug
When attempting to feed the watch dog 5 times, a Fatal fault in ISR developed.

To Reproduce
Steps to reproduce the behavior:

  1. mkdir build; cd build
  2. cmake -GNinja -DBOARD=esp32 -DARCH=xtensa
  3. ninja
  4. ninja run

Screenshots or console output

***** Booting Zephyr OS v1.14.0-rc1-8-gf81346cbd9 (delayed boot 1000ms) *****
Watchdog sample application
Feeding watchdog 5 times
Feeding watchdog...
 ** FATAL EXCEPTION
 ** CPU 0 EXCCAUSE 3 PS 0x00060020 PC 0x4008188c VADDR 0x400805a4
 **  A0 0x800818fe  SP 0x3ffb11f0  A2 0x40080598  A3 0x00000000
 **  A4 0x00000001  A5 0x00060e23  A6 0x000003e7  A7 0x00000000
 **  A8 0x80081879  A9 0x3ffb11c0 A10 0x00000000 A11 0x00000000
 ** A12 0x00000000 A13 0x014f8b59 A14 0x00008386 A15 0x00061a80
 ** LBEG 0x00000000 LEND 0x00000000 LCOUNT 0x00000000
 ** SAR 0x00000000
Current thread ID = 0x3ffb0b00
Faulting instruction address = 0xdeaddead
Fatal fault in ISR! Spinning...
Feeding watchdog...
Feeding watchdog...
Feeding watchdog...
Feeding watchdog...
Waiting for reset...
ets Jun  8 2016 00:22:57

rst:0x8 (TG1WDT_SYS_RESET),boot:0x13 (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:DIO, clock div:2
load:0x3ffb0000,len:144
load:0x3ffb0090,len:20
ho 0 tail 12 room 4
load:0x3ffb00a4,len:112
load:0x3ffb0114,len:2536
load:0x3ffb0e40,len:0
ho 12 tail 0 room 4
load:0x40080000,len:1024
load:0x40080400,len:256
ho 0 tail 12 room 4
load:0x40080500,len:144
load:0x40080590,len:8
load:0x40080598,len:16
ho 0 tail 12 room 4
load:0x400805a8,len:18420
load:0x400c0000,len:0
entry 0x40080974
***** delaying boot 1000ms (per build configuration) *****
***** Booting Zephyr OS v1.14.0-rc1-8-gf81346cbd9 (delayed boot 1000ms) *****
Watchdog sample application
Feeding watchdog 5 times
Feeding watchdog...
 ** FATAL EXCEPTION
 ** CPU 0 EXCCAUSE 3 PS 0x00060020 PC 0x4008188c VADDR 0x400805a4
 **  A0 0x800818fe  SP 0x3ffb11f0  A2 0x40080598  A3 0x00000000
 **  A4 0x00000001  A5 0x00060e23  A6 0x000003e7  A7 0x00000000
 **  A8 0x80081879  A9 0x3ffb11c0 A10 0x00000000 A11 0x00000000
 ** A12 0x00000000 A13 0x014f8b59 A14 0x000090e2 A15 0x00061a80
 ** LBEG 0x00000000 LEND 0x00000000 LCOUNT 0x00000000
 ** SAR 0x00000000
Current thread ID = 0x3ffb0b00
Faulting instruction address = 0xdeaddead
Fatal fault in ISR! Spinning...

Environment (please complete the following information):

  • OS: linux
  • Toolchain: espressif
  • Commit SHA or Version used: f81346c
@cinlyooi-intel cinlyooi-intel added the bug The issue is a bug, or the PR is fixing a bug label Feb 12, 2019
@galak galak added area: Watchdog Watchdog platform: ESP32 Espressif ESP32 labels Feb 12, 2019
@galak galak modified the milestones: v1.13.1, v1.14.0 Feb 12, 2019
@nashif nashif modified the milestones: v1.14.0, unspecified Feb 14, 2019
@nashif nashif added the priority: low Low impact/importance bug label Feb 18, 2019
@SavinayDharmappa
Copy link
Contributor

The commit 4844afa enable CONFIG_LOG=y for sample/drivers/watchdog which is causing the execption.If CONFIG_LOG is disabled the exception is not observed

@SavinayDharmappa
Copy link
Contributor

#14252

@ManojSubbarao
Copy link

Duplicate of 10915. Closing the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Watchdog Watchdog bug The issue is a bug, or the PR is fixing a bug platform: ESP32 Espressif ESP32 priority: low Low impact/importance bug
Projects
None yet
Development

No branches or pull requests

5 participants