HOWTO: Reset MCU in S32 Design Studio debugger (Pemicro/OpenSDA interface)

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

HOWTO: Reset MCU in S32 Design Studio debugger (Pemicro/OpenSDA interface)

No ratings

HOWTO: Reset MCU in S32 Design Studio debugger (Pemicro/OpenSDA interface)

The ability to reset target MCU via debugger (also known as "in-target reset") is one of the essential feature when it comes to e.g. debugging of a code that is getting into an Exception/Fault Handler or situations like "...why my code works fine in the debugger, but fails without debug..."

S32 Design Studio offers this feature for all Pemicro debug interfaces (Multilink Universal/FX, OpenSDA) and it is available in all S32 Design studio flavors (S32DS ARM, S32DS Power, S32DS Vision)

Reset button icon is active only in the active debug session (debug perspective) and in the root debug context only. 

By default the reset icon is inactive during project debugging:

pastedImage_8.png

To activate the reset icon change the Debug view context to the root one.

pastedImage_2.png

After reset is completed the execution stops at the application reset vector and the information about reset that has just occurred is displayed in GDB server console.

pastedImage_9.png

It is also possible to execute initialization script (.mac) which is triggered by the reset action. The reset script can be selected in the  Debug Configuration (Debugger Tab -> Advanced Options -> Enable Initialization Script)

pastedImage_1.png

For more information about initialization scripting capabilities please contact www.pemicro.com

Labels (1)
Version history
Last update:
‎01-04-2018 02:53 AM
Updated by: