Failed to debug Core 1 in MPC5777C in S32 Design Studio

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

Failed to debug Core 1 in MPC5777C in S32 Design Studio

1,472 次查看
rahulmankumbare
Contributor II

Hi,

We are using S32 Design Studio.

S32 Design Studio for Power Architecture

Version: 1.2
Build id: 170613

(c) Copyright Freescale Semiconductor 2016. All rights reserved.
(c) Copyright NXP 2017.

Visit http://www.nxp.com/

 


MCU == MPC5777C
evb == MPC5777C EVB 

debugger == Multilink universal fx

Operating System == Win7x64,Win8x64

Till now we were using only Core 0. We have successfully able to debug & test GPIO,PWM,CAN,SPI etc 
modules using Core 0.

Now we have written pin toggling program in Core 1 & trying to debug it.

It shows that debug done 100%.

But when we try to do single stepping we are not able to do that.

We are setting debug configuration similar to what we are doing for Core 0.

We have stuck here.

Please guide us.

Thanks.

Rahul

0 项奖励
6 回复数

1,129 次查看
jiri_kral
NXP Employee
NXP Employee

Hello Rahul, 

here is HOWTO document related to muli-core debugging - https://community.nxp.com/docs/DOC-335367 

Jiri

0 项奖励

1,129 次查看
rahulmankumbare
Contributor II

Hi,

We tried with the suggested steps.

But we are getting error.

dual core debug error.PNG

"Error in services launch sequence"

Please guide.

Thanks.

Rahul

0 项奖励

1,129 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

can you please click on details button and share the message?

Jiri

0 项奖励

1,129 次查看
rahulmankumbare
Contributor II

Hi,

Following is the details of error.

launch error.PNG

Following immage shows the server settings in current project.

server port number settings.PNG

Please suggest mistakes.

Thanks.

Rahul.

0 项奖励

1,129 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

you are probably starting second instance of gdbserver by Z7_1 debug. Please check if Z7_1 debug isn't starting gdbserver (screenshot is taken from S32R274 - but it is very similar as your MCU). 

pastedImage_1.png

and also Z7_1 is only attaching to running server: 

pastedImage_2.png

Jiri

0 项奖励

1,129 次查看
rahulmankumbare
Contributor II

Hi,

we are able to debug core1.

Thanks.

Rahul.

0 项奖励