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

Newbie Programming and Layout Questions

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



Joined: 12 Dec 2008
Posts: 7

View user's profile Send private message

Newbie Programming and Layout Questions
PostPosted: Fri Dec 19, 2008 11:29 am     Reply with quote

When I make my board, what is the best way to program the PIC? Have a port for my ICD-U40 like the demo board. Or is there a way to do it over the USB port, as I am putting on my board as well.

If I use the ICD-U40 like my demo board, it uses the SPI DI DO hardware pins. Can I just use a wired AND there, or will I need some kind of protection for my SPI bus?

If you can point me to a good source of information for someone using a PIC on their own design for the first time, that would be great.

thanks for any help
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Fri Dec 19, 2008 3:18 pm     Reply with quote

For a first board I would avoid using a bootloader, and just use dedicated ISP programming pins. Read the section of the datasheet about ISP (In circuit Serial Programming).
_________________
The search for better is endless. Instead simply find very good and get the job done.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Dec 19, 2008 3:27 pm     Reply with quote

The follow documents show how to connect an ICD-U40 or ICD2 to your
own board:

See the CCS faq on the ICD-U40:
http://www.ccsinfo.com/faq/?45

Or see the Microchip ICD2 poster:
http://ww1.microchip.com/downloads/en/DeviceDoc/51265e.pdf
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