203
CHAPTER2 Dependence Functions
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.
Figure 2.4-16 Data flow of semihosting feature
■
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.
User target
OCD
MBR
MB2100-01
SOFTUNE
Workbench
Terminal
window
USB
DEBUG I/F
User memory
(Transfer buffer)
User programme
Содержание SOFTUNE
Страница 2: ......
Страница 3: ...FUJITSU SEMICONDUCTOR LIMITED FR FAMILY SOFTUNE TM WORKBENCH USER S MANUAL for V6 ...
Страница 4: ......
Страница 42: ...32 CHAPTER1 Basic Functions ...
Страница 225: ...215 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Страница 232: ...222 INDEX ...
Страница 234: ......