Index: output/eeprom.dat
===================================================================
--- /1306ac/branch/mouse/branch/XZR_Project/Only_24G_LM_DPI_CM9079/output/eeprom.dat	(revision 470)
+++ /1306ac/branch/mouse/branch/XZR_Project/Only_24G_LM_DPI_CM9079/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-36
+3a
 04
 c2
 84
@@ -19,11 +19,11 @@
 c0
 21
 00
-96
+97
 c0
 22
 00
-82
+83
 c0
 23
 80
@@ -35,19 +35,19 @@
 c0
 24
 80
-91
+92
 c0
 26
 00
-9e
+9f
 c0
 27
 00
-c3
+c4
 c0
 29
 00
-e5
+e6
 c0
 2d
 00
@@ -115,7 +115,7 @@
 20
 40
 00
-84
+85
 20
 40
 5c
@@ -143,7 +143,7 @@
 20
 40
 00
-fb
+fc
 d8
 40
 00
@@ -520,10 +520,14 @@
 45
 d4
 0c
+df
 20
-60
-00
 00
+14
+20
+20
+73
+d9
 20
 40
 56
@@ -539,7 +543,7 @@
 c0
 06
 00
-87
+88
 20
 20
 56
@@ -551,15 +555,15 @@
 c0
 00
 00
-8d
+8c
 c0
 00
 80
-8b
+90
 c0
 01
 00
-8f
+8e
 68
 48
 c9
@@ -571,7 +575,7 @@
 68
 48
 c9
-16
+18
 20
 20
 56
@@ -579,7 +583,7 @@
 68
 48
 c9
-18
+19
 20
 20
 56
@@ -603,7 +607,7 @@
 20
 20
 00
-84
+85
 78
 54
 7c
@@ -631,7 +635,7 @@
 20
 40
 00
-84
+85
 20
 20
 54
@@ -643,15 +647,15 @@
 c0
 1c
 80
-a3
+a4
 c0
 1e
 00
-a5
+a6
 c0
 1d
 00
-b2
+b3
 20
 20
 59
@@ -735,11 +739,11 @@
 c0
 02
 00
-b9
+ba
 c0
 01
 80
-be
+bf
 20
 20
 5d
@@ -807,7 +811,7 @@
 20
 40
 00
-d3
+d4
 20
 40
 5e
@@ -843,7 +847,7 @@
 20
 40
 00
-e1
+e2
 20
 20
 5a
@@ -883,7 +887,7 @@
 20
 22
 80
-de
+df
 70
 49
 14
@@ -939,7 +943,7 @@
 20
 40
 01
-07
+08
 6f
 e2
 49
@@ -947,7 +951,7 @@
 20
 3a
 00
-f3
+f4
 67
 e2
 49
@@ -975,7 +979,7 @@
 20
 20
 00
-e9
+ea
 6f
 e2
 49
@@ -1019,7 +1023,7 @@
 20
 40
 01
-07
+08
 6f
 e2
 49
@@ -1027,7 +1031,7 @@
 20
 3a
 01
-0a
+0b
 67
 e2
 49
@@ -1047,7 +1051,7 @@
 24
 21
 01
-0a
+0b
 1a
 42
 7e
@@ -1055,7 +1059,7 @@
 20
 20
 00
-fd
+fe
 d8
 40
 00
@@ -1080,8 +1084,8 @@
 60
 00
 00
-84
-04
+4f
+15
 aa
 55
 06
@@ -1642,5 +1646,5 @@
 55
 c6
 a7
-9e
-ae
+99
+50
Index: output/program.lis
===================================================================
--- /1306ac/branch/mouse/branch/XZR_Project/Only_24G_LM_DPI_CM9079/output/program.lis	(revision 470)
+++ /1306ac/branch/mouse/branch/XZR_Project/Only_24G_LM_DPI_CM9079/output/program.lis	(working copy)
@@ -3,14 +3,14 @@
 0000 c2840011 bbit1 8 ,pf_patch_ext 
 0001 c01e8056 beq patch07_5 ,p_mouse_setgpio_hibernate 
 0002 c0230068 beq patch08_6 ,p_mouse_3io6key_check 
-0003 c0210096 beq patch08_2 ,p_mouse_motion 
-0004 c0220082 beq patch08_4 ,p_mouse_setting_dpi 
+0003 c0210097 beq patch08_2 ,p_mouse_motion 
+0004 c0220083 beq patch08_4 ,p_mouse_setting_dpi 
 0005 c0238073 beq patch08_7 ,p_mouse_init_sunt 
 0006 c0240076 beq patch09_0 ,p_mouse_init_sensor 
-0007 c0248091 beq patch09_1 ,p_mouse_sensor_poweron 
-0008 c026009e beq patch09_4 ,p_mouse_priority_bb_event 
-0009 c02700c3 beq patch09_6 ,p_mouse_bb_event_timer 
-000a c02900e5 beq patch0a_2 ,p_mouse_store_device_info 
+0007 c0248092 beq patch09_1 ,p_mouse_sensor_poweron 
+0008 c026009f beq patch09_4 ,p_mouse_priority_bb_event 
+0009 c02700c4 beq patch09_6 ,p_mouse_bb_event_timer 
+000a c02900e6 beq patch0a_2 ,p_mouse_store_device_info 
 000b c02d004b beq patch0b_2 ,p_mouse_24g_package_data 
 000c c02f0036 beq patch0b_6 ,p_mouse_ui_led_off_static 
 000d c02f803a beq patch0b_7 ,p_mouse_ui_led_on_static 
@@ -33,7 +33,7 @@
 0018 20758000 rtn wake 
 0019 70491300 jam 0 ,mem_mouse_commbination_dpi_check_enable 
 001a 204059bd call mouse_le_name_load 
-001b 20400084 call p_mouse_setting_sensor_type 
+001b 20400085 call p_mouse_setting_sensor_type 
 001c 20405cc5 call mouse_drawing_optima_init 
 001d 2040003e call p_mouse_cb_fuction 
 001e 20205234 branch mouse_init + 8 
@@ -44,7 +44,7 @@
 0021 c40b8000 rtnbit0 mouse_enable_otp 
 
 p_mouse_load_otp_info_check:
-0022 204000fb call p_mouse_read_otp_24g_addr 
+0022 204000fc call p_mouse_read_otp_24g_addr 
 
 p_mouse_otp_load_app_initflag:
 0023 d8400002 arg 2 ,temp 
@@ -181,200 +181,201 @@
 
 p_mouse_om16_init_param:
 0080 7045d40c jam om16 ,mem_config_sensor_type 
-0081 20600000 rtn 
+0081 df200014 arg 20 ,loopcnt 
+0082 202073d9 branch delay_ms_wait 
 
 p_mouse_setting_dpi:
-0082 2040562f call mouse_setting_dpi_4_level 
-0083 20405ebd call mouse_dpi_led_blink_delay 
+0083 2040562f call mouse_setting_dpi_4_level 
+0084 20405ebd call mouse_dpi_led_blink_delay 
 
 p_mouse_setting_sensor_type:
-0084 6fe0c5d4 fetch 1 ,mem_config_sensor_type 
-0085 c0060087 beq om16 ,p_mouse_seting_om16_dpi 
-0086 20205639 branch mouse_setting_sensor_type + 1 
+0085 6fe0c5d4 fetch 1 ,mem_config_sensor_type 
+0086 c0060088 beq om16 ,p_mouse_seting_om16_dpi 
+0087 20205639 branch mouse_setting_sensor_type + 1 
 
 p_mouse_seting_om16_dpi:
-0087 6fe0c63f fetch 1 ,mem_mouse_dpi 
-0088 c000008d beq mouse_dpi_level1 ,p_mouse_om16_set_cpi0 
-0089 c000808b beq mouse_dpi_level2 ,p_mouse_om16_set_cpi1 
-008a c001008f beq mouse_dpi_level3 ,p_mouse_om16_set_cpi2 
+0088 6fe0c63f fetch 1 ,mem_mouse_dpi 
+0089 c000008c beq mouse_dpi_level1 ,p_mouse_om16_set_cpi1 
+008a c0008090 beq mouse_dpi_level2 ,p_mouse_om16_set_cpi3 
+008b c001008e beq mouse_dpi_level3 ,p_mouse_om16_set_cpi2 
 
 p_mouse_om16_set_cpi1:
-008b 6848c917 fetcht 1 ,mem_om16_dpi_1 
-008c 20205647 branch mouse_dpi_store 
-
-p_mouse_om16_set_cpi0:
-008d 6848c916 fetcht 1 ,mem_om16_dpi_0 
-008e 20205647 branch mouse_dpi_store 
+008c 6848c917 fetcht 1 ,mem_om16_dpi_1 
+008d 20205647 branch mouse_dpi_store 
 
 p_mouse_om16_set_cpi2:
