cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to get example HID_terminal programme to run

ron_w
Associate III

Hello

I'm working through the 'STM32 USB training - 09.3 USB CDC libusb device lab' (https://www.youtube.com/watch?v=ft8LXVcYFRg).

A copy of the 'HID_terminal.zip' is given with the course to be able to send some characters to the USB on the Nucleo-F446ZE to test this lab. The programme allows the user to send some characters to the Nucleo and the Nucleo returns them.

(This course material is given at 'https://drive.google.com/file/d/1sjU9iNvh_khDZHDM9Qau03PGKwMd4u7U/view' with the HID_terminal being in the 'Tools and files' folder)

I've extracted this zip file to C:\Program Files\HID_terminal. There are four copies of the HID_terminal. These are in:

C:\Program Files\HID_terminal\HID_terminal\bin\Debug

C:\Program Files\HID_terminal\HID_terminal\bin\Release

C:\Program Files\HID_terminal\HID_terminal\obj\Debug

C:\Program Files\HID_terminal\HID_terminal\obj\Release

I am unable to get the HID_terminal running. When I double-click on the first two I get an 'Error - Failed to open device' message. Nothing other than the other two except for a spinning circles appears on the screen.

I have seen these two files in the extracted folder (there are three different copies of the same)

HidSharp.dll

LibUsbDotNet.dll

Should these be in C:\Windows\System32? If so, do I simply copy and paste? Or are there other issues stopping this from running? There are no instructions with the download. 

Sorry that this is vague. I'm struggling to know how to explain this. Hopefully, someone has had a similar experience and is able to help. Have tried Googling about HID_terminal, but without success.

Thanks

1 REPLY 1
SKili.1
Associate

It doesn't open without HID device. You need to connect working MCU HID application first.

Strange solution.... normally it should open and show message - connected/disconnected device