Index: format/rom.format
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/PB_3mode_3ch_602_UART_LED/format/rom.format	(revision 4543)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/PB_3mode_3ch_602_UART_LED/format/rom.format	(working copy)
@@ -9783,11 +9783,11 @@
 1 mem_long_sleep_flag
 1 mem_mouse_customer_key_connect_vin_flag
 
-42 mem_sensor_sg8670_init
+44 mem_sensor_sg8670_init
 16 mem_sensor_sg8670_dpi_800
-16 mem_sensor_sg8670_dpi_1000
 16 mem_sensor_sg8670_dpi_1200
 16 mem_sensor_sg8670_dpi_1600
+16 mem_sensor_sg8670_dpi_2400
 
 1 mem_mouse_uart_rgb_led_state
 1 mem_mouse_uart_batt_on_flag
Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/PB_3mode_3ch_602_UART_LED/output/eeprom.dat	(revision 4543)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/PB_3mode_3ch_602_UART_LED/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-1e
+26
 19
 c2
 84
@@ -79,7 +79,7 @@
 c0
 67
 85
-d7
+d9
 c0
 68
 03
@@ -87,7 +87,7 @@
 c0
 68
 85
-6c
+6e
 c0
 69
 83
@@ -95,7 +95,7 @@
 c0
 6a
 05
-54
+56
 c0
 6b
 02
@@ -115,7 +115,7 @@
 c0
 6f
 05
-b5
+b7
 c0
 6f
 80
@@ -215,7 +215,7 @@
 c0
 76
 85
-df
+e1
 20
 20
 13
@@ -1403,7 +1403,7 @@
 20
 40
 06
-0d
+0f
 79
 3f
 80
@@ -1427,7 +1427,7 @@
 20
 40
 06
-32
+34
 20
 40
 03
@@ -1447,7 +1447,7 @@
 20
 40
 05
-63
+65
 20
 20
 3b
@@ -1995,7 +1995,7 @@
 20
 20
 05
-63
+65
 6f
 e0
 c8
@@ -2259,7 +2259,7 @@
 20
 40
 06
-04
+06
 20
 40
 27
@@ -2395,11 +2395,11 @@
 20
 40
 05
-5e
+60
 20
 40
 05
-63
+65
 20
 20
 3e
@@ -2439,7 +2439,7 @@
 20
 40
 05
-9f
+a1
 d8
 40
 00
@@ -2462,16 +2462,16 @@
 64
 70
 4e
-05
+07
 00
 70
 4e
-08
+0a
 00
 20
 40
 06
-2e
+30
 d8
 40
 00
@@ -2647,7 +2647,7 @@
 20
 40
 05
-9f
+a1
 20
 20
 3e
@@ -3127,7 +3127,7 @@
 20
 40
 05
-63
+65
 20
 20
 02
@@ -3527,7 +3527,7 @@
 da
 60
 4d
-d5
+d7
 20
 20
 42
@@ -3535,7 +3535,7 @@
 da
 60
 4d
-e5
+e7
 20
 20
 42
@@ -3543,7 +3543,7 @@
 da
 60
 4d
-f5
+f7
 20
 20
 42
@@ -3551,7 +3551,7 @@
 da
 60
 4d
-c5
+c7
 20
 20
 42
@@ -3711,7 +3711,7 @@
 20
 20
 05
-59
+5b
 70
 49
 27
@@ -3731,7 +3731,7 @@
 20
 20
 05
-59
+5b
 58
 00
 00
@@ -3847,7 +3847,7 @@
 20
 40
 06
-3d
+3f
 20
 40
 04
@@ -4567,7 +4567,7 @@
 6f
 e0
 ce
-08
+0a
 20
 7a
 00
@@ -4575,7 +4575,7 @@
 68
 48
 ce
-09
+0b
 18
 40
 84
@@ -4583,11 +4583,11 @@
 60
 48
 ce
-09
+0b
 68
 48
 ce
-09
+0b
 6f
 e0
 cb
@@ -4603,35 +4603,35 @@
 6f
 e0
 ce
-05
+07
 c1
 00
 00
 00
 70
 4e
-05
+07
 00
 20
 20
 06
-28
+2a
 6f
 e0
 ce
-05
+07
 c1
 00
 80
 00
 70
 4e
-05
+07
 01
 20
 20
 06
-26
+28
 da
 60
 4b
@@ -4663,19 +4663,19 @@
 c0
 00
 06
-20
+22
 c0
 00
 86
-22
+24
 c0
 01
 06
-24
+26
 c0
 01
 86
-1e
+20
 20
 60
 00
@@ -4687,15 +4687,15 @@
 c0
 00
 06
-20
+22
 c0
 00
 86
-22
+24
 c0
 01
 06
-1e
+20
 20
 60
 00
@@ -4743,7 +4743,7 @@
 20
 40
 05
-6c
+6e
 1f
 e1
 7e
@@ -5351,7 +5351,7 @@
 20
 40
 05
-6a
+6c
 6f
 e0
 c8
@@ -5370,16 +5370,16 @@
 28
 70
 4e
-09
+0b
 00
 70
 4e
-08
+0a
 01
 20
 40
 05
-50
+51
 20
 20
 45
@@ -5399,7 +5399,11 @@
 c0
 05
 85
-46
+47
+c0
+06
+c2
+70
 20
 20
 42
@@ -5456,6 +5460,10 @@
 05
 80
 00
+c1
+06
+80
+00
 20
 20
 47
@@ -5471,7 +5479,7 @@
 c0
 05
 85
-5b
+5d
 20
 40
 42
@@ -5491,7 +5499,7 @@
 20
 40
 05
-61
+63
 da
 60
 4b
@@ -5499,7 +5507,7 @@
 20
 20
 05
-59
+5b
 6f
 e0
 c9
@@ -5507,7 +5515,7 @@
 c0
 05
 85
-61
+63
 20
 20
 42
@@ -5535,7 +5543,7 @@
 c0
 05
 85
-68
+6a
 20
 20
 42
@@ -5551,7 +5559,7 @@
 20
 40
 05
-6c
+6e
 20
 20
 40
@@ -5571,27 +5579,27 @@
 20
 40
 05
-76
+78
 20
 40
 05
-7b
+7d
 20
 40
 05
-80
+82
 20
 40
 05
-85
+87
 20
 40
 05
-92
+94
 20
 40
 05
-a5
+a7
 20
 20
 41
@@ -5603,7 +5611,7 @@
 20
 40
 05
-9f
+a1
 20
 40
 41
@@ -5623,7 +5631,7 @@
 20
 40
 05
-9f
+a1
 20
 40
 41
@@ -5643,7 +5651,7 @@
 20
 40
 05
-9f
+a1
 20
 40
 41
@@ -5687,7 +5695,7 @@
 c0
 7f
 85
-8e
+90
 20
 20
 41
@@ -5699,7 +5707,7 @@
 20
 40
 05
-a2
+a4
 68
 48
 c9
@@ -5739,7 +5747,7 @@
 c0
 7f
 85
-9b
+9d
 20
 20
 41
@@ -5751,7 +5759,7 @@
 20
 40
 05
-a2
+a4
 68
 48
 c9
@@ -5823,7 +5831,7 @@
 20
 40
 05
-a2
+a4
 68
 48
 c9
@@ -5851,7 +5859,7 @@
 20
 40
 05
-ba
+bc
 20
 40
 79
@@ -5859,11 +5867,11 @@
 20
 40
 05
-c5
+c7
 20
 40
 05
-be
+c0
 20
 20
 46
@@ -5891,11 +5899,11 @@
 c2
 94
 85
-c2
+c4
 c2
 9b
 85
-c2
+c4
 20
 60
 00
@@ -5935,7 +5943,7 @@
 20
 40
 05
-cc
+ce
 20
 20
 40
@@ -5963,7 +5971,7 @@
 c0
 7f
 85
-d3
+d5
 20
 20
 40
@@ -5975,7 +5983,7 @@
 20
 40
 05
-a2
+a4
 68
 48
 c9
@@ -6051,7 +6059,7 @@
 c5
 13
 05
-e9
+eb
 6f
 e0
 c8
@@ -6063,7 +6071,7 @@
 24
 21
 06
-03
+05
 6f
 e0
 c8
@@ -6075,7 +6083,7 @@
 24
 21
 05
-f1
+f3
 6f
 e0
 c8
@@ -6083,7 +6091,7 @@
 c0
 00
 06
-04
+06
 20
 60
 00
