Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YDN_Project/G-117-3_Only24g/output/eeprom.dat	(revision 616)
+++ /YC1308AC/branch/mouse_project/YDN_Project/G-117-3_Only24g/output/eeprom.dat	(working copy)
@@ -2,92 +2,96 @@
 02
 aa
 55
-2a
+62
 0b
 c2
 84
 00
-16
+17
 c0
 00
 00
-20
+21
 c0
 01
 80
-24
+25
 c0
 41
 80
-48
+49
 c0
 45
 00
-31
+32
 c0
 45
 80
-7d
+7e
 c0
 4f
 80
-90
+91
 c0
 57
 00
-92
+93
 c0
 58
 00
-71
+72
 c0
 61
 81
-aa
+ab
 c0
 63
 81
-6d
+6e
 c0
 64
 81
-71
+72
 c0
 65
 01
-7c
+7d
 c0
 66
 02
-98
+a6
 c0
 67
 02
-78
+86
 c0
 68
 01
-be
+bf
 c0
 69
 81
-cf
+d8
+c0
+6a
+01
+f1
 c0
 6b
 01
-8d
+8e
 c0
 6c
 81
-e8
+f6
 c0
 6d
 02
-35
+43
 c0
 74
 02
-40
+4e
 20
 20
 13
@@ -95,39 +99,39 @@
 c0
 19
 80
-51
+52
 c0
 1a
 00
-56
+57
 c0
 43
 82
-3c
+4a
 c0
 50
 82
-54
+62
 c0
 54
 80
-8a
+8b
 c0
 71
 01
-09
+0a
 c0
 74
 81
-10
+11
 c0
 75
 01
-2a
+2b
 c0
 76
 02
-75
+83
 20
 20
 13
@@ -195,7 +199,7 @@
 20
 40
 00
-3c
+3d
 20
 20
 08
@@ -271,7 +275,7 @@
 20
 3a
 00
-45
+46
 6f
 e0
 c6
@@ -315,7 +319,7 @@
 c0
 04
 00
-4f
+50
 20
 20
 11
@@ -503,7 +507,7 @@
 20
 20
 00
-71
+72
 70
 8a
 8b
@@ -595,11 +599,11 @@
 20
 40
 00
-9c
+9d
 20
 40
 00
-a4
+a5
 20
 40
 41
@@ -610,8 +614,8 @@
 00
 20
 40
-40
-8e
+01
+c1
 20
 40
 3d
@@ -623,7 +627,7 @@
 20
 40
 00
-ea
+eb
 20
 20
 3b
@@ -675,7 +679,7 @@
 20
 40
 00
-b1
+b2
 20
 40
 3d
@@ -707,7 +711,7 @@
 20
 40
 00
-d6
+d7
 20
 20
 3b
@@ -895,7 +899,7 @@
 24
 20
 80
-e0
+e1
 20
 20
 3f
@@ -923,7 +927,7 @@
 20
 20
 80
-e7
+e8
 20
 20
 3f
@@ -943,7 +947,7 @@
 58
 00
 00
-ed
+ee
 67
 e1
 48
@@ -971,7 +975,7 @@
 c3
 0a
 80
-f4
+f5
 6f
 e0
 cb
@@ -991,7 +995,7 @@
 c2
 80
 81
-03
+04
 68
 48
 c7
@@ -1103,7 +1107,7 @@
 c0
 00
 01
-17
+18
 6f
 e1
 48
@@ -1131,11 +1135,11 @@
 24
 2c
 01
-1d
+1e
 24
 37
 81
-1d
+1e
 20
 40
 26
@@ -1203,11 +1207,11 @@
 24
 34
 01
-39
+3a
 20
 40
 01
-4d
+4e
 20
 40
 26
@@ -1219,7 +1223,7 @@
 24
 3a
 01
-34
+35
 6f
 e4
 48
@@ -1263,7 +1267,7 @@
 20
 5a
 01
-3f
+40
 6f
 e0
 c8
@@ -1335,7 +1339,7 @@
 20
 20
 01
-2c
+2d
 70
 48
 a6
@@ -1363,11 +1367,11 @@
 24
 2c
 01
-5c
+5d
 24
 37
 81
-5c
+5d
 20
 40
 26
@@ -1375,7 +1379,7 @@
 20
 40
 01
-58
+59
 20
 20
 26
@@ -1387,7 +1391,7 @@
 24
 5a
 01
-d1
+da
 70
 4b
 e1
@@ -1431,11 +1435,11 @@
 20
 40
 01
-66
+67
 20
 20
 01
-4e
+4f
 6f
 e0
 c8
@@ -1599,15 +1603,15 @@
 c0
 1e
 01
-a5
+a6
 c0
 19
 01
-92
+93
 c0
 22
 01
-99
+9a
 20
 20
 43
@@ -1619,7 +1623,7 @@
 c0
 00
 81
-96
+97
 70
 4b
 76
@@ -1723,7 +1727,7 @@
 c0
 00
 01
-af
+b0
 20
 20
 3d
@@ -1775,7 +1779,7 @@
 20
 22
 81
-bc
+bd
 20
 20
 48
@@ -1795,11 +1799,43 @@
 20
 40
 01
-c1
+ca
+6f
+e0
+c9
+27
+c0
+01
+c0
+bb
+c0
+05
+c0
+cf
+c0
+00
+40
+9b
+6f
+e0
+c9
+92
+c0
+00
+40
+a2
+c0
+00
+c0
+a0
+c0
+01
+40
+a6
 20
 20
 40
-98
+a0
 6f
 e0
 c9
@@ -1846,8 +1882,8 @@
 c1
 20
 3a
-01
-f6
+02
+04
 67
 e0
 cb
@@ -1875,7 +1911,7 @@
 c0
 18
 01
-d9
+e2
 c0
 18
 c2
@@ -1895,7 +1931,7 @@
 20
 20
 01
-d2
+db
 6f
 e0
 c9
@@ -1903,7 +1939,7 @@
 c0
 2d
 01
-e2
+eb
 c0
 6c
 41
@@ -1931,7 +1967,7 @@
 20
 20
 01
-d2
+db
 70
 49
 27
@@ -1954,12 +1990,32 @@
 2b
 20
 20
+01
+c1
+20
 40
-8e
+3f
+65
+20
+40
+42
+32
+da
+60
+4a
+a3
+20
+40
+42
+2b
+20
+20
+01
+c1
 20
 40
 02
-0b
+19
 20
 40
 3e
@@ -1967,7 +2023,7 @@
 20
 40
 02
-b3
+c1
 20
 40
 23
@@ -1982,8 +2038,8 @@
 cd
 20
 40
+02
 01
-f3
 20
 40
 40
@@ -1995,7 +2051,7 @@
 20
 40
 02
-20
+2e
 20
 20
 44
@@ -2006,8 +2062,8 @@
 a8
 da
 40
-01
-f6
+02
+04
 20
 20
 31
@@ -2063,11 +2119,11 @@
 20
 41
 02
-05
+13
 24
 41
 02
-09
+17
 20
 20
 48
@@ -2123,11 +2179,11 @@
 20
 3a
 02
-14
+22
 20
 40
 02
-16
+24
 20
 20
 49
@@ -2135,7 +2191,7 @@
 20
 40
 02
-16
+24
 20
 20
 49
@@ -2187,7 +2243,7 @@
 c0
 00
 02
-26
+34
 6f
 e4
 4b
@@ -2203,7 +2259,7 @@
 20
 20
 02
-29
+37
 6f
 e4
 4b
@@ -2239,7 +2295,7 @@
 20
 22
 82
-30
+3e
 20
 20
 44
@@ -2335,7 +2391,7 @@
 c0
 04
 82
-48
+56
 20
 20
 4d
@@ -2435,7 +2491,7 @@
 c0
 02
 02
-61
+6f
 20
 20
 19
@@ -2451,7 +2507,7 @@
 c0
 09
 02
-65
+73
 20
 20
 1c
@@ -2550,8 +2606,8 @@
 40
 20
 40
-40
-8e
+01
+c1
 20
 40
 3f
@@ -2583,7 +2639,7 @@
 20
 40
 02
-86
+94
 20
 20
 45
@@ -2671,7 +2727,7 @@
 20
 40
 00
-56
+57
 70
 48
 f6
@@ -2695,7 +2751,7 @@
 24
 21
 02
-b1
+bf
 6f
 e0
 c4
@@ -2703,7 +2759,7 @@
 c0
 81
 02
-a9
+b7
 68
 49
 48
@@ -2860,8 +2916,8 @@
 60
 00
 00
-74
-d5
+0e
+37
 aa
 55
 40
@@ -2894,7 +2950,7 @@
 00
 88
 56
-49
+59
 06
 00
 01
@@ -4097,66 +4153,10 @@
 aa
 aa
 55
-81
+91
 79
-b6
-01
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+27
+35
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-c7
-fb
+f3
+d8
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/YDN_Project/G-117-3_Only24g/output/program.lis	(revision 616)
+++ /YC1308AC/branch/mouse_project/YDN_Project/G-117-3_Only24g/output/program.lis	(working copy)
@@ -1,893 +1,913 @@
               include "bt_format "
               org 0x0000
-0000 c2840016 bbit1 8 ,pf_patch_ext 
-0001 c0000020 beq patch00_0 ,p_soft_reset 
-0002 c0018024 beq patch00_3 ,p_main_loop 
-0003 c0418048 beq patch10_3 ,p_set_sync_on 
-0004 c0450031 beq patch11_2 ,p_txon_next 
-0005 c045807d beq patch11_3 ,p_initialize_radio_cont 
-0006 c04f8090 beq patch13_7 ,p_init_param 
-0007 c0570092 beq patch15_6 ,p_app_init 
-0008 c0580071 beq patch16_0 ,p_app_evt_100ms_loop 
-0009 c06181aa beq patch18_3 ,p_mouse_start_work 
-000a c063816d beq patch18_7 ,p_mouse_app_enter_hibernate 
-000b c0648171 beq patch19_1 ,p_mouse_setgpio_hibernate 
-000c c065017c beq patch19_2 ,p_mouse_lpm_before_common 
-000d c0660298 beq patch19_4 ,p_mouse_adc_read_start 
-000e c0670278 beq patch19_6 ,p_mouse_motion 
-000f c06801be beq patch1a_0 ,p_mouse_seting_dpi 
-0010 c06981cf beq patch1a_3 ,p_mouse_init_sunt 
-0011 c06b018d beq patch1a_6 ,p_mouse_priority_bb_event 
-0012 c06c81e8 beq patch1b_1 ,p_mouse_bb_event_timer 
-0013 c06d0235 beq patch1b_2 ,p_mouse_start_discovery 
-0014 c0740240 beq patch1d_0 ,p_hid_rx_process 
-0015 2020137c branch loop 
+0000 c2840017 bbit1 8 ,pf_patch_ext 
+0001 c0000021 beq patch00_0 ,p_soft_reset 
+0002 c0018025 beq patch00_3 ,p_main_loop 
+0003 c0418049 beq patch10_3 ,p_set_sync_on 
+0004 c0450032 beq patch11_2 ,p_txon_next 
+0005 c045807e beq patch11_3 ,p_initialize_radio_cont 
+0006 c04f8091 beq patch13_7 ,p_init_param 
+0007 c0570093 beq patch15_6 ,p_app_init 
+0008 c0580072 beq patch16_0 ,p_app_evt_100ms_loop 
+0009 c06181ab beq patch18_3 ,p_mouse_start_work 
+000a c063816e beq patch18_7 ,p_mouse_app_enter_hibernate 
+000b c0648172 beq patch19_1 ,p_mouse_setgpio_hibernate 
+000c c065017d beq patch19_2 ,p_mouse_lpm_before_common 
+000d c06602a6 beq patch19_4 ,p_mouse_adc_read_start 
+000e c0670286 beq patch19_6 ,p_mouse_motion 
+000f c06801bf beq patch1a_0 ,p_mouse_seting_dpi 
+0010 c06981d8 beq patch1a_3 ,p_mouse_init_sunt 
+0011 c06a01f1 beq patch1a_4 ,p_mouse_sensor_poweron 
+0012 c06b018e beq patch1a_6 ,p_mouse_priority_bb_event 
+0013 c06c81f6 beq patch1b_1 ,p_mouse_bb_event_timer 
+0014 c06d0243 beq patch1b_2 ,p_mouse_start_discovery 
+0015 c074024e beq patch1d_0 ,p_hid_rx_process 
+0016 2020137c branch loop 
 
 pf_patch_ext:
