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.
Yep Matthias,
it seems OK. But now I have the error
.\Test.axf: Error: L9937E: MDK-Pro middleware is not allowed with this license
I use MDK-ARM Version 5.11a Lite Edition.
Hi Christian,
I was so happy to discover this topic and see that it's a recent one.
Indeed I am trying to use the USB Device HID example for the MCBSTM32E board and I got the same error of linking as you :
.\Output\HID.axf: Error: L9937E: MDK-Pro middleware is not allowed with this license
I don't know if you already found a solution. I was myself considering to use a previous version of uVision... I will let you know if I success or get something new.
Best regards
One solution (not tested) would be to use the STMicroelectronics' library "USB full-speed device library" (www.st.com/.../um0424.zip)
Christian LeMoussel > On my STMA32F103RB board, I want to create an USB Host Application.
Do you mean STM32F103RB ? This chip has just USB device function, but not any host (OTG). You can't install missing host hardware component on the chip ;-) You may replace the chip with STM32F105/107RB with OTG.
Tsuneo
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.
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.
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