Exploring the Powerful Features of GDB

Exploring the Powerful Features of GDB

Follow+Star Public Account, don’t miss the wonderful content Source | Zhihu Wei Yixiao Embedded development cannot be separated from debugging tools, and there are many debugging tools on the market, but in terms of compatibility and versatility, GDB absolutely holds a leading advantage. Today, let’s talk about this powerful GDB tool. Naked Running State: The … Read more

GDB Debugger Made Simple: A Step-by-Step Guide

GDB Debugger Made Simple: A Step-by-Step Guide

Introduction to GDB GDB (GNU Debugger) is a powerful command-line debugging tool. Generally, when developing on Windows, command-line debugging is rarely used, as debuggers are mostly integrated with compilers in IDEs. Of course, you can also directly use gcc and gdb to compile and debug our C programs on Windows. For example, MinGW (a collection … Read more

GDB Usage Summary

GDB Usage Summary

From WeChat Official Account: Embedded and Linux Matters Starting To start gdb, simply type the gdb command in the shell. After starting, it will display the following information and show the gdb prompt. ➜ example gdb GNU gdb (Ubuntu 8.1.1-0ubuntu1) 8.1.1 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or … Read more

Commonly Used GDB Commands Overview

Commonly Used GDB Commands Overview

This article is compiled from “Debugging with GDB: the GNU Source-Level Debugger for GDB (GDB)” — Fsf Article Navigation ◈ Table of Contents00% ◈ break11% ◈ info breakpoints18% ◈ disable20% ◈ enable22% ◈ clear26% ◈ delete30% ◈ tbreak32% ◈ watch33% ◈ step36% ◈ reverse-step40% ◈ next42% ◈ reverse-next44% ◈ return46% ◈ finish48% ◈ until50% ◈ … Read more

How to Call Functions from GDB

How to Call Functions from GDB

(Click the public account above, follow quickly) Compiled by: Linux China / Lv Feng, English: Julia Evans https://linux.cn/article-9588-1.html This week, I discovered that I could call C functions from gdb. This seemed cool because I previously thought that gdb was just a read-only debugging tool at best. I was surprised that gdb could call functions. … Read more

APM32F411 New Product Trial and Original Post Collection

APM32F411 New Product Trial and Original Post Collection

Jihai APM32 MCU Forum: https://bbs.21ic.com/iclist-1112-1.html *Reading Instructions: The following application cases are briefly introduced, with no specific ranking. For detailed evaluation content and related source code, please copy the original link and open it in your browser. Stack Backtrace Method for Automatic Analysis and Location of APM32 Hardfault Errors https://bbs.21ic.com/icview-3331074-1-1.html Using the stack backtrace method … Read more

Comparison and Differences Between FatFS and LittleFS

Comparison and Differences Between FatFS and LittleFS

Follow,Star Public Account Number, don’t miss wonderful content Source: Internet Editor: strongerHuang For many IoT devices, having a small and flexible file system is crucial. There are not many file systems that run on MCUs, and most people should know about the FatFS file system. Today, I will talk about the content of FatFS and … Read more

Become an Embedded Expert with These 100+ Open Source Projects!

Become an Embedded Expert with These 100+ Open Source Projects!

In the early stages of learning, the hardest part is finding learning materials, so today I recommend a repository that summarizes embedded open source projects. This article carefully compiles some embedded-related resources, including but not limited to programming languages, microcontrollers, open source projects, Internet of Things, operating systems, Linux and more. These materials are continuously … Read more

How to Choose an IoT Operating System?

How to Choose an IoT Operating System?

The Internet of Things (IoT) can be roughly divided into four layers: the perception layer, network layer, device management layer, and application layer. Among these, the **perception layer** most vividly reflects the characteristics of IoT. The perception layer consists of various sensors, protocol conversion gateways, communication gateways, and smart terminals. Most of these terminals are … Read more