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

8 Pin PICs - How to program ?

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



Joined: 14 Dec 2009
Posts: 33
Location: Wales

View user's profile Send private message

8 Pin PICs - How to program ?
PostPosted: Fri Jan 29, 2010 11:59 am     Reply with quote

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

View user's profile Send private message

PostPosted: Fri Jan 29, 2010 12:19 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Fri Jan 29, 2010 12:23 pm     Reply with quote

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: 1924
Location: Norman, OK

View user's profile Send private message

PostPosted: Fri Jan 29, 2010 2:05 pm     Reply with quote

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







PostPosted: Tue Feb 23, 2010 6:02 am     Reply with quote

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








PostPosted: Tue Feb 23, 2010 6:26 am     Reply with quote

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

View user's profile Send private message

74123
PostPosted: Tue Feb 23, 2010 2:14 pm     Reply with quote

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
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