We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello anyone,
After reading and searching over the net, I cannot find a solution and I think I need some help.
Scenario: I am developing a HID device using an Atmel AT91SAM7X256 (ARM7TDMI). This device exchanges some data with a windows application that I am writing using Embarcadero RAD X3 and Jvcl HID device component on Windows7.
Problem: The problem arrives when I start a debug session on uVision ( I am using ULink2 ). When the debugger is running (programming or debugging), my application issues an error that say: "device cannot be opened". This problem is not related to my hid device because it happens even if my device is disconnected from the usb cable. From Embarcadero I can see that this error happens after the loading of hid.dll and no exception is raised from my code. No problem happens if i use my hid device whith my windows application whitout debugging the hid device. I seems to me that uVision open hid.dll driver in exclusive mode or something similar so no other application can open or use it. I am start thinking that because it is like the device named in the error is the usb controller, not the hid device that is disconnected at the time.
I hope someone can help me.
Anecdotal evidence would seem to support that notion: http://www.keil.com/forum/14502/