‎2021-05-18 01:47 AM
I would like to know if the example project is working normally. Thank you.
Solved! Go to Solution.
‎2021-05-25 02:07 AM
In fact, now it is working . The USB cable should be connected to the CN15 connector but In the readme file document of the "HID_standalone" project , there is a small mistake where it is written that the USB cable should be connected to CN16.
Thank you Imen 🙂
Mario.
‎2021-05-18 03:15 AM
Hello @MOsta.1​ ,
Let me first welcome you to the STM32 Community 🙂
Please try to provide some details on your case:
You did not precise the version of the Cube firmware package and STM32cubeIDE you are using . Is-it the last version ?
Do you get an error message ?
Check your pin configuration and make sure that you follow the readme file which describes the example and how to test it.
If you can debug and localize where the the code stop and the kind of message gives.
Please, keep us informed about your progress.
Imen
‎2021-05-18 06:24 AM
Thank you for your reply Imen. 🙂
I am using the STM32CubeFW_L5 v1.4.0 firmware package and the version 1.6.0 of the STM32cubeIDE. I am using Ubuntu 18.04.5 LTS as operating system.
In fact, I am able to build the project successfully without getting an error message, but after running the application I am not getting any output when pushing the user push button.
Based on the readme file, I am supposed to see the cursor of the mouse moving after pushing the push button.
While debugging the code and after connecting the usb cable to the CN16 connector of the board, I am receiving an error message as follow: " libusb: error [udev_hotplug_event] ignoring udev action bind".
Also I noticed that the VID and the PID of the usb connector on my PC are different from the VID and PID configured in the project . Even if I change the VID and the PID in the project ; the parameters will not change on my PC. These are the VID and PID parameters on my PC as follow:
Thank you for your help,
Mario.
‎2021-05-21 02:16 AM
Check your USB cables or perhaps other problems on your side like: ST-link upgrade or try on another PC.
Imen
‎2021-05-25 02:07 AM
In fact, now it is working . The USB cable should be connected to the CN15 connector but In the readme file document of the "HID_standalone" project , there is a small mistake where it is written that the USB cable should be connected to CN16.
Thank you Imen 🙂
Mario.
‎2021-05-25 02:15 AM
Thanks @MOsta.1​ for your update and reported typo.
I will raise internally your feedback regarding readme file for check and take the necessary action.
Imen