This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

TrustZone Debug Thread Reserved

Hi,

I am using Arm Development Studio IDE to remotely debug an application with gdbserver, when I launch the application I have this message: thread 3700 #1 stopped (reserved) and it doesn't let me debug step by step.

How can I remove the reserved restriction and debug it with privileges?

Parents
  • Hi iiiv,

    The "RESERVED" mode you are seeing is the Reserved mode in AArch32, which is not a valid mode.

    Your iMX8 is an Armv8-A target, so you will need an AArch64 gdbserver.  Also, in the Debugger's Debug Configuration dialog, you must select Linux Application Debug > Application Debug > Connections via AArch64 gdbserver - see screenshot.



    I can reproduce the "stopped in RESERVED mode" you saw if I select "Connections via gdbserver" instead of the (correct) "Connections via AArch64 gdbserver".

    Hope this helps,

    Stephen

Reply
  • Hi iiiv,

    The "RESERVED" mode you are seeing is the Reserved mode in AArch32, which is not a valid mode.

    Your iMX8 is an Armv8-A target, so you will need an AArch64 gdbserver.  Also, in the Debugger's Debug Configuration dialog, you must select Linux Application Debug > Application Debug > Connections via AArch64 gdbserver - see screenshot.



    I can reproduce the "stopped in RESERVED mode" you saw if I select "Connections via gdbserver" instead of the (correct) "Connections via AArch64 gdbserver".

    Hope this helps,

    Stephen

Children