GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> CTDB / V5-5-5 > ctdb_bc_test_sim / mv2304


Interface   Data Structures   File List   Data Fields   Globals  

Synopsis

ctdb_bc_test_sim - Test application for 1553 bus controller simulator.

Description

This is a simple test application for GLAST 1553 bus controller implementations. A listen task handles telecommands and telemetry received from the RT. The received packets are displayed as they arrive. There are commands to send telecommands to the RT. The sent packets contain an incrementing test pattern for the application data. Errors are printed as they are encountered.

The following commands are accepted from the shell once the test application is started:

bc_init \<addr\> - Initialize the BC simulator. \<addr\> is RT address.
bc_start - Connects 1553 simlator sockets. Spawns packet receive tasks.
bc_stop - Disconnects 1553 simlator sockets. Deletes packet receive tasks.
bc_exit - Shutdown BC simulator.
bc_pkt_cmd_rx \<size\> - Send test pattern telecommand packet. \<size\> is bytes of test pattern.


Generated on Tue Sep 27 14:36:26 2011 by  doxygen 1.5.8