Generic Timer Module (GTM) Debug and Trace Support

The Universal Debug Engine provides debug and trace support for the Bosch Generic Timer Module (GTM).

The GTM is a powerful and sophisticated timer module ensuring accurate multi-input data acquisition and multi-output signal generation in automotive powertrain and active safety applications or in industrial closed-loop applications.

The GTM is an IP block from Bosch and implemented by various semiconductor vendors in their multi-core microcontroller families, e.g.:

  • TriCore™ AURIX™ from Infineon
  • Stellar from STMicroelectronics
  • Power Architecture™ based MPC57xx from NXP
  • Power Architecture™ based SPC5 from STMicroelectronics
  • Multi Channel Sequencers (MCS)
    • RISC-like programmable cores
    • Eight independent tasks per MCS
  • Time Base Unit (TBU) to provide time bases to submodules
  • Advanced Routing Unit (ARU) for routing data between submodules
  • Input/output modules (TIM, TOM, ATOM, DTM) for
    • Sampling external signals
    • Generating output signals to drive outside world
  • Interrupt Concentrator to bundle GTM interrupts and reduce number of interrupt lines to the outside SoC system

UDE - Universal Debug Engine - Support for Generic Timer Module (GTM)

The Universal Debug Engine provides debug and trace support for GTM implementations integrated in various multi-core microcontroller families.

Debugging and testing for the GTM is fundamentally different from traditional debugging for microcontrollers. Due to the specific hardware characteristics and the real-time characteristics of the applications, stop-mode debugging is not possible or only possible to a limited extent for the GTM. Therefore, trace is crucial for the development of GTM applications. UDE addresses this by providing extensive trace support for devices with GTM.

  • Display of assembler code executed by MCS channels
  • Display of C source code if MCS code is compiled by C-compiler
  • Display of channel registers
  • Channel registers can be modified
  • Suspend and release can by synchronized with run-control of system cores
  • Support for MCS hardware breakpoints (as of GTM v4.1)
  • Support for MCS single stepping (as of GTM v4.1)
  • Fetch trace (instruction trace) of executed channel programs
  • Trace of MCS data accesses
  • Detailed display of module registers
  • Module registers can be modified
  • Trace of signals for selected modules*
  • Trace of data transfers through the ARU
  • Trace of TBU timestamps*
* Device specific

Supported Architectures with Universal Debug Engine (UDE Debugger)

External Resources

Presentations of the GTM Techday 2022