Displaying Messages Output From The User Program On Debugger; What Is Semihosting Feature; What Is Terminal Window - Fujitsu SOFTUNE User Manual

Fr family softune workbench
Table of Contents

Advertisement

2.4.10
Displaying Messages Output from the User Program on
Debugger
This section explains semihosting features.

■ What is Semihosting Feature

This is a function to display the messages output from the user program on debugger window. This can be
used only for products whose semihosting function is enabled. For details of availability of semihosting
function, refer to "OCD" in the hardware manual of the product you are using.
As shown in Figure 2.4-16 , the message buffer register (MBR) on the debug I/O receives an output
request, the debugger displays the received output contents on the window.
Data from the user program to the debugger is output via the DEBUG I/F from the MBR, as indicated by
the arrow shown in Figure 2.4-16 .
For details of OCD (on-chip debugger) and MBR, refer to the Hardware Manual for the product type you
are using.
User target
User programme

■ What is Terminal Window

Terminal window is the window displaying data when receiving an output request from user program to
MBR. For details of terminal window, refer to "3.20 Terminal Window" of "SOFTUNE Workbench
Operation Manual".
The data output to the terminal window is interpreted and output as ASCII characters. However, the
supported control characters are '\n', '\r' and '\t'. The other control characters and the characters after 0x80
are output as '.'.
The terminal window will appear when the data to be displayed is acquired.
Figure 2.4-16 Data flow of semihosting feature
CHAPTER2 Dependence Functions
User memory
(Transfer buffer)
OCD
MBR
DEBUG I/F
SOFTUNE
Workbench
Terminal
window
USB
MB2100-01
203

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Softune workbench

Table of Contents