Searching \ for '12c509 OSCAL read procedure before UV erase?' 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/index.htm?key=12c509+oscal+read
Search entire site for: '12c509 OSCAL read procedure before UV erase?'.

Truncated match.
PICList Thread
'12c509 OSCAL read procedure before UV erase?'
1999\09\15@221041 by Jon Petty

picon face
Hi everyone

I am veturing into  uncharted ground with the 12c509. I normally use the
PIC16F84.  I will prototype with a windowed chip. My question is...

When I UV erase the chip I believe it will erase the OSCAL value at the top
memory location.

What is the procedure for reading the value so that after I erase it I can
program it back in?

Can I just READ the chip using the  picstart plus programmer in MPLAB  and
write down the value and set it as a constant in ther code?

Thanks in advance


Jon

1999\09\15@223729 by Jim Paul

picon face
Yes, It is just that simple.

               Regards,

                   Jim
-----Original Message-----
From: Jon Petty <spam_OUTPhxsys3TakeThisOuTspamAOL.COM>
To: .....PICLISTKILLspamspam@spam@MITVMA.MIT.EDU <PICLISTspamKILLspamMITVMA.MIT.EDU>
Date: Wednesday, September 15, 1999 9:10 PM
Subject: 12c509 OSCAL read procedure before UV erase?


{Quote hidden}

1999\09\16@004716 by netquake

flavicon
face
It's simple.
Add this to your asm file:
ORG 0x3ff
movlw 0x60      ;0x60 is my JW cal value ADD YOURS HERE

So you may load your calibration value at startup:
ORG 0x00
movwf OSCCAL

Cheers!

{Quote hidden}

------------------------------------
netQ <.....netquakeKILLspamspam.....innocent.com>
http://virtuaweb.com/picprog
"Home of amateur PIC programmers..."

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.2

mQCNAzV38BkAAAEEALfWv9j3f+tZ+z2IW+2o9Ebx4bUGnHjHPqIe0a6yVKawaeV/
Y4I6L2/A0ddbVMG8+qJ0MvHNkr3DzYkpW+hTl9zAzXkKBdZ3GA5bbvot7entl/O2
YDtRWUV730koxBo5iFFUbJH5kbmkox+h3znj34zPnZNWzNaqOAwol3wABfBNAAUT
tBxOZXRRIDxuZXRxdWFrZUBpbm5vY2VudC5jb20+
=0bVU
-----END PGP PUBLIC KEY BLOCK-----

1999\09\16@064339 by Bjarne Nebelong

flavicon
face
Hi Jon

If you use FreePSP from Newfound Electronics and connect it with your
PicStartPlus, it will do the job for you.

http://www.new-elect.com/winpsp.htm <http://www.new-elect.com/winpsp.htm>


HŠlsningar/ Regards,
Bjarne Nebelong
Manager Electrical Design
BINDOMATIC¨
EraseMEbjarne.nebelongspam_OUTspamTakeThisOuTbindomatic.se
+46-(0)8 709 58 46

                       -----Ursprungligt meddelande-----
                       FrŒn: Jon Petty [Phxsys3spamspam_OUTAOL.COM]
                       Skickat:         den 16 september 1999 04:09
                       Till:   @spam@PICLISTKILLspamspamMITVMA.MIT.EDU
                       €mne: 12c509 OSCAL read procedure before UV erase?

                       Hi everyone

                       I am veturing into  uncharted ground with the
12c509. I normally use the
                       PIC16F84.  I will prototype with a windowed chip. My
question is...

                       When I UV erase the chip I believe it will erase the
OSCAL value at the top
                       memory location.

                       What is the procedure for reading the value so that
after I erase it I can
                       program it back in?

                       Can I just READ the chip using the  picstart plus
programmer in MPLAB  and
                       write down the value and set it as a constant in
ther code?

                       Thanks in advance


                       Jon

1999\09\16@065414 by Jim Robertson

flavicon
face
At 12:43 16/09/99 +0200, you wrote:

Wow. I didn't think any used this unique feature and I was going to remove it
from the next release. Maybe I should think again.

See http://www.new-elect.com/autocal.htm

Jim

{Quote hidden}

Regards,

Jim Robertson
NEWFOUND ELECTRONICS
________________________________________
Email: TakeThisOuTnewfoundEraseMEspamspam_OUTpipeline.com.au
http://www.new-elect.com
MPLAB compatible PIC programmers.
________________________________________

1999\09\16@072354 by Bjarne Nebelong

