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

Strange pulses on PGM pin when programming?

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



Joined: 30 Oct 2003
Posts: 209
Location: Norfolk, England

View user's profile Send private message Send e-mail Visit poster's website MSN Messenger

Strange pulses on PGM pin when programming?
PostPosted: Fri Jan 20, 2006 8:23 am     Reply with quote

A little off-topic.
I have a PIC18F4550. The PGM pin is tied to GND via a 10k resistor. The programmer (an CCS USB ICD) is NOT connect to the PGM pin.
I am using the pin to switch off the PSU with a positive pulse, so the PIC can switch itself off!

When the ICD attempts to communicate to the PIC I see pulses on this PIN which must be coming from the PIC, this of course switches off the power!

I know PGM is associated with programming but I had assumed it is not used during high voltage programming?

Any ideas? Has anyone else seen this sort of activity?
Will Reeve



Joined: 30 Oct 2003
Posts: 209
Location: Norfolk, England

View user's profile Send private message Send e-mail Visit poster's website MSN Messenger

PostPosted: Fri Jan 20, 2006 8:48 am     Reply with quote

Woops my mistake it's the CLKO pin OSC2 and RA6. It appears that you get some clock pulses when you enter programming mode? I can't see where this is documented anywhere but it makes more sense than pulses on PGM! I guess I am going to swap some pins over!
It is a warning though, be careful what you connect to RA6 on these devices if you intend to ICP them.
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