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

PIC as USB host

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
aaaaamartin



Joined: 17 Apr 2005
Posts: 39
Location: Germany Stuttgart

View user's profile Send private message

PIC as USB host
PostPosted: Tue Dec 19, 2006 5:56 am     Reply with quote

Hello,

I'm planning to get into USb for the first time.
I have in mind something rather difficult.

Connecting USB 2.0 Hardrives to let's say the 18F4550.

What I have by now, is the low level and the FAT32 routines for I&O, broken in 3 Days. Used to operate ATA Devices connected directly.

Now to my question.

For this to work with external drives and USB, the PIC needs to act as the USB-Host, can this be done ?

If not can I use an additionall USB-Controller ?

Sincerely Martin
Andreas



Joined: 25 Oct 2004
Posts: 136

View user's profile Send private message

PostPosted: Tue Dec 19, 2006 6:37 am     Reply with quote

Hi martin !

I think the only and of course and the simplest solution is using the vinculum chip from FTDDI.

With this chip You can connect every USB Device and having a simple Serial connection to the the device.!!

best regards
ANdreas
Darren Rook



Joined: 06 Sep 2003
Posts: 287
Location: Milwaukee, WI

View user's profile Send private message Send e-mail

PostPosted: Tue Dec 19, 2006 8:36 am     Reply with quote

Check out the USBWiz:

http://www.alfat.co.uk/products.html
_________________
I came, I saw, I compiled.
aaaaamartin



Joined: 17 Apr 2005
Posts: 39
Location: Germany Stuttgart

View user's profile Send private message

PostPosted: Tue Dec 19, 2006 6:40 pm     Reply with quote

Darren Rook wrote:
Check out the USBWiz:

http://www.alfat.co.uk/products.html



Thanks, looking deeper ointo this, I might get some details on this.

But for the first look at the board, with the PIC on it, I get strengthend in my thought, that it is used as a Fat display controller.

Too many chips btw, why not use one ?

Has anyone sucessfully connected a hardrive USB thing to a Pic ?

Martin
Andreas



Joined: 25 Oct 2004
Posts: 136

View user's profile Send private message

PostPosted: Wed Dec 20, 2006 12:16 am     Reply with quote

Hi martin !

You better should read first about how to enumerate a USB device and then You will be very happy to get just another chip to get connected.

But, the ccs community would be very pleased if You are the first who cracked the miracle of the USB Host in a single PIC and share this knowledge with us !!!

best regards
ANdreas
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
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