MPC5554 FLASH Program

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

MPC5554 FLASH Program

3,361 次查看
Shenovy
Contributor I

Hi, I want to program different projecr into FLASH, how to control the erased FLASH address during Debug

0 项奖励
回复
5 回复数

3,325 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

According to your description I am not sure what you want to achieve.

There is an official binary driver with the documentation:
https://www.nxp.com/webapp/Download?colCode=MPC55XX_FLASH_DRIVER

If your question is how to download code into internal flash, then use external debug JTAG/Nexus probe (Pemicro or other).

0 项奖励
回复

3,312 次查看
Shenovy
Contributor I

Im sorry for not describing my problem clearly. Here are detailed information:

I want to download two different projects(like APP 1 and APP 2) into the internal FLASH.

But when I use the CPROGPPCZ Programmer, it always erase the whole FLASH! 

So, I want to know how to download APP 2  into  the FLASH without erasing APP 1.

0 项奖励
回复

3,301 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

I see. It is needed to use programmer that is capable to erase each block individually as in the screenshot below:

davidtosenovjan_0-1638438359033.png

 

0 项奖励
回复

3,298 次查看
Shenovy
Contributor I

Thanks first, I've tried this way before.

However, if I only erase one block, I can't programm the object file. It reminds me that I have to execute  the EM(erase module) command as in the figure below.无标题.jpg

0 项奖励
回复

3,262 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

I would recommend to contact PeMicro support.

http://www.pemicro.com/support/index.cfm

They should know how to overcome the issue (apparently you will have to use paid version of this software.

Or you could use advanced debugger as Lauterbach TRACE32 or other, offering scripting capability.

 

0 项奖励
回复