Tagged articles
3 articles
Page 1 of 1
Liangxu Linux
Liangxu Linux
Nov 4, 2025 · Fundamentals

How to Enable and Use Cortex‑M DWT CYCCNT for Precise Cycle Counting

This guide explains the DWT tracing component in Cortex‑M processors, details the CYCCNT register’s precision and limits, and provides step‑by‑step instructions with register definitions and multiple code examples for enabling, resetting, starting, stopping, and reading the cycle counter.

CYCCNTCortex-MDWT
0 likes · 7 min read
How to Enable and Use Cortex‑M DWT CYCCNT for Precise Cycle Counting
Liangxu Linux
Liangxu Linux
Oct 28, 2025 · Fundamentals

8 Must‑Know Embedded Interview Questions and How to Ace Them

This article presents eight high‑frequency embedded‑system interview questions, explains the underlying concepts such as boot process, interrupt handling, stack overflow detection, struct alignment, bit‑banding, dynamic memory risks, volatile usage, and provides concise C code examples and best‑practice answers to help candidates succeed in technical interviews.

CCortex-MInterrupts
0 likes · 8 min read
8 Must‑Know Embedded Interview Questions and How to Ace Them
Liangxu Linux
Liangxu Linux
May 7, 2025 · Fundamentals

Why Embedded Development Feels Hard and How to Fix Common Bugs

This article explains why many consider embedded development difficult, then walks through systematic steps for reproducing, locating, analyzing, and resolving typical embedded bugs—including logging, online debugging, version rollback, binary commenting, register snapshots, and regression testing—to help engineers troubleshoot effectively.

Cortex-MDebuggingfirmware
0 likes · 12 min read
Why Embedded Development Feels Hard and How to Fix Common Bugs