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 support@ccsinfo.com

how to implement example (EX_USB_SERIAL.C)

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
mateeb4u@gmail.com



Joined: 07 Feb 2012
Posts: 19
Location: pakistan

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

how to implement example (EX_USB_SERIAL.C)
PostPosted: Wed Apr 11, 2012 6:01 am     Reply with quote

I want to know how to start this example step by step.

Yesterday i implement the circuit of usb to serial and RUNburn this example.

I don't see any thing on my computer.
I don't use any capacitor on vbus pin to GND.

I search it on web i need to install some thing on my computer.

I don't know about bootloader, tell me about this. I got complete tutorial to make usb to serial connection but is on MikroC compiler and it is also on Microchip website.

But I want to implement on ccs c compiler, guide me how to start.

Tutorial is Tutorial 1 - Implementation of a USB based PIC-to-PC communication.pdf

http://www.eee.metu.edu.tr/~design/pic_tutorial/Tutorial%201/Tutorial%201/Tutorial%201%20-%20Implementation%20of%20a%20USB%20based%20PIC-to-PC%20communication.pdf

http://www.microcodes.info/pic-to-pic-and-pc-usb-how-to-32080.html
temtronic



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

View user's profile Send private message

PostPosted: Wed Apr 11, 2012 6:28 am     Reply with quote

1) read the example file ! You MUST have a cap on the Vbus pin!!!

2) read the PIC datasheet !! You should carefully read the USB section as well as the Clock section to be sure you've got the right FUSES selections.

3)you should tell us which PIC and compiler you're using.

4) I know for a fact the CCS software runs on an 18F4550.I use a 4MHz xtal and it communicates to PC at about 1megabaud fine for the past 1 1/2 years.
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