#257 _BOR_NSLEEP gives incorrect config bit for 16F72X

None
closed
None
1
2012-10-24
2012-10-21
Nicolas Hadacek
No

_BOR_NSLEEP gives config bit 0x0100 instead of 0x0200 for 16F723/724/726/727

1 Attachments

Discussion

  • The 95th on page of PIC16F72X datasheet this is readable:

    bit 9-8 BOREN<1:0>: Brown-out Reset Selection bits(1)

    0x = BOR disabled (Preconditioned State)
    10 = BOR enabled during operation and disabled in Sleep
    11 = BOR enabled


    The 671th line of p16f723.inc file this is readable:

    _BOR_NSLEEP EQU H'3EFF' ; BOR enabled during operation and disabled in Sleep


    I think this is the correct value.

    Károly

     
  • Ok so it looks like it was correct in the svn. I found the problem in gputils-0.14.2.

     


Anonymous


Cancel   Add attachments