Button press using setWatch causes reset #7054
Replies: 1 comment
-
Posted at 2017-08-30 by miCatotonic FYI, there is a "d" in front of "igitalRead", my mouse jumped. Posted at 2017-08-31 by @yerpj Could you tell us what is the Olimex reference ? or give us the link to the schematic? Posted at 2017-08-31 by Wilberforce This is a known issue... Using D0 - the inbuilt flash button, it does not crash straight away. I suspect a stsck issue, but so far increasing the stsck size has had no effect.. Posted at 2017-08-31 by @gfwilliams We could throw an exception if you try and watch D0 for now? it'd be easy, and might save people some trouble! Posted at 2017-08-31 by Wilberforce It fails on all pins after a while. It used to work, but it seems that recent timer changes might have effected the Irq handling on gpios. We have a similar crash with pin pulse too... All a work in progress.. @jumjum and I are the only ones looking at this - and this is in our spare time. Posted at 2017-08-31 by @gfwilliams Yes, totally. What you two have done so far is awesome :) Posted at 2017-08-31 by miCatotonic @yerpj - Link to Schematic follows: Posted at 2017-08-31 by miCatotonic @wilberforce, you da man. Thank you for any and all help Posted at 2017-12-14 by Wilberforce The It will be in version 1v95, so for now a latest travis build will work: |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-08-30 by miCatotonic
Was trying to exercise a module by using a button press on my Olimex Gateway board. This board has a button, led, sd card, and Ethernet plug, a really nice board by the way. I digress, the button is connected to D34 but when I run the following code, it crashes and resets.
I have tried running this code with both espruino_1v92_esp32.bin and espruino_1v94.23_esp32.bin firmware and they both crash, although espruino_1v94.23_esp32.bin seems to handle it much better.
I am including the core dump.
All help is appreciated.
Attachments:
Beta Was this translation helpful? Give feedback.
All reactions