powerswitch & delphi

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
lukasz

powerswitch & delphi

Post by lukasz » Wed Jan 02, 2008 1:59 am

Hello

I try to use powerswitch and delphi example (download from forum "delphiLibUSB-win32") However it seems does not work fine (compile, but when I run it software cant find any usb device, when I try run project in debug mode it raise acces violation at adress 0x00(...) . Does anyone have working example and can share it with me/forum or can help me with fix that one?

sorry for my eanglish and thx for help
regards
lukasz

ksz
Rank 1
Rank 1
Posts: 26
Joined: Tue Jan 09, 2007 9:10 pm
Location: Poland

Re: powerswitch & delphi

Post by ksz » Mon Jan 07, 2008 5:42 pm

lukasz wrote:Hello

I try to use powerswitch and delphi example (download from forum "delphiLibUSB-win32") However it seems does not work fine (compile, but when I run it software cant find any usb device, when I try run project in debug mode it raise acces violation at adress 0x00(...) . Does anyone have working example and can share it with me/forum or can help me with fix that one?

sorry for my eanglish and thx for help
regards
lukasz

Does system find/recognize your hardware?

lukasz

Re: powerswitch & delphi

Post by lukasz » Thu Jan 10, 2008 2:43 am

ksz wrote:Does system find/recognize your hardware?


Thanks for anwser. Yes, there is no problem with device, it work fine. Problem is with connection between delphi example and libusb.

Anyway i solved the problem :) just start using c example with MinGW
- maybe it dosent look good but works without any problems :)

of course I still need delphi example so if anyone have one I will be gratefull for some working code :)

best regards
lukasz

iphi
Rank 2
Rank 2
Posts: 68
Joined: Mon Jun 25, 2007 11:37 am

Post by iphi » Mon Jan 14, 2008 3:36 pm

Hi,

I have a running AVR-USB Delphi-example on my webpage, see

http://www.mydarc.de/dg8saq/

Tom

lukasz

Post by lukasz » Sun Jan 20, 2008 1:13 pm

iphi wrote:Hi,

I have a running AVR-USB Delphi-example on my webpage, see

http://www.mydarc.de/dg8saq/

Tom


Thanks :) Now everything works fine :)
Best regards
lukasz

Post Reply