Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Thread Tools Display Modes
Old 1st April 2004, 07:40 PM   (permalink)
Default PIC16F87x field programmability options?

Hi.

If it were your project, what would you implement for field programming by users of an '877 based circuit? A complete bootloader, just basic downloader code, or a cheap, low parts count on-board programmer circuit like a JDM or Tait? ... other options?

I'm leaning toward bootloader. A few hundred words in an 877? Who cares? But an on-board programmer would be good; no matter what happens to the code you can always flash it. (like the bootloader writes over itself or something weird.)

But again:

<--- clueless

Thanks.
Patchouli is offline   Reply With Quote
Old 1st April 2004, 11:16 PM   (permalink)
Default

I would recommend adding a bootloader as well as ICSP/ICD capability in your projects. This aids in debugging since you don't have to remove the chip from its socket to reprogram.

You can fit a bootloader within the last 256 locations in the program memory and write protect that area.
__________________
"Having to do with Motion Control"
motion is offline   Reply With Quote
Old 2nd April 2004, 12:17 AM   (permalink)
Default

I guess I'm not totally clear on how the ICSP works. I have read some things that say parts could be damaged by the higher voltage from the serial port.

I tried it out the other day and couldn't get it to work on an 876a. I connected the various wires as they should but the one thing I wasn't clear about was if I was suppose to attach a resistor from mclr to ground or to vdd. I was using the pg2 programmer and it wasn't working.

Anyone have any good sites on ICSP.
Zacman is offline   Reply With Quote
Old 2nd April 2004, 12:39 AM   (permalink)
Default

You can start with Microchip's site on the ICD2.

http://www.microchip.com/1010/pline/...icd2/index.htm

You can also google using the keywords "Microchip ICD2".
__________________
"Having to do with Motion Control"
motion is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes




All times are GMT. The time now is 11:44 AM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.