flavicon
face
Jim,
Please keep it, it is _very_ useful when you don't have an ICE.
The good old:
       While(Working!=OK)    {
         WriteCode();
         Burn();
         Try();
         ScratchTheHead();
         Erase();              }

is still an easy way to develop a product :-)

HŠlsningar/ Regards,
Bjarne Nebelong
Manager Electrical Design
BINDOMATIC¨
RemoveMEbjarne.nebelongspamTakeThisOuTbindomatic.se
+46-(0)8 709 58 46

                       -----Ursprungligt meddelande-----
                       FrŒn: Jim Robertson
[newfoundEraseMEspam.....PIPELINE.COM.AU]
                       Skickat:         den 16 september 1999 13:04
                       Till:   EraseMEPICLISTspamMITVMA.MIT.EDU
                       €mne: Re: SV: 12c509 OSCAL read procedure before
UV erase?

                       At 12:43 16/09/99 +0200, you wrote:

                       Wow. I didn't think any used this unique feature and
I was going to remove it
                       from the next release. Maybe I should think again.

                       See http://www.new-elect.com/autocal.htm

                       Jim

                       >Hi Jon
                       >
                       >If you use FreePSP from Newfound Electronics and
connect it with your
                       >PicStartPlus, it will do the job for you.
                       >
                       >http://www.new-elect.com/winpsp.htm
<http://www.new-elect.com/winpsp.htm>
                       >
                       >
                       >HŠlsningar/ Regards,
                       >Bjarne Nebelong
                       >Manager Electrical Design
                       >BINDOMATIC¨
                       >RemoveMEbjarne.nebelongEraseMEspamEraseMEbindomatic.se
                       >+46-(0)8 709 58 46
                       >
                       >                        -----Ursprungligt
meddelande-----
                       >                        FrŒn: Jon Petty
[RemoveMEPhxsys3spam_OUTspamKILLspamAOL.COM]
                       >                        Skickat:         den 16
september 1999 04:09
                       >                        Till:
RemoveMEPICLISTTakeThisOuTspamspamMITVMA.MIT.EDU
                       >                        €mne: 12c509 OSCAL read
procedure before UV erase?
                       >
                       >                        Hi everyone
                       >
                       >                        I am veturing into
uncharted ground with the
                       >12c509. I normally use the
                       >                        PIC16F84.  I will prototype
with a windowed chip. My
                       >question is...
                       >
                       >                        When I UV erase the chip I
believe it will erase the
                       >OSCAL value at the top
                       >                        memory location.
                       >
                       >                        What is the procedure for
reading the value so that
                       >after I erase it I can
                       >                        program it back in?
                       >
                       >                        Can I just READ the chip
using the  picstart plus
                       >programmer in MPLAB  and
                       >                        write down the value and
set it as a constant in
                       >ther code?
                       >
                       >                        Thanks in advance
                       >
                       >
                       >                        Jon
                       >
                       Regards,

                       Jim Robertson
                       NEWFOUND ELECTRONICS
                       ________________________________________
                       Email: EraseMEnewfoundspamspamspamBeGonepipeline.com.au
                       http://www.new-elect.com
                       MPLAB compatible PIC programmers.
                       ________________________________________

1999\09\16@073603 by Michael Rigby-Jones

flavicon
face
       Bjarne Nebelong wrote:

> Jim,
> Please keep it, it is _very_ useful when you don't have an ICE.
> The good old:
>         While(Working!=OK)    {
>           WriteCode();
>           Burn();
>           Try();
>           ScratchTheHead();
>           Erase();              }
>
>
I think that needs some enhancement for a more realistic model

               While(Working!=OK)    {
                 WriteCode();
                 Burn();
                 Try();
                 ScratchTheHead();
                 Frustration++;
                 if(Frustration > PATIENCE) DoSomethingElse(FOR_A_WHILE);
                 Erase();              }




> is still an easy way to develop a product :-)
>
It's *one* way to develop a product, I can't say it's always easy :o)

Mike Rigby-Jones


{Quote hidden}

1999\09\16@094017 by Bjarne Nebelong

flavicon
face
>It's *one* way to develop a product, I can't say it's always easy :o)
>Mike Rigby-Jones

Sorry, I ment a cheap way (besides the JW parts)...

/Bjarne

1999\09\16@210748 by nerstrand

flavicon
face
Use MPLAB
Look under window menu
calibration data
Here you can read value and also write a value of your own.
When programming use picstart plus menu program/verify to check what you want to program and verify.

if you cant find the calibration menue: set option->development mode to Editor only and to pic12c509 and things should work.

Regards
Niklas Wennerstrand

{Original Message removed}

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