UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Participant petr_
Participant
820 Views
Registered: ‎02-26-2013

MPSoC multiprocesing debug

Jump to solution

Hello Everyone,

 

I have system with MPSoC, Linux running APU. 

I need to debug application for PRU core, but there is problem - any try for debug, xsct connect broke the APU.

I need to find the configuration, that dont touch to the APU. 

 

Thank you

0 Kudos
1 Solution

Accepted Solutions
Moderator
Moderator
760 Views
Registered: ‎05-10-2017

Re: MPSoC multiprocesing debug

Jump to solution

CPU Idle must be disabled when debugging. Please look at the AR below on how you can disable CPU idle

https://www.xilinx.com/support/answers/69143.html

 

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
7 Replies
Participant petr_
Participant
806 Views
Registered: ‎02-26-2013

Re: MPSoC multiprocesing debug

Jump to solution
When I try GDB, the situation is better, if i srart RPU application if APu is in ubboot, debugging works, but if I start it after linux boot, SDK freezes.
0 Kudos
Participant petr_
Participant
804 Views
Registered: ‎02-26-2013

Re: MPSoC multiprocesing debug

Jump to solution
I seems this crap access into system also in case if should do nothing - Linux hang in the situation, if sdk only opened and do nothing..When the SDK is closed, everything work fine.
0 Kudos
Participant petr_
Participant
799 Views
Registered: ‎02-26-2013

Re: MPSoC multiprocesing debug

Jump to solution
When I set configparams disable-access 1, Linux can boot when I connected via xsct. But it dissabled acces for all cores, I need do it only for APU. configparams semms undocumented.
0 Kudos
Xilinx Employee
Xilinx Employee
771 Views
Registered: ‎10-30-2017

Re: MPSoC multiprocesing debug

Jump to solution

Hi @petr_,

 

Please check this wiki page. https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/498606/OpenAMP+2017.3

it might help to you.

 

Best Regards,
Srikanth
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.

0 Kudos
Participant petr_
Participant
767 Views
Registered: ‎02-26-2013

Re: MPSoC multiprocesing debug

Jump to solution

My problem is a debugung code on RPU - how to disable xilinx debuger touch on the APU. 

Everything - eg. only connection of debugger kill Linux on the APU. I need something as configparams disable-access 1 but only for the APU.

0 Kudos
Moderator
Moderator
761 Views
Registered: ‎05-10-2017

Re: MPSoC multiprocesing debug

Jump to solution

CPU Idle must be disabled when debugging. Please look at the AR below on how you can disable CPU idle

https://www.xilinx.com/support/answers/69143.html

 

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
Highlighted
Participant petr_
Participant
728 Views
Registered: ‎02-26-2013

Re: MPSoC multiprocesing debug

Jump to solution
Thank you, that works.
0 Kudos