i am using LPC1758 microcontroller and i have write a program to connect USB to computer. when i debug my program, my device is displaying in device manager but not in connected devices in computer. what is the issue??
anjali said:not in connected devices in computer
What, exaxctyl, do you mean by that?
How about some screenshots to illustrate what you want - and what you're getting ... ?
as you can see in this screenshot, the status of device is active.
but it is not displayed in computer.
You didn't follow the instructions on how to get proper screenshots - did you?
how to upload that screenshot?
insert->insert image/video ?
no usb device is displayed here.
in device manager it is shown as usb mass storage device
When you have an USB device, you cannot stop the execution at any point because PC will try to enumerate the device and communicate with it and if you stop it with debugger it will not respond to PC requests in time and PC will not properly mount it.
how do i get to know that my program is running properly or not?
if i am not wrong... if it is showing in device manager as usb mass storage device, it should also shown in computer as usb device??
Which USB stack are you using?You can debug it by adding some other mechanism like using LEDs, LCD or something else. If it is not showing as a drive then it is not working properly.Also, you can stop it with debugger and analyze it at that point but after that you need to reset the device.
View all questions in Keil forum