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

ccs usb kit with pic 18f4550

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



Joined: 11 Jun 2014
Posts: 1

View user's profile Send private message

ccs usb kit with pic 18f4550
PostPosted: Wed Jun 18, 2014 2:57 am     Reply with quote

hellooooooooooo,
i am using ccs usb kit with pic 18f4550 which already has usb interface with pic as a part of designing a data acquisition unit . Now i want to change the B type usb to A type to connect to a usb stick without connect to PC. Can i do it with programming? or any changes need in usb drivers or controllers? actually i don't know what to do...........
plz help me

Sad
temtronic



Joined: 01 Jul 2010
Posts: 9244
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Wed Jun 18, 2014 5:09 am     Reply with quote

If you mean can you use the PIC as a 'master' to interface to a USB memory device ( the 'slave') then no.
The 4550 is a USB 'slave' device, the PC being the 'master'.
To have a PIC read/write to a USB 'stick' then you need a PIC that is OTG capable( On The Go), as it can be either master or slave.
To have a 'regular' PIC access USB memory sticks you could use any of the Vinculum modules. They allow any serial device to be 'master' and/or 'slave'.

It's been a few years since I did any 4550 coding,went the Vinculum route for datalogging.It was far easier,simpler,more reliable though cost a few pennies more.

others more 'up to date' may have more to say.......

hth
jay
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