CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

USB sample code PicUSB
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> Code Library
View previous topic :: View next topic  
Author Message
recursos



Joined: 25 Jun 2006
Posts: 2

View user's profile Send private message

Unable to load DLL 'mpusbapi.dll'
PostPosted: Sun Jun 25, 2006 3:44 pm     Reply with quote

When I build PicUSB in Visual C# 2005 Express, then run it, I get an exception:
"Unable to load DLL 'mpusbapi.dll': The specified module could not be found. "
It seems to me that I read something about this in another post, but couldn't find it. Sad
Can you help me?
Rec
recursos



Joined: 25 Jun 2006
Posts: 2

View user's profile Send private message

"Unable to load DLL 'mpusbapi.dll' solved
PostPosted: Mon Jun 26, 2006 7:55 am     Reply with quote

Oops! Embarassed
mpusbapi.dll was not in folder bin\Release (where my output application goes).
Copied it in there, as Mat said, and now it is working.
The SW is always right, no?
Rec
Douglas Kennedy



Joined: 07 Sep 2003
Posts: 755
Location: Florida

View user's profile Send private message AIM Address

English version
PostPosted: Wed Aug 16, 2006 8:35 am     Reply with quote

I have posted an english version in a separate thread
HobbyPIC



Joined: 07 Oct 2007
Posts: 3

View user's profile Send private message Visit poster's website

PicWinUSB
PostPosted: Sun Oct 07, 2007 2:34 pm     Reply with quote

Hi all,

I´ve updated this article and I´ve published on my webpage an example called PicWinUSB which is possible to make your own apps based on Windows Vista using WinUSB in Bulk USB mode Transmision. Check here:





http://www.hobbypic.com/index.php?option=com_content&task=view&id=31&Itemid=1


I hope you enjoy it! Smile

best regards!
_________________
..:: HobbyPIC ::..
Si puede pensarse, puede hacerse...
ratgod



Joined: 27 Jan 2006
Posts: 69
Location: Manchester, England

View user's profile Send private message

PostPosted: Wed Oct 10, 2007 10:51 pm     Reply with quote

Do you have a version that doesn't require .NET? or possibly any instructions that would help me make a version for Delphi?

thanks
HobbyPIC



Joined: 07 Oct 2007
Posts: 3

View user's profile Send private message Visit poster's website

PostPosted: Thu Oct 11, 2007 1:44 am     Reply with quote

Hi ratgod,

Actually this article (PicWinUSB) is only made in VC#, but it can be migrated to another language like PicUSB, originally in VC# was migrated to VC++, VB, Delphi, Labview. (Take a look at PicUSB (VC#) and PicUSB Stuff (PicUSB_Delphi) articles in my webpage). I´ve seen a C++ version of a WinUSB project. So if you take this Source Code (PicWinUSB) and compare it with older articles (PicUSB: VC# to Delphi) you will take the possibility to migrate to Delphi.

Good luck and Best Regards Smile

ps: Sorry for my complex way to express myself in english ^^
_________________
..:: HobbyPIC ::..
Si puede pensarse, puede hacerse...


Last edited by HobbyPIC on Thu Oct 11, 2007 1:46 am; edited 1 time in total
ratgod



Joined: 27 Jan 2006
Posts: 69
Location: Manchester, England

View user's profile Send private message

PostPosted: Thu Oct 11, 2007 8:07 am     Reply with quote

I found it where you said and I will have a look at it.

mucho gracias
ymoona



Joined: 20 Mar 2005
Posts: 32
Location: Heiloo, the Netherlands

View user's profile Send private message Visit poster's website

PostPosted: Thu Oct 18, 2007 11:57 am     Reply with quote

To bad you made the source code closed source, or at least by paying via paypal.
_________________
checkout my site: www.ymoona.com/wiki
HobbyPIC



Joined: 07 Oct 2007
Posts: 3

View user's profile Send private message Visit poster's website

PostPosted: Thu Oct 18, 2007 2:18 pm     Reply with quote

You still can use mpusbapi.dll and that is open source in my website. Donation is 5€, same that you pay for a cigarette box ;) If you are going to be poor if you pay that... tell me and I´ll send it to you free ... I think anyone can offer his 'intellectual properties' as he wants. And at the same way I did it, you can do it... I´m totally sure. You only need to invest your time... if you have no time, then make a donation for time spend from other people. Easy, it isnt?

Best regards
_________________
..:: HobbyPIC ::..
Si puede pensarse, puede hacerse...
diogoc



Joined: 12 Feb 2008
Posts: 19

View user's profile Send private message Visit poster's website MSN Messenger

picusb
PostPosted: Wed Feb 13, 2008 1:29 pm     Reply with quote

Hi!
i like to know it it is possible receive more than one byte with usb_receive. vi in labview? i receive more than one byte but the format is an integer and i dont know how separate the bytes of an integer. ist possible to recive the data in a array?
thanks and sorry for my english
ratgod



Joined: 27 Jan 2006
Posts: 69
Location: Manchester, England

View user's profile Send private message

PostPosted: Sat Feb 16, 2008 1:06 am     Reply with quote

I've had a good play with the PICusb delphi port. it all works fine for me but does anyone know how to make the delphi side receive data streamed from the PIC without requesting it?

I want to stream data from a CANbus to a laptop via USB
I tried CDC but the software on the windows side always comes out flakey.

anyone have any ideas?

I only use delphi on the laptop btw
gbaldrich



Joined: 11 Dec 2010
Posts: 1
Location: Cartagena, Colombia

View user's profile Send private message MSN Messenger

PICUSB and LCD??
PostPosted: Fri Dec 17, 2010 11:49 pm     Reply with quote

Hi, could you help me with a code where show how to Print in LCD using PICUSB Project ? I have tried but both things LCD and USB comm doesn't work together.

Thanks for sharing!!
tim_sid



Joined: 11 Apr 2014
Posts: 16

View user's profile Send private message

PostPosted: Wed Jun 18, 2014 10:31 am     Reply with quote

Dear Hobby PIC,
I just used your code and modified it too, its running good. Thanks.
But I have a problem, when I transmit a file from PC it is received at PIC18F2550, the speed of communication is very slow, it takes seconds to transmit Kbs. Please suggest what might be the issue?
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> Code Library All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group