Should Global Variables Be Recommended in Embedded Software?

Should Global Variables Be Recommended in Embedded Software?

Scan to FollowLearn Embedded Together, learn and grow together When it comes to global variables, the most common discussion is about reducing their usage or the various drawbacks associated with them. Today, we will discuss a different perspective. For embedded software, the use of global variables has many advantages. This article will explore the advantages … Read more

Essential Guide for Engineers: Comprehensive Tools for Embedded Hardware Development

Essential Guide for Engineers: Comprehensive Tools for Embedded Hardware Development

Choosing the right toolchain is crucial for embedded hardware development. This article organizes core tools by learning stages to help you advance efficiently. 1. Beginner Stage: Laying the Foundation Goal: Master schematic design, basic programming, and debugging Recommended Tools: Altium Designer (Circuit Design) Features: Chinese interface, supports 3D view, built-in component library. Applicable Scenarios: Peripheral … Read more

C Language ‘Fast Charging’ Techniques: Inline Functions

C Language 'Fast Charging' Techniques: Inline Functions

Scan to follow Chip Dynamics , say goodbye to “chip” congestion! Search WeChatChip Dynamics Hello everyone! Today we will talk about a small technique in C language that is both efficient and easy to “misfire”—the Inline Function! Have you ever encountered a situation where you wrote a super simple function, but the overhead of calling … Read more

Practical Insights on C Language: Understanding Addresses and Pointers

Practical Insights on C Language: Understanding Addresses and Pointers

Scan the code to follow Chip Dynamics and say goodbye to “chip” congestion! Search WeChatChip Dynamics Dear C language enthusiasts, have you ever been confused? Your teacher says, “Pointers are the soul of C language,” but when you stare at the line of code int* p = &a;, it feels like reading a foreign language—what … Read more

Common Printing Output Methods and Their Differences in Microcontroller Development

Common Printing Output Methods and Their Differences in Microcontroller Development

Follow+Star Public Account Number, don’t miss out on exciting content Author | strongerHuang WeChat Public Account | Embedded Column In microcontroller (MCU) development, printing output is quite common and important. Today, I will share with you the common printing output methods and their differences. 1Introduction In MCU projects, printf is mainly used to print debugging … Read more

A Comprehensive Guide to Setting Up the IMX6ULL Bare-Metal Development Environment and Jlink Simulation Configuration

A Comprehensive Guide to Setting Up the IMX6ULL Bare-Metal Development Environment and Jlink Simulation Configuration

1. Introduction This article shares the setup of the bare-metal development environment for the IMX6ULL. 2. Install SDK Download from https://www.nxp.com.cn/products/i.MX6ULL. SDK2.2_iMX6ULL_WIN, you need to log in first. Open SDK_2.2_MCIM6ULL_RFP_Win.exe, and follow the installation prompts. The content after installation is as follows: 3. Install IAR Use IAR7.8 version. Higher versions may not be compatible with … Read more

The Debugging Savior for STM32! Lost 80,000 Due to Chip Damage? J-Link Breakpoints + CubeMonitor Real-Time Tracking, Locating Bugs 10 Times Faster!

The Debugging Savior for STM32! Lost 80,000 Due to Chip Damage? J-Link Breakpoints + CubeMonitor Real-Time Tracking, Locating Bugs 10 Times Faster!

Project Background: A “Random Crash” Bug Caused the Loss of Over 200 Chips, Exceeding 80,000 At that time, we were developing a motor control board based on STM32F407. After mass production and programming, we found that: Some boards were unresponsive after startup Some crashed after running for a while without restarting or output Some got … Read more

Struggling with Microcontroller Development? When is the Toughest Time to Learn Microcontrollers?

Struggling with Microcontroller Development? When is the Toughest Time to Learn Microcontrollers?

1. Introduction to Microcontrollers: The Fog and Breakthrough of C Language Entering the world of microcontrollers, many students first face the steep learning curve of the C language. Opening Keil, the screen filled with if, else, for, while statements feels like a secret code, and long variable names like GPIO_InitTypeDef and Delay_ms can be daunting. … Read more

Embedded Sharing #22: Debugging Ideas for Embedded Peripherals – MIPI CSI Debugging

Embedded Sharing #22: Debugging Ideas for Embedded Peripherals - MIPI CSI Debugging

Cover ImageThe Chengdu Contemporary Art Museum opened to the public last year, featuring a wide eaves roof that resembles traditional Sichuan residences and the surrounding mountains, and can also be used for outdoor activities. Debugging Ideas Taking the RK3588 debugging of the OV13850 camera as an example. Step 1: Confirm the Power-Up Timing of the … Read more

GDB Debugging Techniques: Multithreading Case Analysis (Beginner’s Guide)

GDB Debugging Techniques: Multithreading Case Analysis (Beginner's Guide)

In the complex world of software development, efficient debugging tools are key instruments for problem-solving. Today, we will delve into the powerful debugging tool — GDB (GNU Debugger). GDB provides developers with an effective way to explore the internal workings of programs, find errors, and optimize performance. Let us embark on a debugging journey with … Read more