PSAS/ CantalopeSoftwareManual

"CANtalope: The lost manual"

Introduction

Cantalope is a software and hardware system which allows a user to read all data on the CAN bus, and/or write data to the CAN bus. Data is entered in, or read out, in a human readable form. Depending on how CANtalope is run, the data entered in is then either sent to the physical CAN bus, or sent over UDP packets to anyone listening on the network (which could be the flight computer, the launch tower, the launch control laptops, or maybe just your own development laptop), or sent to the flight computer simulation software.

Setting up CANtalope

Hardware Setup

Before Jamey made CANtalope SuperCool(TM), way back in the time before Nathan Vegdahl graduated from high school, the CANtalope software was only meant to communicate with the CAN bus by using a special piece of hardware (the CANtalope node). The CANtalope node is a CAN bus monitor which sends all data from the CAN bus onto a serial cable, and vice versa. If connecting to the CAN bus directly from your laptop using a serial cable is what you want to do, you will need a CANtalope node. Here is how to get that set up:

Software Setup

Before you can even start the program, you should do the following:

Running CANtalope

Starting CANtalope

The CANtalope program has two modes: receive and transmit. Receive (aka "read") reads CAN from the CAN bus and outputs human readable format, and transmit (aka "write") sends CAN messages to the CAN bus after they are inputted in human readable form. A detailed and up to date list of CANtalope start-up arguments can be obtained by running "can --help". The basic stuff is here:

Fire up one terminal session as a can read session.

$>can read

Then fire up another terminal as a write session

$>can –t off write

Here the –t off turns off the need to add a timestamp to the can message you are going to send out.

Interactive Use

In transmit mode, writing to the CAN bus: type ? or "help" to see an up to date list of commands.

In receive mode, reading from the CAN bus: typing ? should give you help (ack! it looks broken now. I'll try to fix it. - ?PeterWelte ) typing q should quit

Useful Commands

Turn on the Jupiter board with the sting 0x243 0 1 0x01
Enable Jupiter board uart transmit 0x298 1 2

Contributors

?TylerNguyen & ?PeterWelte wrote the original CANtalope application. AndrewGreenberg et. al. designed and built the CANtalope nodes. ?JameySharp made the CANtalope software work with the flight computer (simulated and real). ?MarkusWeltin got the manual up here, and ?PeterWelte added a bit to it. Hopefully Peter hasn't confused anyone too much...