SERIAL INTERFACE DEVELOPERS GUIDE
5.3.14 CMD_IMAGE_GRAB
Description: Perform an image grab into one of the utility memory buffers.
Command Code: Enumeration for CMD_IMAGE_GRAB
Argument Size: UWord16
Argument: Buffer to be selected (0 – data placed in image grab buffer A, and 1 - data placed in image
grab buffer B).
Note: This command was included for debug and development and should not be used for normal
operation since a write operation takes place. Buffers may be in use by real time camera operation
and conflicts may occur.
5.3.15 CMD_READ_UTILITY_MEMORY
Description: Read a block of utility memory. The utility memory is external RAM that is interfaced
through the Xilinx FPGA. It is used to store image grab data, histogram data, intensity transform
tables, NUC refresh coefficients, and symbology overlay data.
Command Code: Enumeration for CMD_READ_UTILITY_MEMORY
Argument Size: size of UTIL_MEM_XFER
Argument: See below.
struct _UTIL_MEM_XFER{
UWord32 addr; // Address in utility memory to read/write
UWord16 size; // Size in WORDS (Limit to 160)
};
typedef struct _UTIL_MEM_XFER UTIL_MEM_XFER, *PTR_UTIL_MEM_XFER;
Base addresses of utility memory partitions are defined as follows:
/* Utility Memory MAR Base Addresses */
#define MAR_ITT_LOW 0x00000000 /* Thru 0x00003FFF */
#define MAR_ITT_HIGH 0x00004000 /* Thru 0x00007FFF */
#define MAR_HISTO_GRAB 0x00008000 /* Thru 0x0000BFFF */
#define MAR_IMAGE_GRAB_A 0x0000C000 /* Thru 0x0001FFFF */
#define MAR_IMAGE_GRAB_B 0x00020000 /* Thru 0x00033FFF */
#define MAR_SYMBOLOGY_OVLY 0x00034000 /* Thru 0x00047FFF */
#define MAR_NUC_REFRESH 0x00048000 /* Thru 0x0005BFFF */
#define MAR_EXT_DATA 0x0005C000 /* Thru 0x0007FFFF */
Note: Buffers may be in use by real time camera operation and conflicts may occur.
5.3.16 CMD_NUC_FLASH_RAMP
Description: Debug command to tell the camera to write ramp count to the parameter blocks (0 – 7) of
the external NUC coefficient flash. The NUC coefficient flash is interfaced via the Xilinx FPGA.
Command Code: Enumeration for CMD_NUC_FLASH_RAMP
Argument Size: 0
Argument: Null
Note: Used to help with the development and testing of the flash memory interface to the FPGA and
DSP.
5.3.17 CMD_NUC_FLASH_MEMORY
Description: Read a block of external NUC flash memory into the scratch pad buffer.
Command Code: Enumeration for CMD_NUC_FLASH_MEMORY
11