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

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

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

155件の閲覧回数
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

ラベル(4)
0 件の賞賛
3 返答(返信)

123件の閲覧回数
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 件の賞賛

120件の閲覧回数
sm0khey
Contributor III

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

0 件の賞賛

104件の閲覧回数
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 件の賞賛