I have a STM32-103STK board with a keil ulink-me usb programmer. My job is to create a USB connection to the pc. I've downloaded the USB-HID demo from keil (http://www.keil.com/download/docs/361.asp), compiled it and loaded it onto the board. But the demo isn't working. I know it would not work as it should be cause this board hasn't have the leds, but windows should recognize a USB device I think.
Does anyone knows how to get this working? Would this demo work on this board?
"If the Olimex examples are for IAR, why are you using Keil?"
Cause school gave it to us...
but i know how to put something on the lcd screen, put led or pin on or off...
Gave what to you?
Keil?
The Olimex board?
If they gave you these things, they must have assumed that a competent student, at this point in the course, should be able to complete the assignment with them...
problem solved, solution: use examples from ST with the following settings:
#define USB_DISCONNECT GPIOC #define USB_DISCONNECT_PIN GPIO_Pin_11 #define RCC_APB2Periph_GPIO_DISCONNECT RCC_APB2Periph_GPIOC