I'm trying to run the Keil example for the above board. 1/ I've moved J1 jumper to PD2. 2/ I built the software, but Uvision (3.8a) would not download it to the board ( siguv3arm.dll problem /). 3/ On a forum I discovered that you had to create a new project and 'import' all the example source code. This worked, and the LCD displayed MCBSTM32 HID.
4/ I've connected the board to my PC ( windows xp) via the USB lead. Sometimes it comes up with 'new device' etc. I told it that its a hid.
5/ I've run the hidclient.exe program, but it does not display the board. For device it displays <None>
6/ How can I get the above client to talk to my board ?
Thanks
Hello Martin Guenther.
1/ The board is connected through its JTAG connector to the ULINK2 and the USB connector to the PC.
I'm not running it in debug mode.
2/ Under Devices there are several entries under Human Interface Devices.
There is one labelled HID-compliant consumer control device.
There are two labeled HID-compliant device.
There are hree labeled USB Human Interface Device ( 2 of these are the keyboard and the other the ULINK).
So i'm not sure which one applies to the ST board so that I can uninstall it ?
Hello Rowland Roderick,
If MCBSTM32 HID enumerates correct you will find two entries in device manager under section Human Interface Device:
- HID-complient device - USB Human Interface Device
If you display Properties for USB Human Interface Device you will see string Location 0 (Keil MCBSTM32 HID) under General - Location.
If you display Properties for HID-complient device you will see a string containing the idVendor(VID)/idProduct(PID) you used in usbdesc.c under Details - Device Instance ID like:
HID\VID_C251&PID_1C01\...
Now you should be able to identify the MCBSTM32 HID.
Best Regards, Martin Guenther
Dear Martin,
The only Keil entry is the Ulink. I can't find Keil mcbstm 32 hid
As you stated in usbdes.c idvendor & id product are 0xc251 and 0x1c01.
Rowland
Hello rowland Roderick,
Have you tried to set jumper J1 to GND and then reset the board?
Yes i've tried J1 to GND.
I also tried connecting the board to an old PC.
It came back with Unreconized Device, but it didn't have the driver.
for MCBSTM32 HID you do not need a special USB driver. XP detects it as HID device and uses the windows generic USB HID driver.
It seems that XP fails to enumerate the device.