Discussing the Complexity of Embedded Programming

Discussing the Complexity of Embedded Programming

The first step is to look at embedded issues from the perspective of PC programming; the second step is to learn to use embedded programming concepts; the third step is to combine PC and embedded thinking and apply it to actual projects. Many friends transition from PC programming to embedded programming. In China, few embedded … Read more

Initial Configuration Sequence of STM32CubeMx and DMA Transfer Issues

Initial Configuration Sequence of STM32CubeMx and DMA Transfer Issues

Many STM32 developers often configure and generate initialization code based on the HAL library using STM32CubeMx. When it comes to DMA functionality, they find that it is ineffective, but cannot seem to identify the cause from the configuration operations and the code itself. This situation can often be quite frustrating. For example, someone reported that … Read more

Renesas RA6M3 Development Practice Guide – UART Practice

Renesas RA6M3 Development Practice Guide - UART Practice

RT-Thread is about to release a series of practical guides for RA6M3 peripheral drivers. We will use the Renesas RA6M3 HMI-Board development board to guide everyone in getting started with RT-Thread device drivers. 【Hardware Introduction】 1. Development Board Description The HMI-Board is a cost-effective graphical evaluation kit jointly launched by RT-Thread and Renesas. Compared to … Read more

In-Depth Explanation of STM32 Serial Communication Principles

In-Depth Explanation of STM32 Serial Communication Principles

Ways of Communication Between Devices Generally, the communication methods between devices can be divided into parallel communication and serial communication. The differences between parallel and serial communication are shown in the table below. Classification of Serial Communication 1. According to the direction of data transmission, it can be divided into: Simplex: Data transmission only supports … Read more

Redirecting printf() Function to UART in MDK5

Redirecting printf() Function to UART in MDK5

Introduction In embedded development, redirecting printf to the UART serial port is an important means of debugging and logging output. In the Keil environment, the printf function does not directly support UART output for STM32. This article will introduce how to redirect stdout (standard output) to the serial port in the Keil MCU environment, allowing … Read more

Debugging RK3399 Processor and Linux Kernel with CodeViser (Part 1)

Debugging RK3399 Processor and Linux Kernel with CodeViser (Part 1)

Friendly Reminder: This article is lengthy, the reading time is about 10 minutes. CodeViser is a JTAG emulator developed by J&D Tech, supporting CPUs like ARM and RISC-V. The accompanying CVD debugging software provides an efficient and stable debugging environment, supporting source-level debugging and powerful script commands. This article discusses the process of using CodeViser … Read more

Discussion on Various Debug Interfaces (JTAG, SWD, RDI, Jlink, Ulink, STlink)

Discussion on Various Debug Interfaces (JTAG, SWD, RDI, Jlink, Ulink, STlink)

1. JTAG Protocol JTAG (Joint Test Action Group) is an international standard testing protocol (IEEE 1149.1 compliant) primarily used for internal chip testing. Most advanced devices today support the JTAG protocol, such as ARM, DSP, and FPGA devices. The standard JTAG interface consists of 4 lines: TMS, TCK, TDI, and TDO, which are mode select, … Read more

Differences Between JTAG, SWD, JLINK, ST-LINK, and ULINK

Differences Between JTAG, SWD, JLINK, ST-LINK, and ULINK

What is a download debugger? In simple terms, a download debugger is a device that converts commands sent from a PC (for example, via USB protocol) into a language that the MCU (which manages the MCU’s internal peripherals) can understand (such as SWD or JTAG protocol), loads code, and precisely controls execution.What is a standard? … Read more

Renesas RA0E1 Development Board Review | ThreadX RTOS Serial Echo Test

Renesas RA0E1 Development Board Review | ThreadX RTOS Serial Echo Test

Renesas RA0E1 Development Board Review | Renesas RA0 Development Board Evaluation Report SPI-OLED First, I would like to thank Jialichuang for providing the Renesas development board evaluation activity. RA0E1 Block Diagram RA0E1 Features 32MHz Arm Cortex-M23 core Up to 64KB Flash and 12KB SRAM 1KB Data Flash (100,000 P/E cycles) 16-pin and 32-pin package options … Read more