User guide

Company confidential proprietary information. Do not distribute.
© 2009 Microsoft Corporation, all rights reserved.
SenseCam v2.3 User Guide Page 26 of 31 10/03/2009
The TIME.CSV file can contain up to two lines, one for setting the time of day and the other
for setting the date. The format for these two lines is the same as the tim and dat
BOOT.BAT commands (either spaces or commas can be used as parameter delimiters).
5.6. SenseCam action on connection to and disconnection from USB
When the SenseCam detects a USB connection, it stores the current real-time clock value in
its internal non-volatile memory. It then shuts down the file system and peripherals, makes
the SD card available to the USB device controller, and enters its low-power sleep mode.
On disconnection from USB, SenseCam looks for the file TIME.CSV in the \SYSTEM
directory. If it exists, the time difference between the time stored in TIME.CSV and the time
stored internally is calculated and then added to the (continually advancing) SenseCam real-
time clock. This mechanism ensures that SenseCam time is set to the time of the PC, no
matter how long the camera was docked for. After setting the real-time clock in this way,
the SenseCam then deletes TIME.CSV.
Having altered the real-time clock if appropriate, the SenseCam will continue to boot up.
During this process it will retrieve the configuration settings from non-volatile memory, and
finally it will read and act on the BOOT.BAT file in the \SYSTEM directory (see below for
details). It is possible that BOOT.BAT file commands will override defaults set in the non-
volatile memory.
5.7. Non-volatile configuration options
There are two configuration bytes in the non-volatile memory of the SenseCam that may be
changed by means of the eewrite command in the BOOT.BAT file. The current values of
these configuration bytes are recorded in the SYS entry in the SENSOR.CSV file.
Modifying factory-shipped configuration options is not recommended since it may
adversely affect the operation of the SenseCam, and if the commands are entered in error
it may render the SenseCam inoperable.
If the config0 and config1 bit settings described in the tables below are to be modified
after the camera has been shipped, it is recommended that all bit settings in positions
which are not explicitly described below should be preserved from the values in the
default original SENSOR.CSV records. This will avoid inadvertently changing other
internal (potentially critical) functionality.
The address and bit meanings of these two configuration bytes are as follows: