Introduction to Bare-Metal Programming with STM32

Introduction to Bare-Metal Programming with STM32

This series will introduce the basic knowledge of bare-metal programming with STM32 to better understand how frameworks and IDEs like STM32Cube and Keil work. This guide starts completely from scratch, requiring only a compiler and the chip’s datasheet, without relying on any other software tools or frameworks. This series covers the following topics: Memory and … Read more

Unexpected Reasons for JLINK Programming Failure

Unexpected Reasons for JLINK Programming Failure

When we write programs, we usually use JLINK to complete the operation. It must be said that JLINK is one of the most important tools in the embedded microcontroller industry. However, we sometimes encounter situations where programming fails. Not long ago, I faced a situation where programming could not be completed. The specific situation is … Read more

Jlink Virtual Serial Port Usage Tips

Jlink Virtual Serial Port Usage Tips

USB to Serial is a small tool often used for debugging microcontroller programs. The Jlink version V9 and above provides a virtual serial port function, which can be used for serial transmission and reception testing. The interface is defined as follows: pin 5 is Jlink-TX, and pin 17 is Jlink-RX. It is important to note … Read more

Understanding ARM Debug Interface: SWD

Understanding ARM Debug Interface: SWD

0. Introduction The documentation from ARM is already very good, but it still lacks clarity on what to do immediately after powering on, which caused me some trouble during my first use. Today, I will provide a detailed overview to help more friends. By the way, the ARM_Cortex-M0/3 DesignStart series will continue to be updated, … Read more

Understanding STM32 Debugging Techniques

Understanding STM32 Debugging Techniques

When learning STM32 development, the debugging step is essential。This article will guide you through the knowledge related to debugging. This article takes STM32F1 and Cortex-M3 as examples; the principles are the same or similar for other series chips or cores. 1Overview In STM32, there are many debugging components. Using them, various debugging functions can be … Read more

Essential Knowledge for Debugging STM32

Essential Knowledge for Debugging STM32

Learning STM32 development inevitably involves the step of debugging. This article will help you understand the knowledge related to debugging. This article takes STM32F1 and Cortex-M3 as examples; the principles are the same or similar for other series of chips or cores. 1Overview In STM32, there are many debugging components. Using them allows for various … Read more

Basic Concepts of ARM: 21 Common Terms

Basic Concepts of ARM: 21 Common Terms

1. Explanation of Some Common English Abbreviations in ARM MSB: Most Significant Bit; LSB: Least Significant Bit; AHB: Advanced High-performance Bus; VPB: VLSI Peripheral Bus connecting on-chip and off-chip peripherals; EMC: External Memory Controller; MAM: Memory Accelerator Module; VIC: Vector Interrupt Controller; SPI: Serial Peripheral Interface; CAN: Controller Area Network, a serial communication protocol; PWM: … Read more

Get Started with Cortext-M85 Microcontroller UART in One Minute

Get Started with Cortext-M85 Microcontroller UART in One Minute

Follow+Star Public Account Number, don’t miss out on exciting content Author | strongerHuang WeChat Official Account | strongerHuang The UART is one of the most common communication methods, and it is also the most common communication interface for microcontroller debugging. It is an essential communication interface for modern microcontrollers, including the latest and most powerful … Read more

Setting Up a Debugging Environment for ThreadX RTOS

Setting Up a Debugging Environment for ThreadX RTOS

Setting up a software debugging environment for Cortex-M3 based on QEMU in VSCode.1. Obtain the ThreadX source code https://github.com/eclipse-threadx/threadx 2. Install the compiler and QEMU emulator in WSL sudo apt update sudo apt install gcc-arm-none-eabi binutils-arm-none-eabi gdb-multiarch sudo apt install qemu qemu-system-arm 3. Compilethe ports/cortex_m3/gnu exampleWrite shell build scripts b0.sh and b1.sh for the WSL … Read more

RA MCU Testing Guide | Unboxing and Serial Output Implementation of the RA2L1 Development Board

RA MCU Testing Guide | Unboxing and Serial Output Implementation of the RA2L1 Development Board

#RA MCU Testing Guide A new topic has arrived! After saying goodbye to the PWM waveform rhythm, this time we will focus on the indispensable “information bridge” – #Serial Communication. The Renesas Embedded Encyclopedia will guide everyone to explore the configuration and data transmission of serial communication step by step based on the RA-Eco-RA2L1 development … Read more