-008f 6848c918 fetcht 1 ,mem_om16_dpi_2 
-0090 20205647 branch mouse_dpi_store 
+008e 6848c918 fetcht 1 ,mem_om16_dpi_2 
+008f 20205647 branch mouse_dpi_store 
+
+p_mouse_om16_set_cpi3:
+0090 6848c919 fetcht 1 ,mem_om16_dpi_3 
+0091 20205647 branch mouse_dpi_store 
 
 p_mouse_sensor_poweron:
-0091 20405490 call mouse_sensor_spi_init 
-0092 2040582b call mouse_sensor_reset 
-0093 20405833 call mouse_sensor_poweron_init 
-0094 204057e6 call mouse_sensor_wr_seq 
-0095 20200084 branch p_mouse_setting_sensor_type 
+0092 20405490 call mouse_sensor_spi_init 
+0093 2040582b call mouse_sensor_reset 
+0094 20405833 call mouse_sensor_poweron_init 
+0095 204057e6 call mouse_sensor_wr_seq 
+0096 20200085 branch p_mouse_setting_sensor_type 
 
 p_mouse_motion:
-0096 78547c00 disable user 
-0097 58000000 setarg 0 
-0098 67e34579 store 6 ,mem_mouse_x 
-0099 20405847 call mouse_check_sensor_data 
-009a 58000089 setarg 0x0089 
-009b 2040674d call twspi_write 
-009c 20400084 call p_mouse_setting_sensor_type 
-009d 202054a3 branch mouse_motion + 8 
+0097 78547c00 disable user 
+0098 58000000 setarg 0 
+0099 67e34579 store 6 ,mem_mouse_x 
+009a 20405847 call mouse_check_sensor_data 
+009b 58000089 setarg 0x0089 
+009c 2040674d call twspi_write 
+009d 20400085 call p_mouse_setting_sensor_type 
+009e 202054a3 branch mouse_motion + 8 
 
 p_mouse_priority_bb_event:
-009e 1a627e00 copy regc ,pdata 
-009f c01c80a3 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-00a0 c01e00a5 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-00a1 c01d00b2 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-00a2 20205914 branch mouse_priority_bb_event + 2 
+009f 1a627e00 copy regc ,pdata 
+00a0 c01c80a4 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+00a1 c01e00a6 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+00a2 c01d00b3 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+00a3 20205914 branch mouse_priority_bb_event + 2 
 
 p_mouse_24g_pairing_complete:
-00a3 70491301 jam 1 ,mem_mouse_commbination_dpi_check_enable 
-00a4 20205e21 branch mouse_24g_pairing_complete 
+00a4 70491301 jam 1 ,mem_mouse_commbination_dpi_check_enable 
+00a5 20205e21 branch mouse_24g_pairing_complete 
 
 p_mouse_24g_attempt_success:
-00a5 70491301 jam 1 ,mem_mouse_commbination_dpi_check_enable 
-00a6 6fe244da fetch 4 ,mem_24g_addr 
-00a7 67e24533 store 4 ,mem_24g_receiver_addr 
-00a8 67e24640 store 4 ,mem_mouse_24g_addr 
-00a9 20404bce call g24_ch_syncword_crc8_init 
-00aa 20405e1b call mouse_device_poweron_led_config 
-00ab 20405aa9 call mouse_no_data_timer_init 
-00ac 204058c4 call mouse_init_sensor_reset 
-00ad 70476800 jam 0 ,mem_mouse_long_mult_flag 
-00ae 70454700 jam 0 ,mem_24g_conn_sm 
-00af 70452d00 jam 0 ,mem_24g_reconn_type 
-00b0 684a4533 fetcht 4 ,mem_24g_receiver_addr 
-00b1 20205e17 branch mouse_24g_attempt_success + 11 
+00a6 70491301 jam 1 ,mem_mouse_commbination_dpi_check_enable 
+00a7 6fe244da fetch 4 ,mem_24g_addr 
+00a8 67e24533 store 4 ,mem_24g_receiver_addr 
+00a9 67e24640 store 4 ,mem_mouse_24g_addr 
+00aa 20404bce call g24_ch_syncword_crc8_init 
+00ab 20405e1b call mouse_device_poweron_led_config 
+00ac 20405aa9 call mouse_no_data_timer_init 
+00ad 204058c4 call mouse_init_sensor_reset 
+00ae 70476800 jam 0 ,mem_mouse_long_mult_flag 
+00af 70454700 jam 0 ,mem_24g_conn_sm 
+00b0 70452d00 jam 0 ,mem_24g_reconn_type 
+00b1 684a4533 fetcht 4 ,mem_24g_receiver_addr 
+00b2 20205e17 branch mouse_24g_attempt_success + 11 
 
 p_mouse_24g_attempt_fail:
-00b2 6fe0c54b fetch 1 ,mem_24g_attempt_fail_flag 
-00b3 243a5d80 nbranch mouse_24g_hibernate_set ,blank 
-00b4 6fe0c52d fetch 1 ,mem_24g_reconn_type 
-00b5 c0015df4 beq fast_conn_and_3_0_addr ,mouse_24g_fast_conn_attempt_fail 
-00b6 c00200b9 beq pair_and_3_0_addr ,p_mouse_24g_auto_pair_attempt_fail 
-00b7 c00180be beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
-00b8 20205ded branch mouse_24g_attempt_fail_enter_hibernate_next 
+00b3 6fe0c54b fetch 1 ,mem_24g_attempt_fail_flag 
+00b4 243a5d80 nbranch mouse_24g_hibernate_set ,blank 
+00b5 6fe0c52d fetch 1 ,mem_24g_reconn_type 
+00b6 c0015df4 beq fast_conn_and_3_0_addr ,mouse_24g_fast_conn_attempt_fail 
+00b7 c00200ba beq pair_and_3_0_addr ,p_mouse_24g_auto_pair_attempt_fail 
+00b8 c00180bf beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
+00b9 20205ded branch mouse_24g_attempt_fail_enter_hibernate_next 
 
 p_mouse_24g_auto_pair_attempt_fail:
-00b9 6fe44864 fetch mouse_flag_len ,mem_mouse_flag 
-00ba c317dded bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate_next 
-00bb 6fe0c86c fetch 1 ,mem_device_number 
-00bc c000dded beq 1 ,mouse_24g_attempt_fail_enter_hibernate_next 
-00bd 20205dcb branch mouse_24g_first_bluetooth_reconnect 
+00ba 6fe44864 fetch mouse_flag_len ,mem_mouse_flag 
+00bb c317dded bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate_next 
+00bc 6fe0c86c fetch 1 ,mem_device_number 
+00bd c000dded beq 1 ,mouse_24g_attempt_fail_enter_hibernate_next 
+00be 20205dcb branch mouse_24g_first_bluetooth_reconnect 
 
 p_mouse_reconn_dongle_attempt_fail:
-00be 6fe44864 fetch mouse_flag_len ,mem_mouse_flag 
-00bf c317dded bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate_next 
-00c0 c289dded bbit1 mouse_enable_eeprom ,mouse_24g_attempt_fail_enter_hibernate_next 
-00c1 c2895ded bbit1 mouse_enable_flash ,mouse_24g_attempt_fail_enter_hibernate_next 
-00c2 20205dc4 branch mouse_24g_start_auto_pair + 1 
+00bf 6fe44864 fetch mouse_flag_len ,mem_mouse_flag 
+00c0 c317dded bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate_next 
+00c1 c289dded bbit1 mouse_enable_eeprom ,mouse_24g_attempt_fail_enter_hibernate_next 
+00c2 c2895ded bbit1 mouse_enable_flash ,mouse_24g_attempt_fail_enter_hibernate_next 
+00c3 20205dc4 branch mouse_24g_start_auto_pair + 1 
 
 p_mouse_bb_event_timer:
