NicoHood/HID

NicoHood HID bricked my device

Closed this issue · 3 comments

Hello, I have an Arduino Pro Micro and I tried to flash a simple sketch and use NicoHood's HID library.

Device doesn't recognized in any system (Linux/Win) and all systems complain for USB device descriptor.

Some dmesg sample:

device descriptor read/64. error -71

Thanks to SparkFun, they included some kind of recovery mode on a board so I was able to revive my board quickly.
Please add some kind of disclaimer about possibility of corrupted USB device descriptor (other issues).

Update: looks like builtin Keyboard.h from arduino did some mess when it was liked with HID library (even if it wasn't included with header, PlatformIO still links it).

did you figure out how to fix this? I am having a similar issue @x1unix

@antoniomolram I had both imported Arduino's standard keyboard library and NicoHood's libraries.

The solution was to remove Arduino Keyboard library from a project and reflash my project to Arduino board.

I've used SparkFun's Arduino Pro Micro which had some kind of recovery mode, which allows to delay sketch execution for a couple of seconds, which allowed me to reflash my sketch.