@@ -6119,7 +6127,7 @@
 c5
 13
 05
-fa
+fc
 6f
 e0
 c8
@@ -6151,7 +6159,7 @@
 c0
 01
 06
-0b
+0d
 c0
 00
 a7
@@ -6171,7 +6179,7 @@
 c0
 01
 86
-0a
+0c
 1f
 e0
 fe
@@ -6187,11 +6195,11 @@
 c0
 01
 06
-0b
+0d
 20
 20
 06
-0b
+0d
 70
 41
 e8
@@ -6275,7 +6283,7 @@
 20
 20
 06
-2f
+31
 58
 00
 82
@@ -6283,7 +6291,7 @@
 20
 20
 06
-2f
+31
 58
 00
 83
@@ -6291,7 +6299,7 @@
 20
 20
 06
-2f
+31
 58
 00
 84
@@ -6299,7 +6307,7 @@
 20
 20
 06
-2f
+31
 58
 00
 00
@@ -6307,7 +6315,7 @@
 20
 20
 06
-2f
+31
 58
 00
 00
@@ -6315,7 +6323,7 @@
 20
 20
 06
-2f
+31
 58
 00
 ff
@@ -6323,7 +6331,7 @@
 20
 20
 06
-2f
+31
 58
 00
 00
@@ -6331,7 +6339,7 @@
 20
 20
 06
-2f
+31
 58
 00
 55
@@ -6350,28 +6358,28 @@
 ff
 70
 4e
-05
+07
 01
 70
 4e
-06
+08
 01
 70
 4e
-07
+09
 00
 70
 4e
-08
+0a
 01
 70
 4e
-09
+0b
 00
 20
 40
 06
-26
+28
 20
 40
 7d
@@ -6387,7 +6395,7 @@
 20
 40
 06
-2a
+2c
 20
 20
 7d
@@ -6395,7 +6403,7 @@
 6f
 e0
 ce
-06
+08
 20
 7a
 00
@@ -6403,7 +6411,7 @@
 6f
 e0
 ce
-07
+09
 1f
 e0
 fe
@@ -6411,7 +6419,7 @@
 67
 e0
 ce
-07
+09
 1f
 e6
 7c
@@ -6422,18 +6430,18 @@
 00
 70
 4e
-07
+09
 00
 70
 4e
-06
+08
 00
 20
 20
 06
-2c
-d1
-ba
+2e
+54
+00
 aa
 55
 40
@@ -7784,7 +7792,7 @@
 03
 aa
 55
-6a
+6c
 00
 9b
 4d
@@ -7792,6 +7800,8 @@
 26
 09
 5a
+0f
+04
 28
 04
 29
@@ -7853,9 +7863,9 @@
 7e
 00
 6e
-ac
+b4
 6f
-2c
+34
 09
 00
 7f
@@ -7869,9 +7879,9 @@
 7e
 00
 6e
-b4
+c6
 6f
-34
+46
 09
 00
 7f
@@ -7885,9 +7895,9 @@
 7e
 00
 6e
-c6
+e8
 6f
-46
+68
 09
 00
 7f
@@ -7928,20 +7938,10 @@
 aa
 aa
 55
-69
+f6
 ca
-52
-34
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+83
+c8
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-1a
-c7
+be
+03
Index: output/memmap.format
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/PB_3mode_3ch_602_UART_LED/output/memmap.format	(revision 4543)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/PB_3mode_3ch_602_UART_LED/output/memmap.format	(working copy)
@@ -2291,15 +2291,15 @@
 0x4d99 mem_long_sleep_flag
 0x4d9a mem_mouse_customer_key_connect_vin_flag
 0x4d9b mem_sensor_sg8670_init
-0x4dc5 mem_sensor_sg8670_dpi_800
-0x4dd5 mem_sensor_sg8670_dpi_1000
-0x4de5 mem_sensor_sg8670_dpi_1200
-0x4df5 mem_sensor_sg8670_dpi_1600
-0x4e05 mem_mouse_uart_rgb_led_state
-0x4e06 mem_mouse_uart_batt_on_flag
-0x4e07 mem_mouse_uart_batt_on_timer
-0x4e08 mem_mouse_uart_rgb_on_flag
-0x4e09 mem_mouse_uart_rgb_on_timer
+0x4dc7 mem_sensor_sg8670_dpi_800
+0x4dd7 mem_sensor_sg8670_dpi_1200
+0x4de7 mem_sensor_sg8670_dpi_1600
+0x4df7 mem_sensor_sg8670_dpi_2400
+0x4e07 mem_mouse_uart_rgb_led_state
+0x4e08 mem_mouse_uart_batt_on_flag
+0x4e09 mem_mouse_uart_batt_on_timer
+0x4e0a mem_mouse_uart_rgb_on_flag
+0x4e0b mem_mouse_uart_rgb_on_timer
 0x48d0 mem_remote_car_hard_soft_switch
 0x48d1 mem_remote_car_queue_each_size
 0x48d2 mem_remote_car_queue_length
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/PB_3mode_3ch_602_UART_LED/output/program.lis	(revision 4543)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/PB_3mode_3ch_602_UART_LED/output/program.lis	(working copy)
@@ -18,16 +18,16 @@
 000f c065028e beq patch19_2 ,p_mouse_lpm_before_common 
 0010 c06600f6 beq patch19_4 ,p_mouse_adc_read_start 
 0011 c067052f beq patch19_6 ,p_mouse_motion 
-0012 c06785d7 beq patch19_7 ,p_mouse_dpi_process 
+0012 c06785d9 beq patch19_7 ,p_mouse_dpi_process 
 0013 c0680364 beq patch1a_0 ,p_mouse_seting_dpi 
-0014 c068856c beq patch1a_1 ,p_mouse_check_key_gpio 
+0014 c068856e beq patch1a_1 ,p_mouse_check_key_gpio 
 0015 c069838a beq patch1a_3 ,p_mouse_init_sunt 
-0016 c06a0554 beq patch1a_4 ,p_mouse_sensor_poweron 
+0016 c06a0556 beq patch1a_4 ,p_mouse_sensor_poweron 
 0017 c06b02b1 beq patch1a_6 ,p_mouse_priority_bb_event 
 0018 c06c83bb beq patch1b_1 ,p_mouse_bb_event_timer 
 0019 c06d04b9 beq patch1b_2 ,p_mouse_start_discovery 
 001a c06d84c3 beq patch1b_3 ,p_mouse_stop_discovery 
-001b c06f05b5 beq patch1b_6 ,p_mouse_idle 
+001b c06f05b7 beq patch1b_6 ,p_mouse_idle 
 001c c06f808b beq patch1b_7 ,p_mouse_ready_reconnection_by_button 
 001d c0708084 beq patch1c_1 ,p_mouse_led_off 
 001e c0710081 beq patch1c_2 ,p_mouse_led_on 
@@ -54,7 +54,7 @@
 0031 c07501fd beq patch3d_2 ,p_g24_transmit_no_interrupt 
 0032 c075822a beq patch3d_3 ,p_g24_transmit_hop_process 
 0033 c0760524 beq patch3d_4 ,p_g24_lpm_wait 
-0034 c07685df beq patch3d_5 ,p_power_ctrl_start 
+0034 c07685e1 beq patch3d_5 ,p_power_ctrl_start 
 0035 2020137c branch loop 
 
 p_soft_reset:
@@ -459,18 +459,18 @@
 015c 202013b7 branch init_param_next + 1 
 
 p_app_init:
-015d 2040060d call p_device_hardware_init 
+015d 2040060f call p_device_hardware_init 
 015e 793f8034 set0 mark_adc_enable ,mark 
 015f 20406df3 call enable_authrom 
 0160 20400177 call p_mouse_setting_config 
 0161 204041a7 call mouse_init_sunt 
 0162 20758000 rtn wake 
-0163 20400632 call p_mouse_uart_led_ic_set 
+0163 20400634 call p_mouse_uart_led_ic_set 
 0164 20400366 call p_mouse_seting_sensor_type 
 0165 20403d8a call mouse_usb_check_enable 
 0166 20404728 call mouse_drawing_optima_init 
 0167 204001ab call p_mouse_cb_fuction 
-0168 20400563 call p_mouse_sensor_powerdown 
+0168 20400565 call p_mouse_sensor_powerdown 
 0169 20203bc9 branch mouse_init + 8 
 
 p_mouse_customer_key_connect_vin:
@@ -643,7 +643,7 @@
 01ee 67e0cba4 store 1 ,mem_mouse_search_dongle_action 
 01ef 6fe14bbc fetch 2 ,mem_mouse_24g_search_dongle_time_init 
 01f0 67e14ab2 store 2 ,mem_mouse_no_data_timer 
-01f1 20200563 branch p_mouse_sensor_powerdown 
+01f1 20200565 branch p_mouse_sensor_powerdown 
 
 p_mouse_24g_search_dongle_success:
 01f2 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
@@ -731,7 +731,7 @@
 0230 684a488d fetcht 4 ,mem_24g_fast_conn_addr 
 0231 98467c00 isub temp ,null 
 0232 2022a2cb branch g24_ch ,zero 
-0233 20400604 call p_power_ctrl_txpower_incrs 
+0233 20400606 call p_power_ctrl_txpower_incrs 
 0234 20402724 call power_ctrl_pac_succ_decrs 
 0235 202022cb branch g24_ch 
 
@@ -781,8 +781,8 @@
 0252 58000006 setarg pan_reg_config 
 0253 20405b0d call twspi_read 
 0254 c281be24 bbit1 3 ,mouse_app_enter_hibernate + 4 
-0255 2040055e call p_mouse_sensor_reset 
-0256 20400563 call p_mouse_sensor_powerdown 
+0255 20400560 call p_mouse_sensor_reset 
+0256 20400565 call p_mouse_sensor_powerdown 
 0257 20203e24 branch mouse_app_enter_hibernate + 4 
 
 p_mouse_setgpio_hibernate:
@@ -794,15 +794,15 @@
 025d 6848c910 fetcht 1 ,mem_matrix_public_gpio 
 025e 20406042 call gpio_clr_wake 
 025f 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-0260 2040059f call p_mouse_gpio_config_output_high 
+0260 204005a1 call p_mouse_gpio_config_output_high 
 0261 d8400003 arg 3 ,temp 
 0262 20403f56 call mouse_gpio_config_input_pu 
 0263 2040028e call p_mouse_lpm_before_common 
 0264 20406082 call gpio_pd_idle 
 0265 20400464 call p_mouse_device_multi_led_all_off 
-0266 704e0500 jam 0 ,mem_mouse_uart_rgb_led_state 
-0267 704e0800 jam 0 ,mem_mouse_uart_rgb_on_flag 
-0268 2040062e call p_mouse_led_ic_sleep 
+0266 704e0700 jam 0 ,mem_mouse_uart_rgb_led_state 
+0267 704e0a00 jam 0 ,mem_mouse_uart_rgb_on_flag 
+0268 20400630 call p_mouse_led_ic_sleep 
 0269 d8400013 arg 19 ,temp 
 026a 20403f56 call mouse_gpio_config_input_pu 
 026b 20400270 call p_mouse_device_switch_gpio_high_impedance 
@@ -864,7 +864,7 @@
 0291 20406050 call gpio_config_input 
 0292 20403f88 call mouse_wheel_check 
 0293 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
-0294 2040059f call p_mouse_gpio_config_output_high 
+0294 204005a1 call p_mouse_gpio_config_output_high 
 0295 20203e44 branch mouse_lpm_before_common + 4 
 
 p_g24_nodata_transmit:
@@ -1024,7 +1024,7 @@
 0309 58000000 setarg 0 
 030a 67e3c8d0 store 7 ,mem_mouse_key 
 030b 704be101 jam 1 ,mem_sensor_shutdown_flag 
-030c 20400563 call p_mouse_sensor_powerdown 
+030c 20400565 call p_mouse_sensor_powerdown 
 030d 2020029b branch p_g24_long_sleep 
 
 p_g24_pair_dispatch:
@@ -1160,19 +1160,19 @@
 036f 20600000 rtn 
 
 p_mouse_set_sg8670_dpi_1:
-0370 da604dd5 arg mem_sensor_sg8670_dpi_1000 ,regc 
+0370 da604dd7 arg mem_sensor_sg8670_dpi_1200 ,regc 
 0371 2020422b branch mouse_sensor_wr_seq 
 
 p_mouse_set_sg8670_dpi_2:
-0372 da604de5 arg mem_sensor_sg8670_dpi_1200 ,regc 
+0372 da604de7 arg mem_sensor_sg8670_dpi_1600 ,regc 
 0373 2020422b branch mouse_sensor_wr_seq 
 
 p_mouse_set_sg8670_dpi_3:
-0374 da604df5 arg mem_sensor_sg8670_dpi_1600 ,regc 
+0374 da604df7 arg mem_sensor_sg8670_dpi_2400 ,regc 
 0375 2020422b branch mouse_sensor_wr_seq 
 
 p_mouse_set_sg8670_dpi_4:
-0376 da604dc5 arg mem_sensor_sg8670_dpi_800 ,regc 
+0376 da604dc7 arg mem_sensor_sg8670_dpi_800 ,regc 
 0377 2020422b branch mouse_sensor_wr_seq 
 
 p_mouse_seting_s201_dpi:
@@ -1234,14 +1234,14 @@
 p_mouse_sg8670_init:
 039c 7049270d jam sg8670 ,mem_config_sensor_type 
 039d da604d9b arg mem_sensor_sg8670_init ,regc 
-039e 20200559 branch p_mouse_sensor_end 
+039e 2020055b branch p_mouse_sensor_end 
 
 p_mouse_mx8650_init_param:
 039f 70492705 jam mx8650 ,mem_config_sensor_type 
 03a0 20404232 call mouse_sensor_reset 
 03a1 20407d12 call delay_10ms 
 03a2 da604a39 arg mem_sensor_8650_init ,regc 
-03a3 20200559 branch p_mouse_sensor_end 
+03a3 2020055b branch p_mouse_sensor_end 
 
 p_mouse_3205_3t_init_param:
 03a4 58000049 setarg 0x49 
@@ -1282,7 +1282,7 @@
 03bd 2040232b call g24_pair_timeout_timer 
 03be 20402556 call g24_reconn_timeout_timer 
 03bf 204047cd call mouse_24g_long_sleep_param_update_timer 
-03c0 2040063d call p_mouse_uart_batt_on_timer 
+03c0 2040063f call p_mouse_uart_batt_on_timer 
 03c1 20400485 call p_mouse_dpi_led_blink_delay_timer 
 03c2 2040041e call p_mouse_led_multi_timer 
 03c3 20400474 call p_mouse_logo_led_on_timer 
@@ -1568,27 +1568,27 @@
 0473 20200450 branch p_mouse_multi_dpi_led_on 
 
 p_mouse_logo_led_on_timer:
-0474 6fe0ce08 fetch 1 ,mem_mouse_uart_rgb_on_flag 
+0474 6fe0ce0a fetch 1 ,mem_mouse_uart_rgb_on_flag 
 0475 207a0000 rtn blank 
-0476 6848ce09 fetcht 1 ,mem_mouse_uart_rgb_on_timer 
+0476 6848ce0b fetcht 1 ,mem_mouse_uart_rgb_on_timer 
 0477 18408401 increase 1 ,temp 
-0478 6048ce09 storet 1 ,mem_mouse_uart_rgb_on_timer 
-0479 6848ce09 fetcht 1 ,mem_mouse_uart_rgb_on_timer 
+0478 6048ce0b storet 1 ,mem_mouse_uart_rgb_on_timer 
+0479 6848ce0b fetcht 1 ,mem_mouse_uart_rgb_on_timer 
 047a 6fe0cbee fetch 1 ,mem_mouse_logo_led_on_time_init 
 047b 98467e00 isub temp ,pdata 
 047c 20210481 branch p_mouse_uart_rgb_led_on_check ,positive 
 
 p_mouse_logo_led_off_check:
-047d 6fe0ce05 fetch 1 ,mem_mouse_uart_rgb_led_state 
+047d 6fe0ce07 fetch 1 ,mem_mouse_uart_rgb_led_state 
 047e c1000000 rtneq 0 
-047f 704e0500 jam 0 ,mem_mouse_uart_rgb_led_state 
-0480 20200628 branch p_mouse_uart_rgb_led_off 
+047f 704e0700 jam 0 ,mem_mouse_uart_rgb_led_state 
+0480 2020062a branch p_mouse_uart_rgb_led_off 
 
 p_mouse_uart_rgb_led_on_check:
-0481 6fe0ce05 fetch 1 ,mem_mouse_uart_rgb_led_state 
+0481 6fe0ce07 fetch 1 ,mem_mouse_uart_rgb_led_state 
 0482 c1008000 rtneq 1 
