please dont rip this site

Simon Nield [simon.nield at QUANTEL.COM] quotes the data sheets:

"To enter programming mode, VDD must be applied to the RB3/PGM provided the LVP bit is set. The LVP bit defaults to on ('1') from the factory"

[me: VDD means HIGH by the way]

and in the box below that:

"Note1: The high voltage programming mode is always available, regardless of the state of the LVP bit, by applying VIHH to the /MCLR pin."

Now that is a _little_ ambiguous but...

CONF  RB3  /MCLR
LVP   PGM   VPP   mode
0     0     0     normal operating mode
0     0     1     high voltage programming mode
0     1     0     normal operating mode
0     1     1     high voltage programming mode
1     0     0     normal operating mode
1     0     1     ???? [Ed: dispite this looking vague, its the one that works. See Jim Roberston's findings]
1     1     0     low voltage programming mode
1     1     1     high voltage programming mode [Ed: Nope! See Jim Roberston's findings]


where LVP = 0 means the bit is cleared
      LVP = 1 means the bit is set; AS SHIPPED
      PGM = 0 means 0v/pulldown on RB3
      PGM = 1 means 5v/pullup on RB3
      VPP = 0 means 5v on /MCLR
      VPP = 1 means VIHH on /MCLR

there would appear to me to be only one state that is vague. ???? is either high voltage programming mode if you believe Note1 or normal operating mode if you have more faith in the first statement. [Ed: The datasheets are wrong. See Jim Roberston's findings]

See also:


file: /Techref/microchip/16F877/progmodes.htm, 2KB, , updated: 2002/11/1 19:03, local time: 2014/10/20 02:43,
TOP NEW HELP FIND: 
54.197.94.241:LOG IN

 ©2014 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE! / 

<A HREF="http://www.piclist.com/techref/microchip/16F877/progmodes.htm"> microchip 16F877 progmodes</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

  PICList 2014 contributors:
o List host: MIT, Site host massmind.org, Top posters @20141020 RussellMc, Richard R. Pope, IVP, John Gardner, alan.b.pearce, David C Brown, James Cameron, Bob Blick, Isaac Marino Bavaresco, Josh Koffman,
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
 

Welcome to www.piclist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .