mc9s12xep100 flash program

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

mc9s12xep100 flash program

1,123 次查看
chenchenchen
Contributor II

HI, I program rom4000 p-flash is unsuccessful in BDM mode, but I program p-flash block1 is successful. can you give me some technical documents about promgram flash.Thanks

0 项奖励
回复
1 回复

923 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

How do you program the PFlash block?

You cannot execute any flash command from the same PFlash block you want to erase/program. The function should be place in RAM.

Also, check whether the PFlash area is protected or not. In case of a protection violation, FPVIOL flag is set in FSTAT register.

Please see the attached example code.

Regards,

Daniel