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?
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: https://github.com/espruino/Espruino/issues/1010
Chances are the call needs to use a softdevice API rather than using the hardware directly
Hi Gordon, just tested the fix, works perfectly now, thanks!
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem