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

Document created by stanish Employee on Jan 4, 2018Last modified by stanish Employee on Jan 14, 2019
Version 3Show Document
  • View in full screen mode

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:

 

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

 

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.

 

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)

 

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

Attachments

    Outcomes