-0483 704e0501 jam 1 ,mem_mouse_uart_rgb_led_state 
-0484 20200626 branch p_mouse_uart_rgb_led_on 
+0483 704e0701 jam 1 ,mem_mouse_uart_rgb_led_state 
+0484 20200628 branch p_mouse_uart_rgb_led_on 
 
 p_mouse_dpi_led_blink_delay_timer:
 0485 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
@@ -1604,17 +1604,17 @@
 
 p_mouse_setting_4_level:
 048b 6fe0c992 fetch 1 ,mem_mouse_dpi 
-048c c0000620 beq mouse_dpi_level1 ,p_mouse_dpi_led2_on 
-048d c0008622 beq mouse_dpi_level2 ,p_mouse_dpi_led3_on 
-048e c0010624 beq mouse_dpi_level3 ,p_mouse_dpi_led4_on 
-048f c001861e beq mouse_dpi_level4 ,p_mouse_dpi_led1_on 
+048c c0000622 beq mouse_dpi_level1 ,p_mouse_dpi_led2_on 
+048d c0008624 beq mouse_dpi_level2 ,p_mouse_dpi_led3_on 
+048e c0010626 beq mouse_dpi_level3 ,p_mouse_dpi_led4_on 
+048f c0018620 beq mouse_dpi_level4 ,p_mouse_dpi_led1_on 
 0490 20600000 rtn 
 
 p_mouse_setting_3_level:
 0491 6fe0c992 fetch 1 ,mem_mouse_dpi 
-0492 c0000620 beq mouse_dpi_level1 ,p_mouse_dpi_led2_on 
-0493 c0008622 beq mouse_dpi_level2 ,p_mouse_dpi_led3_on 
-0494 c001061e beq mouse_dpi_level3 ,p_mouse_dpi_led1_on 
+0492 c0000622 beq mouse_dpi_level1 ,p_mouse_dpi_led2_on 
+0493 c0008624 beq mouse_dpi_level2 ,p_mouse_dpi_led3_on 
+0494 c0010620 beq mouse_dpi_level3 ,p_mouse_dpi_led1_on 
 0495 20600000 rtn 
 
 p_mouse_commbination_key_process:
@@ -1632,7 +1632,7 @@
 
 p_mouse_commbination_key_start:
 049f 6048cb9d storet 1 ,mem_mouse_commbination_key 
-04a0 2040056c call p_mouse_check_key_gpio 
+04a0 2040056e call p_mouse_check_key_gpio 
 04a1 1fe17e07 and pdata ,0x07 ,pdata 
 04a2 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
 04a3 98467c00 isub temp ,null 
@@ -1834,393 +1834,395 @@
 0535 20400366 call p_mouse_seting_sensor_type 
 0536 20403f7e call mouse_zwheel 
 0537 20403f83 call mouse_t_zwheel 
-0538 2040056a call p_mouse_key 
+0538 2040056c call p_mouse_key 
 0539 6fe0c8d0 fetch 1 ,mem_mouse_key 
 053a 1fe17e1f and_into 0x1f ,pdata 
 053b 67e0c8d0 store 1 ,mem_mouse_key 
 053c 24344728 nbranch mouse_drawing_optima_init ,user 
-053d 704e0900 jam 0 ,mem_mouse_uart_rgb_on_timer 
-053e 704e0801 jam 1 ,mem_mouse_uart_rgb_on_flag 
-053f 20400550 call p_mouse_drawing_optima 
+053d 704e0b00 jam 0 ,mem_mouse_uart_rgb_on_timer 
+053e 704e0a01 jam 1 ,mem_mouse_uart_rgb_on_flag 
+053f 20400551 call p_mouse_drawing_optima 
 0540 20204544 branch mouse_no_data_timer_init 
 
 p_mouse_check_sensor_data:
 0541 6fe0c4ac fetch 1 ,mem_spi_write_flash_sm 
 0542 c1800000 rtnne flash_sm_no_buys 
 0543 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0544 c0058546 beq ka8g2 ,p_mouse_ka8g2_sensor_motion 
-0545 20204243 branch mouse_check_sensor_data + 3 
+0544 c0058547 beq ka8g2 ,p_mouse_ka8g2_sensor_motion 
+0545 c006c270 beq sg8670 ,mouse_p3212_sensor_motion 
+0546 20204243 branch mouse_check_sensor_data + 3 
 
 p_mouse_ka8g2_sensor_motion:
-0546 204042c4 call mouse_clear_sensor_data 
-0547 6fe0c911 fetch 1 ,mem_sensor_motion_gpio 
-0548 c07fc294 beq gpio_disable ,mouse_pka8g2_sensor_motion_1 
-0549 6848c911 fetcht 1 ,mem_sensor_motion_gpio 
-054a 20406059 call gpio_get_bit 
-054b 24608000 nrtn true 
+0547 204042c4 call mouse_clear_sensor_data 
+0548 6fe0c911 fetch 1 ,mem_sensor_motion_gpio 
+0549 c07fc294 beq gpio_disable ,mouse_pka8g2_sensor_motion_1 
+054a 6848c911 fetcht 1 ,mem_sensor_motion_gpio 
+054b 20406059 call gpio_get_bit 
+054c 24608000 nrtn true 
 
 p_mouse_pka8g2_sensor_motion_1:
-054c 58000000 setarg pan_reg_pid_l 
-054d 20405b0d call twspi_read 
-054e c0ac41b2 bne pka8g2_id1 ,mouse_twspi_reset 
-054f 20204279 branch mouse_p3212_sensor_motion_2 
+054d 58000000 setarg pan_reg_pid_l 
+054e 20405b0d call twspi_read 
+054f c0ac41b2 bne pka8g2_id1 ,mouse_twspi_reset 
+0550 20204279 branch mouse_p3212_sensor_motion_2 
 
 p_mouse_drawing_optima:
-0550 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0551 c1018000 rtneq p3212 
-0552 c1058000 rtneq ka8g2 
-0553 2020471a branch mouse_drawing_optima 
+0551 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0552 c1018000 rtneq p3212 
+0553 c1058000 rtneq ka8g2 
+0554 c1068000 rtneq sg8670 
+0555 2020471a branch mouse_drawing_optima 
 
 p_mouse_sensor_poweron:
-0554 20403f65 call mouse_sensor_spi_init 
-0555 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0556 c005855b beq ka8g2 ,p_mouse_ka8g2_sensor_init 
-0557 20404232 call mouse_sensor_reset 
-0558 da604aa3 arg mem_sensor_poweron_init ,regc 
+0556 20403f65 call mouse_sensor_spi_init 
+0557 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0558 c005855d beq ka8g2 ,p_mouse_ka8g2_sensor_init 
+0559 20404232 call mouse_sensor_reset 
+055a da604aa3 arg mem_sensor_poweron_init ,regc 
 
 p_mouse_sensor_end:
-0559 2040422b call mouse_sensor_wr_seq 
-055a 20200366 branch p_mouse_seting_sensor_type 
+055b 2040422b call mouse_sensor_wr_seq 
+055c 20200366 branch p_mouse_seting_sensor_type 
 
 p_mouse_ka8g2_sensor_init:
-055b 20400561 call p_mouse_ka8g2_sensor_reset 
-055c da604be3 arg mem_ka8g2_sensor_poweron_init ,regc 
-055d 20200559 branch p_mouse_sensor_end 
+055d 20400563 call p_mouse_ka8g2_sensor_reset 
+055e da604be3 arg mem_ka8g2_sensor_poweron_init ,regc 
+055f 2020055b branch p_mouse_sensor_end 
 
 p_mouse_sensor_reset:
-055e 6fe0c927 fetch 1 ,mem_config_sensor_type 
-055f c0058561 beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
-0560 20204232 branch mouse_sensor_reset 
+0560 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0561 c0058563 beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
+0562 20204232 branch mouse_sensor_reset 
 
 p_mouse_ka8g2_sensor_reset:
-0561 58009706 setarg 0x9706 
-0562 20204233 branch mouse_sensor_reset_end 
+0563 58009706 setarg 0x9706 
+0564 20204233 branch mouse_sensor_reset_end 
 
 p_mouse_sensor_powerdown:
-0563 204041a7 call mouse_init_sunt 
-0564 20403f65 call mouse_sensor_spi_init 
-0565 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0566 c0058568 beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
-0567 2020423e branch mouse_sensor_powerdown_end 
+0565 204041a7 call mouse_init_sunt 
+0566 20403f65 call mouse_sensor_spi_init 
+0567 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0568 c005856a beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
+0569 2020423e branch mouse_sensor_powerdown_end 
 
 p_mouse_ka8g2_sensor_powerdown:
-0568 58001f06 setarg 0x1f06 
-0569 20205b0c branch twspi_write 
+056a 58001f06 setarg 0x1f06 
+056b 20205b0c branch twspi_write 
 
 p_mouse_key:
-056a 2040056c call p_mouse_check_key_gpio 
-056b 202040dd branch mouse_key + 1 
+056c 2040056e call p_mouse_check_key_gpio 
+056d 202040dd branch mouse_key + 1 
 
 p_mouse_check_key_gpio:
-056c 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-056d 245a4121 ncall mouse_check_key_gpio_once ,blank 
-056e da200000 arg 0 ,rega 
-056f 20400576 call p_mouse_check_lkey_gpio 
-0570 2040057b call p_mouse_check_rkey_gpio 
-0571 20400580 call p_mouse_check_mkey_gpio 
-0572 20400585 call p_mouse_check_bkkey_gpio 
-0573 20400592 call p_mouse_check_fwkey_gpio 
-0574 204005a5 call p_mouse_check_customerkey_gpio 
-0575 2020411f branch mouse_check_key_gpio_next + 1 
+056e 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+056f 245a4121 ncall mouse_check_key_gpio_once ,blank 
+0570 da200000 arg 0 ,rega 
+0571 20400578 call p_mouse_check_lkey_gpio 
+0572 2040057d call p_mouse_check_rkey_gpio 
+0573 20400582 call p_mouse_check_mkey_gpio 
+0574 20400587 call p_mouse_check_bkkey_gpio 
+0575 20400594 call p_mouse_check_fwkey_gpio 
+0576 204005a7 call p_mouse_check_customerkey_gpio 
+0577 2020411f branch mouse_check_key_gpio_next + 1 
 
 p_mouse_check_lkey_gpio:
-0576 6fe0c918 fetch 1 ,mem_lbutton_gpio 
-0577 2040059f call p_mouse_gpio_config_output_high 
-0578 20404124 call mouse_check_lkey_gpio 
-0579 6848c918 fetcht 1 ,mem_lbutton_gpio 
-057a 20203f56 branch mouse_gpio_config_input_pu 
+0578 6fe0c918 fetch 1 ,mem_lbutton_gpio 
+0579 204005a1 call p_mouse_gpio_config_output_high 
+057a 20404124 call mouse_check_lkey_gpio 
+057b 6848c918 fetcht 1 ,mem_lbutton_gpio 
+057c 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_rkey_gpio:
-057b 6fe0c919 fetch 1 ,mem_rbutton_gpio 
-057c 2040059f call p_mouse_gpio_config_output_high 
-057d 2040412a call mouse_check_rkey_gpio 
-057e 6848c919 fetcht 1 ,mem_rbutton_gpio 
-057f 20203f56 branch mouse_gpio_config_input_pu 
+057d 6fe0c919 fetch 1 ,mem_rbutton_gpio 
+057e 204005a1 call p_mouse_gpio_config_output_high 
+057f 2040412a call mouse_check_rkey_gpio 
+0580 6848c919 fetcht 1 ,mem_rbutton_gpio 
+0581 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_mkey_gpio:
-0580 6fe0c91a fetch 1 ,mem_mbutton_gpio 
-0581 2040059f call p_mouse_gpio_config_output_high 
-0582 20404130 call mouse_check_mkey_gpio 
-0583 6848c91a fetcht 1 ,mem_mbutton_gpio 
-0584 20203f56 branch mouse_gpio_config_input_pu 
+0582 6fe0c91a fetch 1 ,mem_mbutton_gpio 
+0583 204005a1 call p_mouse_gpio_config_output_high 
+0584 20404130 call mouse_check_mkey_gpio 
+0585 6848c91a fetcht 1 ,mem_mbutton_gpio 
+0586 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_bkkey_gpio:
-0585 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-0586 c17f8000 rtneq gpio_disable 
-0587 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
-0588 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
-0589 1fe22600 copy pdata ,regc 
-058a 6848c90d fetcht 1 ,mem_bk_button_gpio 
-058b 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-058c c07f858e beq gpio_disable ,p_mouse_3io6key_bk_check 
-058d 2020413e branch mouse_check_bkkey_gpio_next 
+0587 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+0588 c17f8000 rtneq gpio_disable 
+0589 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
+058a 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
+058b 1fe22600 copy pdata ,regc 
+058c 6848c90d fetcht 1 ,mem_bk_button_gpio 
+058d 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+058e c07f8590 beq gpio_disable ,p_mouse_3io6key_bk_check 
+058f 2020413e branch mouse_check_bkkey_gpio_next 
 
 p_mouse_3io6key_bk_check:
-058e 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-058f 204005a2 call p_mouse_gpio_config_output_low 
-0590 6848c90d fetcht 1 ,mem_bk_button_gpio 
-0591 2020414b branch mouse_3io6key_bk_check 
+0590 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+0591 204005a4 call p_mouse_gpio_config_output_low 
+0592 6848c90d fetcht 1 ,mem_bk_button_gpio 
+0593 2020414b branch mouse_3io6key_bk_check 
 
 p_mouse_check_fwkey_gpio:
-0592 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-0593 c17f8000 rtneq gpio_disable 
-0594 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
-0595 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
-0596 1fe22600 copy pdata ,regc 
-0597 6848c90e fetcht 1 ,mem_fw_button_gpio 
-0598 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-0599 c07f859b beq gpio_disable ,p_mouse_3io6key_fw_check 
-059a 20204157 branch mouse_check_fwkey_gpio_next 
+0594 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+0595 c17f8000 rtneq gpio_disable 
+0596 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
+0597 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
+0598 1fe22600 copy pdata ,regc 
+0599 6848c90e fetcht 1 ,mem_fw_button_gpio 
+059a 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+059b c07f859d beq gpio_disable ,p_mouse_3io6key_fw_check 
+059c 20204157 branch mouse_check_fwkey_gpio_next 
 
 p_mouse_3io6key_fw_check:
-059b 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-059c 204005a2 call p_mouse_gpio_config_output_low 
-059d 6848c90e fetcht 1 ,mem_fw_button_gpio 
-059e 20204164 branch mouse_3io6key_fw_check 
+059d 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+059e 204005a4 call p_mouse_gpio_config_output_low 
+059f 6848c90e fetcht 1 ,mem_fw_button_gpio 
+05a0 20204164 branch mouse_3io6key_fw_check 
 
 p_mouse_gpio_config_output_high:
-059f c17f8000 rtneq gpio_disable 
-05a0 d840003f arg gpcfg_output_high ,temp 
-05a1 20206093 branch gpio_config_function_int 
+05a1 c17f8000 rtneq gpio_disable 
+05a2 d840003f arg gpcfg_output_high ,temp 
+05a3 20206093 branch gpio_config_function_int 
 
 p_mouse_gpio_config_output_low:
-05a2 c17f8000 rtneq gpio_disable 
-05a3 d840003e arg gpcfg_output_low ,temp 
-05a4 20206093 branch gpio_config_function_int 
+05a4 c17f8000 rtneq gpio_disable 
+05a5 d840003e arg gpcfg_output_low ,temp 
+05a6 20206093 branch gpio_config_function_int 
 
 p_mouse_check_customerkey_gpio:
-05a5 6fe0cd9a fetch 1 ,mem_mouse_customer_key_connect_vin_flag 
-05a6 203a416a branch mouse_check_customerkey_gpio ,blank 
-05a7 704b8b00 jam 0 ,mem_customer_key 
-05a8 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-05a9 c40a8000 rtnbit0 mouse_enable_keyboard 
-05aa 704b9607 jam mouse_customer_key ,mem_mouse_key_temp 
-05ab 6fe0cb95 fetch 1 ,mem_mouse_customerkey_press_status 
-05ac 1fe22600 copy pdata ,regc 
+05a7 6fe0cd9a fetch 1 ,mem_mouse_customer_key_connect_vin_flag 
+05a8 203a416a branch mouse_check_customerkey_gpio ,blank 
+05a9 704b8b00 jam 0 ,mem_customer_key 
+05aa 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05ab c40a8000 rtnbit0 mouse_enable_keyboard 
+05ac 704b9607 jam mouse_customer_key ,mem_mouse_key_temp 
+05ad 6fe0cb95 fetch 1 ,mem_mouse_customerkey_press_status 
+05ae 1fe22600 copy pdata ,regc 
 
 p_mouse_3io6key_customerkey_check:
