12
5-3
SOFTWARE FLOW CHART
I.
Power-On Subroutine CHART
OK
Check White-balance data(C1 & C2) same with the backup data ?
Check POC( backlight counter) data same with the backup data ?
IF not same, overwrite the data with backup value.
Initial GMZAN2
Yes
POWER-ON START
Initial MCU I/O, Interrupt vector & Ram
Initial 1.POC (backlight counter)
2. Clr all mode value
Yes
Check if in Factory mode?(when power-on,press the
MENU Button will be in FACTORY mode)
SET factory mode flag
Check Previous power-switch status from Eeprom, & other system status
MAIN-SUBROTINE LOOP
No
Check Eeprom is empty ?
Clear factory mode flag
No