IBM ECS-320A Network Card User Manual


 
SERIAL INTERFACE DEVELOPERS GUIDE
Any portion up to the entire structure can be read using the ‘McbReadDataMem’ routine. For
example, if the host wanted to retrieve the current embedded application version, a read of the data
member at address 0x0040 + offset of the ‘swVersion’, member could be performed.
The paragraphs below will provide information about each of the data members.
6.2.1 CameraConfig.nvmData
Type: NVM_GLOBAL_CFG
Size: 40 Words
Description: See paragraph TBD
6.2.2 CameraConfig.updateNVM
Type: bool
Size: 1 Word
Description: Set this value to non-zero when it is desired to update the non-volatile memory with the
contents of the CameraConfig.nvmData. The setting is cleared by the embedded application.
6.2.3 CameraConfig.continueFlag
Type: bool
Size: 1 Word
Description: Under certain circumstances when the embedded application detects an error that it can
recover from it goes into an idle state. In this idle routine the embedded application loops while
checking for the state of this flag or a timeout to occur. Set the value of this flag to 1 (true or non-zero)
for the code to return to normal operation.
6.2.4 CameraConfig.CmdsReceived
Type: UWord16
Size: 1 Word
Description: Debug value to keep track of user commands the camera has acknowledged since boot.
6.2.5 CameraConfig.camStats
Type: CAMERA_STATUS
/* Camera Status Code Structure */
struct _CAMERA_STATUS
{
UWord16 ProcessCode; /* Process Code Value */
UWord16 ProgressCode; /* Progress Code Value */
UWord16 HostStatusCode; /* Host Status Code */
UWord16 HostData; /* Status flag 2 */
};
typedef struct _CAMERA_STATUS CAMERA_STATUS, *PTR_CAMERA_STATUS;
Size: 4 Words
Description: Structure that contains four sub values for tracking boot progress, or interacting with the
host during tests and calibrations. See paragraph
X6.5 belowX for information on the progress code
detection.
21