How to use the KE15 eeprom?

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

How to use the KE15 eeprom?

ソリューションへジャンプ
1,527件の閲覧回数
eagan_yu
Contributor III

HI

I was using the KE15 development board, and then when I looked at the KE15 SDK driver example, I realized that flexnvm eeprom example could only be configured with 32 byte eeprom, but I wanted to configure 2k eeprom, so I read the reference manual to modify:

1. Modified #define EEPROM_DATA_SET_SIZE_CODE (0x39U) to (0x33U) and redefined #define FLEXNVM_PARTITION_CODE (0x3U).

2. Change the length of the write array and redefine it as #define BUFFER_LEN 16

3. Before: result = FLEXNVM_SetFlexramFunction (& s_flashDriver, kFTFx_FlexramFuncOptAvailableForEeprom);To assign a value s_flashDriver. FtfxConfig. EepromTotalSize = 0 x800;

Finally, compile and debug, but HardFault_Handler appears

Thank you very much.

Eagan

0 件の賞賛
返信
1 解決策
1,438件の閲覧回数
eagan_yu
Contributor III

I've found the problem. I've solved it

Thanks

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,438件の閲覧回数
eagan_yu
Contributor III

Hi ,could you point out my mistake,and Instruct me how to modify ,thanks ,have great day.

0 件の賞賛
返信
1,439件の閲覧回数
eagan_yu
Contributor III

I've found the problem. I've solved it

Thanks

0 件の賞賛
返信
1,440件の閲覧回数
eagan_yu
Contributor III

At that time the download program just overwrite, did not forget to erase all, so if you change the parameters of the partition function, to erase all before downloading

1,440件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Eagan Yu,

  Thanks for your updated information.

  If you have any questions in the future, welcome to create the new question post, and let us know.

Kerry

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 件の賞賛
返信