Saving value to the flash memory on user input on MC56F8...

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Saving value to the flash memory on user input on MC56F8...

491 次查看
sm0khey
Contributor III

Hello! I want to save a value which is from user input to the flash memory. Since i am new to Embedded programming, can someone explain to me the steps and what code/library to use

0 项奖励
回复
3 回复数

459 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Can you tell us the part number you are using?

generally, we  provide the api function to erase/program flash, the api function is saved in flash and copied to program RAM and execute in program RAM.

In detail, if you use Processor Expert(PE), the PE generates the api function to erase/program flash. If the silicon does not support PE, we have example code to erase/program flash in application code.

Hope it can help you

BR

XiangJun Rong

 

0 项奖励
回复

456 次查看
sm0khey
Contributor III

Hello! It's MC56F8257, i've tried the API IFlsh, but the processor just stops working

0 项奖励
回复

440 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Pls try to use the attached code and have a test.

Hope it can help you

BR

XiangJun Rong

0 项奖励
回复