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??
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.