ı want to enter data for jn5168 via boot codes for eprom whatis the equşavalnt of 0 segment ofset 0 or 1.segment 0 ofset actulay ıwant to learn where eprom adress starts for 4kb jn5168

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ı want to enter data for jn5168 via boot codes for eprom whatis the equşavalnt of 0 segment ofset 0 or 1.segment 0 ofset actulay ıwant to learn where eprom adress starts for 4kb jn5168

493 Views
serdarok
Contributor I

jn5168 program with serial boot codes enter for data into eprom

Tags (1)
0 Kudos
1 Reply

352 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Sedar,

The Persistent Data Manager (PDM) module which handles the storage of stack context data and application data in JN516x internal EEPROM.

 -  Initialising the PDM module

 -  Managing data in EEPROM

 -  Storing counters in EEPROM

 -  PDM features including mutexes, EEPROM wear counts and event handling

Saving Data to EEPROM

The first time that a record is saved using PDM_eSaveRecordData(), the record is created and the data is written in its entirety, provided there are enough free EEPROM segments to hold the data (you can first find out how many segments are available using the function PDM_u8GetSegmentCapacity())

EEPROM Capacity

The JN516x/7x internal EEPROM consists of multiple small segments. There are 63 segments of 64 bytes each. The internal PDM library can store no more than one data record in each segment, although a large record may be stored across multiple segments. 

The function PDM_u8GetSegmentCapacity() returns the number of segments that are free for PDM.

The function PDM_u8GetSegmentOccupancy() returns the number of segments that are in use

PDM API Chapter 6 

This chapter details the functions of the Persistent Data Manager (PDM) API that supports context data and application data saving in Non-Volatile Memory (NVM).

For a better reference please take a lool to the JN51xx Core Utilities User Guide

http://www.nxp.com/documents/user_manual/JN-UG-3116.pdf 

Hope it helps

Best Regards,

Mario

0 Kudos