S
ERIAL
I
NTERFACE
D
EVELOPERS
G
UIDE
T
Table of Contents
T
TU
1 INTRODUCTION
UT
......................................................................................................... 1
TU
2 GENERAL REQUIREMENTS
UT
..................................................................................... 1
TU
3 CAMERA BOOT SEQUENCE
UT
.................................................................................... 1
TU
3.1 Communication Configuration
UT
........................................................................................................... 2
TU
3.2 Boot Messages
UT
..................................................................................................................................... 2
TU
3.3 Software Upload
UT
................................................................................................................................... 2
TU
4 INTERFACE PROTOCOL
UT
........................................................................................... 3
TU
4.1 PC Master Information
UT
......................................................................................................................... 3
TU
4.2 Communications Configuration
UT
......................................................................................................... 3
TU
5 HOST SIDE INTERFACE
UT
............................................................................................ 4
TU
5.1 Baud Rate
UT
.............................................................................................................................................. 4
TU
5.2 Function Subset
UT
................................................................................................................................... 4
TU
5.2.1 McbOpenCom
UT
................................................................................................................................. 4
TU
5.2.2 McbCloseCom
UT
................................................................................................................................ 4
TU
5.2.3 McbDetect
UT
....................................................................................................................................... 4
TU
5.2.4 McbGetInfo
UT
..................................................................................................................................... 4
TU
5.2.5 McbReadDataMem
UT
......................................................................................................................... 5
TU
5.2.6 McbWriteDataMem
UT
......................................................................................................................... 5
TU
5.2.7 McbWriteDataMemMask
UT
................................................................................................................ 5
TU
5.2.8 McbSendAppCmd
UT
........................................................................................................................... 5
TU
5.2.9 McbGetAppCmdStatus
UT
................................................................................................................... 5
TU
5.3 Lumitron Defined Commands
UT
............................................................................................................. 5
TU
5.3.1 CMD_COPY_SFLASH_PAGE
UT
....................................................................................................... 6
TU
5.3.2 CMD_PROG_SFLASH_FULL
UT
........................................................................................................ 7
TU
5.3.3 CMD_PROG_SFLASH_PARTIAL
UT
.................................................................................................. 7
TU
5.3.4 CMD_PROG_PRODUCT_ID
UT
.......................................................................................................... 7
TU
5.3.5 CMD_READ_PRODUCT_ID
UT
.......................................................................................................... 8
TU
5.3.6 CMD_PROG_STATIC_CFG
UT
........................................................................................................... 8
TU
5.3.7 CMD_READ_STATIC_CFG
UT
........................................................................................................... 9
TU
5.3.8 CMD_GET_CAMERA_TIME
UT
.......................................................................................................... 9
TU
5.3.9 CMD_SET_CAMERA_TIME
UT
........................................................................................................... 9
TU
5.3.10 CMD_GET_NVM_DATA
UT
............................................................................................................... 9
TU
5.3.11 CMD_SET_NVM_DATA
UT
............................................................................................................. 10
TU
5.3.12 CMD_FOCUS_MOTOR_FAR
UT
.................................................................................................... 10
TU
5.3.13 CMD_FOCUS_MOTOR_NEAR
UT
.................................................................................................. 10
TU
5.3.14 CMD_IMAGE_GRAB
UT
.................................................................................................................. 11
TU
5.3.15 CMD_READ_UTILITY_MEMORY
UT
.............................................................................................. 11
iii