WeActStudio / WeActStudio.MiniSTM32F4x1

MiniF4-STM32F401CEU6/STM32F411CEU6 Product Literature
685 stars 152 forks source link

USB HID not working on F411CEU6 using Micropython #17

Open womei opened 4 years ago

womei commented 4 years ago

When trying to send USB HID commands, the controller reboots.

See This live stream for real time example

Now, for more details on the issue. I am using a board (with no extra ram) running the latest official image

Trying to use HID via either the official micropython tutorial or this tutorial causes the controller to crash when the hid.send() function is called.

DejayRezme commented 3 years ago

I'm a noob looking to maybe use this board for a keyboard / trackball combo. Is this issue only for micro python or also for C++ library? Has it been resolved? Thanks

DejayRezme commented 3 years ago

I have no clue, but I stumbled across this, maybe related? https://github.com/qmk/qmk_firmware/tree/master/keyboards/handwired/onekey/blackpill_f411

womei commented 3 years ago

This is just for micropython, I have not tried with the C/C++ libraries.