-00c3 204053c6 call mouse_adc_read 
-00c4 20405f47 call mouse_low_voltage_led_timer 
-00c5 20404907 call g24_pair_timeout_timer 
-00c6 20404ba5 call g24_reconn_timeout_timer 
-00c7 20405d6b call mouse_24g_long_sleep_param_update_timer 
-00c8 204000d3 call p_mouse_commbination_dpi_check_timer 
-00c9 20405e9a call mouse_device_poweron_timer 
-00ca 20405ecb call mouse_dpi_led_blink_delay_timer 
-00cb 20405ac1 call mouse_led_multi_timer 
-00cc 20405af3 call mouse_logo_led_on_timer 
-00cd 2040561c call mouse_dpi_key_check_long_press 
-00ce 20405a36 call mouse_bt_discovery_check 
-00cf 20405a46 call mouse_commbination_key_process 
-00d0 20405a69 call mouse_check_discovery_timeout_timer 
-00d1 204000e1 call p_mouse_check_direct_timeout_timer 
-00d2 20205a2d branch mouse_bb_event_timer + 15 
+00c4 204053c6 call mouse_adc_read 
+00c5 20405f47 call mouse_low_voltage_led_timer 
+00c6 20404907 call g24_pair_timeout_timer 
+00c7 20404ba5 call g24_reconn_timeout_timer 
+00c8 20405d6b call mouse_24g_long_sleep_param_update_timer 
+00c9 204000d4 call p_mouse_commbination_dpi_check_timer 
+00ca 20405e9a call mouse_device_poweron_timer 
+00cb 20405ecb call mouse_dpi_led_blink_delay_timer 
+00cc 20405ac1 call mouse_led_multi_timer 
+00cd 20405af3 call mouse_logo_led_on_timer 
+00ce 2040561c call mouse_dpi_key_check_long_press 
+00cf 20405a36 call mouse_bt_discovery_check 
+00d0 20405a46 call mouse_commbination_key_process 
+00d1 20405a69 call mouse_check_discovery_timeout_timer 
+00d2 204000e2 call p_mouse_check_direct_timeout_timer 
+00d3 20205a2d branch mouse_bb_event_timer + 15 
 
 p_mouse_commbination_dpi_check_timer:
-00d3 6fe0c915 fetch 1 ,mem_mouse_commbination_key_dpi 
-00d4 c17f8000 rtneq gpio_disable 
-00d5 6fe0c913 fetch 1 ,mem_mouse_commbination_dpi_check_enable 
-00d6 207a0000 rtn blank 
-00d7 204056b9 call mouse_check_key_gpio 
-00d8 1fe17e07 and pdata ,0x07 ,pdata 
-00d9 6848c915 fetcht 1 ,mem_mouse_commbination_key_dpi 
-00da 98467c00 isub temp ,null 
-00db 202280de branch p_mouse_commbination_dpi_check ,zero 
-00dc 70491401 jam 0x01 ,mem_commbination_dpi_timer 
-00dd 20600000 rtn 
+00d4 6fe0c915 fetch 1 ,mem_mouse_commbination_key_dpi 
+00d5 c17f8000 rtneq gpio_disable 
+00d6 6fe0c913 fetch 1 ,mem_mouse_commbination_dpi_check_enable 
+00d7 207a0000 rtn blank 
+00d8 204056b9 call mouse_check_key_gpio 
+00d9 1fe17e07 and pdata ,0x07 ,pdata 
+00da 6848c915 fetcht 1 ,mem_mouse_commbination_key_dpi 
+00db 98467c00 isub temp ,null 
+00dc 202280df branch p_mouse_commbination_dpi_check ,zero 
+00dd 70491401 jam 0x01 ,mem_commbination_dpi_timer 
+00de 20600000 rtn 
 
 p_mouse_commbination_dpi_check:
-00de da604914 arg mem_commbination_dpi_timer ,regc 
-00df da4055e5 arg mouse_dpi_process + 3 ,regb 
-00e0 20204dcc branch timer_single_step 
+00df da604914 arg mem_commbination_dpi_timer ,regc 
+00e0 da4055e5 arg mouse_dpi_process + 3 ,regb 
+00e1 20204dcc branch timer_single_step 
 
 p_mouse_check_direct_timeout_timer:
-00e1 da604831 arg mem_mouse_direct_timer ,regc 
-00e2 da405a74 arg mouse_check_direct_timeout ,regb 
-00e3 20404dcc call timer_single_step 
-00e4 20205a71 branch mouse_check_direct_timeout_timer + 3 
+00e2 da604831 arg mem_mouse_direct_timer ,regc 
+00e3 da405a74 arg mouse_check_direct_timeout ,regb 
+00e4 20404dcc call timer_single_step 
+00e5 20205a71 branch mouse_check_direct_timeout_timer + 3 
 
 p_mouse_store_device_info:
-00e5 20405b90 call mouse_store_device_info + 1 
-00e6 c40b8000 rtnbit0 mouse_enable_otp 
+00e6 20405b90 call mouse_store_device_info + 1 
+00e7 c40b8000 rtnbit0 mouse_enable_otp 
 
 p_mouse_store_otp_device_info:
 
 p_mouse_otp_store_24g_addr:
