HIEE205012R1中文使用说明,ABB工控模块
使用调试器PPCBug是命令驱动的,在响应您在键盘上输入的命令。当PPC1错误提示出现在屏幕上,调试器已准备好接受调试器命令。当PPC1 Diag提示符出现在屏幕上,调试器已准备好接受诊断命令。切换从一种模式切换到另一种模式,输入SD。您输入的内容存储在内部缓冲区中。只有在按<回车>或<回车>键。这允许您更正输入如有必要,与PPCBug中描述的控制字符有关的错误固件包用户手册。调试器执行命令后,将再次出现提示。
HIEE205012R1中文使用说明,但是,如果该命令导致执行用户目标代码(对于示例GO)则控制可能返回或不返回调试器,取决于用户程序的功能。例如,如果断点具有则当断点被指定时,控制返回到调试器在执行用户程序时遇到。或者,用户
程序可以通过系统调用处理程序返回调试器常规返回。有关更多信息,请参阅GD、GO和GT命令。有关控制字符和调试器命令的信息,请参阅PPCBug固件包用户手册。
调试器命令由以下部分组成:❏ 命令名,大写或小写(例如,MD或MD)
❏ 命令指定的任何必需参数❏ 第一个参数前至少有一个空格。优先于所有其他带有空格或逗号的参数❏ 一个或多个选项。在一个选项或一组选项之前加上分号(;)。如果未输入任何选项,则命令的默认值为使用选项条件。调试器命令下表列出了各个调试器命令。注意:通过输入帮助(他)独自指挥。您可以查看通过输入HE和命令助记符,如下所示。虽然是允许擦除和重新编程闪存的命令内存是可用的,请记住,重新编程任何部分的闪存将擦除闪存中当前包含的所有内容,包括PPC1Bug调试器。诊断测试下表列出了各个诊断测试集。这个PPC1Bug诊断手册中介绍了诊断,如中所列附录D,相关文件。
Use the Debugger
PPCBug is command-driven and performs its various operations in
response to commands that you enter at the keyboard. When the
PPC1-Bug prompt appears on the screen, the debugger is ready to accept
debugger commands. When the PPC1-Diag prompt appears on the
screen, the debugger is ready to accept diagnostics commands. To switch
from one mode to the other, enter SD.
What you key in is stored in an internal buffer. Execution begins only after
you press the <Return> or <Enter> key. This allows you to correct entry
errors, if necessary, with the control characters described in the PPCBug
Firmware Package User’s Manual.
After the debugger executes the command, the prompt reappears.
However, if the command 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 System Call Handler
routine RETURN. For more about this, refer to the GD, GO, and GT
commands.
For information on control characters and debugger commands, refer to
the PPCBug Firmware Package User’s Manual.
A debugger command is made up of the following parts:
❏ The command name, either uppercase or lowercase (for example,
MD or md)
❏ Any required arguments, as specified by command
❏ At least one space before the first argument. Precede all other
arguments with either a space or comma
❏ One or more options. Precede an option or a string of options with
a semicolon (;). If no option is entered, the command’s default
option conditions are used.Debugger Commands
The individual debugger commands are listed in the following table.
Note You can list all the available debugger commands by entering the
Help (HE) command alone. You can view the syntax for a
particular command by entering HE and the command
mnemonic, as listed below.Although a command to allow the erasing and reprogramming of Flash
memory is available to you, keep in mind that reprogramming any portion
of Flash memory will erase everything currently contained in Flash,
including the PPC1Bug debugger.Diagnostic Tests
The individual diagnostic test sets are listed in the following table. The
diagnostics are described in the PPC1Bug Diagnostics Manual, listed in
Appendix D, Related Documentation.