Dear Sir,
I am using the the demo code of keil for USB HID for my custom made board. I have successfully uploaded the code to the controller. But when i connect the device to PC, it doesn't recognize the device. It shows the error usb device connected is malfunctioned. I am using windows 7- 64bit. What should i do? Can you help me in this? Thanks in advance.
Regards, Deepak
> my custom made board > It shows the error usb device connected is malfunctioned.
Sound like hardware problem. Check the connections of USB D+/D- pins of the MCU to the USB connector. Aren't these connection swapped?
Anyway, what is the MCU?
Tsuneo
Dear Tsuneo,
I have checked the connections with the reference schematic of MCBSTM32. It is exactly the same. The controller I am using is STM32F103RE. The same problem is occurring in the Mass Storage device demo also.
Deepak
What is the crystal frequency? MCBSTM32 mounts 8 MHz crystal.
I am also using 8Mhz crystal.
That is to be expected if it is, in fact, a hardware fault.
View all questions in Keil forum