E.hwRand() crashing Puck #1942
Unanswered
espruino-discuss
asked this question in
Puck.js, Pixl.js, Jolt.js and MDBT42
Replies: 2 comments
-
Posted at 2017-01-04 by @gfwilliams This could be the Bluetooth stack getting in the way - I think most likely it worked before Bluetooth got added, but then when Bluetooth is running it gets upset when certain things are accessed directly. I've added a bug for this: espruino/Espruino#1010 Chances are the call needs to use a softdevice API rather than using the hardware directly |
Beta Was this translation helpful? Give feedback.
0 replies
-
Posted at 2017-01-13 by stevie4711 Hi Gordon, just tested the fix, works perfectly now, thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Posted at 2016-12-30 by stevie4711
Hi, it seems using the mentioned function crashes the Puck reliably. I encountered this on two different Pucks. I also tried writing (using poke8) to the task register directly, same effect. So something seems to be wrong there. Is anyone else seeing this? Could this be some missing initialization? Some wrongly handled interrupt?
Beta Was this translation helpful? Give feedback.
All reactions