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

Challenge: Write a Blinking LED Program in 100 Bytes!

Challenge: Write a Blinking LED Program in 100 Bytes!

This article is lengthy, estimated reading time: 10 minutes. # Author: Roff Segger, Technical Testing, Translation, and Writing at Microtech We are testing using SEGGER’s Embedded Studio development environment: on a Cortex-M microcontroller, how much Flash memory is needed to complete a blinking LED application? Objective: · Create a blinking application using less than 100 … Read more

Using J-Link Debugger in VSCode

Using J-Link Debugger in VSCode

Using J-Link Debugger Visual Studio Code is a free source code editor developed by Microsoft. Through plugins, it can implement GDB + J-Link + GDBServer to debug embedded systems in VSCode. In this article, we will introduce how to add debugging capabilities to Cortex core microcontrollers using J-Link. The example uses SEGGER’s emPower v2.0 evaluation … Read more

Design Method for C Language Startup Code of RISC-V Processor

Design Method for C Language Startup Code of RISC-V Processor

As competition in the microprocessor market intensifies, the RISC-V instruction set has garnered increasing attention. Although RISC-V is not the first open-source Instruction Set Architecture (ISA), it is the first ISA that allows flexible selection of instruction sets based on actual application scenarios. The RISC-V architecture can accommodate all application scenarios, from high-performance server CPUs … Read more

IAR: Advancing Functional Safety and Ecosystem in Embedded Systems Development

IAR: Advancing Functional Safety and Ecosystem in Embedded Systems Development

According to a report from Electronic Enthusiasts Network (by Huang Jingjing), with the continuous advancement of hardware and software technologies, the application of embedded systems in industries such as automotive, industrial automation, medical, and the Internet of Things is becoming increasingly widespread. These industries exhibit significant market size and growth rates. In a recent interview … Read more

How GD32 Empowers Sustainable Growth Across Industries

How GD32 Empowers Sustainable Growth Across Industries

On March 14, 2023, the Embedded World 2023 exhibition in Nuremberg, Germany, commenced. The theme of EW23 is “embedded responsible sustainable,” where global exhibitors discussed the latest trends and technological innovations in embedded system development. GigaDevice showcased various market-leading MCU products, development ecosystems, and innovative solutions. GD32 is working hand in hand with global partners … Read more

The Most Powerful MCU Overview

The Most Powerful MCU Overview

MCU stands for Microcontroller Unit, which is commonly known as a microcontroller. It is a chip-level computer that integrates the CPU frequency and specifications appropriately reduced along with memory, counters, USB, A/D converters, UART, PLC, DMA, and even LCD driver circuits onto a single chip. This allows for various combinations of control tailored for different … Read more

Comprehensive Overview of MCUs

Comprehensive Overview of MCUs

MCU is the abbreviation for Microcontroller Unit, commonly known as a microcontroller. It appropriately reduces the frequency and specifications of CPUs, integrating memory, counters, USB, A/D converters, UART, PLC, DMA, and even LCD driver circuits onto a single chip, forming a chip-level computer. This allows for different combinations of control for various applications, such as … Read more

Innovative Image Processing System Based on FPGA

Innovative Image Processing System Based on FPGA

FPGA (Field Programmable Gate Array) is a highly flexible hardware platform widely used in various fields, especially in high-performance computing and artificial intelligence (AI). Compared to traditional processors, FPGAs have advantages in programmability and parallel computing, allowing for customized configurations based on specific application needs. The image processing system based on the Zhongke Yihai Micro … Read more