Searching \ for '[PIC]: 12C508 OSCCAL value' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devices.htm?key=pic
Search entire site for: '12C508 OSCCAL value'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: 12C508 OSCCAL value'
2000\06\01@134202 by Octavio Nogueira

flavicon
face
The value is 0x70, use RETLW 0x70

Friendly Regards

Octavio Nogueira
===================================================
spam_OUTnogueiraTakeThisOuTspampropic2.com                  ICQ# 19841898
ProPic tools - low cost PIC programmer and emulator
http://www.propic2.com
===================================================

----- Original Message -----
From: Bill Colville <.....wtc3KILLspamspam@spam@SUSCOM.NET>
To: <PICLISTspamKILLspamMITVMA.MIT.EDU>
Sent: Thursday, June 01, 2000 1:07 PM
Subject: [PIC] 12C508 OSCCAL value


> I am trying to program a 12C508/JW for the first time and when I
> read the calibration value it shows C70. When I try to use 0xC70 in
> MPASM it issues an error message saying " argument out of
> range. least significant bits used". What should I be entering?
>
> Bill

2000\06\01@142540 by John C. Frenzel

flavicon
face
----- Original Message -----
From: "Octavio Nogueira" <.....nogueiraKILLspamspam.....AJATO.COM.BR>
To: <EraseMEPICLISTspam_OUTspamTakeThisOuTMITVMA.MIT.EDU>
Sent: Thursday, June 01, 2000 12:40 PM
Subject: Re: [PICLIST] [PIC]: 12C508 OSCCAL value


> The value is 0x70, use RETLW 0x70
>
> Friendly Regards
>
> Octavio Nogueira
actually retlw 0x70 assembles to 0x870

movlw 0x70 assembles to 0xC70

John

2000\06\02@121938 by Bill Colville

flavicon
face
Date sent:              Fri, 2 Jun 2000 10:49:05 +0200
Send reply to:          pic microcontroller discussion list <PICLISTspamspam_OUTMITVMA.MIT.EDU>
From:                   Nebelong Bjarne <@spam@bjarne.nebelongKILLspamspamBINDOMATIC.SE>
Subject:                Re: [PIC] 12C508 OSCCAL value
To:                     KILLspamPICLISTKILLspamspamMITVMA.MIT.EDU

Thanks to all who replied. The program is working fine now.

Bill

{Quote hidden}

> {Original Message removed}

2000\06\02@194030 by miked

flavicon
face
>
> > The value is 0x70, use RETLW 0x70
> >
> > Friendly Regards
> >
> > Octavio Nogueira
> actually retlw 0x70 assembles to 0x870
>
> movlw 0x70 assembles to 0xC70
>
> John
>
Yes, this is at the last address which is the reset vector on 12 bit
core devices. The program counter rolls over to 000h and one of the
first instructions should be Movwf OSCAL. On EPROM devices the
movlw (cal value) will have to be placed there after eraser. On OTP
parts it is already there.
Note that the 12C67x are 14 bit core and have a RETLW (cal value)
at the last location. They reset to 000 where one of the first
instructions should be Call (last address).

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