Skip to main content
  • 产品
  • Evaluate our Software
  • 下载
  • Free Utilities
  • 购买
  • 支持
  • 关于我们
  • Search
    • Contact Us
    • Forum
    • Knowledge Base
    • Newsletter
    • RSS
  •   工作机会
  •   视频
  •   永续性
  • Ozone - J-Link Debugger
  • Fault Analysis
  • Technology

Fault analysis

Where – and why- did the system crash? Automatically detect exceptions and find useful information regarding the crash. Analyze each fault with these debugging features.

Contact us
Downloads
SEGGER Ozone
  1. 1.Exception Detection & Vector Catches
  2. 2.Exception Reasons: No Need for Manual Gathering
  3. 3.Exception Analysis with Regular Debug Information Windows
  4. 4.Ozone Fault Analysis Media

Firmware crashes – they’re a fact of embedded application development. Illegal memory writes, access of unpowered peripherals, execution of invalid instructions, division by zero… Whatever the execution, it ends up in an exception handler.

So, what to do?

Ozone enables automatic fault detection, but it does more than that. There are further tools and information for analysis of why a crash happened, what could have caused it and what happened before.

Exception Detection & Vector Catches

Ozone makes use of the Vector Catches on Arm devices.

ARM devices can break execution on fetch of an exception vector just before the exception handler is executed. This feature enables automatic breaking on exception without the use of hardware breakpoints.

With a vector catch on HardFault, a system crash can be immediately detected and further analyzed in the debugger.

In Ozone, vector catches can be enabled or disabled in the Breakpoints Window.

ozone exception vector catch

Exception Reasons: No Need for Manual Gathering

ozone exception reason

When a system crashes, Arm Cortex-M microcontrollers will provide information about the crash in different registers. After all, gathering information manually to find the reason for a crash is cumbersome.

When Ozone detects a fault, it automatically analyzes the related registers and presents a popup with the reason for the crash and further information, such as where the crash happened or which address could not be accessed.

For more information on faults on Cortex-M, refer to: Cortex-M Faults.

 

Exception Analysis with Regular Debug Information Windows

Now you’ve found the reason for the crash, it’s time to identify where it happened.

Ozone provides regular debug information in addition to the fault status registers. Even in the case of an exception. On the Call Stack Window, you can see where the exception has been raised. With the Registers Window and the Locals Window, you can inspect the faulty state.

Some exceptions might be raised after the actual fault happened, usually a few instructions later. In these cases, Ozone's instruction trace can help to identify which instructions have been executed before.

For technical details on fault analysis with Ozone, refer to: Analyzing Cortex-M Faults with Ozone.

ozone exception callstack locals

Ozone Fault Analysis Media

Introduction to Cortex M Faults

Introduction to Cortex M Faults

Cortex-M Fault Analysis

Cortex-M Fault Analysis

全球总部

德国: SEGGER Microcontroller GmbH

地址: Ecolab-Allee 5
40789 Monheim am Rhein, Germany
电邮: info@segger.com
电话: +49-2173-99312-0
传真: +49-2173-99312-28

网点分布

中国:哲戈微系统科技(上海)有限公司

地址: 中国上海市闵行区秀涟路133号
大虹桥国际A 栋218室
邮编201199
电邮: china@segger.com
电话: +86-133-619-907-60

通过ISO 9001认证

ISO 9001

30多年的嵌入式行业经验

First-class embedded software tools since 1992
  • 版本说明
  • 免责声明
  • 隐私策略
  • 沪ICP备2022005181号
  • 沪公网安备 31011202014525号
© 2025 SEGGER - 版权所有.

您即将离开 segger.cn 而访问境外网站,是否继续?