-00e7 dfe00790 arg otp_offset_24g_addr ,pdata 
-00e8 1fe22400 copy pdata ,regb 
+00e8 dfe00790 arg otp_offset_24g_addr ,pdata 
+00e9 1fe22400 copy pdata ,regb 
 
 p_mouse_otp_store_24g_addr_loop:
-00e9 20400107 call p_mouse_read_otp_24g_addr_common 
-00ea 6fe2490d fetch 4 ,mem_mouse_24g_addr_temp 
-00eb 203a00f3 branch p_mouse_24g_addr_store ,blank 
-00ec 67e24909 store 4 ,mem_mouse_24g_addr_last 
-00ed 1a40a404 increase 4 ,regb 
-00ee dfe007cf arg otp_offset_24g_addr_end ,pdata 
-00ef 9a467c00 isub regb ,null 
-00f0 24610000 nrtn positive 
-00f1 1a427e00 copy regb ,pdata 
-00f2 202000e9 branch p_mouse_otp_store_24g_addr_loop 
+00ea 20400108 call p_mouse_read_otp_24g_addr_common 
+00eb 6fe2490d fetch 4 ,mem_mouse_24g_addr_temp 
+00ec 203a00f4 branch p_mouse_24g_addr_store ,blank 
+00ed 67e24909 store 4 ,mem_mouse_24g_addr_last 
+00ee 1a40a404 increase 4 ,regb 
+00ef dfe007cf arg otp_offset_24g_addr_end ,pdata 
+00f0 9a467c00 isub regb ,null 
+00f1 24610000 nrtn positive 
+00f2 1a427e00 copy regb ,pdata 
+00f3 202000ea branch p_mouse_otp_store_24g_addr_loop 
 
 p_mouse_24g_addr_store:
-00f3 6fe24909 fetch 4 ,mem_mouse_24g_addr_last 
-00f4 684a4640 fetcht 4 ,mem_mouse_24g_addr 
-00f5 98467c00 isub temp ,null 
-00f6 20628000 rtn zero 
-00f7 df200004 arg 4 ,loopcnt 
-00f8 da204640 arg mem_mouse_24g_addr ,rega 
-00f9 1a427e00 copy regb ,pdata 
-00fa 20206883 branch otp_write 
+00f4 6fe24909 fetch 4 ,mem_mouse_24g_addr_last 
+00f5 684a4640 fetcht 4 ,mem_mouse_24g_addr 
+00f6 98467c00 isub temp ,null 
+00f7 20628000 rtn zero 
+00f8 df200004 arg 4 ,loopcnt 
+00f9 da204640 arg mem_mouse_24g_addr ,rega 
+00fa 1a427e00 copy regb ,pdata 
+00fb 20206883 branch otp_write 
 
 p_mouse_read_otp_24g_addr:
-00fb dfe00790 arg otp_offset_24g_addr ,pdata 
-00fc 1fe22400 copy pdata ,regb 
+00fc dfe00790 arg otp_offset_24g_addr ,pdata 
+00fd 1fe22400 copy pdata ,regb 
 
 p_mouse_read_otp_24g_addr_loop:
-00fd 20400107 call p_mouse_read_otp_24g_addr_common 
-00fe 6fe2490d fetch 4 ,mem_mouse_24g_addr_temp 
-00ff 203a010a branch p_mouse_24g_addr_load ,blank 
-0100 67e24909 store 4 ,mem_mouse_24g_addr_last 
-0101 1a40a404 increase 4 ,regb 
-0102 dfe007cf arg otp_offset_24g_addr_end ,pdata 
-0103 9a467c00 isub regb ,null 
-0104 2421010a nbranch p_mouse_24g_addr_load ,positive 
-0105 1a427e00 copy regb ,pdata 
-0106 202000fd branch p_mouse_read_otp_24g_addr_loop 
+00fe 20400108 call p_mouse_read_otp_24g_addr_common 
+00ff 6fe2490d fetch 4 ,mem_mouse_24g_addr_temp 
+0100 203a010b branch p_mouse_24g_addr_load ,blank 
+0101 67e24909 store 4 ,mem_mouse_24g_addr_last 
+0102 1a40a404 increase 4 ,regb 
+0103 dfe007cf arg otp_offset_24g_addr_end ,pdata 
+0104 9a467c00 isub regb ,null 
+0105 2421010b nbranch p_mouse_24g_addr_load ,positive 
+0106 1a427e00 copy regb ,pdata 
+0107 202000fe branch p_mouse_read_otp_24g_addr_loop 
 
 p_mouse_read_otp_24g_addr_common:
