When to use MCLR, WDT, PWRT, BODEN, CP, CPD, etc


Closed Thread
Results 1 to 1 of 1
  1. #1
    Join Date
    Nov 2004
    Location
    Saskatchewan Canada
    Posts
    189

    Question When to use MCLR, WDT, PWRT, BODEN, CP, CPD, etc

    Okay, These functions (fuses) must have certain times when one wants them enabled nor not enabled. How do I know when being just new at this whole thing?

    For example, when do I need WDT enabled and when does it not matter at all?

    Three things that have me puzzled more than usual right now are the CP and CPD fuses. When do I want them enabled and when do I want them disabled? I don't want to lock myself out of the chip or make data in the eeprom impossible to read or write to.

    Also, I find this particular phrase in the data sheet for a PIC12F629 particularily troubling:

    <b>the bandgap calibration bits are factory programmed and must be read and saved prior to erasing the device</b>

    So what the heck is going to happen when I make my first attempted at programming the chip then need to erase it and try again when it doesn't work? I don't see any function to save this information. Am I going to be tossing chips in the garbage when I try to erase or re-program?

    Thanks.

    Bart
    Last edited by bartman; - 11th November 2004 at 05:08.

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts