GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PBC / V4-5-0

Constituent: pbc_bootshell     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

cmd_mem.c File Reference

Process LAT memory load and dump telecommands. More...

#include "PBC/PBC.h"
#include "bootshell.h"
#include "cmdtlm.h"
#include "EE_boot.h"
#include "PBC/PBC_msgs.h"
#include "PBC/PBC_string.h"
#include "CCSDS/CCSDS_pkt.h"
#include "CCSDS/CCSDS_msg.h"
#include "MEM/MEM_cmddefs.h"
#include "MEM/MEM_dump.h"
#include "MEM/MEM_load.h"
#include "MEM/MEM_map.h"
#include "MSG/MSG_macdefs.h"

Include dependency graph for cmd_mem.c:

Include dependency graph

Functions

unsigned int Pbc_MemLoadService (void)
 Service the Memory Load operation.

unsigned int Pbc_ProcessMemLoad (const void *memLoad, const unsigned int pktSize)
 Process Memory Write commands.

unsigned int Pbc_ProcessPciLoad (const void *pciLoad, const unsigned int pktSize)
 Process Memory PCI Device Header Write commands.

unsigned int Pbc_ProcessRegLoad (const void *regLoad, const unsigned int pktSize)
 Process Memory Processor Register Write commands.

unsigned int pbc_StartMemDump (const unsigned short funcCode, const void *memDumpCmd)
 Start a LAT memory dump from a telecommand.

unsigned int Pbc_ProcessMemDump (const unsigned short funcCode, const void *memDump, const unsigned int pktSize)
 Process LAT MEMORY DUMP telecommands.


Detailed Description

Process LAT memory load and dump telecommands.

  CVS $Id: cmd_mem.c,v 1.11 2005/01/26 17:33:06 dmay Exp $
  

Process LAT memory load and dump telecommands.


Function Documentation

unsigned int Pbc_MemLoadService void   ) 
 

Service the Memory Load operation.

This function services the Memory Load operation by writing the next chunk of data. When all data has been loaded, and the target of the load was SIB EEPROM, the EEPROM is locked.

Returns:
A PBC or MEM MSG value.

unsigned int Pbc_ProcessMemDump const unsigned short  funcCode,
const void *  memDump,
const unsigned int  pktSize
 

Process LAT MEMORY DUMP telecommands.

This function will process memory dump telecommands received by the LAT. Processing depends on function code.

Parameters:
funcCode Function code of packet.
memDump Contents of packet, including header.
pktSize Size of packet, including header. Unused.
Return values:
PBC_SUCCESS Successful command processing.
PBC_CMDMODE PBC in wrong mode to accept command.
PBC_NULLPTR pkt was NULL pointer.
PBC_CMDBDFC Bad function code encountered.

Here is the call graph for this function:

unsigned int Pbc_ProcessMemLoad const void *  memLoad,
const unsigned int  pktSize
 

Process Memory Write commands.

Parameters:
memLoad Contents of packet, including header.
pktSize Size of packet, including header.
Returns:
MSG value.

Here is the call graph for this function:

unsigned int Pbc_ProcessPciLoad const void *  pciLoad,
const unsigned int  pktSize
 

Process Memory PCI Device Header Write commands.

Parameters:
pciLoad Contents of packet, including header.
pktSize Size of packet, including header.
Returns:
MSG value.

Here is the call graph for this function:

unsigned int Pbc_ProcessRegLoad const void *  regLoad,
const unsigned int  pktSize
 

Process Memory Processor Register Write commands.

Parameters:
regLoad Contents of packet, including header.
pktSize Size of packet, including header.
Returns:
MSG value.

Here is the call graph for this function:

unsigned int pbc_StartMemDump const unsigned short  funcCode,
const void *  memDumpCmd
[static]
 

Start a LAT memory dump from a telecommand.

Parameters:
funcCode Function code of packet.
memDumpCmd Contents of packet, including header.
Return values:
PBC_SUCCESS Successful command processing.


Generated on Fri Jul 22 20:17:19 2005 by doxygen 1.3.3