Building RTOS: A Beginner’s Guide to Embedded OS Development

Building RTOS: A Beginner's Guide to Embedded OS Development

This article will take you through the core concepts of Real-Time Operating Systems (RTOS) in a straightforward manner, gradually guiding you to create a small yet fully functional RTOS. We will cover the basic components of RTOS, task scheduling, portability, and task synchronization mechanisms. 1. Basic Components of RTOS A minimal RTOS typically includes the … Read more

Configuring Interrupt Priority for TAE32G5800

Configuring Interrupt Priority for TAE32G5800

01 Application Function Introduction 1.1 • What is an Interrupt An interrupt is a mechanism that temporarily halts the CPU’s normal execution of the main program to handle urgent tasks, after which it returns to the previously paused program, as illustrated below. Figure 1.1 Interrupt Diagram In digital power and motor control systems, the significance … Read more

A Lightweight Message Transport Protocol – MQTT

A Lightweight Message Transport Protocol - MQTT

Recently, I used MQTT in my project and found it to be an excellent protocol, so I would like to share some related knowledge in hopes of helping everyone. 1 What is MQTT? MQTT is a lightweight message transport protocol used for communication between IoT devices and applications. Originally developed by IBM, it has now … Read more

mqtt_cpp: A Powerful C++ Library

mqtt_cpp: A Powerful C++ Library

mqtt_cpp is a powerful C++ library for implementing client functionality of the MQTT (Message Queuing Telemetry Transport) protocol. It supports MQTT 3.1 and MQTT 5.0 protocols, designed with a focus on efficiency, scalability, and ease of use, making it suitable for developing Internet of Things (IoT) applications, embedded systems, or other systems requiring message-pushing capabilities. … Read more

Understanding the JTAG Protocol for ECU Debugging

Understanding the JTAG Protocol for ECU Debugging

In the ECU software development process, software debugging or testing often involves the JTAG interface, which is used through the JTAG protocol with emulators/debuggers such as JLink, ST-LINK, and Lauterbach for online debugging of software programs. Although many use it daily, not everyone is familiar with it. Therefore, this article intends to provide a brief … Read more

Debugging Protocol SWD as a Replacement for JTAG on ARM Architecture

Debugging Protocol SWD as a Replacement for JTAG on ARM Architecture

For embedded developers and hardware hackers, JTAG is the standard for debugging and accessing microprocessor registers. This protocol has been in use for many years and is still used today. The JTAG debugging interface requires VCC, GND power signals, and four debugging signals: TMS, TCK, TDI, and TDO. Additionally, TRST and RESET reset signals and … Read more

Introduction to JTAG Interface in Embedded C Development

Introduction to JTAG Interface in Embedded C Development

1. Definition: – JTAG (Joint Test Action Group) is a standard for testing and debugging integrated circuits, widely used in embedded systems development. 2. Purpose: – To debug, test, and program embedded systems, allowing developers to inspect and manipulate the internal state of the processor. 3. Components: – The Test Access Port (TAP) controller manages … Read more

Comparison of Embedded Debug Interfaces JTAG and SWD

Comparison of Embedded Debug Interfaces JTAG and SWD

Developing and debugging embedded systems is a complex task that requires powerful tools and interfaces to ensure the correctness of hardware and software. In this field, JTAG (Joint Test Action Group) and SWD (Serial Wire Debug) are two commonly used debugging interface standards that play a crucial role in embedded system development. This article will … Read more

Everything You Need to Know About JTAG

Everything You Need to Know About JTAG

01 Introduction to JTAG JTAG (Joint Test Action Group) is an interface established by a group called the JTAG group, founded in 1985. In 1990, IEEE deemed everything appropriate and released IEEE Standard 1149.1-1990, named the Standard Test Access Port and Boundary-Scan Architecture, which is the renowned JTAG. Do you know the three main functions … Read more

Developing an Embedded Database System with C++

Developing an Embedded Database System with C++

The “Data Heart” of Embedded Systems In today’s digital wave, embedded systems are like ubiquitous “behind-the-scenes heroes,” deeply integrated into our lives. From the thoughtful control of smart homes to the precise operation of industrial automation, and the life-saving capabilities of medical devices, embedded systems play a crucial role. Among them, embedded database systems act … Read more