CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

PIC24HJ64GP502 NVMKEY address

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
khtang
Guest







PIC24HJ64GP502 NVMKEY address
PostPosted: Sat Nov 15, 2008 9:25 pm     Reply with quote

I am working on PIC24HJ64GP502 and checked my ..\MPLAB IDE\Device\ directory for the *.dev files. Apparently in the PIC24HJ64GPx02.dev files the special function registers have different address from what the datasheet indicated:

sfr (key=NVMCON addr=0x762 size=2 access='rs rw rw u u u u u u rw u u rw rw rw rw')
sfr (key=NVMKEY addr=0x768 size=2 access='u u u u u u u u w w w w w w w w')
sfr (key=PMD1 addr=0x772 size=2 access='rw rw rw rw rw rw rw rw rw rw rw rw rw u rw rw')
sfr (key=PMD2 addr=0x774 size=2 access='rw rw u u u u rw rw u u u u rw rw rw rw')
sfr (key=PMD3 addr=0x776 size=2 access='u u u u u rw rw rw u u u u u u rw u')

From the datasheet, for instance, NVMKEY should be located at 0x766 instead of 0x768. Looking through other device files of the same family, they are all pointing to address 0x766.

I just want to confirm that the device files are wrong and the datasheet is correct. Please verify for me, thanks.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sat Nov 15, 2008 11:43 pm     Reply with quote

If you have a question about MPLAB files, you should ask it in one of
the Microchip forums, not the CCS forum. Here's the link:
http://forum.microchip.com/
You want this section:
Quote:
[16 bit Microcontrollers & Digital Signal controllers]

or maybe this section:
Quote:
[Development Tools]
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group