S
ERIAL
I
NTERFACE
D
EVELOPERS
G
UIDE
};
typedef struct _UTIL_MEM_XFER UTIL_MEM_XFER, *PTR_UTIL_MEM_XFER;
Note: Use the McbWriteDataMem function to move data into scratch pad.
5.3.44 CMD_ADV_DETECT_BAD_PIXELS
Description: Command no longer used.
5.3.45 CMD_UPLOAD_NUC
Description: Command to upload a complete NUC table to the desired NUC index. The NUC table
will be formatted for the embedded application and will contain pixel replace index values for defective
pixels. Due to limited resources on the camera controller board, the command needs to be executed
twice to upload both the gain and offset terms.
Command Code: Enumeration for CMD_UPLOAD_NUC
Argument Size: UWord16 parameter[2]
Argument:
parameter [0] – 0 for gain terms, 1 for offset terms.
parameter [1] – Base NUC address of the NUC table that is being uploaded. This value is the
same value as that which would be written to the Xilinx NucTableBaseReg register and is
computed as follows: Value = (NucTable * 5) + 3; where 0 >= NucTable <= 63. It translates to the
MS bits of the NUC flash memory.
Note: See paragraph
X
7.9
X
for details on how to complete this process.
5.3.46 CMD_DOWNLOAD_NUC
Description: Command to download a complete NUC table to the desired NUC index. The NUC table
will be formatted for the embedded application and will contain pixel replace index values for defective
pixels. Due to limited resources on the camera controller board, the command needs to be executed
twice to upload both the gain and offset terms.
Command Code: Enumeration for CMD_DOWNLOAD_NUC
Argument Size: UWord16 parameter[2]
Argument:
parameter [0] – 0 for gain terms, 1 for offset terms.
parameter [1] – Base NUC address of the NUC table that is being downloaded. This value is the
same value as that which would be written to the Xilinx NucTableBaseReg register and is
computed as follows: Value = (NucTable * 5) + 3; where 0 >= NucTable <= 63. It translates to the
MS bits of the NUC flash memory.
Note: See paragraph
X
7.10
X
for details on how to complete this process.
5.3.47 CMD_COMPILE_DEFECT_LISTS
Description: Command to initiate a defective pixel list build for all valid NUC tables. The address
range in NUC flash where each of the defect lists are stored will be erased prior to beginning the
compile.
Command Code: Enumeration for CMD_COMPILE_DEFECT_LISTS
Argument Size: 0
Argument: None
18