Exploring the Secrets of Arduino Serial Communication

Exploring the Secrets of Arduino Serial Communication

Basic Principles of Arduino Serial Communication Communication Methods and Implementation Serial communication is a method of transmitting data in a bit-wise order. In Arduino, serial communication is mainly achieved through UART (Universal Asynchronous Receiver-Transmitter). UART utilizes two pins, TX (transmit) and RX (receive), to complete the data sending and receiving tasks. Data is transmitted in … Read more

Understanding Map Files in Cortex-M Development

Understanding Map Files in Cortex-M Development

Hello everyone, I am Pi Zi Heng, a serious techie. Today, I will talk to you about map files in embedded development. In the fourth lesson, I introduced the first type of output file – relocatable files. This article continues to discuss the second type of output file generated by the project – map files. … Read more

Powerful Debugging and Tracing CoreSight Technology for Cortex-M

Powerful Debugging and Tracing CoreSight Technology for Cortex-M

Follow+Star Public Account, don’t miss out on exciting content Compilation | strongerHuang WeChat Public Account | Embedded Column Today, many Cortex-M processors can be debugged so conveniently thanks to the CoreSight technology based on Arm Cortex-M processor devices, which introduces powerful new debugging and tracing features. Let’s focus on the debugging and tracing aspects of … Read more

Five Tips to Accelerate Cortex-M MCU Debugging

Five Tips to Accelerate Cortex-M MCU Debugging

Introduction Debugging embedded software is one of my least favorite activities, but unfortunately, it is necessary. Fortunately, advancements in technology and toolchains have generated a wealth of new techniques that significantly accelerate the debugging process. Let’s take a look at some of these methods, from traditional breakpoint debugging to more advanced instrumentation tracing techniques. Tip … Read more

How to Analyze Cortex-M Exceptions Using Ozone

How to Analyze Cortex-M Exceptions Using Ozone

Ozone helps users quickly analyze and locate software bugs that cause CPU failures. This article explains how to use Ozone’s debugging features to gain insights into these errors on the Cortex-M architecture. Fault Analysis Process We will first demonstrate Ozone’s fault analysis workflow based on a sample application. The sample application can generate different types … Read more

Debugging Firmware Logs on Raspberry Pi 4 via Serial Port

Debugging Firmware Logs on Raspberry Pi 4 via Serial Port

Third Season Running Flagship Video Course: ARM64 Architecture and Programming Launched on October 1, 2020Led by Ben, with hands-on practice and numerous experiments waiting for you! Firmware on Raspberry Pi 4 Those who have played with Raspberry Pi know that there are several firmware files that need to be copied to the MicroSD card. These … Read more

Easy Method for Logging in Embedded Systems

Easy Method for Logging in Embedded Systems

Follow+Star Public Account, don’t miss exciting content Source | My Last Name is Liang Many scenarios require logging. In embedded systems, especially in environments with limited storage resources like microcontrollers, a lightweight storage method is necessary. System Log In embedded device applications, system logs can often monitor the running status of device software, timely record … Read more

OpenOCD: A Powerful Tool for Embedded System Development

OpenOCD: A Powerful Tool for Embedded System Development

OpenOCD (Open On-Chip Debugger) is a powerful open-source tool for on-chip programming and debugging of embedded systems. It supports various hardware platforms and target chips, providing rich features that greatly simplify the embedded development process. This article will delve into OpenOCD, covering its core functionalities, usage methods, and application scenarios. Powerful Features and Flexible Architecture … Read more

Arduino UNO Serial Communication Guide

Arduino UNO Serial Communication Guide

Arduino Uno provides serial communication functionality, allowing it to exchange data with a computer or other microcontrollers. Serial communication is a very common feature in Arduino projects, often used for debugging, data transfer, and interaction with other devices. Below is a detailed introduction on how to use the serial communication feature of Arduino Uno. 1. … Read more