Show Plugin Info

Name

SEGGER RTT

Version

1.1

Description

A plugin to use SEGGER's Real Time Terminal (RTT). RTT is a technology for interactive user I/O in embedded applications.

Details

This plugin adds support for reading the SEGGER RTT block on an embedded device using a J-Link debugger.

RTT

What is RTT? RTT is a technology that was made by SEGGER that lets you add stdio like functionally to your embedded device. You can do things like printf() and getchar() and the J-Link debugger will be able to read the printf() bytes onto a PC, and write bytes from the PC.

It's like a virtual uart but uses circular memory blocks instead. The debugger then reads / writes these memory blocks in the background.

The standard J-Link tools include a JLinkRTTViewer program that will provide a basic console. This plugin lets you use WhippyTerm to use these memory blocks reading/writing them as you would a serial port.

Usage

To you this plugin you must first install the J-Link tools. After you have installed them you download this plugin and install it in WhippyTerm (MainMenu->Plugins->Install Plugin...). You can then use it like any other connection (MainMenu->New Tab...). WhippyTerm will find any connected J-Link's (for the USB version) or any J-Link's on the local IPv4 subnet your computer is on (for the IP version).

Troubleshooting

There are a number of things that have work to use the RTT. I will only give some tips for using this plugin not getting the debugger and embedded firmware working. I suggest if you are having problem to try the JLinkRTTViewer working first.

The plugin does need the J-Link dll (.so for Linux) to talk to the debugger.

The plugin looks in the following places for it (you also need any supporting dll's in the same directory):

Linux

The Linux version looks for the "/opt/SEGGER/JLink/libjlinkarm.so" file and tries loading it in.

Windows

The Windows version has to search for the dll because different versions of the tools install in different paths.

It does this by searching all the directorys in the "Program Files\SEGGER" directory (well whatever path Windows says in the Program Files directory) for the "JLink_x64.dll file.

If it finds more than one it will look at their timestamp and pick the newest.

Remember

After you have selected the debugger (they are listed by serial number) you must select the target type (the kind of microcontroller you are using) and the Interface type to talk to the device with.



Download...