Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Debug RCE applications with xmd

Debug RCE applications with gdb

Debug RCE applications with the console

The default console application is usually stored as image 0 in the configuration flash and can be loaded by setting the front panel boot selector to 0 and by resetting the RC element. The console application provides three servers, each one with different functionality and each one accessed through a different UNIX application:1.

console

From : from a machine connected on the base interface subnet of the RCE with IP address/name <hostname> type:

...

Code Block
reboot: Reboot the processor
remove <filenum>: Remove the file specified by <filenum>
bootcfg <index> <image> <flags>: Sets boot vector <index> to load image <image>
                                 and switch configuration <flags>
bootdir: Dumps flash boot directory contents
filedir: Dumps flash file directory contents
echo <message>: Enter a time-stamped message in the system log
log: Dumps system log
clear: Clears system log

...

debug

From : from a machine connected on the base interface subnet of the RCE with IP address/name <hostname> type:

...

Where <exename> is the file name, in the local UNIX file system, of the application which is currently running in the RCE and that that is being debugged. The application above will show a command line prompt if the connection to <hostname> is successful. Currently the following commands may be issued through this command line:

...

Note that the <nbytes> arguments in the commands above indicates the maximum number of bytes contained in the packet payload. The actual number of payload bytes is a flat distribution random number between 0 and <nbytes>.3.

upload

From : from a machine connected on the base interface subnet of the RCE with IP address/name <hostname> type:

...