MPC5604B DFLASH

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

MPC5604B DFLASH

跳至解决方案
3,788 次查看
283230333
Contributor III

I have defined a variable in the dflash 0x800000. The variable have the correct address in the map file. And in the MOT file the address 0x800000 also have the correct data.  But when I access the device via the JTAG, the address 0x800000 is not have the data ,is 0xFFFF. How can I  program the dflash via the JTAG?

标签 (1)
1 解答
3,414 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

Dflash is not programmed by Pemicro debugger by default in case of CW2.10, so it is necessary to do some changes. Attached you will find dlfah.zip. Copy cfg file and bat file to this location:

c:\Program Files\Freescale\CW for MPC55xx and MPC56xx 2.10\pemicro\

Then open your project, press alt+F7, select Build Extras and change the setting as per attached picture.

Then change the paths in cfg and bat file, so it fits your project. Then it should program also dflash.

Notice that I created it for MPC5604P, so changed also the programming algorithm (PCP file) in configuration file (*.cfg) accordingly.

Regards,

Lukas

在原帖中查看解决方案

4 回复数
3,414 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

it depends on your tool. What kind of tool do you use for flash programming?

Regards,

Lukas

3,414 次查看
283230333
Contributor III

Thanks for your reply.  I use the CW 2.10. Can you give me more informations?

3,415 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

Dflash is not programmed by Pemicro debugger by default in case of CW2.10, so it is necessary to do some changes. Attached you will find dlfah.zip. Copy cfg file and bat file to this location:

c:\Program Files\Freescale\CW for MPC55xx and MPC56xx 2.10\pemicro\

Then open your project, press alt+F7, select Build Extras and change the setting as per attached picture.

Then change the paths in cfg and bat file, so it fits your project. Then it should program also dflash.

Notice that I created it for MPC5604P, so changed also the programming algorithm (PCP file) in configuration file (*.cfg) accordingly.

Regards,

Lukas

3,414 次查看
hongrudong
Contributor I

c:\!WORK\Temp10\MPC5604P - Program Cflash from Dflash - CW210\bin\internal_FLASH.elf" LOADTOFLASH -RESETFILE "mpc5600_z0h_vle.mac"

How should this command line be changed? Is there a reference?

Thank you

xpdhr

0 项奖励
回复