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

convert serial to usb

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



Joined: 01 Jun 2005
Posts: 45
Location: UK

View user's profile Send private message

convert serial to usb
PostPosted: Mon Jun 06, 2005 5:14 am     Reply with quote

Hi Guys

i need to convert a project that i have that works on serial to work on usb.

is there any one out there that can help me with this.

many thanks

Pete
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

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

PostPosted: Mon Jun 06, 2005 6:10 am     Reply with quote

Search on FTDI. They make chips that will allow you to easily change your design.
pdl



Joined: 01 Jun 2005
Posts: 45
Location: UK

View user's profile Send private message

PostPosted: Mon Jun 06, 2005 6:38 am     Reply with quote

Thankyou for reply Mark

I dont want to use a FTDI Chip i would like to use the 16C745

Sorry i should have said before

if anyone has some example code that is easy to understand that would be great.

Please

many thanks

Pete
Ttelmah
Guest







PostPosted: Mon Jun 06, 2005 6:50 am     Reply with quote

The problem is that there is a _lot_ of work at the PC end to do this. If your project expects to talk to serial (and not to a USB device), then the PC code has to include a complete 'emulation' system to pretend to be a serial device, and transfer the data to the USB HID. The FTDI chips already have this. The code for this is not minor (perhaps a couple of weeks work at the PC end). There ae companies offering serial 'spoofing' programs that do this, but most cost more than the FTDI chips.
If the unit is going to be made in perhaps 10000 off quantities or more, then this is worth doing. Otherwise the FTDI route is a lot simpler.

Best Wishes
Wilhelm



Joined: 04 Jun 2005
Posts: 4
Location: Namibia

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

PostPosted: Mon Jun 06, 2005 3:44 pm     Reply with quote

Hi,

Personally I Prefer the TUSB3410 from Texas instruments. (USB 2 compliant as well)

I like the vast options it gives me. Bootloader from PC via USB cable or on i2c EEPROM on circuit, and it is infact not just a USB to serial but also a USB to I2C chip.

I use it in all my designs where USB is needed.

and if you use the driver on the Texas Instruments site you can make a USB to RS232 cable in under 20 min .... (with LOW component count)

Wilhelm
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