FBM216B模擬量通訊模塊,FOXBORO中文使用說明
當(dāng)觀察任何167Bug命令的輸出時(shí),XON和對于終端端口有效的XOFF字符可以是如果啟用XON/XOFF協(xié)議,則輸入以控制輸出(默認(rèn))。這些字符分別初始化為^ S和^ Q通過167Bug,但您可以使用PF命令更改它們。在初始化(默認(rèn))模式,操作如下:輸入命令后,調(diào)試器將執(zhí)行該命令然后會再次出現(xiàn)提示。但是,如果輸入命令導(dǎo)致執(zhí)行用戶目標(biāo)代碼,例如GO,然后control可能返回或不返回調(diào)試器,具體取決于用戶程序可以。
FBM216B模擬量通訊模塊例如,如果指定了斷點(diǎn),則控件返回在調(diào)試過程中遇到斷點(diǎn)時(shí)發(fā)送給調(diào)試用戶程序的執(zhí)行。或者,用戶程序可以通過TRAP#496函數(shù)返回調(diào)試器調(diào)試器命令語法通常,調(diào)試器命令由以下部分組成:? 命令標(biāo)識符(即內(nèi)存的MD或MD顯示命令)。注意,大寫或小寫都是允許。
? 如果命令設(shè)置為使用更多端口,則為端口號多個(gè)端口。
? 在第一個(gè)參數(shù)之前至少有一個(gè)中間空格。
? 命令指定的任何必需參數(shù)。
? 選項(xiàng)字段,由分號(;)分隔指定條件的步驟命令的默認(rèn)條件除外。
這些命令使用修改后的Backus-Naur形式顯示語法。使用的元符號包括:粗體字符串粗體字符串是文字,例如命令或程序名,并按其外觀鍵入。斜體字符串斜體字符串是一個(gè)“語法變量”,將替換為它所代表的一類項(xiàng)目之一。
分隔兩個(gè)或多個(gè)項(xiàng)目的垂直條表示要進(jìn)行選擇;只有一個(gè)應(yīng)選擇由該符號分隔的項(xiàng)目。
[]方括號中包含一個(gè)可選項(xiàng)。這個(gè)項(xiàng)目可能出現(xiàn)零次或一次。{}大括號括住可能出現(xiàn)的可選符號
零次或多次
When observing output from any 167Bug command, the XON and
XOFF characters which are in effect for the terminal port may be
entered to control the output, if the XON/XOFF protocol is enabled
(default). These characters are initialized to ^S and ^Q respectively
by 167Bug, but you may change them with the PF command. In the
initialized (default) mode, operation is as follows:
When a command is entered, the debugger executes the command
and the prompt reappears. However, if the command entered
causes execution of user target code, for example GO, then control
may or may not return to the debugger, depending on what the
user program does.
For example, if a breakpoint has been specified, then control returns
to the debugger when the breakpoint is encountered during
execution of the user program. Alternately, the user program could
return to the debugger by means of the TRAP #496 function
Debugger Command Syntax
In general, a debugger command is made up of the following parts:
? The command identifier (i.e., MD or md for the Memory
Display command). Note that either upper- or lowercase is
allowed.
? A port number if the command is set up to work with more
than one port.
? At least one intervening space before the first argument.
? Any required arguments, as specified by the command.
? An option field, set off by a semicolon (;) to specify conditions
other than the default conditions of the command.
The commands are shown using a modified Backus-Naur form
syntax. The metasymbols used are:
boldface strings A boldface string is a literal such as a command or a
program name, and is to be typed just as it appears.
italic strings An italic string is a “syntactic variable” and is to be
replaced by one of a class of items it represents.
| A vertical bar separating two or more items
indicates that a choice is to be made; only one of the
items separated by this symbol should be selected.
[ ] Square brackets enclose an item that is optional. The
item may appear zero or one time.
{ } Braces enclose an optional symbol that may occur
zero or more times.