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

In Circuit Programming using PICSTART Plus

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



Joined: 17 May 2005
Posts: 213

View user's profile Send private message

In Circuit Programming using PICSTART Plus
PostPosted: Thu Sep 28, 2006 3:56 am     Reply with quote

Hi

I would like to do in circuit programming of a PIC18F2550 using the PICSTART Plus programmer.

I have a diode on the MCLR pin, and I can connect to the PGD and PGC pins, as well as the Vdd and Vss pins.

I use clips to go from the board to the PICSTART plus on these 5 lines (I have wires stickign out of the sockets).

My code is protected.

This does not seem to work. Can someone please tell me how to do this in circuit programming using the PICSTART Plus?

Thank you
a.
jfk1965



Joined: 21 Oct 2003
Posts: 58

View user's profile Send private message

PostPosted: Thu Sep 28, 2006 6:51 am     Reply with quote

One thing to be careful of is the current drain on the VDD line. You may find your circuit draws more current than the programmer can supply.

I have come across this problem before and isolating the VDD from the rest of the circuit solved it.
arrow



Joined: 17 May 2005
Posts: 213

View user's profile Send private message

PostPosted: Thu Sep 28, 2006 7:10 am     Reply with quote

Hi JFK1965

How can I isolate my Vdd line in circuit?
(Its already on a PCB).

What I have found in the past with other projects is that if I have NOPROTECT as my fuse setting then it reprograms fine.

However I had put it as PROTECT, and I cant seem to overwrite now.

Any suggestions would be greately appreciated.

Thank you
a.
jfk1965



Joined: 21 Oct 2003
Posts: 58

View user's profile Send private message

PostPosted: Thu Sep 28, 2006 7:37 am     Reply with quote

arrow wrote:
Hi JFK1965

How can I isolate my Vdd line in circuit?
(Its already on a PCB).



If you can't Isolate it you might have to increase the current available by using an external logic level fet and a 5V PSU. Measure the 5V line when your programming and check it's 5V.

JFK
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Sep 28, 2006 12:36 pm     Reply with quote

This thread has detailed instructions on how to use PicStart-Plus for ICSP:
http://www.ccsinfo.com/forum/viewtopic.php?t=5405&highlight=picstart+icsp
arrow



Joined: 17 May 2005
Posts: 213

View user's profile Send private message

PostPosted: Fri Sep 29, 2006 1:11 am     Reply with quote

Hi PCM Programmer and JFK1965

Thank you for your help.

a.
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