MPC5566 Error loading .PCP file

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

MPC5566 Error loading .PCP file

4,106 次查看
jtro
Contributor III

I'm not able load PCP file.

As per pe micro forum (Link: http://www.pemicro.com/forums/forum.cfm?forum_topic_id=3630&forum_id=9#c21540)

To check basic debug functionality, you can try the following:

1) Connect with ICDPPCNEXUS
2) In the menu bar, go to "Configuration -> Automated Script Options"
3) Check the box that reads "Run Script File after the Debugger RESETS the MCU:" and specify the "mpc5500_any_init.mac" file
4) Click OK and type "reset" into the Status window
5) Try looking at RAM (address 0x4000_0000) and modify the contents.

please see result in attached file.

What is the issue why i'm not able to load PCP file?
标记 (1)
0 项奖励
回复
13 回复数

3,885 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

did it work before that? Is that your own board? I'm attaching pcp file and reset script file which I used for my test - it works on my side. I guess there will be no difference but it's something to start, at least.

Regards,

Lukas

0 项奖励
回复

3,886 次查看
jtro
Contributor III

Please see the result.. getting same error.

Also i have attached waveform of TDI and TDO. CH-1 is TDO and CH2 is TDI. Can't see TCK signal, if i connect probe to TCK connection constantly drops. 

Please see connection with PEMicro.

0 项奖励
回复

3,886 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

"Can't see TCK signal, if i connect probe to TCK connection constantly drops."

- this sounds like the key point. Please make sure the hardware connection is correct and that all signals are visible.

Regards,

Lukas

0 项奖励
回复

3,886 次查看
jtro
Contributor III
Later, I have monitor all signals TCK, TMS, TDI, TDO and RESET on oscilloscope. signals are pretty steady no issue.

I have monitor RESET signal and it is not toggling so there is no chance of connection loss.

Any other way to check?

Any pin required to pull high or low for deugging?

0 项奖励
回复

3,886 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

there are RSTCFG, BOOTCFG and PLLCFG pins which need to be configured appropriately.

Please check the reference manual and this application note (section 2 Reset Configuration) for more details:

https://www.nxp.com/docs/en/application-note/AN2613.pdf 

Regards,

Lukas

0 项奖励
回复

3,886 次查看
jtro
Contributor III

RSTCFG is set to high (Default (internal) boot mode selected with a crystal oscillator reference. This provides the same configuration as setting BOOTCFG[0:1]=0b00 and PLLCFG[0:1]=0b01).

0 项奖励
回复

3,886 次查看
jtro
Contributor III

As per user manual everything seems to be ok. I don't understand why i can't load ppc file?

Earlier I thought chip is censored but I check with ICDPPCNEXUS it connecting successfully with only issue of getting XX in RAM Memory so i think there should not be censorship issue.. not sure as I'm new to this chip.

ICDPPCNEXUS screenshot you can see in first post.

I hope someone help to solve my problem.

0 项奖励
回复

3,886 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

can't really say as there may be something damaged on the board. Do you have more boards? Can you see the same problem on another board?

Regards,

Lukas

0 项奖励
回复

3,886 次查看
jtro
Contributor III

Right now only 1 board I have with me.

I don't think board is damaged because JTAG is detect ID and also default application is running on it.

I have verified by CAN bus, I have read message of running application.

0 项奖励
回复

3,886 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Last thing which comes into my mind - have you tried to configure lower 'BDM Communication Speed' in PEMICRO Connection Manager?

Regards,

Lukas

0 项奖励
回复

3,886 次查看
jtro
Contributor III

Yes... that the first thing i have tried.

0 项奖励
回复

3,886 次查看
jtro
Contributor III

Can anyone help

0 项奖励
回复

3,271 次查看
San_96
Contributor I

Hi, 

Did you find the reason? Can you share with me please?

0 项奖励
回复