-0016 c0198051 beq patch26_3 ,p_adc_init_data 
-0017 c01a0056 beq patch26_4 ,p_enable_adc 
-0018 c043823c beq patch30_7 ,p_ui_timer_check 
-0019 c0508254 beq patch34_1 ,p_le_slave_match 
-001a c054808a beq patch35_1 ,p_le_enable 
-001b c0710109 beq patch3c_2 ,p_g24_pair_dispatch 
-001c c0748110 beq patch3d_1 ,p_g24_reconn_dispatch 
-001d c075012a beq patch3d_2 ,p_g24_transmit_no_interrupt 
-001e c0760275 beq patch3d_4 ,p_g24_lpm_wait 
-001f 2020137c branch loop 
+0017 c0198052 beq patch26_3 ,p_adc_init_data 
+0018 c01a0057 beq patch26_4 ,p_enable_adc 
+0019 c043824a beq patch30_7 ,p_ui_timer_check 
+001a c0508262 beq patch34_1 ,p_le_slave_match 
+001b c054808b beq patch35_1 ,p_le_enable 
+001c c071010a beq patch3c_2 ,p_g24_pair_dispatch 
+001d c0748111 beq patch3d_1 ,p_g24_reconn_dispatch 
+001e c075012b beq patch3d_2 ,p_g24_transmit_no_interrupt 
+001f c0760283 beq patch3d_4 ,p_g24_lpm_wait 
+0020 2020137c branch loop 
 
 p_soft_reset:
-0020 20800000 clear_stack 
-0021 204030f3 call app_param_init 
-0022 20403bfd call mouse_xtal_init 
-0023 20200804 branch soft_reset + 3 
+0021 20800000 clear_stack 
+0022 204030f3 call app_param_init 
+0023 20403bfd call mouse_xtal_init 
+0024 20200804 branch soft_reset + 3 
 
 p_main_loop:
-0024 2040706c call sp_calc_sequence 
-0025 20407597 call sp_calc_sequence_256 
-0026 20406ea7 call sp_calc_sequence_256_check 
-0027 20401b93 call le_advertising_dispatch + 1 
-0028 2040083a call idle_dispatch 
-0029 20403108 call app_process_idle + 1 
-002a 20400892 call inquiry_dispatch + 1 
-002b 20400b08 call inquiry_scan_dispatch + 1 
-002c 20400b7b call page_scan_dispatch + 1 
-002d 20400823 call connection_dispatch + 1 
-002e 204021d3 call g24_dispatch + 2 
-002f 2040003c call p_lpm_dispatch 
-0030 20200813 branch main_loop 
+0025 2040706c call sp_calc_sequence 
+0026 20407597 call sp_calc_sequence_256 
+0027 20406ea7 call sp_calc_sequence_256_check 
+0028 20401b93 call le_advertising_dispatch + 1 
+0029 2040083a call idle_dispatch 
+002a 20403108 call app_process_idle + 1 
+002b 20400892 call inquiry_dispatch + 1 
+002c 20400b08 call inquiry_scan_dispatch + 1 
+002d 20400b7b call page_scan_dispatch + 1 
+002e 20400823 call connection_dispatch + 1 
+002f 204021d3 call g24_dispatch + 2 
+0030 2040003d call p_lpm_dispatch 
+0031 20200813 branch main_loop 
 
 p_txon_next:
-0031 6fe0c1e8 fetch 1 ,mem_tx_power 
-0032 c001922d beq tx_power_3db ,set_tx_power_3db 
-0033 c0029238 beq tx_power_5db ,set_tx_power_7db 
-0034 c003123b beq tx_power_6db ,set_tx_power_10db 
-0035 c003923b beq tx_power_7db ,set_tx_power_10db 
-0036 c005123b beq tx_power_10db ,set_tx_power_10db 
-0037 c041923e beq tx_power_f3db ,set_tx_power_f3db 
-0038 c0429241 beq tx_power_f5db ,set_tx_power_f5db 
-0039 c04a1244 beq tx_power_f20db ,set_tx_power_f20db 
-003a c04f1247 beq tx_power_f30db ,set_tx_power_f30db 
-003b 20201228 branch set_tx_power_0db 
+0032 6fe0c1e8 fetch 1 ,mem_tx_power 
+0033 c001922d beq tx_power_3db ,set_tx_power_3db 
+0034 c0029238 beq tx_power_5db ,set_tx_power_7db 
+0035 c003123b beq tx_power_6db ,set_tx_power_10db 
+0036 c003923b beq tx_power_7db ,set_tx_power_10db 
+0037 c005123b beq tx_power_10db ,set_tx_power_10db 
+0038 c041923e beq tx_power_f3db ,set_tx_power_f3db 
+0039 c0429241 beq tx_power_f5db ,set_tx_power_f5db 
+003a c04a1244 beq tx_power_f20db ,set_tx_power_f20db 
+003b c04f1247 beq tx_power_f30db ,set_tx_power_f30db 
+003c 20201228 branch set_tx_power_0db 
 
 p_lpm_dispatch:
-003c 20401465 call lpo_calibration 
-003d 6fe1c174 fetch 3 ,mem_clks_per_lpo 
-003e 207a0000 rtn blank 
-003f 6fe0c099 fetch 1 ,mem_lpm_mode 
-0040 207a0000 rtn blank 
-0041 6fe0c764 fetch 1 ,mem_ssp_enable 
-0042 203a0045 branch p_lpm_dispatch_next ,blank 
-0043 6fe0c6b9 fetch 1 ,mem_sp_local_key_invalid 
-0044 207a0000 rtn blank 
+003d 20401465 call lpo_calibration 
+003e 6fe1c174 fetch 3 ,mem_clks_per_lpo 
+003f 207a0000 rtn blank 
+0040 6fe0c099 fetch 1 ,mem_lpm_mode 
+0041 207a0000 rtn blank 
+0042 6fe0c764 fetch 1 ,mem_ssp_enable 
+0043 203a0046 branch p_lpm_dispatch_next ,blank 
+0044 6fe0c6b9 fetch 1 ,mem_sp_local_key_invalid 
+0045 207a0000 rtn blank 
 
 p_lpm_dispatch_next:
-0045 6fe0c6ba fetch 1 ,mem_sc_calc 
-0046 247a0000 nrtn blank 
-0047 202014ea branch lpm_dispatch_next + 3 
+0046 6fe0c6ba fetch 1 ,mem_sc_calc 
+0047 247a0000 nrtn blank 
+0048 202014ea branch lpm_dispatch_next + 3 
 
 p_set_sync_on:
-0048 70890005 jam 0x5 ,modem_en 
-0049 20000002 nop 2 
-004a 70890000 jam 0x0 ,modem_en 
-004b 6fe0c0c5 fetch 1 ,mem_fcomp_div 
-004c c00c1168 beq xtal_24m ,set_sync_on_24m 
-004d c004004f beq xtal_16m ,p_set_sync_on_16m 
-004e 20201168 branch set_sync_on_24m 
+0049 70890005 jam 0x5 ,modem_en 
+004a 20000002 nop 2 
+004b 70890000 jam 0x0 ,modem_en 
+004c 6fe0c0c5 fetch 1 ,mem_fcomp_div 
+004d c00c1168 beq xtal_24m ,set_sync_on_24m 
+004e c0040050 beq xtal_16m ,p_set_sync_on_16m 
+004f 20201168 branch set_sync_on_24m 
 
 p_set_sync_on_16m:
-004f 708a8729 jam 0x29 ,core_syn_afc_cfg1 
-0050 2020117d branch set_sync_on_16m 
+0050 708a8729 jam 0x29 ,core_syn_afc_cfg1 
+0051 2020117d branch set_sync_on_16m 
 
 p_adc_init_data:
-0051 da20099e arg mem_temp_block2 ,rega 
-0052 d840000c arg 12 ,temp 
-0053 58000030 setarg efuse_offset_adc_param 
-0054 20405e63 call efuse_read_data 
-0055 202060bf branch adc_init_data + 6 
+0052 da20099e arg mem_temp_block2 ,rega 
+0053 d840000c arg 12 ,temp 
+0054 58000030 setarg efuse_offset_adc_param 
+0055 20405e63 call efuse_read_data 
+0056 202060bf branch adc_init_data + 6 
 
 p_enable_adc:
-0056 6a508a12 fetchr regb ,1 ,core_rf_ldo_cfg6 
-0057 708a123d jam 0x3d ,core_rf_ldo_cfg6 
-0058 708a11aa jam 0xaa ,core_rf_ldo_cfg5 
-0059 708a0a0c jam 0x0c ,core_rf_ldo_en0 
-005a 6ff08a09 fetch 1 ,core_clkpll_cfg6 
-005b 79207e07 set1 7 ,pdata 
-005c 67f08a09 store 1 ,core_clkpll_cfg6 
-005d 708a0b04 jam 0x04 ,core_rf_ldo_en1 
-005e 2000003c nop 60 
-005f 708a1600 jam 0 ,core_syn_en 
-0060 708a1706 jam 6 ,core_rx_en0 
-0061 2040611a call read_adc_mode 
-0062 67f08a97 store 1 ,core_gpadc_ctrl 
-0063 7080dc03 jam 0x03 ,core_sum_ctrl 
-0064 2000003c nop 60 
-0065 6ff08053 fetch 1 ,core_sum_en 
-0066 79207e07 set1 7 ,pdata 
-0067 67f08053 store 1 ,core_sum_en 
-0068 200003e8 nop 1000 
-0069 6ff10150 fetch 2 ,core_adc_sum 
-006a 67e144a2 store 2 ,mem_adc_current_value 
-006b 6ff08053 fetch 1 ,core_sum_en 
-006c 793ffe07 set0 7 ,pdata 
-006d 67f08053 store 1 ,core_sum_en 
-006e 708a9700 jam 0 ,core_gpadc_ctrl 
-006f 62508a12 storer regb ,1 ,core_rf_ldo_cfg6 
-0070 20600000 rtn 
+0057 6a508a12 fetchr regb ,1 ,core_rf_ldo_cfg6 
+0058 708a123d jam 0x3d ,core_rf_ldo_cfg6 
+0059 708a11aa jam 0xaa ,core_rf_ldo_cfg5 
+005a 708a0a0c jam 0x0c ,core_rf_ldo_en0 
+005b 6ff08a09 fetch 1 ,core_clkpll_cfg6 
+005c 79207e07 set1 7 ,pdata 
+005d 67f08a09 store 1 ,core_clkpll_cfg6 
+005e 708a0b04 jam 0x04 ,core_rf_ldo_en1 
+005f 2000003c nop 60 
+0060 708a1600 jam 0 ,core_syn_en 
+0061 708a1706 jam 6 ,core_rx_en0 
+0062 2040611a call read_adc_mode 
+0063 67f08a97 store 1 ,core_gpadc_ctrl 
+0064 7080dc03 jam 0x03 ,core_sum_ctrl 
+0065 2000003c nop 60 
+0066 6ff08053 fetch 1 ,core_sum_en 
+0067 79207e07 set1 7 ,pdata 
+0068 67f08053 store 1 ,core_sum_en 
+0069 200003e8 nop 1000 
+006a 6ff10150 fetch 2 ,core_adc_sum 
+006b 67e144a2 store 2 ,mem_adc_current_value 
+006c 6ff08053 fetch 1 ,core_sum_en 
+006d 793ffe07 set0 7 ,pdata 
+006e 67f08053 store 1 ,core_sum_en 
+006f 708a9700 jam 0 ,core_gpadc_ctrl 
+0070 62508a12 storer regb ,1 ,core_rf_ldo_cfg6 
+0071 20600000 rtn 
 
 p_app_evt_100ms_loop:
-0071 6fe0830d fetch 1 ,mem_app_evt_timer_count 
-0072 207a0000 rtn blank 
-0073 1fe0ffff increase -1 ,pdata 
-0074 67e0830d store 1 ,mem_app_evt_timer_count 
-0075 204077c5 call ui_button_polling 
-0076 204031e3 call app_lpm_wake_auto_lock_timer 
-0077 204031a4 call app_unsniff_delay_timer 
-0078 204031aa call app_discovery_timer 
-0079 20405cdc call flash_write_spi_sm_timer 
-007a 6fe1446f fetch 2 ,mem_cb_event_timer 
-007b 20407e05 call callback_func 
-007c 20200071 branch p_app_evt_100ms_loop 
+0072 6fe0830d fetch 1 ,mem_app_evt_timer_count 
+0073 207a0000 rtn blank 
+0074 1fe0ffff increase -1 ,pdata 
+0075 67e0830d store 1 ,mem_app_evt_timer_count 
+0076 204077c5 call ui_button_polling 
+0077 204031e3 call app_lpm_wake_auto_lock_timer 
+0078 204031a4 call app_unsniff_delay_timer 
+0079 204031aa call app_discovery_timer 
+007a 20405cdc call flash_write_spi_sm_timer 
+007b 6fe1446f fetch 2 ,mem_cb_event_timer 
+007c 20407e05 call callback_func 
+007d 20200072 branch p_app_evt_100ms_loop 
 
 p_initialize_radio_cont:
-007d 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
-007e 2040126a call initialize_syn_afc_cfg1 
-007f 20401271 call initialize_rf_ldo_cfg1 
-0080 20401277 call initialize_rc_cal 
-0081 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
-0082 708a0305 jam 5 ,core_clkpll_cfg0 
-0083 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
-0084 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
-0085 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
-0086 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
-0087 708a8500 jam 0x00 ,core_syn_loopdiv_dsm_cfg 
-0088 70892140 jam 0x40 ,core_rx_ctrl1 
-0089 2020125d branch initialize_radio_cont + 8 
+007e 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
+007f 2040126a call initialize_syn_afc_cfg1 
+0080 20401271 call initialize_rf_ldo_cfg1 
+0081 20401277 call initialize_rc_cal 
+0082 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
+0083 708a0305 jam 5 ,core_clkpll_cfg0 
+0084 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
+0085 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
+0086 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
+0087 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
+0088 708a8500 jam 0x00 ,core_syn_loopdiv_dsm_cfg 
+0089 70892140 jam 0x40 ,core_rx_ctrl1 
+008a 2020125d branch initialize_radio_cont + 8 
 
 p_le_enable:
-008a 204016a6 call le_enable + 1 
-008b 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
-008c 6ff08a43 fetch 1 ,core_syn_cal_ctrl 
-008d 1fe1fe0f or pdata ,0x0f ,pdata 
-008e 67f08a43 store 1 ,core_syn_cal_ctrl 
-008f 20600000 rtn 
+008b 204016a6 call le_enable + 1 
+008c 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
+008d 6ff08a43 fetch 1 ,core_syn_cal_ctrl 
+008e 1fe1fe0f or pdata ,0x0f ,pdata 
+008f 67f08a43 store 1 ,core_syn_cal_ctrl 
+0090 20600000 rtn 
 
 p_init_param:
-0090 70008000 jam 0 ,mem_lmo_tid2 
-0091 202013b7 branch init_param_next + 1 
+0091 70008000 jam 0 ,mem_lmo_tid2 
+0092 202013b7 branch init_param_next + 1 
 
 p_app_init:
 
 p_mouse_init:
-0092 20406df3 call enable_authrom 
-0093 2040009c call p_mouse_wheel_set_wakeup 
-0094 204000a4 call p_mouse_setting_config 
-0095 204041a7 call mouse_init_sunt 
-0096 20758000 rtn wake 
-0097 2040408e call mouse_dpi_config 
-0098 20403d8a call mouse_usb_check_enable 
-0099 20404728 call mouse_drawing_optima_init 
-009a 204000ea call p_mouse_cb_fuction 
-009b 20203bc8 branch mouse_init + 7 
+0093 20406df3 call enable_authrom 
+0094 2040009d call p_mouse_wheel_set_wakeup 
+0095 204000a5 call p_mouse_setting_config 
+0096 204041a7 call mouse_init_sunt 
+0097 20758000 rtn wake 
+0098 204001c1 call p_mouse_dpi_config 
+0099 20403d8a call mouse_usb_check_enable 
+009a 20404728 call mouse_drawing_optima_init 
+009b 204000eb call p_mouse_cb_fuction 
+009c 20203bc8 branch mouse_init + 7 
 
 p_mouse_wheel_set_wakeup:
-009c 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-009d 207a0000 rtn blank 
-009e 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
-009f d8400040 arg gpcfg_pullup ,temp 
-00a0 20406093 call gpio_config_function_int 
-00a1 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
-00a2 d8400040 arg gpcfg_pullup ,temp 
-00a3 20206093 branch gpio_config_function_int 
+009d 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+009e 207a0000 rtn blank 
+009f 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
+00a0 d8400040 arg gpcfg_pullup ,temp 
+00a1 20406093 call gpio_config_function_int 
+00a2 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
+00a3 d8400040 arg gpcfg_pullup ,temp 
+00a4 20206093 branch gpio_config_function_int 
 
 p_mouse_setting_config:
-00a4 20758000 rtn wake 
-00a5 20402607 call g24_transmit_init 
-00a6 204022ff call g24_chmap_param_init 
-00a7 204000b1 call p_mouse_gpio_init 
-00a8 20403d13 call mouse_param_init 
-00a9 58004844 setarg 18500 
-00aa 67e1c8ad store 3 ,mem_24g_short_sleep_set 
-00ab 58000708 setarg 1800 
-00ac 67e14885 store 2 ,mem_24g_reconn_timeout_init 
-00ad d8401e00 arg 0x1e00 ,temp 
-00ae 60494838 storet 2 ,mem_24g_rx_window 
-00af 204000d6 call p_mouse_sensor_set_angle 
-00b0 20203bf5 branch mouse_setting_config + 5 
+00a5 20758000 rtn wake 
+00a6 20402607 call g24_transmit_init 
+00a7 204022ff call g24_chmap_param_init 
+00a8 204000b2 call p_mouse_gpio_init 
+00a9 20403d13 call mouse_param_init 
+00aa 58004844 setarg 18500 
+00ab 67e1c8ad store 3 ,mem_24g_short_sleep_set 
+00ac 58000708 setarg 1800 
+00ad 67e14885 store 2 ,mem_24g_reconn_timeout_init 
+00ae d8401e00 arg 0x1e00 ,temp 
+00af 60494838 storet 2 ,mem_24g_rx_window 
+00b0 204000d7 call p_mouse_sensor_set_angle 
+00b1 20203bf5 branch mouse_setting_config + 5 
 
 p_mouse_gpio_init:
-00b1 6848c4c1 fetcht 1 ,mem_eeprom_wp_gpio 
-00b2 20406069 call gpio_config_output 
-00b3 204079b4 call usb_offline_check_init 
-00b4 6848c918 fetcht 1 ,mem_lbutton_gpio 
-00b5 20403f56 call mouse_gpio_config_input_pu 
-00b6 6848c919 fetcht 1 ,mem_rbutton_gpio 
-00b7 20403f56 call mouse_gpio_config_input_pu 
-00b8 6848c91a fetcht 1 ,mem_mbutton_gpio 
-00b9 20403f56 call mouse_gpio_config_input_pu 
-00ba 6848c90d fetcht 1 ,mem_bk_button_gpio 
-00bb 20403f56 call mouse_gpio_config_input_pu 
-00bc 6848c90e fetcht 1 ,mem_fw_button_gpio 
-00bd 20403f56 call mouse_gpio_config_input_pu 
-00be 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-00bf 20403f56 call mouse_gpio_config_input_pu 
-00c0 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-00c1 20403f56 call mouse_gpio_config_input_pu 
-00c2 6848c91b fetcht 1 ,mem_config_select_device_button_gpio 
-00c3 20403f56 call mouse_gpio_config_input_pu 
-00c4 6848c912 fetcht 1 ,mem_customer_key_gpio 
-00c5 20403f56 call mouse_gpio_config_input_pu 
-00c6 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
-00c7 20403f56 call mouse_gpio_config_input_pu 
-00c8 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
-00c9 20403f56 call mouse_gpio_config_input_pu 
-00ca 6848c91c fetcht 1 ,mem_whee_ta_data_gpio 
-00cb 20403f56 call mouse_gpio_config_input_pu 
-00cc 6848c91d fetcht 1 ,mem_whee_tb_data_gpio 
-00cd 20403f56 call mouse_gpio_config_input_pu 
-00ce 6848c911 fetcht 1 ,mem_sensor_motion_gpio 
-00cf 20403f56 call mouse_gpio_config_input_pu 
-00d0 6848c91e fetcht 1 ,mem_device_switch_gpio 
-00d1 20403f56 call mouse_gpio_config_input_pu 
-00d2 6848caab fetcht 1 ,mem_sensor_reset_gpio 
-00d3 20406069 call gpio_config_output 
-00d4 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
-00d5 20203f56 branch mouse_gpio_config_input_pu 
+00b2 6848c4c1 fetcht 1 ,mem_eeprom_wp_gpio 
+00b3 20406069 call gpio_config_output 
+00b4 204079b4 call usb_offline_check_init 
+00b5 6848c918 fetcht 1 ,mem_lbutton_gpio 
+00b6 20403f56 call mouse_gpio_config_input_pu 
+00b7 6848c919 fetcht 1 ,mem_rbutton_gpio 
+00b8 20403f56 call mouse_gpio_config_input_pu 
+00b9 6848c91a fetcht 1 ,mem_mbutton_gpio 
+00ba 20403f56 call mouse_gpio_config_input_pu 
+00bb 6848c90d fetcht 1 ,mem_bk_button_gpio 
+00bc 20403f56 call mouse_gpio_config_input_pu 
+00bd 6848c90e fetcht 1 ,mem_fw_button_gpio 
+00be 20403f56 call mouse_gpio_config_input_pu 
+00bf 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+00c0 20403f56 call mouse_gpio_config_input_pu 
+00c1 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+00c2 20403f56 call mouse_gpio_config_input_pu 
+00c3 6848c91b fetcht 1 ,mem_config_select_device_button_gpio 
+00c4 20403f56 call mouse_gpio_config_input_pu 
+00c5 6848c912 fetcht 1 ,mem_customer_key_gpio 
+00c6 20403f56 call mouse_gpio_config_input_pu 
+00c7 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
+00c8 20403f56 call mouse_gpio_config_input_pu 
+00c9 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
+00ca 20403f56 call mouse_gpio_config_input_pu 
+00cb 6848c91c fetcht 1 ,mem_whee_ta_data_gpio 
+00cc 20403f56 call mouse_gpio_config_input_pu 
+00cd 6848c91d fetcht 1 ,mem_whee_tb_data_gpio 
+00ce 20403f56 call mouse_gpio_config_input_pu 
+00cf 6848c911 fetcht 1 ,mem_sensor_motion_gpio 
+00d0 20403f56 call mouse_gpio_config_input_pu 
+00d1 6848c91e fetcht 1 ,mem_device_switch_gpio 
+00d2 20403f56 call mouse_gpio_config_input_pu 
+00d3 6848caab fetcht 1 ,mem_sensor_reset_gpio 
+00d4 20406069 call gpio_config_output 
+00d5 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
+00d6 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_sensor_set_angle:
-00d6 6fe0cbe3 fetch 1 ,mem_sensor_angle_connect_gnd 
-00d7 67e0c928 store 1 ,mem_config_sensor_angle 
-00d8 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
-00d9 c17f8000 rtneq gpio_disable 
-00da 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
-00db 20403f56 call mouse_gpio_config_input_pu 
-00dc 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
-00dd 20406059 call gpio_get_bit 
-00de 242080e0 nbranch p_mouse_sensor_switch_angle_next ,true 
-00df 20203f54 branch mouse_gpio_config_input_pd 
+00d7 6fe0cbe3 fetch 1 ,mem_sensor_angle_connect_gnd 
+00d8 67e0c928 store 1 ,mem_config_sensor_angle 
+00d9 6fe0c917 fetch 1 ,mem_select_sensor_angle_gpio 
+00da c17f8000 rtneq gpio_disable 
+00db 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
+00dc 20403f56 call mouse_gpio_config_input_pu 
+00dd 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
+00de 20406059 call gpio_get_bit 
+00df 242080e1 nbranch p_mouse_sensor_switch_angle_next ,true 
+00e0 20203f54 branch mouse_gpio_config_input_pd 
 
 p_mouse_sensor_switch_angle_next:
-00e0 6fe0cbe5 fetch 1 ,mem_sensor_angle_connect_vin 
-00e1 67e0c928 store 1 ,mem_config_sensor_angle 
-00e2 20403f54 call mouse_gpio_config_input_pd 
-00e3 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
-00e4 20406059 call gpio_get_bit 
-00e5 202080e7 branch p_mouse_sensor_switch_angle_impedance ,true 
-00e6 20203f56 branch mouse_gpio_config_input_pu 
+00e1 6fe0cbe5 fetch 1 ,mem_sensor_angle_connect_vin 
+00e2 67e0c928 store 1 ,mem_config_sensor_angle 
+00e3 20403f54 call mouse_gpio_config_input_pd 
+00e4 6848c917 fetcht 1 ,mem_select_sensor_angle_gpio 
+00e5 20406059 call gpio_get_bit 
+00e6 202080e8 branch p_mouse_sensor_switch_angle_impedance ,true 
+00e7 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_sensor_switch_angle_impedance:
-00e7 6fe0cbe4 fetch 1 ,mem_sensor_angle_high_impedance 
-00e8 67e0c928 store 1 ,mem_config_sensor_angle 
-00e9 20203f58 branch mouse_gpio_set_high_impedance 
+00e8 6fe0cbe4 fetch 1 ,mem_sensor_angle_high_impedance 
+00e9 67e0c928 store 1 ,mem_config_sensor_angle 
+00ea 20203f58 branch mouse_gpio_set_high_impedance 
 
 p_mouse_cb_fuction:
-00ea 580000ed setarg p_mouse_24g_package_data 
-00eb 67e1489b store 2 ,mem_cb_24g_transmit_data 
-00ec 20203bd1 branch mouse_cb_fuction + 2 
+00eb 580000ee setarg p_mouse_24g_package_data 
+00ec 67e1489b store 2 ,mem_cb_24g_transmit_data 
+00ed 20203bd1 branch mouse_cb_fuction + 2 
 
 p_mouse_24g_package_data:
-00ed c6930000 rtnmark0 mark_24g 
-00ee 20403f70 call mouse_motion 
-00ef 24740000 nrtn user 
-00f0 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00f1 c30a80f4 bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
-00f2 6fe0cb8b fetch 1 ,mem_customer_key 
-00f3 243a4884 nbranch mouse_24g_keyboard_package_data ,blank 
+00ee c6930000 rtnmark0 mark_24g 
+00ef 20403f70 call mouse_motion 
+00f0 24740000 nrtn user 
+00f1 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00f2 c30a80f5 bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
+00f3 6fe0cb8b fetch 1 ,mem_customer_key 
+00f4 243a4884 nbranch mouse_24g_keyboard_package_data ,blank 
 
 p_mouse_24g_mouse_package_data:
-00f4 204042cb call mouse_data_xy_release 
-00f5 6fe0c836 fetch 1 ,mem_24g_data_type 
-00f6 c2808103 bbit1 1 ,p_mouse_24g_mouse_package_data_now 
-00f7 6848c7c7 fetcht 1 ,mem_24g_txbuf + 1 
-00f8 6fe0c8d0 fetch 1 ,mem_mouse_key 
-00f9 9841fe00 ior temp ,pdata 
-00fa 67e0c8d0 store 1 ,mem_mouse_key 
-00fb 6848c7cc fetcht 1 ,mem_24g_txbuf + 6 
-00fc 6fe0c8d5 fetch 1 ,mem_mouse_z 
-00fd 9840fe00 iadd temp ,pdata 
-00fe 67e0c8d5 store 1 ,mem_mouse_z 
-00ff 6848c7cd fetcht 1 ,mem_24g_txbuf + 7 
-0100 6fe0c8d6 fetch 1 ,mem_mouse_tz 
-0101 9840fe00 iadd temp ,pdata 
-0102 67e0c8d6 store 1 ,mem_mouse_tz 
+00f5 204042cb call mouse_data_xy_release 
+00f6 6fe0c836 fetch 1 ,mem_24g_data_type 
+00f7 c2808104 bbit1 1 ,p_mouse_24g_mouse_package_data_now 
+00f8 6848c7c7 fetcht 1 ,mem_24g_txbuf + 1 
+00f9 6fe0c8d0 fetch 1 ,mem_mouse_key 
+00fa 9841fe00 ior temp ,pdata 
+00fb 67e0c8d0 store 1 ,mem_mouse_key 
+00fc 6848c7cc fetcht 1 ,mem_24g_txbuf + 6 
+00fd 6fe0c8d5 fetch 1 ,mem_mouse_z 
+00fe 9840fe00 iadd temp ,pdata 
+00ff 67e0c8d5 store 1 ,mem_mouse_z 
+0100 6848c7cd fetcht 1 ,mem_24g_txbuf + 7 
+0101 6fe0c8d6 fetch 1 ,mem_mouse_tz 
+0102 9840fe00 iadd temp ,pdata 
+0103 67e0c8d6 store 1 ,mem_mouse_tz 
 
 p_mouse_24g_mouse_package_data_now:
-0103 70483601 jam type_ms ,mem_24g_data_type 
-0104 da200007 arg 7 ,rega 
-0105 da4048d0 arg mem_mouse_key ,regb 
-0106 6fe148d5 fetch 2 ,mem_mouse_z 
-0107 207a0000 rtn blank 
-0108 202026e1 branch g24_transmit_by_interrupt_enable 
+0104 70483601 jam type_ms ,mem_24g_data_type 
+0105 da200007 arg 7 ,rega 
+0106 da4048d0 arg mem_mouse_key ,regb 
+0107 6fe148d5 fetch 2 ,mem_mouse_z 
+0108 207a0000 rtn blank 
+0109 202026e1 branch g24_transmit_by_interrupt_enable 
 
 p_g24_pair_dispatch:
-0109 6fe14c0c fetch 2 ,mem_24g_pair_count 
-010a 1fe0fe01 increase 1 ,pdata 
-010b 67e14c0c store 2 ,mem_24g_pair_count 
-010c 6fe0cc0c fetch 1 ,mem_24g_pair_count 
-010d 1fe17eff and pdata ,0xff ,pdata 
-010e c0002341 beq 0 ,g24_pair_dispatch + 1 
-010f 20600000 rtn 
+010a 6fe14c0c fetch 2 ,mem_24g_pair_count 
+010b 1fe0fe01 increase 1 ,pdata 
+010c 67e14c0c store 2 ,mem_24g_pair_count 
+010d 6fe0cc0c fetch 1 ,mem_24g_pair_count 
+010e 1fe17eff and pdata ,0xff ,pdata 
+010f c0002341 beq 0 ,g24_pair_dispatch + 1 
+0110 20600000 rtn 
 
 p_g24_reconn_dispatch:
-0110 6fe14889 fetch 2 ,mem_24g_reconn_count 
-0111 1fe17eff and pdata ,0xff ,pdata 
-0112 c0000117 beq 0 ,p_g24_reconn_dispatch_next 
-0113 6fe14889 fetch 2 ,mem_24g_reconn_count 
-0114 1fe0fe01 increase 1 ,pdata 
-0115 67e14889 store 2 ,mem_24g_reconn_count 
-0116 20600000 rtn 
+0111 6fe14889 fetch 2 ,mem_24g_reconn_count 
+0112 1fe17eff and pdata ,0xff ,pdata 
+0113 c0000118 beq 0 ,p_g24_reconn_dispatch_next 
+0114 6fe14889 fetch 2 ,mem_24g_reconn_count 
+0115 1fe0fe01 increase 1 ,pdata 
+0116 67e14889 store 2 ,mem_24g_reconn_count 
+0117 20600000 rtn 
 
 p_g24_reconn_dispatch_next:
-0117 2040259a call g24_reconn_data_prep 
-0118 2040265b call g24_transmit_receive_ack 
-0119 242c011d nbranch p_g24_reconn_device_fail ,sync 
-011a 2437811d nbranch p_g24_reconn_device_fail ,user3 
-011b 20402672 call g24_ackpayload_parse 
-011c 20202586 branch g24_reconn_receiver_succ 
+0118 2040259a call g24_reconn_data_prep 
+0119 2040265b call g24_transmit_receive_ack 
+011a 242c011e nbranch p_g24_reconn_device_fail ,sync 
+011b 2437811e nbranch p_g24_reconn_device_fail ,user3 
+011c 20402672 call g24_ackpayload_parse 
+011d 20202586 branch g24_reconn_receiver_succ 
 
 p_g24_reconn_device_fail:
-011d 6fe0c88c fetch 1 ,mem_24g_fast_conn_enable 
-011e 203a22cb branch g24_ch ,blank 
-011f 6fe14889 fetch 2 ,mem_24g_reconn_count 
-0120 1fe0fe01 increase 1 ,pdata 
-0121 67e14889 store 2 ,mem_24g_reconn_count 
-0122 6fe0c88a fetch 1 ,mem_24g_reconn_count + 1 
-0123 2feffe00 isolate1 0 ,pdata 
-0124 6fe0c88b fetch 1 ,mem_24g_reconn_type 
-0125 c000a5ad beq fast_conn_and_receiver ,g24_reconn_fast_conn_and_receiver 
-0126 c00125af beq fast_conn_and_3_0_addr ,g24_reconn_fast_conn_and_3_0 
-0127 c001a5b1 beq receiver_and_3_0_addr ,g24_reconn_receiver_and_3_0 
-0128 c00225b3 beq pair_and_3_0_addr ,g24_reconn_pair_and_3_0 
-0129 2020256e branch g24_reconn_receiver_addr 
+011e 6fe0c88c fetch 1 ,mem_24g_fast_conn_enable 
+011f 203a22cb branch g24_ch ,blank 
+0120 6fe14889 fetch 2 ,mem_24g_reconn_count 
+0121 1fe0fe01 increase 1 ,pdata 
+0122 67e14889 store 2 ,mem_24g_reconn_count 
+0123 6fe0c88a fetch 1 ,mem_24g_reconn_count + 1 
+0124 2feffe00 isolate1 0 ,pdata 
+0125 6fe0c88b fetch 1 ,mem_24g_reconn_type 
+0126 c000a5ad beq fast_conn_and_receiver ,g24_reconn_fast_conn_and_receiver 
+0127 c00125af beq fast_conn_and_3_0_addr ,g24_reconn_fast_conn_and_3_0 
+0128 c001a5b1 beq receiver_and_3_0_addr ,g24_reconn_receiver_and_3_0 
+0129 c00225b3 beq pair_and_3_0_addr ,g24_reconn_pair_and_3_0 
+012a 2020256e branch g24_reconn_receiver_addr 
 
 p_g24_transmit_no_interrupt:
-012a 20402631 call g24_txdata_prep 
-012b 24340139 nbranch p_g24_nodata_transmit ,user 
+012b 20402631 call g24_txdata_prep 
+012c 2434013a nbranch p_g24_nodata_transmit ,user 
 
 p_g24_transmit_start:
-012c 2040014d call p_g24_transmit_process 
-012d 204026ee call power_ctrl_start 
-012e 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-012f 243a0134 nbranch p_g24_short_sleep ,blank 
-0130 6fe448b0 fetch 8 ,mem_24g_long_sleep_set 
-0131 67e4485c store 8 ,mem_24g_enter_hibernate 
-0132 6fe148c2 fetch 2 ,mem_24g_long_sleep_param_update_timer_init 
-0133 67e148c4 store 2 ,mem_24g_long_sleep_param_update_timer 
+012d 2040014e call p_g24_transmit_process 
+012e 204026ee call power_ctrl_start 
+012f 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+0130 243a0135 nbranch p_g24_short_sleep ,blank 
+0131 6fe448b0 fetch 8 ,mem_24g_long_sleep_set 
+0132 67e4485c store 8 ,mem_24g_enter_hibernate 
+0133 6fe148c2 fetch 2 ,mem_24g_long_sleep_param_update_timer_init 
+0134 67e148c4 store 2 ,mem_24g_long_sleep_param_update_timer 
 
 p_g24_short_sleep:
-0134 204026bb call g24_lpm_wait 
-0135 24740000 nrtn user 
-0136 20407fdc call clear_wake 
-0137 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
-0138 202026b8 branch g24_long_sleep2 
+0135 204026bb call g24_lpm_wait 
+0136 24740000 nrtn user 
+0137 20407fdc call clear_wake 
+0138 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
+0139 202026b8 branch g24_long_sleep2 
 
 p_g24_nodata_transmit:
-0139 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
-013a 205a013f call p_g24_send_abort_packet ,blank 
-013b 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
-013c c1008000 rtneq g24_tx_timer_int_enable 
-013d 2040269f call g24_search_receiver 
-013e 202026b5 branch g24_long_sleep 
+013a 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+013b 205a0140 call p_g24_send_abort_packet ,blank 
+013c 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
+013d c1008000 rtneq g24_tx_timer_int_enable 
+013e 2040269f call g24_search_receiver 
+013f 202026b5 branch g24_long_sleep 
 
 p_g24_send_abort_packet:
-013f 70483601 jam type_ms ,mem_24g_data_type 
-0140 7048a701 jam 1 ,mem_24g_abort_pac 
-0141 20402642 call g24_transmit_rf_ctrl_clear 
-0142 67e0c7c6 store 1 ,mem_24g_txbuf 
-0143 58000000 setarg 0 
-0144 67e3c7c7 store 7 ,mem_24g_txbuf + 1 
-0145 6fe248a9 fetch 4 ,mem_24g_device_addr 
-0146 67e247ce store 4 ,mem_24g_txbuf + 8 
-0147 7048350c jam 12 ,mem_24g_datalen 
-0148 6fe0c836 fetch 1 ,mem_24g_data_type 
-0149 79207e03 set1 bit_abort ,pdata 
-014a 67e0c836 store 1 ,mem_24g_data_type 
-014b 20402291 call g24_transmit_prep 
-014c 2020012c branch p_g24_transmit_start 
+0140 70483601 jam type_ms ,mem_24g_data_type 
+0141 7048a701 jam 1 ,mem_24g_abort_pac 
+0142 20402642 call g24_transmit_rf_ctrl_clear 
+0143 67e0c7c6 store 1 ,mem_24g_txbuf 
+0144 58000000 setarg 0 
+0145 67e3c7c7 store 7 ,mem_24g_txbuf + 1 
+0146 6fe248a9 fetch 4 ,mem_24g_device_addr 
+0147 67e247ce store 4 ,mem_24g_txbuf + 8 
+0148 7048350c jam 12 ,mem_24g_datalen 
+0149 6fe0c836 fetch 1 ,mem_24g_data_type 
+014a 79207e03 set1 bit_abort ,pdata 
+014b 67e0c836 store 1 ,mem_24g_data_type 
+014c 20402291 call g24_transmit_prep 
+014d 2020012d branch p_g24_transmit_start 
 
 p_g24_transmit_process:
-014d 7048a600 jam 0 ,mem_24g_retry 
+014e 7048a600 jam 0 ,mem_24g_retry 
 
 p_g24_transmit_loop:
-014e 6961015f fetchr timeup ,2 ,mem_param_rx_setup 
-014f 34730200 until clkn_rt ,meet 
-0150 2040265b call g24_transmit_receive_ack 
-0151 6fe0c82c fetch 1 ,mem_24g_no_ack 
-0152 c000a651 beq no_ack_24g ,g24_transmit_no_ack 
-0153 242c015c nbranch p_g24_retransmit ,sync 
-0154 2437815c nbranch p_g24_retransmit ,user3 
-0155 20402672 call g24_ackpayload_parse 
-0156 20400158 call p_mouse_wakeup_24g 
-0157 20202651 branch g24_transmit_no_ack 
+014f 6961015f fetchr timeup ,2 ,mem_param_rx_setup 
+0150 34730200 until clkn_rt ,meet 
+0151 2040265b call g24_transmit_receive_ack 
+0152 6fe0c82c fetch 1 ,mem_24g_no_ack 
+0153 c000a651 beq no_ack_24g ,g24_transmit_no_ack 
+0154 242c015d nbranch p_g24_retransmit ,sync 
+0155 2437815d nbranch p_g24_retransmit ,user3 
+0156 20402672 call g24_ackpayload_parse 
+0157 20400159 call p_mouse_wakeup_24g 
+0158 20202651 branch g24_transmit_no_ack 
 
 p_mouse_wakeup_24g:
-0158 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-0159 245a01d1 ncall p_mouse_init_sensor_wakeup ,blank 
-015a 704be100 jam 0 ,mem_sensor_shutdown_flag 
-015b 20600000 rtn 
+0159 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+015a 245a01da ncall p_mouse_init_sensor_wakeup ,blank 
+015b 704be100 jam 0 ,mem_sensor_shutdown_flag 
+015c 20600000 rtn 
 
 p_g24_retransmit:
-015c 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
-015d 247a0000 nrtn blank 
-015e 6fe148a3 fetch 2 ,mem_24g_txfail_cnt 
-015f 1fe0fe01 increase 1 ,pdata 
-0160 67e148a3 store 2 ,mem_24g_txfail_cnt 
-0161 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
-0162 c280a679 bbit1 1 ,g24_tx_attempt_fail 
-0163 2040267e call g24_transmit_hop_process 
-0164 20400166 call p_delay_40ms 
-0165 2020014e branch p_g24_transmit_loop 
+015d 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+015e 247a0000 nrtn blank 
+015f 6fe148a3 fetch 2 ,mem_24g_txfail_cnt 
+0160 1fe0fe01 increase 1 ,pdata 
+0161 67e148a3 store 2 ,mem_24g_txfail_cnt 
+0162 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
+0163 c280a679 bbit1 1 ,g24_tx_attempt_fail 
+0164 2040267e call g24_transmit_hop_process 
+0165 20400167 call p_delay_40ms 
+0166 2020014f branch p_g24_transmit_loop 
 
 p_delay_40ms:
-0166 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
-0167 1fe67c00 sub pdata ,0x00 ,null 
-0168 20610000 rtn positive 
-0169 df200028 arg 40 ,loopcnt 
+0167 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
+0168 1fe67c00 sub pdata ,0x00 ,null 
+0169 20610000 rtn positive 
+016a df200028 arg 40 ,loopcnt 
 
 p_delay_ms_wait:
-016a 20002ee0 nop 12000 
-016b c2007d13 loop delay_ms_wait 
-016c 20600000 rtn 
+016b 20002ee0 nop 12000 
+016c c2007d13 loop delay_ms_wait 
+016d 20600000 rtn 
 
 p_mouse_app_enter_hibernate:
-016d 58000006 setarg pan_reg_config 
-016e 20405b0d call twspi_read 
-016f c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
-0170 20203e21 branch mouse_app_enter_hibernate + 1 
+016e 58000006 setarg pan_reg_config 
+016f 20405b0d call twspi_read 
+0170 c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
+0171 20203e21 branch mouse_app_enter_hibernate + 1 
 
 p_mouse_setgpio_hibernate:
-0171 204042e9 call mouse_set_sdio_high 
-0172 20407fdc call clear_wake 
-0173 20404015 call mouse_before_hibernate_wheel_gpio_set 
-0174 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-0175 20406069 call gpio_out_active 
-0176 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-0177 20406042 call gpio_clr_wake 
-0178 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-0179 d840003f arg gpcfg_output_high ,temp 
-017a 20406093 call gpio_config_function_int 
-017b 20203e36 branch mouse_setgpio_hibernate + 3 
+0172 204042e9 call mouse_set_sdio_high 
+0173 20407fdc call clear_wake 
+0174 20404015 call mouse_before_hibernate_wheel_gpio_set 
+0175 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+0176 20406069 call gpio_out_active 
+0177 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+0178 20406042 call gpio_clr_wake 
+0179 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
+017a d840003f arg gpcfg_output_high ,temp 
+017b 20406093 call gpio_config_function_int 
+017c 20203e36 branch mouse_setgpio_hibernate + 3 
 
 p_mouse_lpm_before_common:
-017c 20403f88 call mouse_wheel_check 
-017d 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
-017e d840003f arg gpcfg_output_high ,temp 
-017f 20406093 call gpio_config_function_int 
-0180 20405b04 call twspi_disable 
-0181 6848c918 fetcht 1 ,mem_lbutton_gpio 
-0182 20406036 call gpio_set_wake 
-0183 6848c919 fetcht 1 ,mem_rbutton_gpio 
-0184 20406036 call gpio_set_wake 
-0185 6848c91a fetcht 1 ,mem_mbutton_gpio 
-0186 20406036 call gpio_set_wake 
-0187 6848c90d fetcht 1 ,mem_bk_button_gpio 
-0188 20406036 call gpio_set_wake 
-0189 6848c90e fetcht 1 ,mem_fw_button_gpio 
-018a 20406036 call gpio_set_wake 
-018b 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-018c 20206036 branch gpio_set_wake 
+017d 20403f88 call mouse_wheel_check 
+017e 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
+017f d840003f arg gpcfg_output_high ,temp 
+0180 20406093 call gpio_config_function_int 
+0181 20405b04 call twspi_disable 
+0182 6848c918 fetcht 1 ,mem_lbutton_gpio 
+0183 20406036 call gpio_set_wake 
+0184 6848c919 fetcht 1 ,mem_rbutton_gpio 
+0185 20406036 call gpio_set_wake 
+0186 6848c91a fetcht 1 ,mem_mbutton_gpio 
+0187 20406036 call gpio_set_wake 
+0188 6848c90d fetcht 1 ,mem_bk_button_gpio 
+0189 20406036 call gpio_set_wake 
+018a 6848c90e fetcht 1 ,mem_fw_button_gpio 
+018b 20406036 call gpio_set_wake 
+018c 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+018d 20206036 branch gpio_set_wake 
 
 p_mouse_priority_bb_event:
-018d 1a627e00 copy regc ,pdata 
-018e c01e01a5 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-018f c0190192 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-0190 c0220199 beq bt_evt_le_parse_conn_param_accepted ,p_mouse_le_parse_conn_param_accepted 
-0191 20204336 branch mouse_priority_bb_event + 2 
+018e 1a627e00 copy regc ,pdata 
+018f c01e01a6 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+0190 c0190193 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+0191 c022019a beq bt_evt_le_parse_conn_param_accepted ,p_mouse_le_parse_conn_param_accepted 
+0192 20204336 branch mouse_priority_bb_event + 2 
 
 p_mouse_le_ll_start_encryt:
-0192 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-0193 c0008196 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
-0194 704b7614 jam 20 ,mem_le_start_encrypt_timer 
-0195 20204373 branch mouse_le_ll_enable_start_enc_flag 
+0193 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
+0194 c0008197 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
+0195 704b7614 jam 20 ,mem_le_start_encrypt_timer 
+0196 20204373 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_ll_reconn_start_encryt:
-0196 2040436c call mouse_updata_le_param 
-0197 704b7605 jam 5 ,mem_le_start_encrypt_timer 
-0198 20204373 branch mouse_le_ll_enable_start_enc_flag 
+0197 2040436c call mouse_updata_le_param 
+0198 704b7605 jam 5 ,mem_le_start_encrypt_timer 
+0199 20204373 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_parse_conn_param_accepted:
-0199 6fe082c1 fetch 1 ,mem_le_new_conninterval 
-019a 1fe67c0c sub pdata ,le_interval_15ms ,null 
-019b 24214384 nbranch mouse_le_conn_param_lpm_disable ,positive 
-019c 67e14372 store 2 ,mem_le_interval_min 
-019d 67e14374 store 2 ,mem_le_interval_min + 2 
-019e 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
-019f 6848cb8a fetcht 1 ,mem_lpm_mult_init 
-01a0 98467c00 isub temp ,null 
-01a1 2021439a branch mouse_le_lpm_mult_reinit ,positive 
-01a2 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
-01a3 67e0cb8a store 1 ,mem_lpm_mult_init 
-01a4 20204386 branch mouse_le_conn_param_lpm_enable 
+019a 6fe082c1 fetch 1 ,mem_le_new_conninterval 
+019b 1fe67c0c sub pdata ,le_interval_15ms ,null 
+019c 24214384 nbranch mouse_le_conn_param_lpm_disable ,positive 
+019d 67e14372 store 2 ,mem_le_interval_min 
+019e 67e14374 store 2 ,mem_le_interval_min + 2 
+019f 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
+01a0 6848cb8a fetcht 1 ,mem_lpm_mult_init 
+01a1 98467c00 isub temp ,null 
+01a2 2021439a branch mouse_le_lpm_mult_reinit ,positive 
+01a3 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
+01a4 67e0cb8a store 1 ,mem_lpm_mult_init 
+01a5 20204386 branch mouse_le_conn_param_lpm_enable 
 
 p_mouse_24g_attempt_success:
