Commands for CAT-DEV

Basic Commands for the CAT-DEV

All commands here are entered using cafex_env.bat. You can find this file in your CAFE SDK directory.

Turning on the CAT-DEV

Note

Do not press the power button on the front of the devkit to turn it on or you will get an error. This is for running your kit in headless mode (running it when not connected to a PC). To set your kit to use headless mode, see your SDK documentation.

  1. Press the switch on the side of the devkit labelled OFF ON.
  2. Wait a few seconds for the devkit to power on. The STAT light on the front of the devkit will turn blue when it is ready.
  3. Open cafex_env.bat. If you get an error that your devkit could not be found, either you waited too little in step 2, or something is not right with your connection. If you have a problem, wait 10 seconds and try reopening cafex_env.bat. If that doesn't work, verify your network cable is connected and network firewalls are configured correctly.
  4. In cafex_env.bat, type "cafex on" (without quotes).

Shutting down your CAT-DEV

Similar to starting the CAT-DEV up, turning the CAT-DEV off is also done via your PC. It is recommended that you exit applications/shut down the system as follows:

  1. In your cafex_env.bat session, press CTRL-C to break the terminal connection.
  2. At the prompt, type "cafex stop" (without quotes) and hit enter.
  3. The system will quit the software and turn off (back to the idle state). To turn the system completely off, shut it off using the power switch on the right side.

Controlling the CAT-DEV via the PC Keyboard

You can also use your PC keyboard instead of a controller to navigate the System Config Tool menu. After using "cafex on", if the cafex_env.bat has focus (it is the active window), keyboard commands will go directly to the System Config Tool. This is convenient for typing in passwords, etc.

List of commands

Command Purpose
cafex run Run an rpx file on your devkit
cafex update Update the devkit firmware. See here for more details.
cafex on Boot up the devkit
cafex stop Shut down the devkit (does not turn it fully off)
findbridge -all List all CAT-DEV and CAT-R devkits that can be found on the network. See here for more details.

setbridge -default <Device Name> <IP Address>

Set the indicated devkit as the default device. See here for more details.
hostdisplayversion List the version of the Host Bridge software and firmware
Info

For more commands see the cafex guide in your Cafe SDK manual.

 


CONFIDENTIAL