MPC5554 FLASH Program

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

MPC5554 FLASH Program

2,742 Views
Shenovy
Contributor I

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

0 Kudos
Reply
5 Replies

2,706 Views
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 Kudos
Reply

2,693 Views
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 Kudos
Reply

2,682 Views
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 Kudos
Reply

2,679 Views
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 Kudos
Reply

2,643 Views
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 Kudos
Reply