-01a5 6fe2483c fetch 4 ,mem_24g_addr 
-01a6 67e24891 store 4 ,mem_24g_receiver_addr 
-01a7 67e24993 store 4 ,mem_mouse_24g_addr 
-01a8 204048c6 call mouse_device_poweron_timer_init 
-01a9 2020484e branch mouse_24g_attempt_success 
+01a6 6fe2483c fetch 4 ,mem_24g_addr 
+01a7 67e24891 store 4 ,mem_24g_receiver_addr 
+01a8 67e24993 store 4 ,mem_mouse_24g_addr 
+01a9 204048c6 call mouse_device_poweron_timer_init 
+01aa 2020484e branch mouse_24g_attempt_success 
 
 p_mouse_start_work:
-01aa 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-01ab c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
-01ac 6fe0c938 fetch 1 ,mem_device_flag 
-01ad c00001af beq mode_24g_device ,p_mouse_24g_start_mode 
-01ae 20203d57 branch mouse_start_work + 5 
+01ab 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+01ac c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
+01ad 6fe0c938 fetch 1 ,mem_device_flag 
+01ae c00001b0 beq mode_24g_device ,p_mouse_24g_start_mode 
+01af 20203d57 branch mouse_start_work + 5 
 
 p_mouse_24g_start_mode:
-01af 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-01b0 c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-01b1 20403d65 call mouse_wakeup_from_power_check 
-01b2 20344806 branch mouse_24g_reconn_dongle_start ,user 
-01b3 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-01b4 c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
-01b5 c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
-01b6 20404110 call mouse_key_check_once 
-01b7 1a217e07 and rega ,0x07 ,pdata 
-01b8 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
-01b9 98467c00 isub temp ,null 
-01ba 202281bc branch p_mouse_24g_start_pair_mode ,zero 
-01bb 2020480c branch mouse_24g_reconn_general_dongle 
+01b0 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+01b1 c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+01b2 20403d65 call mouse_wakeup_from_power_check 
+01b3 20344806 branch mouse_24g_reconn_dongle_start ,user 
+01b4 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+01b5 c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
+01b6 c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
+01b7 20404110 call mouse_key_check_once 
+01b8 1a217e07 and rega ,0x07 ,pdata 
+01b9 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
+01ba 98467c00 isub temp ,null 
+01bb 202281bd branch p_mouse_24g_start_pair_mode ,zero 
+01bc 2020480c branch mouse_24g_reconn_general_dongle 
 
 p_mouse_24g_start_pair_mode:
-01bc 7041e89e jam tx_power_f30db ,mem_tx_power 
-01bd 20204827 branch mouse_24g_start_pair_mode 
+01bd 7041e89e jam tx_power_f30db ,mem_tx_power 
+01be 20204827 branch mouse_24g_start_pair_mode 
 
 p_mouse_seting_dpi:
-01be 2040408f call mouse_setting_dpi_4_level 
-01bf 204001c1 call p_mouse_dpi_led_blink_delay 
-01c0 20204098 branch mouse_seting_sensor_type 
+01bf 2040408f call mouse_setting_dpi_4_level 
+01c0 204001ca call p_mouse_dpi_led_blink_delay 
+
+p_mouse_dpi_config:
+
+p_mouse_seting_sensor_type:
+01c1 6fe0c927 fetch 1 ,mem_config_sensor_type 
+01c2 c001c0bb beq p3212 ,mouse_seting_3212_dpi 
+01c3 c005c0cf beq ka8g2 ,mouse_seting_ka8g2_dpi 
+01c4 c000409b beq p3205 ,mouse_seting_sensor_type + 3 
+01c5 6fe0c992 fetch 1 ,mem_mouse_dpi 
+01c6 c00040a2 beq mouse_dpi_level1 ,mouse_set_cpi0 
+01c7 c000c0a0 beq mouse_dpi_level2 ,mouse_set_cpi1 
+01c8 c00140a6 beq mouse_dpi_level3 ,mouse_set_cpi3 
+01c9 202040a0 branch mouse_set_cpi1 
 
 p_mouse_dpi_led_blink_delay:
-01c1 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-01c2 c17f8000 rtneq gpio_disable 
-01c3 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-01c4 247a0000 nrtn blank 
-01c5 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-01c6 247a0000 nrtn blank 
-01c7 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-01c8 247a0000 nrtn blank 
-01c9 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
-01ca 247a0000 nrtn blank 
-01cb 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
-01cc 203a01f6 branch p_mouse_dpi_led_blink_init ,blank 
-01cd 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
-01ce 20600000 rtn 
+01ca 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+01cb c17f8000 rtneq gpio_disable 
+01cc 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+01cd 247a0000 nrtn blank 
+01ce 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+01cf 247a0000 nrtn blank 
+01d0 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+01d1 247a0000 nrtn blank 
+01d2 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
+01d3 247a0000 nrtn blank 
+01d4 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
+01d5 203a0204 branch p_mouse_dpi_led_blink_init ,blank 
+01d6 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
+01d7 20600000 rtn 
 
 p_mouse_init_sunt:
-01cf 20403f65 call mouse_sensor_spi_init 
-01d0 20758000 rtn wake 
+01d8 20403f65 call mouse_sensor_spi_init 
+01d9 20758000 rtn wake 
 
 p_mouse_init_sensor_wakeup:
-01d1 20404236 call mouse_sensor_poweron 
+01da 20404236 call mouse_sensor_poweron 
 
 p_mouse_init_sensor:
-01d2 204041b5 call mouse_read_sensor_id 
-01d3 c01801d9 beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
-01d4 c018c217 beq p3065_id1 ,mouse_init_p3065 
-01d5 c02c4220 beq pka8g2_id1 ,mouse_ka8g2_id2_judge 
-01d6 204041b2 call mouse_twspi_reset 
-01d7 20001af4 nop 6900 
-01d8 202001d2 branch p_mouse_init_sensor 
+01db 204041b5 call mouse_read_sensor_id 
+01dc c01801e2 beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
+01dd c018c217 beq p3065_id1 ,mouse_init_p3065 
+01de c02c4220 beq pka8g2_id1 ,mouse_ka8g2_id2_judge 
+01df 204041b2 call mouse_twspi_reset 
+01e0 20001af4 nop 6900 
+01e1 202001db branch p_mouse_init_sensor 
 
 p_mouse_init_p32xx_id2_judge:
-01d9 6fe0c9c2 fetch 1 ,mem_sensor_id2 
-01da c02d01e2 beq p_mx8650 ,p_mouse_mx8650_init_param 
-01db c06c41cb beq p8009_id2 ,mouse_8009_init_param 
-01dc c068c1da beq p3205_tj3t_id2 ,mouse_3205_3t_init_param 
-01dd c06941e3 beq p3204_tj3l_id2 ,mouse_3204_3l_init_param 
-01de c00141ea beq p3212_id2 ,mouse_3212_init_param 
-01df c02a41ed beq pka8_id2 ,mouse_ka8_init_param_check 
-01e0 c0284214 beq p6520a_id2 ,mouse_p6520_init_param 
-01e1 202001d2 branch p_mouse_init_sensor 
+01e2 6fe0c9c2 fetch 1 ,mem_sensor_id2 
+01e3 c02d01eb beq p_mx8650 ,p_mouse_mx8650_init_param 
+01e4 c06c41cb beq p8009_id2 ,mouse_8009_init_param 
+01e5 c068c1da beq p3205_tj3t_id2 ,mouse_3205_3t_init_param 
+01e6 c06941e3 beq p3204_tj3l_id2 ,mouse_3204_3l_init_param 
+01e7 c00141ea beq p3212_id2 ,mouse_3212_init_param 
+01e8 c02a41ed beq pka8_id2 ,mouse_ka8_init_param_check 
+01e9 c0284214 beq p6520a_id2 ,mouse_p6520_init_param 
+01ea 202001db branch p_mouse_init_sensor 
 
 p_mouse_mx8650_init_param:
-01e2 70492705 jam mx8650 ,mem_config_sensor_type 
-01e3 20404232 call mouse_sensor_reset 
-01e4 20407d12 call delay_10ms 
-01e5 da604be6 arg mem_sensor_8650_init_new ,regc 
-01e6 2040422b call mouse_sensor_wr_seq 
-01e7 2020408e branch mouse_dpi_config 
+01eb 70492705 jam mx8650 ,mem_config_sensor_type 
+01ec 20404232 call mouse_sensor_reset 
+01ed 20407d12 call delay_10ms 
+01ee da604be6 arg mem_sensor_8650_init_new ,regc 
+01ef 2040422b call mouse_sensor_wr_seq 
+01f0 202001c1 branch p_mouse_dpi_config 
+
+p_mouse_sensor_poweron:
+01f1 20403f65 call mouse_sensor_spi_init 
+01f2 20404232 call mouse_sensor_reset 
+01f3 da604aa3 arg mem_sensor_poweron_init ,regc 
+01f4 2040422b call mouse_sensor_wr_seq 
+01f5 202001c1 branch p_mouse_dpi_config 
 
 p_mouse_bb_event_timer:
-01e8 2040020b call p_mouse_device_poweron_timer 
-01e9 20403e9b call mouse_adc_read 
-01ea 204002b3 call p_mouse_low_voltage_led_timer 
-01eb 2040232b call g24_pair_timeout_timer 
-01ec 20402556 call g24_reconn_timeout_timer 
-01ed 204047cd call mouse_24g_long_sleep_param_update_timer 
-01ee 204001f3 call p_mouse_dpi_led_blink_delay_timer 
-01ef 2040407c call mouse_dpi_key_check_long_press 
-01f0 204044cc call mouse_bt_discovery_check 
-01f1 20400220 call p_mouse_commbination_key_process 
-01f2 202044c0 branch mouse_bb_event_timer + 11 
+01f6 20400219 call p_mouse_device_poweron_timer 
+01f7 20403e9b call mouse_adc_read 
+01f8 204002c1 call p_mouse_low_voltage_led_timer 
+01f9 2040232b call g24_pair_timeout_timer 
+01fa 20402556 call g24_reconn_timeout_timer 
+01fb 204047cd call mouse_24g_long_sleep_param_update_timer 
+01fc 20400201 call p_mouse_dpi_led_blink_delay_timer 
+01fd 2040407c call mouse_dpi_key_check_long_press 
+01fe 204044cc call mouse_bt_discovery_check 
+01ff 2040022e call p_mouse_commbination_key_process 
+0200 202044c0 branch mouse_bb_event_timer + 11 
 
 p_mouse_dpi_led_blink_delay_timer:
-01f3 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
-01f4 da4001f6 arg p_mouse_dpi_led_blink_init ,regb 
-01f5 2020318a branch timer_single_step 
+0201 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
+0202 da400204 arg p_mouse_dpi_led_blink_init ,regb 
+0203 2020318a branch timer_single_step 
 
 p_mouse_dpi_led_blink_init:
-01f6 6fe0c927 fetch 1 ,mem_config_sensor_type 
-01f7 c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
-01f8 c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
-01f9 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-01fa 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
-01fb 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
-01fc 67e14930 store 2 ,mem_mouse_on_time 
-01fd 67e14932 store 2 ,mem_mouse_off_time 
-01fe da200000 arg 0 ,rega 
-01ff 6848c992 fetcht 1 ,mem_mouse_dpi 
-0200 18408402 increase 2 ,temp 
-0201 18467c03 sub temp ,3 ,null 
-0202 20410205 call p_mouse_dpi_led_blink_init_level_4 ,positive 
-0203 24410209 ncall p_mouse_dpi_led_blink_count_clean ,positive 
-0204 202048ff branch mouse_dpi_led_blink_init_end 
+0204 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0205 c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
+0206 c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
+0207 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+0208 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
+0209 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
+020a 67e14930 store 2 ,mem_mouse_on_time 
+020b 67e14932 store 2 ,mem_mouse_off_time 
+020c da200000 arg 0 ,rega 
+020d 6848c992 fetcht 1 ,mem_mouse_dpi 
+020e 18408402 increase 2 ,temp 
+020f 18467c03 sub temp ,3 ,null 
+0210 20410213 call p_mouse_dpi_led_blink_init_level_4 ,positive 
+0211 24410217 ncall p_mouse_dpi_led_blink_count_clean ,positive 
+0212 202048ff branch mouse_dpi_led_blink_init_end 
 
 p_mouse_dpi_led_blink_init_level_4:
-0205 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0206 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
-0207 18408401 increase 1 ,temp 
-0208 20600000 rtn 
+0213 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0214 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
+0215 18408401 increase 1 ,temp 
+0216 20600000 rtn 
 
 p_mouse_dpi_led_blink_count_clean:
-0209 184085fd increase -3 ,temp 
-020a 20600000 rtn 
+0217 184085fd increase -3 ,temp 
+0218 20600000 rtn 
 
 p_mouse_device_poweron_timer:
