Searching \ for 'Re[2]: configuration bits' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page:
Search entire site for: 'configuration bits'.

Truncated match.
PICList Thread
'Re[2]: configuration bits'
1998\06\22@112117 by Martin Green

    Yep, the Needham's programmer's such as the EMP-10, EMP-20 and EMP-30
    allow you to program in the OSCCAL value directly, which is usually
    better than including it in your source code since this means you have
    to recompile every time you use a different chip. Remember when
    entering in the OSCCAL value in the memory editor that you must
    reverse the two bytes in the instruction since they are displayed as
    LLHH in the editor.

    CIAO - Martin.

______________________________ Reply Separator _________________________________
Subject: Re: configuration bits
Author:  pic microcontroller discussion list <spam_OUTPICLISTTakeThisOuTspamMITVMA.MIT.EDU> at
Date:    6/20/98 4:05 PM

>Hi there,

Hi Kurt!

>I am working with MPLABC using MPLAB V3.40.
>The PIC I use is a p12c509
>Anybody knows how to :
>        - intstruct the compiler to save the osccal value
>          ( this is placing movwf 0x5 at 0x000)

This is the best way of doing it.

The instruction at the end of memory (0x03FF for the 12C509, 0x01FF for the
12C508) should be:

org 0x03FF                             ;  Jump to the Last Instruction
 movlw  ConfigValue

UNLESS your programmer will allow it be be programmed separately.  I only
use a PICStart Plus, so I don't know how others work.

More... (looser matching)
- Last day of these posts
- In 1998 , 1999 only
- Today
- New search...