Searching \ for 'Question on PIC programming' 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/devprogs.htm?key=programming
Search entire site for: 'Question on PIC programming'.

Truncated match.
PICList Thread
'Question on PIC programming'
1995\06\16@011021 by Greg Riddick

flavicon
face
The Load Configuration command is actually the 6 bit code (OOh)
that is sent to RB7 before the configuration data is sent in 16
bit chunks (1 startbit,14 data, 1 stopbit).  After receiving the
the Load Configuration command, the PIC resets the program
counter to 2000 hex, which is the beginning of the configuration
memory space.  The increment command is then used after every
write/read to advance the PC to the next location. The load
configuration sequence has to come after the program eeprom and
data eeprom cycles because it "locks up" the system, requiring a
reset to once again gain access to the program and data EEPROM.



I have another question about PIC16C84 programming.  The
programming voltage is specified at 12-14 volts. I would like to
use a MAXIM chip that produces 12v+ for Flash memory,regulated to
+- 5%.  Will this voltage be as reliable as 13.5 volts in
programming the PIC16C84?  I know I can use a MAXIM switching
regulator to get 13.5v, but would rather not use an inductor. The
12v+ chip uses a charge pump.

1995\06\16@141143 by Peter Knight

flavicon
face
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: spam_OUTp.j.knightTakeThisOuTspamuk.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..|_ |_| |_ | | |_ |_| |  |_| _|

1995\06\16@170006 by BBoles

flavicon
face
    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.                           .....bbolesKILLspamspam@spam@microchip.com


______________________________ Forward Header __________________________________
Subject: Re: Question on PIC programming
Author:  Peter Knight <P.J.KnightspamKILLspamBRADFORD.AC.UK> 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.knightKILLspamspam.....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..|_ |_| |_ | | |_ |_| |  |_| _|

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