MPC5554 FLASH Program

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

MPC5554 FLASH Program

2,780件の閲覧回数
Shenovy
Contributor I

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

0 件の賞賛
返信
5 返答(返信)

2,744件の閲覧回数
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 件の賞賛
返信

2,731件の閲覧回数
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 件の賞賛
返信

2,720件の閲覧回数
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 件の賞賛
返信

2,717件の閲覧回数
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 件の賞賛
返信

2,681件の閲覧回数
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 件の賞賛
返信