Hi All,
On my STMA32F103RB board, I want to create an USB Host Application. I select RTE Component describe in USB Device page documentation (C:/Keil_v5/ARM/PACK/Keil/MDK-Middleware/6.1.0/Doc/USB/html/_u_s_b__device.html)
But I got error
Keil.MDK-Pro:USB:Host Additional software components required require 2.00:CMSIS Driver:USB Host Install missing component
See screenshot : i.minus.com/ibjO37lmwAEUR5.png
How can I resolve this error?
Thanks for your help,
Best regards.
Hi Tsuneo,
Thank you for your advice. I missspoke, I'm french, excuse me for my poor English.
I use STM32F103RB and i wanna that my Board emulate a USB HID Keyboard. When i use push-button some characters are send to my PC Host.
For now, I'm trying to configure STM32F103RB to be detected as keyboard by PC. I don't know how to do that.
.\Test.axf: Error: L9937E: MDK-Pro middleware is not allowed with this license
This is pretty much what it says. The middleware libraries are only covered by the MDK Professional license: http://www.keil.com/arm/selector.asp
I recommend that you request a trial license so you can check out the capabilities of the middleware components: http://www.keil.com/trial/
> I use STM32F103RB and i wanna that my Board emulate a USB HID Keyboard.
For STM32F103 and Keil, there are a couple of HID examples.
a) ARM-MDK v4, USBHID - vendor-specific HID
- STM32 USB HID (Human Interface Device) Example http://www.keil.com/download/docs/361.asp or - C:\Keil\ARM\Boards\Keil\MCBSTM32\USBHID
- RL-USB library C:\Keil\ARM\Boards\Keil\MCBSTM32\RL\USB\Device\HID - RL-USB + RTX library C:\Keil\ARM\Boards\Keil\MCBSTM32\RL\USB\Device\RTX\CDC_ACM
b) ARM-MDK v5 - vendor-specific HID MCBSTM32E - USB Device HID
c) ST’s STM32_USB-FS-Device_Lib_V4.0.0, www.st.com/.../PF258157
JoyStickMouse - mouse \STM32_USB-FS-Device_Lib_V4.0.0\Projects\JoyStickMouse
As you see, there isn’t any exact HID keyboard example, but you may modify one of above example into a HID keyboard. My recommendation is, - MDK v4, USBHID This example works on MCBSTM32 board, which mounts STM32F103RB, exactly the same chip as your board.
The first step makes this example run on your board. Is your board an original one, or provided by one of board manufacturer? Post a link to the schematic of your board.
Tsuneo
Exactly it's MINI V3 STM32F103RBT6(development board ) with 2.8" TFT-module (m.ebay.com/itm).
Christian.
Ah, you have a DVD included in your board kit. In the DVD, there are two USB HID examples.
Wang Bao MINI Board DVD List .. (20) MINI—touch control USB mouse test .. (26) MINI-USBHID
Do these examples really work on your board? - They should, but not always ;-)
If they work, we may skip the board-specific adaptation step. Post one of them on a file share site, so that we can discuss on the code.
I started another topic on the subject : http://www.keil.com/forum/58668/#msg190188