IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


Command shell: Other commands


BATCHMODE 0/1: Set batch file execution mode
Sets the batch file execution mode of application programs for either concurrent or sequential execution.
See BATCHMODE CHIP.INI initialization documentation for more details.
Example:
batchmode 1      ; Selects sequential batch file processing mode
batchmode 0      ; Selects concurrent batch file processing mode
Since:
SC2x3 V1.01


CON [device] ...: Direct console I/O
Define what device is used as the console. Possible devices are UART1, UART3, TELNET, SSH or USER. Multiple devices are possible.
Example:
con UART1 UART3 TELNET
Since:
SC2x3 V1.00


HELP: Display list of all console commands
Displays a list of all available console commands.
Example:
help
Since:
SC2x3 V1.00


PROBE [Bnn] [C[n]] [H] [P[nnnn]] [Tn]: Start debugger task
The PROBE task (_DBG) is required to be running in order for the debugger to operate. The PROBE task provides the GDB Server functionality required by the GNU GDB debugger.

The PROBE command supports command line options that override default settings. Each command line option consists of a single letter (case insensitive) usually followed immediate by a numeric value. No white space is permitted between the command line option letter and numeric value. The command line options are as follows:

B - RS-232 BAUD rate specification. Supported BAUD rate values are 1200, 2400, 4800, 9600, 19200, 38400, 57600 and 115200. Default BAUD rate is 115200.

C - RS-232 Comm Port specification: The default COM port is UART 3. A specific UART port can be selected with a number after the C as C1 .. C6.

H - Hang thread on program launch until debugger program in PC has had a chance to set breakpoints in new program. This option takes no numeric argument. It can be used when breakpoints are desired in programs launched from autoexec.bat immediately following PROBE. (By default the program launch thread is only suspended when communication has already been established with PC.) CAUTION: This option can hang up the program launch indefinitely if no communication with debugger in PC is established.

P - TCP/IP Port number. The port number after the P is optional. If no value is entered then the default port number 3000 will be used. This can be useful to enable both TCP/IP and RS-232 communication with the debugger program. When both communication channels are enabled, the probe attempts communication over the RS-232 port when ever a TCP/IP socket connection is not established.

T - Probe Task Priority: By default the probe task will execute at priority 15. This is a higher priority than normal programs will execute at. This command line option allows the user to specify some other priority for the Probe task. The priority value must be in the range from 2 (highest) down to 127.
Examples:
probe
probe C4 B19200 T7
Since:
SC2x3 V1.00
See also:
CHIP.INI [PROBE] AUTOSTART


REBOOT: Restart the system
Restarts the system. First, the file system is closed, then the watchdog is configured to issue a reset. Please note that the tasks are not informed of this restart!
Example:
reboot
Since:
SC2x3 V1.00


WAIT secs: Suspends the command interpreter
Suspends execution of the command interpreter for the specified interval. The time interval is defined in seconds.
Example:
wait 1
Since:
SC2x3 V1.00





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Thu Jan 26 16:21:35 2017 by Doxygen 1.6.1