-05ad 6fe0c912 fetch 1 ,mem_customer_key_gpio 
-05ae 204005a2 call p_mouse_gpio_config_output_low 
-05af 6848c912 fetcht 1 ,mem_customer_key_gpio 
-05b0 20404195 call mouse_3io6key_check 
-05b1 67e0cb95 store 1 ,mem_mouse_customerkey_press_status 
-05b2 20404174 call mouse_check_customerkey_state 
-05b3 6848c912 fetcht 1 ,mem_customer_key_gpio 
-05b4 20203f56 branch mouse_gpio_config_input_pu 
+05af 6fe0c912 fetch 1 ,mem_customer_key_gpio 
+05b0 204005a4 call p_mouse_gpio_config_output_low 
+05b1 6848c912 fetcht 1 ,mem_customer_key_gpio 
+05b2 20404195 call mouse_3io6key_check 
+05b3 67e0cb95 store 1 ,mem_mouse_customerkey_press_status 
+05b4 20404174 call mouse_check_customerkey_state 
+05b5 6848c912 fetcht 1 ,mem_customer_key_gpio 
+05b6 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_idle:
-05b5 204005ba call p_mouse_low_voltage_led_no_enter_lpm 
-05b6 20407936 call ui_check_paring_button 
-05b7 204005c5 call p_mouse_dpi_check 
-05b8 204005be call p_mouse_select_device_check 
-05b9 20204650 branch mouse_idle + 5 
+05b7 204005bc call p_mouse_low_voltage_led_no_enter_lpm 
+05b8 20407936 call ui_check_paring_button 
+05b9 204005c7 call p_mouse_dpi_check 
+05ba 204005c0 call p_mouse_select_device_check 
+05bb 20204650 branch mouse_idle + 5 
 
 p_mouse_low_voltage_led_no_enter_lpm:
-05ba 6fe0cc40 fetch 1 ,mem_mouse_led_new_interface_config 
-05bb c301c990 bbit0 mouse_enable_low_led ,mouse_low_voltage_led_no_enter_lpm 
+05bc 6fe0cc40 fetch 1 ,mem_mouse_led_new_interface_config 
+05bd c301c990 bbit0 mouse_enable_low_led ,mouse_low_voltage_led_no_enter_lpm 
 
 p_mouse_low_voltage_led_no_enter_lpm_next:
-05bc 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-05bd 20204992 branch mouse_low_voltage_led_no_enter_lpm + 2 
+05be 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05bf 20204992 branch mouse_low_voltage_led_no_enter_lpm + 2 
 
 p_mouse_select_device_check:
-05be 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-05bf c29485c2 bbit1 mouse_enable_select_device_by_pb_button ,p_mouse_select_device_by_pb_button_check_judge 
-05c0 c29b85c2 bbit1 mouse_enable_pb_button_long_press_disconvery ,p_mouse_select_device_by_pb_button_check_judge 
-05c1 20600000 rtn 
+05c0 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05c1 c29485c4 bbit1 mouse_enable_select_device_by_pb_button ,p_mouse_select_device_by_pb_button_check_judge 
+05c2 c29b85c4 bbit1 mouse_enable_pb_button_long_press_disconvery ,p_mouse_select_device_by_pb_button_check_judge 
+05c3 20600000 rtn 
 
 p_mouse_select_device_by_pb_button_check_judge:
-05c2 6fe1478c fetch 2 ,mem_ui_state_map 
-05c3 c2830236 bbit1 ui_state_bt_discovery ,p_mouse_select_device_by_pb_button_check_once 
-05c4 2020465a branch mouse_select_device_by_pb_button 
+05c4 6fe1478c fetch 2 ,mem_ui_state_map 
+05c5 c2830236 bbit1 ui_state_bt_discovery ,p_mouse_select_device_by_pb_button_check_once 
+05c6 2020465a branch mouse_select_device_by_pb_button 
 
 p_mouse_dpi_check:
-05c5 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-05c6 c17f8000 rtneq gpio_disable 
-05c7 da200000 arg 0 ,rega 
-05c8 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
-05c9 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-05ca 204005cc call p_mouse_dpi_key_check 
-05cb 2020402f branch mouse_dpi_check_next 
+05c7 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+05c8 c17f8000 rtneq gpio_disable 
+05c9 da200000 arg 0 ,rega 
+05ca 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
+05cb 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+05cc 204005ce call p_mouse_dpi_key_check 
+05cd 2020402f branch mouse_dpi_check_next 
 
 p_mouse_dpi_key_check:
-05cc 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-05cd c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
-05ce 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
-05cf 1fe22600 copy pdata ,regc 
-05d0 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-05d1 c07f85d3 beq gpio_disable ,p_mouse_3io6key_dpi_check 
-05d2 2020403f branch mouse_dpi_key_check_next 
+05ce 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+05cf c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+05d0 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
+05d1 1fe22600 copy pdata ,regc 
+05d2 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+05d3 c07f85d5 beq gpio_disable ,p_mouse_3io6key_dpi_check 
+05d4 2020403f branch mouse_dpi_key_check_next 
 
 p_mouse_3io6key_dpi_check:
-05d3 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-05d4 204005a2 call p_mouse_gpio_config_output_low 
-05d5 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-05d6 20204195 branch mouse_3io6key_check 
+05d5 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+05d6 204005a4 call p_mouse_gpio_config_output_low 
+05d7 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+05d8 20204195 branch mouse_3io6key_check 
 
 p_mouse_dpi_process:
-05d7 20404072 call mouse_dpi_ghost_check 
-05d8 20740000 rtn user 
+05d9 20404072 call mouse_dpi_ghost_check 
+05da 20740000 rtn user 
 
 p_mouse_dpi_process_next:
-05d9 6fe0c992 fetch 1 ,mem_mouse_dpi 
-05da 1fe0fe01 increase 1 ,pdata 
-05db 1fe17e03 and pdata ,0x03 ,pdata 
+05db 6fe0c992 fetch 1 ,mem_mouse_dpi 
+05dc 1fe0fe01 increase 1 ,pdata 
+05dd 1fe17e03 and pdata ,0x03 ,pdata 
 
 p_mouse_dpi_store:
-05dc 67e0c992 store 1 ,mem_mouse_dpi 
-05dd 20400364 call p_mouse_seting_dpi 
-05de 20204643 branch mouse_store_eerpom_dpi 
+05de 67e0c992 store 1 ,mem_mouse_dpi 
+05df 20400364 call p_mouse_seting_dpi 
+05e0 20204643 branch mouse_store_eerpom_dpi 
 
 p_power_ctrl_start:
-05df 6fe1478c fetch 2 ,mem_ui_state_map 
-05e0 c3858000 rtnbit1 ui_state_ble_adv 
-05e1 c3838000 rtnbit1 ui_state_bt_reconnect 
-05e2 c3830000 rtnbit1 ui_state_bt_discovery 
-05e3 6a214899 fetchr rega ,2 ,mem_rssi_signal_buf_ptr 
-05e4 204025cb call rssi_average 
-05e5 6048c8c7 storet 1 ,mem_rssi_avg_received 
-05e6 6fe0c8cc fetch 1 ,mem_rssi_dis_max_24g 
-05e7 c51305e9 bmark1 mark_24g ,p_power_ctrl_start_next 
-05e8 6fe0c8cf fetch 1 ,mem_rssi_dis_max_ble 
+05e1 6fe1478c fetch 2 ,mem_ui_state_map 
+05e2 c3858000 rtnbit1 ui_state_ble_adv 
+05e3 c3838000 rtnbit1 ui_state_bt_reconnect 
+05e4 c3830000 rtnbit1 ui_state_bt_discovery 
+05e5 6a214899 fetchr rega ,2 ,mem_rssi_signal_buf_ptr 
+05e6 204025cb call rssi_average 
+05e7 6048c8c7 storet 1 ,mem_rssi_avg_received 
+05e8 6fe0c8cc fetch 1 ,mem_rssi_dis_max_24g 
+05e9 c51305eb bmark1 mark_24g ,p_power_ctrl_start_next 
+05ea 6fe0c8cf fetch 1 ,mem_rssi_dis_max_ble 
 
 p_power_ctrl_start_next:
