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

Usb connection and PIC18F4550
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Ken Johnson



Joined: 23 Mar 2006
Posts: 197
Location: Lewisburg, WV

View user's profile Send private message

PostPosted: Thu Sep 27, 2007 6:52 am     Reply with quote

Another plug for a demo board - I recently went through this myself, using the demo from Microchip (all of $60, I think). It has an rs232 port on it, which you can connect to a pc (e.g. hyperterm) and be assured that the pic is running. It outputs a message when it starts up, when the usb cable is connected (looks at the power supply pins) - very helpful.

Note: in the usb example code, you'll need to "un-comment" a line, I think line 76, #define USB_CON_SENSE_PIN PIN_B2, but don't remember for sure.

good luck,
Ken
wwc



Joined: 27 Sep 2007
Posts: 2

View user's profile Send private message

PostPosted: Fri Sep 28, 2007 7:39 am     Reply with quote

ELCouz wrote:
Should come with you CCS Compiler if not...

get it right there -->18f4550.h Wink


Thank you so much!!
ELCouz



Joined: 18 Jul 2007
Posts: 427
Location: Montreal,Quebec

View user's profile Send private message

PostPosted: Fri Sep 28, 2007 8:05 am     Reply with quote

no problem and please don't copy/paste the same post its useless and annoying...

----> Right Here <----
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion 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