View previous topic :: View next topic |
Author |
Message |
ac34856
Joined: 14 Dec 2009 Posts: 33 Location: Wales
|
8 Pin PICs - How to program ? |
Posted: Fri Jan 29, 2010 11:59 am |
|
|
I was just thinking I would like to add an additional watchdog but in hardware for a *very* safety critical system, an ideal candidate is an
8 pin PIC but I've never programmed them before. It would then only need to monitor the status LED which should blink every 100mS and if for some unspecified reason the main PIC hangs and the WDT doesnt sort it I'm covered.
I have an ICD2 clone (no ZIF socket) and an olimex PICstart clone with a
ZIF.
Am I right in thinking the 8 pin pics need to be programmed via the ZIF on the PICStart or is there something else I need to consider ? |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Fri Jan 29, 2010 12:19 pm |
|
|
For a 12F675, you can program it in a PicStart-Plus, or you can use
an ICD2 to program it in a board with ICSP. |
|
|
SherpaDoug
Joined: 07 Sep 2003 Posts: 1640 Location: Cape Cod Mass USA
|
|
Posted: Fri Jan 29, 2010 12:23 pm |
|
|
What is the chance of the 8 pin PIC failing and causing the system to fail? Adding more parts or more software doesn't always improve reliability. _________________ The search for better is endless. Instead simply find very good and get the job done. |
|
|
dyeatman
Joined: 06 Sep 2003 Posts: 1934 Location: Norman, OK
|
|
Posted: Fri Jan 29, 2010 2:05 pm |
|
|
It seems to me the cheapest and easiest solution would be the Maxim MAX16056-MAX16059 watchdog chip at less than $2.50 it is a quick and easy fix for your problem. _________________ Google and Forum Search are some of your best tools!!!! |
|
|
Yarnus Guest
|
|
Posted: Tue Feb 23, 2010 6:02 am |
|
|
I think your best option (other than a dedicated watchdog IC) is using 'missing pulse detector'.
It's a relatively simple circuit and much more reliable than a MCU.
You can find several schematics if you google 'missing pulse detector 555'. |
|
|
Guest
|
|
Posted: Tue Feb 23, 2010 6:26 am |
|
|
I used the 74123 on several DEC LSI-11 systems in steel mills in Ontario as a 'watchdog'...even made them to fit the OAC-5 style SSR racks.
man, that was 30 years ago......do they still make 74123s???? |
|
|
Mike Walne
Joined: 19 Feb 2004 Posts: 1785 Location: Boston Spa UK
|
74123 |
Posted: Tue Feb 23, 2010 2:14 pm |
|
|
Yes I agree. Work on the KISS principal.
Guest quotes Quote: | man, that was 30 years ago......do they still make 74123s???? |
You can still buy bog standard 74123's (at a price). Better to go for LS, HC, or HCT versions; very low cost and far superior performance.
Mike Walne |
|
|
|