\hypertarget{interface_synopsis}{}\subsection{Synopsis}\label{synopsis}
{\tt lfs\_\-bc} - Test application for file uploads using Summit 1553 BC driver.\hypertarget{interface_description}{}\subsection{Description}\label{description}
This is a simple test application for GLAST 1553 file upload procedures. A small set of commands is provided to transfer a file from the BC target machine across the 1553 to the RT file upload application on the receiving side.

The {\em lfs\_\-bc\/} application may be used to load files either to the PBC boot shell or to an application level file upload handler. Any telemetry received back from the RT is consumed and discarded.

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


{\tt  bc\_\-init } - Initialize the BC file upload application. \par
 {\tt  bc\_\-start } - Start the 1553 bus schedule. Spawns packet receive tasks. \par
 {\tt  bc\_\-stop } - Stop the 1553 bus schedule. Deletes packet receive tasks. \par
 {\tt  bc\_\-exit } - Shutdown test application. \par
 {\tt  bc\_\-upl\_\-file $<$file\_\-path$>$, $<$file\_\-dev$>$, $<$file\_\-dir$>$, $<$file\_\-num$>$ } - Upload a file specified by {\em file\_\-path\/}. The commit is done to the target file ID sepecified by the {\em file\_\-dev\/}, {\em file\_\-dir\/}, and {\em file\_\-num\/} parameters. \par
 {\tt  bc\_\-upl\_\-cancel } - Cancel a file upload. \par
 {\tt  bc\_\-rtos\_\-start $<$sec\_\-boot\_\-flags$>$ } - Send the Boot RTOS start command. The {\em sec\_\-boof\_\-flags\/} value is sent to the PBC boot shell. \par