-020b 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-020c c4100000 rtnbit0 mouse_enable_power_on_led 
-020d 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
-020e 207a0000 rtn blank 
-020f 1fe0ffff increase -1 ,pdata 
-0210 67e0cba7 store 1 ,mem_mouse_device_poweron_timer_count 
-0211 203a0214 branch p_mouse_device_led_off ,blank 
+0219 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+021a c4100000 rtnbit0 mouse_enable_power_on_led 
+021b 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
+021c 207a0000 rtn blank 
+021d 1fe0ffff increase -1 ,pdata 
+021e 67e0cba7 store 1 ,mem_mouse_device_poweron_timer_count 
+021f 203a0222 branch p_mouse_device_led_off ,blank 
 
 p_mouse_device_led_on:
-0212 20400216 call p_mouse_led_config_ouput 
-0213 20204920 branch mouse_device_led_on 
+0220 20400224 call p_mouse_led_config_ouput 
+0221 20204920 branch mouse_device_led_on 
 
 p_mouse_device_led_off:
-0214 20400216 call p_mouse_led_config_ouput 
-0215 20204912 branch mouse_device_led_off 
+0222 20400224 call p_mouse_led_config_ouput 
+0223 20204912 branch mouse_device_led_off 
 
 p_mouse_led_config_ouput:
-0216 6848c921 fetcht 1 ,mem_config_low_voltage_alarm_gpio 
-0217 20406069 call gpio_config_output 
-0218 6848c915 fetcht 1 ,mem_config_device_24g_led_gpio 
-0219 20406069 call gpio_config_output 
-021a 6848c916 fetcht 1 ,mem_config_device_bt1_led_gpio 
-021b 20406069 call gpio_config_output 
-021c 6848c922 fetcht 1 ,mem_config_device_bt2_led_gpio 
-021d 20406069 call gpio_config_output 
-021e 6848c923 fetcht 1 ,mem_dpi_led_gpio 
-021f 20206069 branch gpio_config_output 
+0224 6848c921 fetcht 1 ,mem_config_low_voltage_alarm_gpio 
+0225 20406069 call gpio_config_output 
+0226 6848c915 fetcht 1 ,mem_config_device_24g_led_gpio 
+0227 20406069 call gpio_config_output 
+0228 6848c916 fetcht 1 ,mem_config_device_bt1_led_gpio 
+0229 20406069 call gpio_config_output 
+022a 6848c922 fetcht 1 ,mem_config_device_bt2_led_gpio 
+022b 20406069 call gpio_config_output 
+022c 6848c923 fetcht 1 ,mem_dpi_led_gpio 
+022d 20206069 branch gpio_config_output 
 
 p_mouse_commbination_key_process:
-0220 6fe0c938 fetch 1 ,mem_device_flag 
-0221 c0000226 beq mode_24g_device ,p_mouse_24g_commbination_key_process 
-0222 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0223 c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
-0224 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
-0225 20200229 branch p_mouse_commbination_key_start 
+022e 6fe0c938 fetch 1 ,mem_device_flag 
+022f c0000234 beq mode_24g_device ,p_mouse_24g_commbination_key_process 
+0230 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0231 c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
+0232 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
+0233 20200237 branch p_mouse_commbination_key_start 
 
 p_mouse_24g_commbination_key_process:
-0226 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0227 c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
-0228 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
+0234 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0235 c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
+0236 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
 
 p_mouse_commbination_key_start:
-0229 6048cb9d storet 1 ,mem_mouse_commbination_key 
-022a 20404115 call mouse_check_key_gpio 
-022b 1fe17e07 and pdata ,0x07 ,pdata 
-022c 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
-022d 98467c00 isub temp ,null 
-022e 20228230 branch p_mouse_commbination_key_down ,zero 
-022f 202044eb branch mouse_commbination_key_up 
+0237 6048cb9d storet 1 ,mem_mouse_commbination_key 
+0238 20404115 call mouse_check_key_gpio 
+0239 1fe17e07 and pdata ,0x07 ,pdata 
+023a 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
+023b 98467c00 isub temp ,null 
+023c 2022823e branch p_mouse_commbination_key_down ,zero 
+023d 202044eb branch mouse_commbination_key_up 
 
 p_mouse_commbination_key_down:
-0230 204044f6 call mouse_combination_ui_timer 
-0231 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
-0232 c1008000 rtneq commbination_key_state_down 
-0233 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
-0234 20600000 rtn 
+023e 204044f6 call mouse_combination_ui_timer 
+023f 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
+0240 c1008000 rtneq commbination_key_state_down 
+0241 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
+0242 20600000 rtn 
 
 p_mouse_start_discovery:
-0235 6fe1478c fetch 2 ,mem_ui_state_map 
-0236 2feffe0b isolate1 ui_state_ble_adv ,pdata 
-0237 2040c581 call mouse_stop_le_adv ,true 
-0238 6fe1478c fetch 2 ,mem_ui_state_map 
-0239 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
-023a 2040c322 call mouse_cancel_reconnect ,true 
-023b 20204554 branch mouse_start_discovery + 1 
+0243 6fe1478c fetch 2 ,mem_ui_state_map 
+0244 2feffe0b isolate1 ui_state_ble_adv ,pdata 
+0245 2040c581 call mouse_stop_le_adv ,true 
+0246 6fe1478c fetch 2 ,mem_ui_state_map 
+0247 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
+0248 2040c322 call mouse_cancel_reconnect ,true 
+0249 20204554 branch mouse_start_discovery + 1 
 
 p_ui_timer_check:
-023c 6fe0cbe2 fetch 1 ,mem_power_on_flag 
-023d 245a7861 ncall ui_timer_init ,blank 
-023e 704be200 jam 0 ,mem_power_on_flag 
-023f 20207851 branch ui_timer_check + 1 
+024a 6fe0cbe2 fetch 1 ,mem_power_on_flag 
+024b 245a7861 ncall ui_timer_init ,blank 
+024c 704be200 jam 0 ,mem_power_on_flag 
+024d 20207851 branch ui_timer_check + 1 
 
 p_hid_rx_process:
-0240 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
-0241 1fe20c00 copy pdata ,contr 
-0242 efe08006 ifetch 1 ,contr 
-0243 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
-0244 1fe1040f and pdata ,0x0f ,temp 
-0245 1ff1fe00 rshift4 pdata ,pdata 
-0246 c0048248 beq hid_type_set_idle ,p_hid_rx_process_handshake 
-0247 20204d93 branch hid_rx_process + 7 
+024e 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
+024f 1fe20c00 copy pdata ,contr 
+0250 efe08006 ifetch 1 ,contr 
+0251 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
+0252 1fe1040f and pdata ,0x0f ,temp 
+0253 1ff1fe00 rshift4 pdata ,pdata 
+0254 c0048256 beq hid_type_set_idle ,p_hid_rx_process_handshake 
+0255 20204d93 branch hid_rx_process + 7 
 
 p_hid_rx_process_handshake:
-0248 da200001 arg 1 ,rega 
-0249 20404dc0 call hid_malloc_tx_buff 
-024a 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
-024b e7e10005 istore 2 ,contw 
-024c 58000000 setarg 0 
-024d e7e08005 istore 1 ,contw 
-024e 70095001 jam 1 ,mem_ui_data_txbuff_length 
-024f 6fe0c4e2 fetch 1 ,mem_hid_control_state 
-0250 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
-0251 67e0c4e2 store 1 ,mem_hid_control_state 
-0252 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
-0253 20207871 branch ui_ipc_send_event 
+0256 da200001 arg 1 ,rega 
+0257 20404dc0 call hid_malloc_tx_buff 
+0258 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
+0259 e7e10005 istore 2 ,contw 
+025a 58000000 setarg 0 
+025b e7e08005 istore 1 ,contw 
+025c 70095001 jam 1 ,mem_ui_data_txbuff_length 
+025d 6fe0c4e2 fetch 1 ,mem_hid_control_state 
+025e 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
+025f 67e0c4e2 store 1 ,mem_hid_control_state 
+0260 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
+0261 20207871 branch ui_ipc_send_event 
 
 p_le_slave_match:
-0254 6fe0c3dd fetch 1 ,mem_le_md_count 
-0255 1fe0fe01 pincrease 1 
-0256 67e0c3dd store 1 ,mem_le_md_count 
-0257 c006165a beq le_md_max_count ,le_slave_cont 
-0258 2040191b call le_acknowledge 
-0259 2040196a call le_prepare_tx 
-025a 6fe082bd fetch 1 ,mem_le_tx_phy 
-025b 2040168b call le_enable_phy_by_pdata 
-025c 20401838 call le_transmit 
-025d 20201655 branch le_slave_match + 10 
+0262 6fe0c3dd fetch 1 ,mem_le_md_count 
+0263 1fe0fe01 pincrease 1 
+0264 67e0c3dd store 1 ,mem_le_md_count 
+0265 c006165a beq le_md_max_count ,le_slave_cont 
+0266 2040191b call le_acknowledge 
+0267 2040196a call le_prepare_tx 
+0268 6fe082bd fetch 1 ,mem_le_tx_phy 
+0269 2040168b call le_enable_phy_by_pdata 
+026a 20401838 call le_transmit 
+026b 20201655 branch le_slave_match + 10 
 
 p_le_parse_l2cap:
-025e efe10006 ifetch 2 ,contr 
-025f c0020261 beq le_l2cap_cid_att ,p_le_parse_att 
-0260 202019e4 branch le_parse_l2cap + 10 
+026c efe10006 ifetch 2 ,contr 
+026d c002026f beq le_l2cap_cid_att ,p_le_parse_att 
+026e 202019e4 branch le_parse_l2cap + 10 
 
 p_le_parse_att:
-0261 efe18006 ifetch 3 ,contr 
-0262 67e1c436 store 3 ,mem_le_att_opcode 
-0263 c0090265 beq attop_write_request ,p_le_parse_att_write_request 
-0264 20201cd3 branch le_parse_att + 2 
+026f efe18006 ifetch 3 ,contr 
+0270 67e1c436 store 3 ,mem_le_att_opcode 
+0271 c0090273 beq attop_write_request ,p_le_parse_att_write_request 
+0272 20201cd3 branch le_parse_att + 2 
 
 p_le_parse_att_write_request:
-0265 18c22200 copy contr ,rega 
-0266 6fe143d4 fetch 2 ,mem_le_l2cap_size 
-0267 1fe0a5fd add pdata ,-3 ,regb 
-0268 20401a25 call le_writeatt_cb 
-0269 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-026a c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
-026b 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-026c 203a1e73 branch le_send_att_write_response_check_auth ,blank 
-026d 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
-026e c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
-026f 5800001a setarg 0x001a 
-0270 68494437 fetcht 2 ,mem_le_att_handle 
-0271 98467c00 isub temp ,null 
-0272 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
-0273 7002d805 jam att_err_insufficient_authentication ,mem_le_err_code 
-0274 20201ec9 branch le_send_att_error_response 
+0273 18c22200 copy contr ,rega 
+0274 6fe143d4 fetch 2 ,mem_le_l2cap_size 
+0275 1fe0a5fd add pdata ,-3 ,regb 
+0276 20401a25 call le_writeatt_cb 
+0277 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+0278 c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
+0279 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
+027a 203a1e73 branch le_send_att_write_response_check_auth ,blank 
+027b 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
+027c c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
+027d 5800001a setarg 0x001a 
+027e 68494437 fetcht 2 ,mem_le_att_handle 
+027f 98467c00 isub temp ,null 
+0280 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
+0281 7002d805 jam att_err_insufficient_authentication ,mem_le_err_code 
+0282 20201ec9 branch le_send_att_error_response 
 
 p_g24_lpm_wait:
-0275 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
-0276 245a26e1 ncall g24_transmit_by_interrupt_enable ,blank 
-0277 202026bc branch g24_lpm_wait + 1 
+0283 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
+0284 245a26e1 ncall g24_transmit_by_interrupt_enable ,blank 
+0285 202026bc branch g24_lpm_wait + 1 
 
 p_mouse_motion:
