Searching \ for '[PIC] 12F629 osc calibration value' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: techref.massmind.org/techref/microchip/time.htm?key=osc
Search entire site for: '12F629 osc calibration value'.

Exact match. Not showing close matches.
PICList Thread
'[PIC] 12F629 osc calibration value'
2006\07\12@131936 by Goran Hosinsky

picon face
I would like to save the oscillator calibration value
in case I mess up and erase it when experimenting -
have done that. Looking at the chip with Bumblebee
I see:

03F8 FF 3F FF 3F FF 3F FF 3F FF 3F FF 3F FF 3F 2C 34
2007 FF 11
2100 FF 00 FF 00 FF 00 FF 00 FF 00 FF 00 FF 00 FF 00

Is it the '2C' which is the calibration value to save?
Goran

2006\07\12@133824 by Bob Axtell

face picon face
Goran Hosinsky wrote:
> I would like to save the oscillator calibration value
> in case I mess up and erase it when experimenting -
> have done that. Looking at the chip with Bumblebee
> I see:
>
> 03F8 FF 3F FF 3F FF 3F FF 3F FF 3F FF 3F FF 3F 2C 34
> 2007 FF 11
> 2100 FF 00 FF 00 FF 00 FF 00 FF 00 FF 00 FF 00 FF 00
>
> Is it the '2C' which is the calibration value to save?
> Goran
>  
Yep.


2006\07\12@133954 by Jan-Erik Soderholm

face picon face
Goran Hosinsky wrote :

> I would like to save the oscillator calibration value
> in case I mess up and erase it when experimenting -
> have done that. Looking at the chip with Bumblebee
> I see:
>
> 03F8 FF 3F FF 3F FF 3F FF 3F FF 3F FF 3F FF 3F 2C 34
>
> Is it the '2C' which is the calibration value to save?

Yes, but you have to either save or remember to add the
'34' also, that is the "retlw" part of program word. It's a bit
confusing when the tool doesn't shows full 14-bit words
instead of splitting them into bytes.

The value (in your case) of address 3FF is h'342C'.

Now, normaly any deasent tool should of course preserv this
value as part of the programming process.

Finaly, the 12F683 8-bit part have the newer INTOSC
without any calibaration value that can be "lost"... :-)

Regards,
Jan-Erik.



2006\07\12@190934 by Xiaofan Chen

face picon face
On 7/13/06, Jan-Erik Soderholm <spam_OUTjan-erik.soderholmTakeThisOuTspamtelia.com> wrote:

> Now, normaly any deasent tool should of course preserv this
> value as part of the programming process.
>
> Finaly, the 12F683 8-bit part have the newer INTOSC
> without any calibaration value that can be "lost"... :-)
>

If you are determined, the caliberation value for 12F683 (as well as
many similar chips
which put the caliberation value to 0x2008 or 0x2008/2009) can be
erased. That is
the case when I was tesing Piklab. Later the author fixed this bug.

Regards,
Xiaofan

2006\07\12@195423 by Mark Rages

face picon face
On 7/12/06, Xiaofan Chen <.....xiaofancKILLspamspam@spam@gmail.com> wrote:
> If you are determined, the caliberation value for 12F683 (as well as
> many similar chips
> which put the caliberation value to 0x2008 or 0x2008/2009) can be
> erased. That is
> the case when I was tesing Piklab. Later the author fixed this bug.
>
> Regards,
> Xiaofan

Xiaofan, did you use the PICkit to recalibrate the oscillator?  I've
never used this function. (I just write down the value if I plan
something dangerous like a full erase.)

Regards,
Mark
markrages@gmail
--
You think that it is a secret, but it never has been one.
 - fortune cookie

2006\07\12@202341 by Xiaofan Chen

face picon face
On 7/13/06, Mark Rages <markragesspamKILLspamgmail.com> wrote:
>
> Xiaofan, did you use the PICkit to recalibrate the oscillator?  I've
> never used this function. (I just write down the value if I plan
> something dangerous like a full erase.)
>

PICKit 1/2 can only generate the osccal caliberation value of
12F629/675 and 16F630/676. Piklab supports this function under Linux
as well. It is better to record down the osccal value if possible.

If using the official Microchip tools, the osccal value for 12F683 and
similar chips are handled transparently.

Regards,
Xiaofan

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