Instruction manual

Marlin Technical ManualV.2.7.0
84
Description of the data path
Loading a shading image out of the camera
GPDATA_BUFFER is used to load a shading image out of the camera. Because the
size of a shading image is larger than GPDATA_BUFFER, input must be handled
in several steps: It is recommended that block reads are used to read a block of
n bytes with one command out of the GPDATA_BUFFER. With firmware 3.03 it is
possible to read quadlets directly out of the buffer, but this takes much more
time.
Figure 44: Uploading shading image to host
Note
Configuration
To configure this feature in an advanced register: See
Table 107: Advanced register: Shading on page 207.
For information on GPDATA_BUFFER: See Chapter
GPDATA_BUFFER on page 225.
Query Limits from
Register:
SHDG_INFO and
GPDATA_INFO
Set EnableMemRD
to true (1)
Set AddrOffset to 0
Read n databytes
of
GPDATA_BUFFER
Increase
AddrOffset by n
bytes
Check
EnableMemRD for
no change
Repeat Steps until
all data is read
Set EnableMemRD
to false (0)