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

Bootloader

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



Joined: 19 Jan 2007
Posts: 8

View user's profile Send private message

Bootloader
PostPosted: Wed Feb 07, 2007 8:57 am     Reply with quote

Hi,

some questions: Do I have to use the PGM-Pin (Low voltage Programming) on PIC18 devices, when I want to use a Bootloader? Is this Pin latched on startup or does it have to be high all the time?

Thanks
VanHauser



Joined: 03 Oct 2005
Posts: 88
Location: Ploiesti, Romania

View user's profile Send private message

PostPosted: Wed Feb 07, 2007 9:15 am     Reply with quote

PGM pin has nothing to do with bootloaders. Low voltage programming (LVP) is used for in-circuit programming. Just use the NOLVP fuse to make the PGD/PGC/PGM pins normal I/O pins.
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Wed Feb 07, 2007 1:21 pm     Reply with quote

The PGM pin is used for in-circuit-programmers with only a single power supply, 99% of the programmers are called 'high voltage' and don't need this pin.

As VanHauser said, this pin is not related to bootloaders. Best is to always set the NOLVP fuse which makes this pin available for normal i/o, not doing so could cause problems when a voltage spike on this pin starts programming mode.
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