SERIAL INTERFACE DEVELOPERS GUIDE
(B) Send CMD_DOWNLOAD_NUC command with the arguments set for ‘gain terms’ and desired
NUC base. This will instruct the camera to read the NUC flash and store the gain terms in utility
memory (at base of MAR_IMAGE_GRAB_B).
(C) Host will monitor (periodically read) the status code data member until it is set by the embedded
application to HOST_READY.
(D) Send the CMD_READ_UTILITY_MEMORY command with the proper address offset (base is
MAR_IMAGE_GRAB_B) and data size (see paragraph
X5.3.15X) to move the data from the Xilinx
utility memory to the DSP scratch pad memory area.
(E) Using the ‘McbReadDataMem’ command - read a portion of the gain coefficients to the scratch
pad buffer. Remember it is sized at 160 words.
(F) Repeat steps (D) and (E) until the entire set of gain coefficients is downloaded to local host
memory.
(G) Set up for the second pass (offset terms only).
(H) Send CMD_DOWNLOAD_NUC command with the arguments set for ‘offset terms’ and desired
NUC base. This will instruct the camera to read the NUC flash and store the offset terms in utility
memory (at base of MAR_IMAGE_GRAB_B).
(I) Host will monitor (periodically read) the status code data member until it is set by the embedded
application to HOST_READY.
(J) Send the CMD_READ_UTILITY_MEMORY command with the proper address offset (base is
MAR_IMAGE_GRAB_B) and data size (see paragraph
X5.3.15X) to move the data from the Xilinx
utility memory to the DSP scratch pad memory area.
(K) Using the ‘McbReadDataMem’ command - read a portion of the offset coefficients to the scratch
pad buffer. Remember it is sized at 160 words.
(L) Repeat steps (J) and (K) until the entire set of offset coefficients is downloaded to local host
memory.
(M) The host now has a local copy of the desired NUC flash table.
43