-0278 78547c00 disable user 
-0279 58000000 setarg 0 
-027a 67e348d1 store 6 ,mem_mouse_x 
-027b 20404240 call mouse_check_sensor_data 
-027c 2040408e call mouse_dpi_config 
-027d 20403f7e call mouse_zwheel 
-027e 20403f83 call mouse_t_zwheel 
-027f 204040dc call mouse_key 
-0280 6fe0c8d0 fetch 1 ,mem_mouse_key 
-0281 1fe17e1f and_into 0x1f ,pdata 
-0282 67e0c8d0 store 1 ,mem_mouse_key 
-0283 24344728 nbranch mouse_drawing_optima_init ,user 
-0284 20400286 call p_mouse_drawing_optima 
-0285 20204544 branch mouse_no_data_timer_init 
+0286 78547c00 disable user 
+0287 58000000 setarg 0 
+0288 67e348d1 store 6 ,mem_mouse_x 
+0289 20404240 call mouse_check_sensor_data 
+028a 204001c1 call p_mouse_dpi_config 
+028b 20403f7e call mouse_zwheel 
+028c 20403f83 call mouse_t_zwheel 
+028d 204040dc call mouse_key 
+028e 6fe0c8d0 fetch 1 ,mem_mouse_key 
+028f 1fe17e1f and_into 0x1f ,pdata 
+0290 67e0c8d0 store 1 ,mem_mouse_key 
+0291 24344728 nbranch mouse_drawing_optima_init ,user 
+0292 20400294 call p_mouse_drawing_optima 
+0293 20204544 branch mouse_no_data_timer_init 
 
 p_mouse_drawing_optima:
-0286 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0287 c41c0000 rtnbit0 mouse_enable_smoother 
-0288 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0289 c1018000 rtneq p3212 
-028a c1000000 rtneq p3205 
-028b 6fe248d1 fetch 4 ,mem_mouse_x 
-028c 207a0000 rtn blank 
-028d 204047bd call mouse_data_abs_check 
-028e 58000006 setarg 0x06 
-028f 204047b3 call mouse_pdata_greater_than_check 
-0290 205a47af call mouse_disable_asm ,blank 
-0291 245a47b1 ncall mouse_enable_asm ,blank 
-0292 58000004 setarg 0x04 
-0293 204047b8 call mouse_data_less_than_check 
-0294 205a47af call mouse_disable_asm ,blank 
-0295 6fe0c9c9 fetch 1 ,mem_mouse_asm_flag 
-0296 c000c72d beq 1 ,mouse_drawing_optima_modify 
-0297 20204728 branch mouse_drawing_optima_init 
+0294 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0295 c41c0000 rtnbit0 mouse_enable_smoother 
+0296 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0297 c1018000 rtneq p3212 
+0298 c1000000 rtneq p3205 
+0299 6fe248d1 fetch 4 ,mem_mouse_x 
+029a 207a0000 rtn blank 
+029b 204047bd call mouse_data_abs_check 
+029c 58000006 setarg 0x06 
+029d 204047b3 call mouse_pdata_greater_than_check 
+029e 205a47af call mouse_disable_asm ,blank 
+029f 245a47b1 ncall mouse_enable_asm ,blank 
+02a0 58000004 setarg 0x04 
+02a1 204047b8 call mouse_data_less_than_check 
+02a2 205a47af call mouse_disable_asm ,blank 
+02a3 6fe0c9c9 fetch 1 ,mem_mouse_asm_flag 
+02a4 c000c72d beq 1 ,mouse_drawing_optima_modify 
+02a5 20204728 branch mouse_drawing_optima_init 
 
 p_mouse_adc_read_start:
-0298 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
-0299 247a0000 nrtn blank 
-029a 20400056 call p_enable_adc 
-029b 7048f600 jam 0 ,mem_adc_read_timer 
-029c 20406125 call vdd_calculate_by_mode 
-029d 67e148e9 store 2 ,mem_mouse_vdd_now_vol 
-029e d8400012 arg 0x0012 ,temp 
-029f 98467c00 isub temp ,null 
-02a0 242102b1 nbranch p_mouse_adc_gpio_connect_gnd ,positive 
-02a1 6fe0c4a0 fetch 1 ,mem_adc_config_flag 
-02a2 c08102a9 bne adc_config_gpio ,p_mouse_adc_data_process 
-02a3 684948e9 fetcht 2 ,mem_mouse_vdd_now_vol 
-02a4 184ffe08 mul32 temp ,8 ,pdata 
-02a5 1fe6fc0a div pdata ,10 
-02a6 20407dec call get_div_result 
-02a7 9840fe00 iadd temp ,pdata 
-02a8 67e148e9 store 2 ,mem_mouse_vdd_now_vol 
+02a6 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
+02a7 247a0000 nrtn blank 
+02a8 20400057 call p_enable_adc 
+02a9 7048f600 jam 0 ,mem_adc_read_timer 
+02aa 20406125 call vdd_calculate_by_mode 
+02ab 67e148e9 store 2 ,mem_mouse_vdd_now_vol 
+02ac d8400012 arg 0x0012 ,temp 
+02ad 98467c00 isub temp ,null 
+02ae 242102bf nbranch p_mouse_adc_gpio_connect_gnd ,positive 
+02af 6fe0c4a0 fetch 1 ,mem_adc_config_flag 
+02b0 c08102b7 bne adc_config_gpio ,p_mouse_adc_data_process 
+02b1 684948e9 fetcht 2 ,mem_mouse_vdd_now_vol 
+02b2 184ffe08 mul32 temp ,8 ,pdata 
+02b3 1fe6fc0a div pdata ,10 
+02b4 20407dec call get_div_result 
+02b5 9840fe00 iadd temp ,pdata 
+02b6 67e148e9 store 2 ,mem_mouse_vdd_now_vol 
 
 p_mouse_adc_data_process:
-02a9 da2048e3 arg mem_mouse_vdd_calculate_set ,rega 
-02aa 20403ed8 call mouse_adc_bat_percent_lowpower_out 
-02ab 6fe0c4a4 fetch 1 ,mem_adc_power_flag 
-02ac c2813f1a bbit1 2 ,mouse_adc_button_press 
-02ad c280bf1c bbit1 1 ,mouse_power_down 
-02ae c3003ed0 bbit0 0 ,mouse_adc_no_low_voltage 
-02af 7048fa01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
-02b0 20203ece branch mouse_adc_low_voltage 
+02b7 da2048e3 arg mem_mouse_vdd_calculate_set ,rega 
+02b8 20403ed8 call mouse_adc_bat_percent_lowpower_out 
+02b9 6fe0c4a4 fetch 1 ,mem_adc_power_flag 
+02ba c2813f1a bbit1 2 ,mouse_adc_button_press 
+02bb c280bf1c bbit1 1 ,mouse_power_down 
+02bc c3003ed0 bbit0 0 ,mouse_adc_no_low_voltage 
+02bd 7048fa01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
+02be 20203ece branch mouse_adc_low_voltage 
 
 p_mouse_adc_gpio_connect_gnd:
-02b1 6848c8fc fetcht 1 ,mem_adc_channel_gpio 
-02b2 20403f54 call mouse_gpio_config_input_pd 
+02bf 6848c8fc fetcht 1 ,mem_adc_channel_gpio 
+02c0 20403f54 call mouse_gpio_config_input_pd 
 
 p_mouse_low_voltage_led_timer:
-02b3 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-02b4 247a0000 nrtn blank 
-02b5 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-02b6 247a0000 nrtn blank 
-02b7 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-02b8 247a0000 nrtn blank 
-02b9 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
-02ba 247a0000 nrtn blank 
-02bb 20404904 call mouse_check_dpi_blink 
-02bc 20740000 rtn user 
-02bd 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-02be c4108000 rtnbit0 mouse_enable_low_voltage_led 
-02bf c4020000 rtnbit0 mouse_low_voltage_flag 
-02c0 c291c97c bbit1 mouse_enable_low_voltage_led_blink_n_second ,mouse_low_voltage_led_blink_new_data 
-02c1 6fe0c8f8 fetch 1 ,mem_adc_low_volatage_led_timer_count 
-02c2 1fe0fe01 increase 1 ,pdata 
-02c3 67e0c8f8 store 1 ,mem_adc_low_volatage_led_timer_count 
-02c4 1fe67c08 sub pdata ,8 ,null 
-02c5 2441496e ncall mouse_adc_low_volatage_led_timer_count_clean ,positive 
-02c6 c001c970 beq 3 ,mouse_low_voltage_led_on 
-02c7 c002c976 beq 5 ,mouse_low_voltage_led_off 
-02c8 c003c970 beq 7 ,mouse_low_voltage_led_on 
-02c9 20600000 rtn 
+02c1 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+02c2 247a0000 nrtn blank 
+02c3 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+02c4 247a0000 nrtn blank 
+02c5 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+02c6 247a0000 nrtn blank 
+02c7 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
+02c8 247a0000 nrtn blank 
+02c9 20404904 call mouse_check_dpi_blink 
+02ca 20740000 rtn user 
+02cb 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+02cc c4108000 rtnbit0 mouse_enable_low_voltage_led 
+02cd c4020000 rtnbit0 mouse_low_voltage_flag 
+02ce c291c97c bbit1 mouse_enable_low_voltage_led_blink_n_second ,mouse_low_voltage_led_blink_new_data 
+02cf 6fe0c8f8 fetch 1 ,mem_adc_low_volatage_led_timer_count 
+02d0 1fe0fe01 increase 1 ,pdata 
+02d1 67e0c8f8 store 1 ,mem_adc_low_volatage_led_timer_count 
+02d2 1fe67c08 sub pdata ,8 ,null 
+02d3 2441496e ncall mouse_adc_low_volatage_led_timer_count_clean ,positive 
+02d4 c001c970 beq 3 ,mouse_low_voltage_led_on 
+02d5 c002c976 beq 5 ,mouse_low_voltage_led_off 
+02d6 c003c970 beq 7 ,mouse_low_voltage_led_on 
+02d7 20600000 rtn 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/YDN_Project/G-117-3_Only24g/program/patch.prog	(revision 616)
+++ /YC1308AC/branch/mouse_project/YDN_Project/G-117-3_Only24g/program/patch.prog	(working copy)
@@ -19,6 +19,7 @@
 	beq patch19_6,p_mouse_motion
 	beq patch1a_0,p_mouse_seting_dpi
 	beq patch1a_3,p_mouse_init_sunt
+	beq patch1a_4,p_mouse_sensor_poweron
 	beq patch1a_6,p_mouse_priority_bb_event
 	beq patch1b_1,p_mouse_bb_event_timer
 	beq patch1b_2,p_mouse_start_discovery
@@ -212,7 +213,7 @@
 	call p_mouse_setting_config
 	call mouse_init_sunt
 	rtn wake
-	call mouse_dpi_config
+	call p_mouse_dpi_config
 	call mouse_usb_check_enable
 	call mouse_drawing_optima_init
 	call p_mouse_cb_fuction
@@ -625,7 +626,17 @@
 p_mouse_seting_dpi:
 	call mouse_setting_dpi_4_level
 	call p_mouse_dpi_led_blink_delay
-	branch mouse_seting_sensor_type
+p_mouse_dpi_config:
+p_mouse_seting_sensor_type:
+	fetch 1,mem_config_sensor_type
+	beq P3212,mouse_seting_3212_dpi
+	beq KA8G2,mouse_seting_ka8g2_dpi
+	beq P3205,mouse_seting_sensor_type+3
+	fetch 1,mem_mouse_dpi
+	beq MOUSE_DPI_LEVEL1,mouse_set_cpi0		//1200
+	beq MOUSE_DPI_LEVEL2,mouse_set_cpi1		//1600
+	beq MOUSE_DPI_LEVEL3,mouse_set_cpi3		//1000
+	branch mouse_set_cpi1
 
 p_mouse_dpi_led_blink_delay:
 	fetch 1,mem_dpi_led_gpio
@@ -673,7 +684,14 @@
 	call delay_10ms
 	arg mem_sensor_8650_init_new,regc
 	call mouse_sensor_wr_seq
-	branch mouse_dpi_config
+	branch p_mouse_dpi_config
+
+p_mouse_sensor_poweron:
+	call mouse_sensor_spi_init
+	call mouse_sensor_reset
+	arg mem_sensor_poweron_init,regc
+	call mouse_sensor_wr_seq
+	branch p_mouse_dpi_config
 
 p_mouse_bb_event_timer:
 	call p_mouse_device_poweron_timer
@@ -918,7 +936,7 @@
 	setarg 0
 	store 6,mem_mouse_x
 	call mouse_check_sensor_data
-	call mouse_dpi_config
+	call p_mouse_dpi_config
 	call mouse_zwheel
 	call mouse_t_zwheel
 	call mouse_key
