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/disableThen 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 AttachHowever, TRACE32 gets stuck at Attach command and never completes the attach process.
Has anyone encountered this issue before or knows what might be causing it?
Thank you.
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.