Hi folks, factory here.
Yes, this one is rather confusing so here goes.
The "load configuration" and "load data for program memory" commands
are both actually commands that load data for program memory. The
only difference is that the "load config" command will also set the
address pointer to 02000h i.e. near the configuration register
(actually 2000 is the start of our test memory area).
So the answer to the question "What is in the 16 bit field?" is that
normally you will place your data for the bits in the configuration
register here with the "load config" command, and then do 7 increment
commands to point the address to 2007 then do a program command.
TTYL, Brian. bboles@microchip.com
______________________________ Forward Header __________________________________
Subject: Re: Question on PIC programming
Author: Peter Knight
at Internet_Exchange
Date: 6/16/95 6:37 PM
On Fri, 16 Jun 1995, Greg Riddick wrote:
> The Load Configuration command is actually the 6 bit code (OOh)
> ...
Argh! Yes - thats what the data book says. But what does the actual 16 bit
data field in the Load Configuration command actually do? If you look
closely in the data book, you will see it has a data field, just like the
rest of the Load commands. *But* - there is no mention anywhere of what
this field actually does. All that is mentioned is that it advances the PC
to 2000h. (Yes, it says something vague about loading configuration, but no
explanation of what any bits actually do).
The fuses etcetera are mapped onto program memory, at 2000h onwards, so
they are blown with Load Program, not load configuration.
(I should say Im working off an old 16C84 data sheet - marked Preliminary.
I think its the '93 data book from memory. Any friendly microchip reps
interested in throwing a newer edition my way? ;-)
Peter
Peter Knight Email: p.j.knight@uk.ac.bradford Mono: Cathedrow
http://www.brad.ac.uk/~pjknight _ _ _ _
Who says you can't display letters on a 7 | _| |_ |_ |_| _| _ _ _|
segment display? OK, so you can't do a W..|_ |_| |_ | | |_ |_| | |_| _|