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

Restart loop: Button pressed continuously #19

Closed
martinberlin opened this issue Oct 5, 2021 · 3 comments
Closed

Restart loop: Button pressed continuously #19

martinberlin opened this issue Oct 5, 2021 · 3 comments

Comments

@martinberlin
Copy link
Collaborator

The ePub reader is continuously looping from start list Screen to open book and first page.
And then resetting in an eternal loop.
The strange part is that it's like if the button will be stuck on pressed state, but it's certainly not.

Serial output:

I (679045) PUBLIST: Rendering item 1
I (679255) EPUB: Reading item OEBPS/Images/cover.jpg
I (679685) JPG: JPEG Decoded - size 600,900, scale = 0.640000, 0.644444, 2
I (680495) PUBLIST: Rendering item 2
I (680685) EPUB: Reading item OEBPS/@public@vhost@g@gutenberg@html@files@43@43-h@images@cover.jpg
I (681035) JPG: JPEG Decoded - size 500,862, scale = 0.768000, 0.672854, 2
I (683755) main: Selected epub /fs/el_aleph.epub
E (684635) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (684635) task_wdt:  - IDLE (CPU 1)
E (684635) task_wdt: Tasks currently running:
E (684635) task_wdt: CPU 0: epd_fetch
E (684635) task_wdt: CPU 1: IDLE
E (684635) task_wdt: Print CPU 0 (current core) backtrace


Backtrace:0x40116FCB:0x3FFB0840 0x40084209:0x3FFB0860 0x4000BFED:0x3FFBAC30 0x40090CD5:0x3FFBAC40 0x4008E909:0x3FFBAC60 0x40082D5D:0x3FFBACA0 0x40090A21:0x3FFBB0D0 
  #0  0x40116FCB:0x3FFB0840 in task_wdt_isr at /home/martin/.platformio/packages/framework-espidf/components/esp_common/src/task_wdt.c:189
  #1  0x40084209:0x3FFB0860 in _xt_lowint1 at /home/martin/.platformio/packages/framework-espidf/components/freertos/port/xtensa/xtensa_vectors.S:1105
  #2  0x4000BFED:0x3FFBAC30 in ?? ??:0
  #3  0x40090CD5:0x3FFBAC40 in vPortExitCritical at /home/martin/.platformio/packages/framework-espidf/components/freertos/port/xtensa/port.c:472
  #4  0x4008E909:0x3FFBAC60 in xQueueGenericSend at /home/martin/.platformio/packages/framework-espidf/components/freertos/queue.c:954
  #5  0x40082D5D:0x3FFBACA0 in provide_out at lib/epdiy/epdiy/src/epd_driver/lut.c:427 
@martinberlin
Copy link
Collaborator Author

Fixed after @atomic14 comments and doing a: git submodule update

And building it again

@martinberlin martinberlin changed the title Very strange effect after last update Restart loop: Button pressed continuously Oct 6, 2021
@martinberlin
Copy link
Collaborator Author

Sadly this strikes again. No idea why, is quite random, like the select button is continuously pressed making a slideshow all the time.

@martinberlin martinberlin reopened this Oct 6, 2021
@martinberlin
Copy link
Collaborator Author

OK that's weird, it seems GPIO 35 button is broken, updating the select to GPIO_NUM_0 starts working again.
I will do select by tapping the touch!

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

No branches or pull requests

1 participant