Relocating Vector Table in Cortex-M Architecture MCU

Relocating Vector Table in Cortex-M Architecture MCU

The Cortex-M architecture uses a vector table lookup mechanism. When an exception occurs, the core automatically looks up the entry address of the handler from the vector table. The vector table is essentially an array of WORDs (32-bit integers), where each index corresponds to a specific exception, and the value of that index is the … Read more

Understanding Linker Files in Embedded Development

Understanding Linker Files in Embedded Development

Hello everyone, I am Pi Zi Heng, a serious tech enthusiast. Today, I will discuss linker files in embedded development. In the previous lesson “Source Files (.c/.h/.s)”, I systematically introduced source files, which are typical input files in embedded projects. But are there other types of input files? Since I asked this question, the answer … Read more