-0107 d8400004 arg 4 ,temp 
-0108 da20490d arg mem_mouse_24g_addr_temp ,rega 
-0109 202068c5 branch otpd_read_data_with_pwr_operation 
+0108 d8400004 arg 4 ,temp 
+0109 da20490d arg mem_mouse_24g_addr_temp ,rega 
+010a 202068c5 branch otpd_read_data_with_pwr_operation 
 
 p_mouse_24g_addr_load:
-010a 6fe24909 fetch 4 ,mem_mouse_24g_addr_last 
-010b 67e24640 store 4 ,mem_mouse_24g_addr 
-010c 20600000 rtn 
+010b 6fe24909 fetch 4 ,mem_mouse_24g_addr_last 
+010c 67e24640 store 4 ,mem_mouse_24g_addr 
+010d 20600000 rtn 
               org 0x3800
 
 start:
Index: program/patch.prog
===================================================================
--- /1306ac/branch/mouse/branch/XZR_Project/Only_24G_LM_DPI_CM9079/program/patch.prog	(revision 470)
+++ /1306ac/branch/mouse/branch/XZR_Project/Only_24G_LM_DPI_CM9079/program/patch.prog	(working copy)
@@ -244,7 +244,8 @@
 
 p_mouse_om16_init_param:
 	jam OM16,mem_config_sensor_type
-	rtn
+	arg 20,loopcnt
+	branch delay_ms_wait
 
 p_mouse_setting_dpi:
 	call mouse_setting_dpi_4_level
@@ -256,22 +257,22 @@
 
 p_mouse_seting_om16_dpi:
 	fetch 1,mem_mouse_dpi
-	beq MOUSE_DPI_LEVEL1,p_mouse_om16_set_cpi0		//1200
-	beq MOUSE_DPI_LEVEL2,p_mouse_om16_set_cpi1		//1600
+	beq MOUSE_DPI_LEVEL1,p_mouse_om16_set_cpi1		//1200
+	beq MOUSE_DPI_LEVEL2,p_mouse_om16_set_cpi3		//1600
 	beq MOUSE_DPI_LEVEL3,p_mouse_om16_set_cpi2		//800
-//	beq MOUSE_DPI_LEVEL4,p_mouse_om16_set_cpi3		//1000
-p_mouse_om16_set_cpi1:			//1600
+//	beq MOUSE_DPI_LEVEL4,p_mouse_om16_set_cpi3		//1600
+p_mouse_om16_set_cpi1:			//1200
 	fetcht 1,mem_om16_dpi_1
 	branch mouse_dpi_store
-p_mouse_om16_set_cpi0:			//1200
-	fetcht 1,mem_om16_dpi_0
-	branch mouse_dpi_store
+//p_mouse_om16_set_cpi0:			//2000
+//	fetcht 1,mem_om16_dpi_0
+//	branch mouse_dpi_store
 p_mouse_om16_set_cpi2:			//800
 	fetcht 1,mem_om16_dpi_2
 	branch mouse_dpi_store
-//p_mouse_om16_set_cpi3:		//1000
-//	fetcht 1,mem_om16_dpi_3
-//	branch mouse_dpi_store
+p_mouse_om16_set_cpi3:		//1600
+	fetcht 1,mem_om16_dpi_3
+	branch mouse_dpi_store
 
 p_mouse_sensor_poweron:
 	call mouse_sensor_spi_init
Index: sched/mouse_basic.dat
===================================================================
--- /1306ac/branch/mouse/branch/XZR_Project/Only_24G_LM_DPI_CM9079/sched/mouse_basic.dat	(revision 470)
+++ /1306ac/branch/mouse/branch/XZR_Project/Only_24G_LM_DPI_CM9079/sched/mouse_basic.dat	(working copy)
@@ -346,10 +346,10 @@
 ff ff
 
 mem_om16_dpi:
-07 ##mem_om16_dpi_0
-05 ##mem_om16_dpi_1
-04 ##mem_om16_dpi_2
-06 ##mem_om16_dpi_3
+07 ##mem_om16_dpi_0		2000
+05 ##mem_om16_dpi_1		1200
+04 ##mem_om16_dpi_2		800
+06 ##mem_om16_dpi_3		1600
 
 
 
