mc9s12xep100 flash program

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

mc9s12xep100 flash program

1,124 Views
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 Kudos
Reply
1 Reply

924 Views
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