Understanding GDB Debugging Principles with Visuals

Understanding GDB Debugging Principles with Visuals

1. Introduction This article discusses the renowned GDB. We won’t mention its prestigious background; like its sibling GCC, it was born with a golden key and holds an irreplaceable position in the GNU family. Every embedded development engineer has likely used gdb to debug programs; if you haven’t, it only indicates your development experience hasn’t … Read more

A Debugging Tool More Convenient Than GDB

A Debugging Tool More Convenient Than GDB

CGDB isGDB‘s frontend, which allows debugging code in a graphical form within the terminal window (based onncurse), making it very convenient. Compared toGDB, it can significantly improve efficiency. This article will share the most basic usage of CGDB. If you are hearing about it for the first time, I strongly recommend you to try it … Read more

Compiling and Debugging Fluent UDF with Visual Studio and CMake

Compiling and Debugging Fluent UDF with Visual Studio and CMake

This article introduces the method of compiling and debugging Fluent UDF using Visual Studio and CMake. Note: This article refers to the article published by <span>Jiaoran Today What to Play</span> at https://zhuanlan.zhihu.com/p/492619039, and I extend my highest respect to the author’s spirit of sharing. ” There are many methods for compiling Fluent UDF. As a … Read more

Summary of KEIL Debugging Experience

Summary of KEIL Debugging Experience

Source: WeChat Official Account 【Osprey Talks Microcontrollers】 Author: Osprey ID: emOsprey Through several previous articles (which have been organized into a collection), we have understood many KEIL debugging methods, but how should we use these methods? This article will introduce personal debugging experiences. This section is divided into the following parts: 1) Virtual Serial Port … Read more

Keil Series Tutorial 09: Debugging and Simulation

Keil Series Tutorial 09: Debugging and Simulation

Follow/Star Public Account to not miss any messages! This tutorial was updated and published by the original author strongerHuang in November 2018. Tags: Keil, MDK-ARM, µVision Copyright: Commercial use prohibited Disclaimer:This document is for personal learning use only, for reprints please contact the author via the public account for authorization. 1Introduction Debugging is a crucial … Read more

Introduction to Assembly Language: Using Debug Tools

Introduction to Assembly Language: Using Debug Tools

1. Physical Memory Layout Formula When you see an address like 0B3F:0100 in debug, remember the physical address calculation formula: For example, 0B3F*10h+0100=0C3F0. This formula explains why CS:IP always points to strange memory locations (a legacy black magic of old programmers). 2. Core Command Anatomy Command Prototype: -a [address]Parameter Description: If address is not filled, … Read more

Understanding Scanf and Printf in C Language

Understanding Scanf and Printf in C Language

The scanf() and printf() functions are a nightmare for many beginners in C language. Especially scanf(), which involves the concept of variable addresses. If you forget to write the address operator &, the program often exits abnormally. Why is this? If you compile and execute the above program and input 2, 3, 4, the program … Read more

ULINK2 Emulator Installation and Project Setup

ULINK2 Emulator Installation and Project Setup

1. ULINK2 Emulator ULINK2 is the latest emulator from ARM designed for use with RealView MDK. It is an upgraded version of the ULINK emulator. ULINK2 not only has all the features of the ULINK emulator but also adds support for Serial Wire Debug (SWD), return clock support, and real-time agents. Development engineers can easily … Read more

How Engineers Can Excel in RTL Design

How Engineers Can Excel in RTL Design

RTL is an essential part of IC system design. How important is RTL design? Essentially, the logical functions of IC systems are implemented in RTL, so many IC projects are closely tied to RTL design. Today, let’s discuss how to excel in RTL design. Generally, once the preparatory work and product requirements are determined, engineers … Read more