Searching \ for '[PIC]: Config word in 12C671 ?' 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: 'Config word in 12C671 ?'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: Config word in 12C671 ?'
2001\02\14@175952 by Barry Gershenfeld

picon face
Gee, I hope someone out there has used this chip.  I don't really
want to be breaking ground.

The configuration word (at least in the 16xx pics) seems to be
traditionally located at hex address 400E.  This is in fact
where it's being put for the 12C671 in the hex file. Here's the line:

:02400E00F43F7D

The problem is this:  The data sheet says it is supposed to go at 2007h!

This was CCS C, so I tried compiling the example in assembler using
MPASM.  Same result.  400E.   Anyone know if the chip recogizes one
for the other?  Seems strange!  Might help me find my problem!

Barry

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email spam_OUTlistservTakeThisOuTspammitvma.mit.edu with SET PICList DIGEST in the body


2001\02\14@183312 by Tony Nixon

flavicon
picon face
Barry Gershenfeld wrote:
{Quote hidden}

The assembled addresses are byte wide not word wide, so they appear to
be twice the value.

--
Best regards

Tony

mICro's
http://www.picnpoke.com
salesspamKILLspampicnpoke.com

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email .....listservKILLspamspam.....mitvma.mit.edu with SET PICList DIGEST in the body


2001\02\14@183416 by Barry Gershenfeld

picon face
This seems to be a word vs. byte address issue.   Especially because
the sheet for the 16F874 also says it's 2007.  I realized something
was up when I saw "FF 3F" all through blank memory.  14bit words.
Hmmm.  OK.  So I guess this means that's not where the problem is.

I'll check the A/D registers next.

Barry


At 02:27 PM 2/14/01 -0800, you wrote:
{Quote hidden}

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email EraseMElistservspam_OUTspamTakeThisOuTmitvma.mit.edu with SET PICList DIGEST in the body


2001\02\14@184106 by Matthew Twomey

flavicon
face
First let me start off by saying that I am a flat out beginner with
microcontrollers. I've only been working with them for about two weeks. So
I might be off base here, however:

When I open up a ".hex" file (created with MPASM) for any of the programs
I've been writing for my 16F84 they all have a line that looks like the
one you quoted, for example a simple LED flashing program has a line that
looks like this:

:02400E00F13F80

All of my programs have a line that starts with :02400E. These programs
are working properly, and I know the configuration word for the PIC I'm
using is at 2007h. Is it possible that you are misinterpreting the meaning
of this line?

-Matt

On Wed, 14 Feb 2001, Barry Gershenfeld wrote:

{Quote hidden}

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email @spam@listservKILLspamspammitvma.mit.edu with SET PICList DIGEST in the body


2001\02\15@043042 by uter van ooijen & floortje hanneman

picon face
> :02400E00F13F80
>
> All of my programs have a line that starts with :02400E. These programs
> are working properly, and I know the configuration word for the PIC I'm
> using is at 2007h. Is it possible that you are misinterpreting the meaning
> of this line?

2 * 2007 = 400E
2007 is the word adress, but the hex file uses byte addresses.

Wouter

--
http://www.piclist.com hint: To leave the PICList
KILLspampiclist-unsubscribe-requestKILLspamspammitvma.mit.edu


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