2382525_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2382525_en-US

2382525_en-US

Unable to Attach TRACE32 to i.MX8MP

I am trying to attach to the FRDM-i.MX8MPLUS board, but it fails. I followed the guide from the NXP blog: https://community.nxp.com/t5/NXP-Tech-Blog/Debug-i-MX8MP-Linux-with-TRACE32/ba-p/1582382

My steps are:

echo 1 > /sys/devices/system/cpu/cpu0/cpuidle/state1/disable
echo 1 > /sys/devices/system/cpu/cpu1/cpuidle/state1/disable
echo 1 > /sys/devices/system/cpu/cpu2/cpuidle/state1/disable
echo 1 > /sys/devices/system/cpu/cpu3/cpuidle/state1/disable

echo 1 > /sys/devices/system/cpu/cpu0/cpuidle/state0/disable
echo 1 > /sys/devices/system/cpu/cpu1/cpuidle/state0/disable
echo 1 > /sys/devices/system/cpu/cpu2/cpuidle/state0/disable
echo 1 > /sys/devices/system/cpu/cpu3/cpuidle/state0/disable

Then I run the following TRACE32 commands:

RESet
SYStem.RESet
SYStem.CPU IMX8MQ
CORE.ASSIGN 1. 2. 3. 4.
SYStem.Option MMUSPACES ON
SYStem.Option IMASKASM ON
SYStem.Mode Attach

However, TRACE32 gets stuck at Attach command and never completes the attach process.

neko_0-1781697059305.png

Has anyone encountered this issue before or knows what might be causing it?

Thank you.


Re: Unable to Attach TRACE32 to i.MX8MP

Hello,

Yes, this is the correct steps, please make sure that the device is correctly attached. Also, what are you trying to debug? Is it Uboot, Linux or something else?

Best regards/Saludos,
Aldo.

Tags (1)
No ratings
Version history
Last update:
a week ago
Updated by: