Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[PIC] How to write EEPROM program for reading and writing the data in PIC24F???

Status
Not open for further replies.

Vivek Guntumudugu

Newbie level 1
Joined
Nov 10, 2014
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
7
Hi all,

How to write EEPROM program for PIC24F16KM202????????
 

Hi,

I'm sure you find informations in the datasheet. And usually the manufacturer provides some sample code and/or application notes about reading/writing EEPROM.

Please read those informations. Andi n case there still exist questions, so please post a detailed description of the problem.

Klaus
 

See Section 6 of the datasheet, and the FRM document Section 5 (make sure you get the correct section for your device).
As for the NVKEY unlock sequence, if you are using the XC16 compiler then check out the User Guide for the __builtin_write_NVKEY built-in macros that let you do the assembler sequence from C (it is important not to try to do this sequence using equivalent C code as the compiler can rearrange the instructions and insert other code into the sequence - it MUST execute as the specific instruction sequence which the __builtin_xxx macros do for you).
Susan
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top