Dear All
I use keil µVision V5.10.0.2 and try the blinkey examples of mdk5-getting-started.pdf manual with success on my own HW, but in the USB HID Device example nothing works.
I trace so many point of my HW and SW, and at the last, finding that USBD_Initialize(0) & USBD_Connect(0) functions not working.
Searching for definitions of both to debug, find that they defined as extern in rl_usb.h but there is functions in nowhere (there is other functions which also defined like 2 above as extern with no true functions).
did anyone knows where is the true definition of such functions ? or which header files contain the exact functions to including ?
With Best Regards Khodadad Namiri
Dear Pier
Sorry for long delay, I were trying to find the problem on my own, and fortunately find that the pullup 1.5KOhm resistor does not drew up to vcc via GPIOA P8 pin(as my HW). I connect directly the resistor to VCC and All problems solved. but one important Q remains. Why the Pullup does not drew up to VCC via MC output ports? (I test both ST and keil examples with desired changes and also write my own sample code also)
in RTE_Device.h(MDK ARM V5.10) there is definition of "USB Device FULL-speed" which can configure the pullup pin assignment but there's no effect in the pin (regardless of any pin you specify). is there any reason to prevent the right function, or is it a bug, or maybe I made misunderstood? should I write some code to do the job myself?
with best regards