How to definition of a var in EEPROM?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to definition of a var in EEPROM?

1,212件の閲覧回数
xiaoli
Contributor I

In the PRM file, EEPROM_DATA is placed at address 0x800.

EEPROM = READY_ONLY 0x800 To ...

PLACEMENT

...

EEPROM_DATA INTO EEPROM

 

In th asm file,

EEPROM_DATA :SECTION

byte_800: DS $7A0

                 DS $5E               ; Here if DS $4E is ok

WORD_FFE: DS 2

 

In the map file,

if Change DS $5E to $4E, can see byte_800 is @addr 0x800, and WORD_FFE is @other address.

but if DS $5E, There is an error,  A1102. How can i definition of a var in EE byte_800 at addr 0x800, and WORD_FFE at addr 0xFFE?

 

Anyone help? Thank you very much.

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

1,130件の閲覧回数
xiaoli
Contributor I

solve.

i have the wong define of the prm file:

EEPROM = READY_ONLY 0x800 To the last addr of my project.

so it is solve.

Thank you all the same.

0 件の賞賛
返信

1,130件の閲覧回数
trytohelp
NXP Employee
NXP Employee

What is the architecture used ?

Have a great day,
Pascal
NXP Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信