please dont rip this site

PIC Microcontroller Programming Article

In Circuit Serial Programming the 17C766

by Dave Roberts [dave.roberts at BTINTERNET.COM]

I found that I could not raise TEST to Vihh ( 13 V ). If I did, it consumed excessive current.

This appeared as a low impedance resistive path to ground from TEST. Devices from different batches exhibited it.

I checked the datasheet, found internal inconsistencies and in the absence of other avenues, doubted the spec.

The answer was that voltage overshoot on the rising edge of TEST killed the chips. My designs use serial programming in the target hardware. Previous designs such as for the 14000 worked fine. This time wiring effects caused the overshoot. Specifically, the rising edge overshot by 3V for about 10 nsec - must use slower circuits in the future !

Also, for reference, the datasheet is in error in the following ways

Programing Datasheet DS30274B dated 1998
Main Device Datasheet DS30289A dated 1998

  1. 1. Figure 4.8 of DS30274B shows that device clock should be on RA0 whereas all other references are to RA1. It should of course be RA1.
  2. 2. Figure 4.8 also states that clock should not be applied until MCLR is at Vihh yet all section 7 figues allow for it to precede Test voltage change. It may precede MCLR.
  3. 3. PS10 is specified as 100 usec in section 7.0 and 100 msec in two places in Figure 4.8 ( also main 17C7XX datasheet DS30289A also says msec not usec in D114 on page 244 ) but 100 usec in figure 3.3 and section 6.0 table ( P9 ). 100usec is of course correct.
  4. 4. Table 5.2 of DS30274B shows in second word bits 0 to 5 as PM2, whereas the mplab inc file for the 17C766 implies just bit 7 ( and checksum calculations also imply just bit 7 in the mask values applied ). I am not sure of the correct answer but believe it is not as per DS30274B.
  5. 5. Note 1 to table in section 6.0 of DS30274B is just plain wrong ( read it through, you'll understand )

Morals:


file: /Techref/microchip/icsp17c766-dr.htm, 2KB, , updated: 2001/10/18 10:34, local time: 2024/12/25 10:04,
TOP NEW HELP FIND: 
3.144.95.167:LOG IN

 ©2024 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://techref.massmind.org/Techref/microchip/icsp17c766-dr.htm"> In Circuit Serial Programming the 17C766 </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 a nice message (short messages are blocked as spam) 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?

 

Welcome to massmind.org!

 

Welcome to techref.massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .