You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code runs and waits until a key is pressed. Once a key is pressed the device reboots and there is this hardfault message in the serial console:
Running in safe mode! Not running saved code.
You are in safe mode because:
CircuitPython core code crashed hard. Whoops!
Hard fault: memory access or instruction error.
Please file an issue with your program at github.com/adafruit/circuitpython/issues.
Press reset to exit safe mode.
There seems to be something specific about this keyboard that it doesn't like. I've tried the following and they all work with the same code on the same device:
9.2.7 does still hard fault when keys are pressed sometimes. 10.0.0-alpha.2 seems like it will not hard fault, I have tested it and pressed away on the keyboard for a while and never got one. With 9.2.7, and originally in 9.2.4 when this was submitted it occurs fairly fast within dozen or so key presses.
None of the versions successfully read the keys and print them on Metro RP2350 connected to USB host pins, but that is less problematic than the hard fault.
CircuitPython version and board name
Code/REPL
Behavior
The code runs and waits until a key is pressed. Once a key is pressed the device reboots and there is this hardfault message in the serial console:
Description
No response
Additional information
Using this keyboard: https://www.adafruit.com/product/857
The text was updated successfully, but these errors were encountered: