GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > MEM / V5-7-0

Constituent: mem_scp     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

MEM_send_cmd.h File Reference

Interface to the MEM_send_cmd.c functions. More...

#include "CLI/CLI_pubdefs.h"

Include dependency graph for MEM_send_cmd.h:

This graph shows which files directly or indirectly include this file:


Functions

unsigned int MEM_loadBankHeader (unsigned int lat_unit, unsigned int address, unsigned int rtos_bytes, unsigned int sbc_0_bytes, unsigned int sbc_1_bytes)
 Load a bank header into SIB EEPROM.
unsigned int MEM_sendCancel (unsigned int unit)
 Send the Memory Dump Cancel command.
unsigned int MEM_sendDump (unsigned int unit, unsigned int start, unsigned int count)
 Send the Memory Data Dump (to 1553) command.
unsigned int MEM_sendLoad (unsigned int unit, unsigned int addr, unsigned int value)
 Send the Memory Write command.
unsigned int MEM_sendPciDump (unsigned int unit, unsigned int tran, unsigned int bus, unsigned int device, unsigned int function)
 Send the PCI Device Header Dump command.
unsigned int MEM_sendPciLoad (unsigned int unit, unsigned int bus, unsigned int device, unsigned int function, unsigned int offset, unsigned int value)
 Send the PCI Device Header Write command.
unsigned int MEM_sendPoolDump (unsigned int unit, unsigned int tran, unsigned int pool)
 Send the Memory Pool Status Dump command.
unsigned int MEM_sendRegDump (unsigned int unit, unsigned int tran)
 Send the Processor Register Dump command.
unsigned int MEM_sendRegLoad (unsigned int unit, unsigned int offset, unsigned int value)
 Send the Processor Register Write command.
unsigned int MEM_sendSymRelDump (unsigned int unit, unsigned int tran, unsigned int offset, unsigned int count, unsigned char *name)
 Send the Memory Dump to 1553 Symbol Relative command.
unsigned int MEM_sendSymValDump (unsigned int unit, unsigned char *name)
 Send the Memory Symbol Lookup command.
int MEM_setDisplayLevelCmd (int level)
 Set the verbosity level of the MEM command display.
unsigned int MEM_addSendSyntax (CLI_Syntax *syntax)
 Add MEM send commands to the command-line syntax.
unsigned int MEM_addSyntaxSCP (CLI_Syntax *syntax)
 Add MEM commands to the command-line syntax for SCP.

Detailed Description

Interface to the MEM_send_cmd.c functions.

    CVS $Id: MEM_send_cmd.h,v 1.6 2005/05/02 18:30:55 dmay Exp $
    

Defines the interface to the functions found in MEM_send_cmd.c.


Function Documentation

unsigned int MEM_addSendSyntax CLI_Syntax *  syntax  ) 
 

Add MEM send commands to the command-line syntax.

Parameters:
syntax Syntax handle.
Returns:
MSG code.

unsigned int MEM_addSyntaxSCP CLI_Syntax *  syntax  ) 
 

Add MEM commands to the command-line syntax for SCP.

Adds MEM commands to the command-line syntax when running in an SCP environment. This is the only MEM command-line syntax function called by SCP, so it must add both send and dump commands.

Parameters:
syntax Syntax handle.
Returns:
MSG code.

unsigned int MEM_loadBankHeader unsigned int  lat_unit,
unsigned int  address,
unsigned int  rtos_bytes,
unsigned int  sbc_0_bytes,
unsigned int  sbc_1_bytes
 

Load a bank header into SIB EEPROM.

Parameters:
lat_unit Unit (CPU) to load (0=SIU, 1=EPU0, ...).
address The base address of the bank header.
rtos_bytes Size reserved for RTOS file, in bytes.
sbc_0_bytes Size reserved for SBC 0 file, in bytes.
sbc_1_bytes Size reserved for SBC 1 file, in bytes.
Returns:
MSG code.

unsigned int MEM_sendCancel unsigned int  unit  ) 
 

Send the Memory Dump Cancel command.

Parameters:
unit LAT unit to receive the command (0 => SIU, 1 => EPU0, ...).
Return values:
0 Success.
Nonzero Failure.

unsigned int MEM_sendDump unsigned int  unit,
unsigned int  start,
unsigned int  count
 

Send the Memory Data Dump (to 1553) command.

Parameters:
unit LAT unit to receive the command (0 => SIU, 1 => EPU0, ...).
start Starting address.
count Number of 32-bit words to dump.
Return values:
0 Success.
Nonzero Failure.

unsigned int MEM_sendLoad unsigned int  unit,
unsigned int  address,
unsigned int  value
 

Send the Memory Write command.

Parameters:
unit LAT unit to receive the cmd (0 => SIU, 1 => EPU0, ...).
address Starting address.
value 32-bit value to load.
Return values:
0 Success.
Nonzero Failure.

unsigned int MEM_sendPciDump unsigned int  unit,
unsigned int  tran,
unsigned int  bus,
unsigned int  device,
unsigned int  function
 

Send the PCI Device Header Dump command.

Parameters:
unit LAT unit to receive the cmd (0 => SIU, 1 => EPU0, ...).
tran Transaction ID to be echoed in the response telemetry.
bus Bus portion of the PCI header address.
device Device portion of the PCI header address.
function Function portion of the PCI header address.
Return values:
0 Success.
Nonzero Failure.

unsigned int MEM_sendPciLoad unsigned int  unit,
unsigned int  bus,
unsigned int  device,
unsigned int  function,
unsigned int  offset,
unsigned int  value
 

Send the PCI Device Header Write command.

Parameters:
unit LAT unit to receive the cmd (0 => SIU, 1 => EPU0, ...).
bus Bus portion of the PCI header address.
device Device portion of the PCI header address.
function Function portion of the PCI header address.
offset Offset portion of the PCI header address.
value Data value to write.
Return values:
0 Success.
Nonzero Failure.

unsigned int MEM_sendPoolDump unsigned int  unit,
unsigned int  tran,
unsigned int  pool
 

Send the Memory Pool Status Dump command.

Parameters:
unit LAT unit to receive the cmd (0 => SIU, 1 => EPU0, ...).
tran Transaction ID to be echoed in the response telemetry.
pool Pool ID (0 => system, 1 => application).
Return values:
0 Success.
Nonzero Failure.

unsigned int MEM_sendRegDump unsigned int  unit,
unsigned int  tran
 

Send the Processor Register Dump command.

Parameters:
unit LAT unit to receive the command (0 => SIU, 1 => EPU0, ...).
tran Transaction ID to be echoed in the response telemetry.
Return values:
0 Success.
Nonzero Failure.

unsigned int MEM_sendRegLoad unsigned int  unit,
unsigned int  offset,
unsigned int  value
 

Send the Processor Register Write command.

Parameters:
unit LAT unit to receive the cmd (0 => SIU, 1 => EPU0, ...).
offset Starting offset.
value 32-bit value to load.
Return values:
0 Success.
Nonzero Failure.

unsigned int MEM_sendSymRelDump unsigned int  unit,
unsigned int  tran,
unsigned int  offset,
unsigned int  count,
unsigned char *  name
 

Send the Memory Dump to 1553 Symbol Relative command.

Parameters:
unit LAT unit to receive the cmd (0 => SIU, 1 => EPU0, ...).
tran Transaction ID to be echoed in the response telemetry.
offset Starting offset, relative to the symbol.
count Number of 32-bit words to dump.
name Name of the symbol.
Return values:
0 Success.
Nonzero Failure.

unsigned int MEM_sendSymValDump unsigned int  unit,
unsigned char *  name
 

Send the Memory Symbol Lookup command.

Parameters:
unit LAT unit to receive the cmd (0 => SIU, 1 => EPU0, ...).
name Name of the symbol.
Return values:
0 Success.
Nonzero Failure.

int MEM_setDisplayLevelCmd int  level  ) 
 

Set the verbosity level of the MEM command display.

Parameters:
level Level of verbosity - set higher to display more.
Returns:
Previous verbosity level.


Generated on Tue May 30 20:50:16 2006 by  doxygen 1.4.4