How to Analyze Cortex-M Faults Using Ozone?

How to Analyze Cortex-M Faults Using Ozone?

Ozone is a multi-platform debugging and analysis tool for J-link and J-Trace. It features an independent graphical interface that can load Elf/Dwarf executable files generated by toolchains such as IAR, Keil, Gcc, and Clang/LLVM for C/C++ source code debugging and assembly instruction debugging. You can directly use the built-in functionalities of J-Link and J-Trace, such … Read more

How to Use Ozone’s Snapshot Feature

How to Use Ozone's Snapshot Feature

Ozone is a cross-platform code debugging software that supports J-Link and J-Trace debuggers. It can load Elf/Dwarf executable files generated by toolchains like SES, Keil, GCC, and clang/LLVM for debugging C/C++ source code and assembly instructions. In the new version of Ozone, a debugging snapshot feature has been added, which can save the entire system … Read more

Using Ozone to Debug MM32 MCU

Using Ozone to Debug MM32 MCU

Click the image to learn more. In last week’s chapter on ‘Setting Up MM32 Development Environment Based on Embedded Studio‘, we used the Ozone tool for debugging. Today, we will introduce how to use Ozone to debug the MM32 MCU in detail, and what conveniences Ozone can bring to everyone, allowing you to experience the … Read more

STM32 Bare-Metal Programming 08 – Debugging with Segger Ozone and CMSIS Headers

STM32 Bare-Metal Programming 08 - Debugging with Segger Ozone and CMSIS Headers

Debugging with Segger Ozone What if our firmware gets stuck somewhere and printf debugging doesn’t work? What if even the startup code doesn’t work? We need a debugger. There are many options, but I recommend using Segger’s Ozone debugger. Why? Because it is standalone and does not rely on any IDE. We can provide the … Read more

How to Debug Programs in RAM?

How to Debug Programs in RAM?

❖ The programs of microcontrollers are generally stored in Flash memory. After the chip is powered on, the CPU reads instructions from Flash and executes them. Compared to SRAM, writing to Flash is much slower, especially since a time-consuming erase operation is required before writing data to Flash. In some cases, there is a need … Read more

How to Use J-Link and Embedded Studio to Read and Write RISC-V Processor CSR

How to Use J-Link and Embedded Studio to Read and Write RISC-V Processor CSR

Introduction to CSR The Control and Status Registers (CSR) of the RISC-V architecture are used to configure or record the operational status of some processor cores. CSR registers are internal registers of the processor core, using a dedicated 12-bit address encoding space, with a maximum of 4096 available. Therefore, accessing CSR registers requires special instructions. … Read more

How to Debug with ST-Link in Embedded Studio for ARM

How to Debug with ST-Link in Embedded Studio for ARM

Segger provides ST examples that are debugged using J-Link. But what if we only have the ST-Link emulator? In this article, we will introduce how to debug using ST-Link in Segger Embedded Studio. Operating Environment 1. Embedded Studio for ARM v4.5 2. ST Nucleo-L476RG board Setting Up ST-Link in Embedded Studio for ARM We are … Read more

Using ST-Link for Debugging in Embedded Studio

Using ST-Link for Debugging in Embedded Studio

Follow andstar our public account to not miss exciting content Source | Microtech The ST examples provided by Segger are debugged using J-Link. But what if we only have the ST-Link emulator? This article will introduce how to use ST-Link for debugging in Segger Embedded Studio. Operating Environment:1. Embedded Studio for ARM v4.52. ST Nucleo-L476RG … Read more

Important Issues in Oscilloscope Grounding Applications

Important Issues in Oscilloscope Grounding Applications

Click the image above to follow “Easy Learning Electronics” and easily learn electronic knowledge. Easy Learning Electronics Subscription Daily updates of technical articles in the electronics industry and the latest news on microcontrollers, allowing you to learn easily anytime, anywhere. This is a very subtle issue; if not careful, when connecting the oscilloscope, it can … Read more