Dobby Source Code Reading: Instruction-Level Tool

Dobby Source Code Reading: Instruction-Level Tool

This article is an excellent piece from the KX forum. KX Forum Author ID: KerryS Dobby has two main functions: one is inline hooking, and the other is instruction instrumentation. The principles of both are similar, but this article mainly introduces instruction instrumentation. Instruction instrumentation refers to inserting instrumentation into any instruction (either at the … Read more

Simple Use of GCC to Compile C Files in Keil Projects

Simple Use of GCC to Compile C Files in Keil Projects

It must be said that Keil seems to be the most widely used IDE among domestic users. After being acquired by ARM, the introduction of the Keil MDK development environment with ARMCC and other compilers has been well received by many ARM development engineers. The large user base (many of whom have transitioned from the … Read more

Detailed Explanation of Keil MDK Compiler Warnings and Errors

Detailed Explanation of Keil MDK Compiler Warnings and Errors

After working with microcontrollers, I transitioned to ARM and initially used the ADS 1.2 compiler. I used it for a while because the old program of the project I took over was compiled with ADS, and most of the department was using it. When learning about microcontrollers, I used the Keil C51 compiler, and the … Read more

Analysis of ARM Assembly and C/C++ Interoperability

Analysis of ARM Assembly and C/C++ Interoperability

Interoperability Between C Language and ARM Assembly Language 1. Accessing C Language Global Variables from Assembly Global variables can only be accessed indirectly through their addresses. To access global variables in C, you must first introduce the global variable using the extern directive, and then load its address into a register. For unsigned char type, … Read more

Research on Smart Home Systems Based on ZigBee and PLC Technologies

Research on Smart Home Systems Based on ZigBee and PLC Technologies

Abstract: Considering the characteristics and requirements of smart homes, this study adopts a combination of wireless ZigBee sensor networks and power line communication technology. This approach not only realizes the low power consumption, low cost, and flexible networking capabilities of ZigBee, but also utilizes existing household power lines as communication channels through power line carrier … Read more

Clarifying Misunderstandings About RISC-V

Clarifying Misunderstandings About RISC-V

RISC-V is an instruction set architecture (ISA) for microprocessors, and people’s opinions about it are polarized. This is especially true given the apparent competition between the ARM and RISC-V camps. This makes sense. RISC-V and ARM represent fundamentally different philosophies on how to design RISC chips. RISC-V has a long-term view that emphasizes simplicity, avoiding … Read more

Understanding On-Chip Bus Protocols: A Deep Dive into APB

Understanding On-Chip Bus Protocols: A Deep Dive into APB

Previously, we discussed the on-chip interconnect bus, but having just the bus is not enough; we also need on-chip bus protocol support. Only with the protocol can we operate the registers accurately. When it comes to on-chip bus protocols, there are many, such as the AMBA bus used by ARM, the Wishbone bus by Silicore, … Read more

Summary of Common Interfaces for ARM Microcontrollers

Summary of Common Interfaces for ARM Microcontrollers

1 I2C Bus The programming related to I2C mainly involves two situations: ARM chips with dedicated controllers and microcontroller chips without controllers. For ARM chips with controllers, operations are performed based on the data manual by setting the corresponding registers (control registers, status registers, etc.); however, for microcontroller chips without controllers, I2C protocol needs to … Read more

Performance Improvements in Next-Gen Mobile Phones from Arm’s TCS23 Design

Performance Improvements in Next-Gen Mobile Phones from Arm's TCS23 Design

Recently, Arm officially released the TCS23 (Total Compute Solutions 23) platform along with corresponding IP products, including the Cortex-X4, A720, A520 CPUs based on the Armv9 architecture, and the latest Immortalis-G720, which is a new IP based on Arm’s fifth-generation GPU microarchitecture, along with an updated DSU. Undoubtedly, these IPs will be the focus of … Read more