-05e9 98467c00 isub temp ,null 
-05ea 24210603 nbranch p_power_ctrl_txpower_incrs_force ,positive 
-05eb 6fe0c8c9 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-05ec 1fe67c02 sub pdata ,2 ,null 
-05ed 242105f1 nbranch p_power_ctrl_txpower_decrs_check ,positive 
-05ee 6fe0c8c9 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-05ef c0000604 beq 0 ,p_power_ctrl_txpower_incrs 
-05f0 20600000 rtn 
+05eb 98467c00 isub temp ,null 
+05ec 24210605 nbranch p_power_ctrl_txpower_incrs_force ,positive 
+05ed 6fe0c8c9 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+05ee 1fe67c02 sub pdata ,2 ,null 
+05ef 242105f3 nbranch p_power_ctrl_txpower_decrs_check ,positive 
+05f0 6fe0c8c9 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+05f1 c0000606 beq 0 ,p_power_ctrl_txpower_incrs 
+05f2 20600000 rtn 
 
 p_power_ctrl_txpower_decrs_check:
-05f1 6fe0c8c9 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-05f2 6848c8ca fetcht 1 ,mem_power_ctrl_pac_succ_cnt_init 
-05f3 98467c00 isub temp ,null 
-05f4 24628000 nrtn zero 
-05f5 7048c900 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+05f3 6fe0c8c9 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+05f4 6848c8ca fetcht 1 ,mem_power_ctrl_pac_succ_cnt_init 
+05f5 98467c00 isub temp ,null 
+05f6 24628000 nrtn zero 
+05f7 7048c900 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 p_power_ctrl_txpower_decrs:
-05f6 6848c8c7 fetcht 1 ,mem_rssi_avg_received 
-05f7 6fe0c8cb fetch 1 ,mem_rssi_dis_min_24g 
-05f8 c51305fa bmark1 mark_24g ,p_power_ctrl_txpower_decrs_next 
-05f9 6fe0c8ce fetch 1 ,mem_rssi_dis_min_ble 
+05f8 6848c8c7 fetcht 1 ,mem_rssi_avg_received 
+05f9 6fe0c8cb fetch 1 ,mem_rssi_dis_min_24g 
+05fa c51305fc bmark1 mark_24g ,p_power_ctrl_txpower_decrs_next 
+05fb 6fe0c8ce fetch 1 ,mem_rssi_dis_min_ble 
 
 p_power_ctrl_txpower_decrs_next:
-05fa 98467c00 isub temp ,null 
-05fb 24610000 nrtn positive 
-05fc 6fe0c8c8 fetch 1 ,mem_power_ctrl_level 
-05fd c000271b beq 0 ,power_ctrl_decrs_level0 
-05fe 1fe0ffff increase -1 ,pdata 
-05ff 67e0c8c8 store 1 ,mem_power_ctrl_level 
-0600 c001060b beq 2 ,p_power_ctrl_decrs_level2 
-0601 c000a711 beq 1 ,power_ctrl_decrs_level1 
-0602 2020271b branch power_ctrl_decrs_level0 
+05fc 98467c00 isub temp ,null 
+05fd 24610000 nrtn positive 
+05fe 6fe0c8c8 fetch 1 ,mem_power_ctrl_level 
+05ff c000271b beq 0 ,power_ctrl_decrs_level0 
+0600 1fe0ffff increase -1 ,pdata 
+0601 67e0c8c8 store 1 ,mem_power_ctrl_level 
+0602 c001060d beq 2 ,p_power_ctrl_decrs_level2 
+0603 c000a711 beq 1 ,power_ctrl_decrs_level1 
+0604 2020271b branch power_ctrl_decrs_level0 
 
 p_power_ctrl_txpower_incrs_force:
-0603 7048c900 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+0605 7048c900 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 p_power_ctrl_txpower_incrs:
-0604 6fe0c8c8 fetch 1 ,mem_power_ctrl_level 
-0605 c001860a beq 3 ,p_power_ctrl_incrs_level3 
-0606 1fe0fe01 increase 1 ,pdata 
-0607 67e0c8c8 store 1 ,mem_power_ctrl_level 
-0608 c000a711 beq 1 ,power_ctrl_incrs_level1 
-0609 c001060b beq 2 ,p_power_ctrl_incrs_level2 
+0606 6fe0c8c8 fetch 1 ,mem_power_ctrl_level 
+0607 c001860c beq 3 ,p_power_ctrl_incrs_level3 
+0608 1fe0fe01 increase 1 ,pdata 
+0609 67e0c8c8 store 1 ,mem_power_ctrl_level 
+060a c000a711 beq 1 ,power_ctrl_incrs_level1 
+060b c001060d beq 2 ,p_power_ctrl_incrs_level2 
 
 p_power_ctrl_incrs_level3:
-060a 2020060b branch p_power_ctrl_incrs_level2 
+060c 2020060d branch p_power_ctrl_incrs_level2 
 
 p_power_ctrl_decrs_level2:
 
 p_power_ctrl_incrs_level2:
-060b 7041e803 jam tx_power_3db ,mem_tx_power 
-060c 20600000 rtn 
+060d 7041e803 jam tx_power_3db ,mem_tx_power 
+060e 20600000 rtn 
 
 p_device_hardware_init:
-060d 6ff08060 fetch 1 ,core_uart_ctrl 
-060e 793ffe00 set0 bit_uart_control_enable ,pdata 
-060f 67f08060 store 1 ,core_uart_ctrl 
-0610 6fe44c7e fetch 8 ,mem_device_uart_rx_buffer 
-0611 20405eb0 call uarta_init_dma_mem 
-0612 6fe14c86 fetch uart_baud_len ,mem_device_uart_baud_rate 
-0613 20405ec4 call uarta_init_baud_rate 
-0614 20405ed7 call uart_clock_select_main_freq_crystal 
-0615 6fe0cc7c fetch 1 ,mem_device_uart_tx_gpio 
-0616 d8400008 arg gpcfg_uart_txd ,temp 
-0617 20406093 call gpio_config_function_int 
-0618 6fe0cc7d fetch 1 ,mem_device_uart_rx_gpio 
-0619 d8400049 arg gpcfg_uart_rxd | gpcfg_pullup ,temp 
-061a 20406093 call gpio_config_function_int 
-061b d8400081 arg fun_uart_control_enable | fun_uart_control_setting_rate_baud ,temp 
-061c 60588060 storet 1 ,core_uart_ctrl 
-061d 20600000 rtn 
+060f 6ff08060 fetch 1 ,core_uart_ctrl 
+0610 793ffe00 set0 bit_uart_control_enable ,pdata 
+0611 67f08060 store 1 ,core_uart_ctrl 
+0612 6fe44c7e fetch 8 ,mem_device_uart_rx_buffer 
+0613 20405eb0 call uarta_init_dma_mem 
+0614 6fe14c86 fetch uart_baud_len ,mem_device_uart_baud_rate 
+0615 20405ec4 call uarta_init_baud_rate 
+0616 20405ed7 call uart_clock_select_main_freq_crystal 
+0617 6fe0cc7c fetch 1 ,mem_device_uart_tx_gpio 
+0618 d8400008 arg gpcfg_uart_txd ,temp 
+0619 20406093 call gpio_config_function_int 
+061a 6fe0cc7d fetch 1 ,mem_device_uart_rx_gpio 
+061b d8400049 arg gpcfg_uart_rxd | gpcfg_pullup ,temp 
+061c 20406093 call gpio_config_function_int 
+061d d8400081 arg fun_uart_control_enable | fun_uart_control_setting_rate_baud ,temp 
+061e 60588060 storet 1 ,core_uart_ctrl 
+061f 20600000 rtn 
 
 p_mouse_dpi_led1_on:
-061e 58008120 setarg 0x8120 
-061f 2020062f branch p_mouse_uart_sedn_data 
+0620 58008120 setarg 0x8120 
+0621 20200631 branch p_mouse_uart_sedn_data 
 
 p_mouse_dpi_led2_on:
-0620 58008220 setarg 0x8220 
-0621 2020062f branch p_mouse_uart_sedn_data 
+0622 58008220 setarg 0x8220 
+0623 20200631 branch p_mouse_uart_sedn_data 
 
 p_mouse_dpi_led3_on:
-0622 58008320 setarg 0x8320 
-0623 2020062f branch p_mouse_uart_sedn_data 
+0624 58008320 setarg 0x8320 
+0625 20200631 branch p_mouse_uart_sedn_data 
 
 p_mouse_dpi_led4_on:
