Don’t Overlook the C Language Standards in Embedded Programming!

Don't Overlook the C Language Standards in Embedded Programming!

Recently, during a code review, I noticed that many colleagues’ coding practices were teetering on the edge of risk, with one of the most glaring issues being the arbitrary placement of local variable definitions. For seasoned C programmers, most have developed the habit of “defining variables at the beginning of a statement block”. I vaguely … Read more

How to Use Complex Pointers in Embedded Programming

How to Use Complex Pointers in Embedded Programming

1. Introduction In C programming, pointers are one of the most error-prone areas, especially when multiple pointers are involved, which can be quite confusing. This article analyzes the commonly used complex pointers in embedded systems to clarify the common pitfalls in using pointers in C language. 2. Function Pointers and Pointer Functions In C language, … Read more

What Can QEMU Do in Embedded Programming?

What Can QEMU Do in Embedded Programming?

What Can QEMU Do in Embedded Programming? 1. Introduction 2. Bare-metal or RTOS Programming in Embedded Systems 3. Research on Network Programming Using QEMU 4. Embedded Graphics Development 5. Development of Embedded Linux 6. Conclusion 1. Introduction In the process of embedded development, a lot of time is spent interacting with hardware devices, controlling their … Read more

Embedded Programming (25) – Differences in C Language Data Types Between STM32 and C51

Embedded Programming (25) - Differences in C Language Data Types Between STM32 and C51

Lifetime Technical Support:186 3636 9649 Author Introduction: Fan Shengmin (186 3636 9649), Member of the Science Writers Association of Yuncheng City, Member of the Science Writers Association of Shanxi Province. Author of maker education. Published “Playing with Electronics” in 2016、“Super Fun Electronics Production” in 2017、”Electrical Experiments in Life” in 2018,“Arduino Programming and Hardware Implementation” in … Read more

Modular Programming for Embedded Systems: Creating a Key Handling Module!

Modular Programming for Embedded Systems: Creating a Key Handling Module!

I am Lao Wen, an embedded engineer who loves learning.Follow me to become even better together! 1. Introduction to key_board The key_board is designed for compact and multifunctional key support in microcontrollers. The software adopts a layered approach and is platform-independent. Users only need to provide basic information about the keys and functions to read/write … Read more

How to Prevent Variable Changes Due to Interrupts in Microcontroller Programming

How to Prevent Variable Changes Due to Interrupts in Microcontroller Programming

Introduction In embedded development, have you ever encountered a scenario where the value of a global variable suddenly changes? The interrupt service routine has modified it, yet the main program continues to read the old value. Even more frustrating, these issues are often difficult to reproduce, making debugging feel like “catching ghosts.” The root cause … Read more

Goodbye 996! Essential Tips to Boost Efficiency in Microcontroller and PLC Programming

Goodbye 996! Essential Tips to Boost Efficiency in Microcontroller and PLC Programming

Hello everyone! Today, let’s talk about some essential tips in microcontroller and PLC programming that can help you boost your efficiency, allowing you to say goodbye to the 996 work culture and easily tackle your programming tasks! 1. Efficiency Improvement Techniques for Microcontrollers (1) Bit Manipulation: Programming Techniques to Make Microcontrollers Run Faster Basic Concept … Read more

Is C Language Only Applicable to Microcontroller Programming?

Is C Language Only Applicable to Microcontroller Programming?

Many students who are new to microcontrollers often ask me:“Teacher, is C language only used to light up LEDs and control motors? Does learning it mean I can only do microcontroller development? Isn’t that too limiting?”In fact, C language is not such a “limited” language; it has already permeated every aspect of our digital lives. … Read more

Department Showcase | School of Software

Department Showcase | School of Software

School of Software The School of Software was established in 2004, with over 3,800 enrolled students. It currently offers five undergraduate programs: Computer Science and Technology, Software Engineering, Network Engineering, Information Management and Information Systems, and Big Data Management and Applications. The Computer Science and Technology program is recognized as a demonstration program for applied … Read more

FreeMaster – A Powerful Debugging Tool for MCUs

FreeMaster - A Powerful Debugging Tool for MCUs

What is FreeMaster FreeMaster is a data visualization debugging software developed by NXP, provided free of charge to users. Its main function is to provide a data visualization interface on a PC, displaying data variables from the MCU through communication interfaces such as SWD, UART, and CAN. When using the J-Link debugging tool for connection, … Read more