Hi All,
I am trying out some demo code from the Keil RTX USB Device Memory example C:\Keil\ARM\Boards\Keil\MCB1700\RL\USB\Device\RTX\Memory\
My problem is that I cannot get the USB device recognised as there is no USB connect done automatically.
I suspect that there is a mechanism needed for the VBUS pin to create an interrupt which will then cause a task to run for the Power Event to the RTX.
I have configured the pin for VBUS functionality.
Can anyone point me in the correct direction for documentation.
Thanks
Hi,
Thanks for that answer.
I reviewed carefully and determined that a NPN transistor (instead of a PNP) had been fitted to the board (connecting D+ to 3V3 via 1.5kOhms for the softconnect function).
Correcting this fixed the problem.
Note that this is a custom board (not Keil MCB1700).
Ian
It sounds like your board is not enumerating with your windows PC?
If so, make sure to eliminate any hardware issues.
- Follow the instructions in abstract.txt, and make sure that on the board
"Note: set jumper D-, D+ to DEVICE"
- If you must use a USB hub, use a powered one.
- Try connecting directly to the USB port on your computer.
- Try several ports on your computer, and see if any of them work.
- If not, make sure the board is powered correctly.
- See if the board shows up as an unknown device in Windows device manager.
View all questions in Keil forum