-0624 58008420 setarg 0x8420 
-0625 2020062f branch p_mouse_uart_sedn_data 
+0626 58008420 setarg 0x8420 
+0627 20200631 branch p_mouse_uart_sedn_data 
 
 p_mouse_uart_rgb_led_on:
-0626 58000065 setarg 0x0065 
-0627 2020062f branch p_mouse_uart_sedn_data 
+0628 58000065 setarg 0x0065 
+0629 20200631 branch p_mouse_uart_sedn_data 
 
 p_mouse_uart_rgb_led_off:
-0628 58000060 setarg 0x0060 
-0629 2020062f branch p_mouse_uart_sedn_data 
+062a 58000060 setarg 0x0060 
+062b 20200631 branch p_mouse_uart_sedn_data 
 
 p_mouse_battery_led_on:
-062a 5800ff50 setarg 0xff50 
-062b 2020062f branch p_mouse_uart_sedn_data 
+062c 5800ff50 setarg 0xff50 
+062d 20200631 branch p_mouse_uart_sedn_data 
 
 p_mouse_battery_led_off:
-062c 58000050 setarg 0x0050 
-062d 2020062f branch p_mouse_uart_sedn_data 
+062e 58000050 setarg 0x0050 
+062f 20200631 branch p_mouse_uart_sedn_data 
 
 p_mouse_led_ic_sleep:
-062e 58005510 setarg 0x5510 
+0630 58005510 setarg 0x5510 
 
 p_mouse_uart_sedn_data:
-062f 20405eef call uarta_prepare_tx 
-0630 e7e10003 istore 2 ,contwu 
-0631 20205eff branch uarta_send 
+0631 20405eef call uarta_prepare_tx 
+0632 e7e10003 istore 2 ,contwu 
+0633 20205eff branch uarta_send 
 
 p_mouse_uart_led_ic_set:
-0632 704e0501 jam 1 ,mem_mouse_uart_rgb_led_state 
-0633 704e0601 jam 1 ,mem_mouse_uart_batt_on_flag 
-0634 704e0700 jam 0 ,mem_mouse_uart_batt_on_timer 
-0635 704e0801 jam 1 ,mem_mouse_uart_rgb_on_flag 
-0636 704e0900 jam 0 ,mem_mouse_uart_rgb_on_timer 
-0637 20400626 call p_mouse_uart_rgb_led_on 
-0638 20407d12 call delay_10ms 
-0639 20400488 call p_mouse_dpi_led_setting 
+0634 704e0701 jam 1 ,mem_mouse_uart_rgb_led_state 
+0635 704e0801 jam 1 ,mem_mouse_uart_batt_on_flag 
+0636 704e0900 jam 0 ,mem_mouse_uart_batt_on_timer 
+0637 704e0a01 jam 1 ,mem_mouse_uart_rgb_on_flag 
+0638 704e0b00 jam 0 ,mem_mouse_uart_rgb_on_timer 
+0639 20400628 call p_mouse_uart_rgb_led_on 
 063a 20407d12 call delay_10ms 
-063b 2040062a call p_mouse_battery_led_on 
-063c 20207d12 branch delay_10ms 
+063b 20400488 call p_mouse_dpi_led_setting 
+063c 20407d12 call delay_10ms 
+063d 2040062c call p_mouse_battery_led_on 
+063e 20207d12 branch delay_10ms 
 
 p_mouse_uart_batt_on_timer:
-063d 6fe0ce06 fetch 1 ,mem_mouse_uart_batt_on_flag 
-063e 207a0000 rtn blank 
-063f 6fe0ce07 fetch 1 ,mem_mouse_uart_batt_on_timer 
-0640 1fe0fe01 increase 1 ,pdata 
-0641 67e0ce07 store 1 ,mem_mouse_uart_batt_on_timer 
-0642 1fe67c64 sub pdata ,0x64 ,null 
-0643 20610000 rtn positive 
-0644 704e0700 jam 0 ,mem_mouse_uart_batt_on_timer 
-0645 704e0600 jam 0 ,mem_mouse_uart_batt_on_flag 
-0646 2020062c branch p_mouse_battery_led_off 
+063f 6fe0ce08 fetch 1 ,mem_mouse_uart_batt_on_flag 
+0640 207a0000 rtn blank 
+0641 6fe0ce09 fetch 1 ,mem_mouse_uart_batt_on_timer 
+0642 1fe0fe01 increase 1 ,pdata 
+0643 67e0ce09 store 1 ,mem_mouse_uart_batt_on_timer 
+0644 1fe67c64 sub pdata ,0x64 ,null 
+0645 20610000 rtn positive 
+0646 704e0900 jam 0 ,mem_mouse_uart_batt_on_timer 
+0647 704e0800 jam 0 ,mem_mouse_uart_batt_on_flag 
+0648 2020062e branch p_mouse_battery_led_off 
               org 0x3bc1
 
 mouse_init:
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/PB_3mode_3ch_602_UART_LED/program/patch.prog	(revision 4543)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/PB_3mode_3ch_602_UART_LED/program/patch.prog	(working copy)
@@ -1349,23 +1349,23 @@
 
 p_mouse_seting_SG8670_dpi:
 	fetch 1,mem_mouse_dpi
-	beq MOUSE_DPI_LEVEL1,p_mouse_set_SG8670_dpi_1	//1000
-	beq MOUSE_DPI_LEVEL2,p_mouse_set_SG8670_dpi_2	//1200
-	beq MOUSE_DPI_LEVEL3,p_mouse_set_SG8670_dpi_3	//1600
+	beq MOUSE_DPI_LEVEL1,p_mouse_set_SG8670_dpi_1	//1200
+	beq MOUSE_DPI_LEVEL2,p_mouse_set_SG8670_dpi_2	//1600
+	beq MOUSE_DPI_LEVEL3,p_mouse_set_SG8670_dpi_3	//2400
 	beq MOUSE_DPI_LEVEL4,p_mouse_set_SG8670_dpi_4	//800
 	rtn
 
-p_mouse_set_SG8670_dpi_1:	//1000
-	arg mem_sensor_sg8670_dpi_1000,regc
+p_mouse_set_SG8670_dpi_1:	//1200
+	arg mem_sensor_sg8670_dpi_1200,regc
 	branch mouse_sensor_wr_seq
 
-p_mouse_set_SG8670_dpi_2:	//1200
-	arg mem_sensor_sg8670_dpi_1200,regc
+p_mouse_set_SG8670_dpi_2:	//1600
+	arg mem_sensor_sg8670_dpi_1600,regc
 	branch mouse_sensor_wr_seq
 	
 
-p_mouse_set_SG8670_dpi_3:	//1600
-	arg mem_sensor_sg8670_dpi_1600,regc
+p_mouse_set_SG8670_dpi_3:	//2400
+	arg mem_sensor_sg8670_dpi_2400,regc
 	branch mouse_sensor_wr_seq
 
 p_mouse_set_SG8670_dpi_4:	//800
@@ -2136,6 +2136,7 @@
 	rtnne FLASH_SM_NO_BUYS
 	fetch 1,mem_config_sensor_type
 	beq KA8G2,p_mouse_ka8g2_sensor_motion
+	beq SG8670,mouse_p3212_sensor_motion
 	branch mouse_check_sensor_data+3
 
 p_mouse_ka8g2_sensor_motion:
@@ -2156,6 +2157,7 @@
 	fetch 1,mem_config_sensor_type
 	rtneq P3212
 	rtneq KA8G2
+	rtneq SG8670
 	branch mouse_drawing_optima
 
 p_mouse_sensor_poweron:
Index: sched/mouse.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/PB_3mode_3ch_602_UART_LED/sched/mouse.dat	(revision 4543)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Multimode/PB_3mode_3ch_602_UART_LED/sched/mouse.dat	(working copy)
@@ -535,6 +535,7 @@
 mem_sensor_sg8670_init:
 7f 26
 09 5a
+0f 04
 28 04
 29 b0
 5b 00
@@ -564,15 +565,6 @@
 09 00
 7f 00
 ff ff
-mem_sensor_sg8670_dpi_1000:
-09 5a
-7f 26
-7e 00
-6e ac
-6f 2c
-09 00
-7f 00
-ff ff
 mem_sensor_sg8670_dpi_1200:
 09 5a
 7f 26
@@ -591,6 +583,15 @@
 09 00
 7f 00
 ff ff
+mem_sensor_sg8670_dpi_2400:
+09 5a
+7f 26
+7e 00
+6e e8
+6f 68
+09 00
+7f 00
+ff ff
 
 
 #log log log log log log log log log log log
