How To Display The Output Message From User Program To The Debugger; What Is Semihosting Feature; What Is Terminal Window - Fujitsu SOFTUNE F2 MC-16 User Manual

Software for developing programs for the f2 mc-16 family of microprocessors / microcontrollers
Hide thumbs Also See for SOFTUNE F2 MC-16:
Table of Contents

Advertisement

2.6.10
How to Display the Output Message from User Program to
the Debugger
This section explains the semihosting feature of MB2100-01 emulator debugger.

■ What is Semihosting Feature

The semihosting feature is a function to display a message output by the user program on the debugger
window.
As shown in Figure 2.6-9, when receiving an output request to the message buffer register (MBR) on debug
I/O, the debugger displays the output content on the window by receiving the content.
In this case, data from the user program to the debugger is output via DEBUG I/F from MBR according to
the arrow in Figure 2.6-9.
For details of on-chip debugger (OCD) and MBR, refer to the hardware manual.
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. Refer to section "3.22 Terminal Window" of "SOFTUNE Workbench Operation Manual" for details of
terminal window.
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.6-9 Data Flow in Semihosting Feature
CHAPTER 2 DEPENDENCE FUNCTIONS
OCD
MBR
DEBUG I/F
DEBUG I/F
SOFTUNE
Workbench
Terminal
Window
USB
MB2100-01
319

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Softune workbench

Table of Contents