Great job, and thanks. On Thursday, February 20, 2014 10:36:20 AM UTC-5, RobH wrote: > > > Hi guys, > > For those of you who want to adapt your Jallib samples or your own > programs to the new device files: with many PICs the 'pragma fuse_def > WDT' has changed DISABLED to CONTROL. This means 2 things: > 1. In the old device files DISABLED may not have had the effect > that is was supposed to have, because it effectively was CONTROL. > 2. In addition to changing it to CONTROL you should add a line: > WDTCON_SWDTEN = 0b_0 > because CONTROL means that WDT is software controlled. > > Note 1: It may also be the other way around (CONTROL -> DISABLED) > > Note 2: The decriptions behind the fuse_def WDT may be misleading. These > come right from MPLAB-X, and for example the 16f631 has: > > DISABLED = 0x0 -- WDT disabled and can be enabled by SWDTEN bit of > the WDTCON register > But this PIC has no WDTCON register and therefore has no capability to > control WDT by software! Blame Microchip! > > Regards, Rob. > > -- > R. Hamerling, Netherlands --- http://www.robh.nl >
-- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/jallib. For more options, visit https://groups.google.com/groups/opt_out.
