Searching \ for '[PIC] Confusion over word and byte addresses' 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: 'Confusion over word and byte addresses'.

Exact match. Not showing close matches.
PICList Thread
'[PIC] Confusion over word and byte addresses'
2005\07\17@173244 by Peter Onion

flavicon
face
D'OH, missing tag AGAIN ! :-(

Am I right in saying 14 bit core documentation uses "word addresses" and
16 bit core documentation uses "byte addresses" ?

I've just spent more time than I wanted to trying to work out why my
attempts to set the config words on an 16 bit device wern't working ....

For 18F 0x300000 is a BYTE address
but for 16F 0x2007 is a WORD address

Is that right ?  

Peter O

2005\07\17@175350 by olin piclist

face picon face
Peter Onion wrote:
> Am I right in saying 14 bit core documentation uses "word addresses" and
> 16 bit core documentation uses "byte addresses" ?
>
> I've just spent more time than I wanted to trying to work out why my
> attempts to set the config words on an 16 bit device wern't working ....
>
> For 18F 0x300000 is a BYTE address
> but for 16F 0x2007 is a WORD address
>
> Is that right ?

Yes, although it shouldn't be any surprise.  The program memory addressing
scheme is carefully spelled out near the front of all the data sheets.

(You'll have even more fun when you get to dsPICs.)


*****************************************************************
Embed Inc, embedded system specialists in Littleton Massachusetts
(978) 742-9014, http://www.embedinc.com

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