9
The following function call sequence should be performed to achieve successful User Non-Volatile
new memory save:
KYFG_SetGrabberValueInt(camHandle, UserMemoryPageSelector , <page[255..0]>)
KYFG_ExecuteCommand(camHandle, UserMemoryBulkErase )
1.
2.
KYFG_ExecuteCommand(camHandle, UserMemoryPageSave )
uint8_t buffer[256]; uint32_t bufferSize = sizeof(buffer);
KYFG_CameraReadReg(camHandle, 0x30300, buffer, &bufferSize);
uint8_t buffer[256]={0,1,2,3/*...*/}; uint32_t bufferSize = sizeof(buffer);
KYFG_CameraWriteReg(camHandle, 0x30300, buffer, &bufferSize);
3.
4.
Figure 8 : Non-Volatile memory save function call sequence
1.
“UserMemoryBulkErase” – erase all user non-volatile memory
2.
“UserMemoryPageSelector” – select page[255..0] in memory (256 bytes for each page)
3.
“UserMemoryPageAll” – array of 256 bytes to load data of specified page
4.
“UserMemoryPageSave” – save selected page to non-volatile memory
NOTE: Firmware update may erase the saved user sets, and may change camera’s “Default” settings.
Using the DSNU and PRNU corrections
Sky Blue Microsystems GmbH
Geisenhausenerstr. 18
81379 Munich, Germany
+49 89 780 2970, [email protected]
www.skyblue.de
In Great Britain:
Zerif Technologies Ltd.
Winnington House, 2 Woodberry Grove
Finchley, London N12 0DR
+44 115 855 7883, [email protected]
www.zerif.co.uk
International Distributors