MPC5604B DFLASH

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
3,596件の閲覧回数
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,222件の閲覧回数
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,222件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

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

Regards,

Lukas

3,222件の閲覧回数
283230333
Contributor III

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

3,223件の閲覧回数
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,222件の閲覧回数
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 件の賞賛
返信