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

Using one connector for serial and programming (ISP)

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







Using one connector for serial and programming (ISP)
PostPosted: Thu Jan 31, 2008 2:33 pm     Reply with quote

I am trying to make a minimum pin count connector for both in-system programming and serial comm. I think it should work.

If I tie RXD with SCLK (RB7), those will always be inputs.

Since SDAT is bidirectional, I have to take TXD out and put it through a diode to SDAT (wire-ORing) it.

Also, what about the power requirements. If the ICD pod is powered by the USB, and my Unit Under Test is powered by its own power supply, I only need 1 ground wire on the interface, right?

Oh, and I would still need MCLR/VPP from the ICD and use High VOltage programming.

In the end my connector would be:
GND
MCLR/VPP
SCLK/RXD
SDAT/TXD
and it would cost me a diode from TXD to SDAT.

Has anyone ever tried this?



Thanks Much,
Jimmy
crystal_lattice



Joined: 13 Jun 2006
Posts: 164

View user's profile Send private message

Minimum connections for Serial coms + prog
PostPosted: Thu Jan 31, 2008 11:57 pm     Reply with quote

Why not use bootloader?? Min 3 connections: 1. Tx, 2. Rx, 3. Gnd Max 4(or more for more funtions): 4.Vcc This can be used to power your 232 level converter in you cable.

Kind Regards
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