All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Implementing J-Link RTT for ARM Microcontroller Debugging

By

kristianp

8mo ago· 6 min readen

Summary

This article explains how to implement J-Link RTT (Real-Time Transfer) for bidirectional logging over SWD on ARM microcontrollers, providing a practical alternative to traditional debugging methods like printf debugging or pin toggling. The author demonstrates how to use semihosting on any ARM CPU with minimal code, making advanced debugging accessible even on inexpensive microcontrollers.

Key quotes

· 4 pulled
You can use semihosting on any ARM CPU to send and receive data in a few lines of code.
In 99% of cases however, most people resort to either firing up a debugger or logging to a console (aka. printf debugging).
The first thing I do whenever I start working with a new microcontroller platform...
How to do bidirectional logging over SWD on ARM.
Snippet from the RSS feed
How to do bidirectional logging over SWD on ARM.

You might also wanna read