Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[url]http://www.sixca.com/eng/articles/usbstepping/[/url]

Status
Not open for further replies.

aforadi

Newbie level 5
Joined
Aug 15, 2008
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,350
sixca delphi

I am using a PIC 18f4500 here.
I have used this link to make the circuit. Also I am using the ULN2003 chip instead of 2803.
http://www.sixca.com/eng/articles/usbstepping/
When I run the Delphi based software and click on Connect it says firmware version unknown and device not connected.
I have spent a lot of time understanding at the code but can't seem to understand where I am going wrong. Reading the main.pas file in the delphi6 folder,
I have realized that in the following code the first condition is always true. Why could this be happening any possible reason?
if (_MPUSBGetDeviceCount(vid_pid)=0) then
begin
StatusBar1.Panels[1].text:='Status : DeviceGCH not connected';
StatusBar1.Panels[0].text:='Firmware version : unkhown';
exit;
end
else
begin
StatusBar1.Panels[1].text:='Status : Device connected';
end;
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top