Index: output/eeprom.dat
===================================================================
--- /YC1308AF/branch/mouse/USB_4Mode_Project/ATS_Project/mouse_public_4mode_usb/output/eeprom.dat	(revision 3609)
+++ /YC1308AF/branch/mouse/USB_4Mode_Project/ATS_Project/mouse_public_4mode_usb/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-2e
+5a
 15
 c2
 84
@@ -55,19 +55,19 @@
 c0
 66
 84
-1e
+1d
 c0
 67
 02
-da
+db
 c0
 67
 82
-e3
+e4
 c0
 68
 04
-48
+47
 c0
 69
 02
@@ -79,7 +79,7 @@
 c0
 6a
 82
-f6
+f7
 c0
 6c
 01
@@ -103,11 +103,11 @@
 c0
 6c
 83
-b6
+b5
 c0
 6d
 03
-c0
+bf
 c0
 6e
 02
@@ -119,7 +119,7 @@
 c0
 73
 83
-ce
+cd
 20
 20
 13
@@ -131,27 +131,27 @@
 c0
 42
 83
-c3
+c2
 c0
 47
 04
-8b
+8a
 c0
 49
 84
-9c
+9b
 c0
 53
 03
-c7
+c6
 c0
 71
 03
-6c
+6b
 c0
 74
 83
-74
+73
 c0
 75
 00
@@ -159,23 +159,23 @@
 c0
 76
 03
-ab
+aa
 c0
 0c
 83
-e2
+e1
 c0
 4f
 83
-ec
+eb
 c0
 50
 83
-f6
+f5
 c0
 5f
 03
-f8
+f7
 20
 20
 13
@@ -531,11 +531,11 @@
 20
 40
 02
-e4
+e5
 20
 40
 04
-a8
+a7
 20
 40
 47
@@ -947,7 +947,7 @@
 24
 34
 03
-22
+23
 20
 40
 00
@@ -1447,7 +1447,7 @@
 20
 40
 02
-c3
+c4
 20
 40
 02
@@ -2191,7 +2191,7 @@
 da
 40
 03
-47
+48
 20
 20
 45
@@ -2299,7 +2299,7 @@
 20
 20
 03
-27
+28
 da
 60
 49
@@ -2471,7 +2471,7 @@
 20
 20
 02
-e4
+e5
 20
 40
 02
@@ -2591,7 +2591,7 @@
 20
 40
 04
-78
+77
 20
 40
 3e
@@ -2779,15 +2779,15 @@
 20
 40
 02
-c6
+c7
 20
 40
 02
-bd
+be
 20
 40
 02
-c0
+c1
 20
 40
 47
@@ -2799,11 +2799,15 @@
 20
 40
 04
-ea
+e9
 20
 40
 05
-1a
+25
+20
+40
+05
+17
 20
 60
 00
@@ -2875,7 +2879,7 @@
 20
 40
 02
-cf
+d0
 20
 20
 40
@@ -2903,7 +2907,7 @@
 c0
 7f
 82
-d6
+d7
 20
 20
 40
@@ -2915,7 +2919,7 @@
 20
 40
 04
-7b
+7a
 68
 48
 c9
@@ -2951,11 +2955,11 @@
 20
 40
 02
-e3
+e4
 20
 40
 02
-e7
+e8
 20
 20
 46
@@ -2991,15 +2995,15 @@
 c0
 00
 02
-f0
+f1
 c0
 00
 82
-f2
+f3
 c0
 01
 02
-ee
+ef
 20
 60
 00
@@ -3011,7 +3015,7 @@
 20
 20
 02
-f3
+f4
 58
 00
 00
@@ -3019,7 +3023,7 @@
 20
 20
 02
-f3
+f4
 58
 00
 00
@@ -3043,23 +3047,23 @@
 c0
 1e
 03
-0b
+0c
 c0
 1c
 83
-07
+08
 c0
 1d
 03
-1b
+1c
 c0
 19
 03
-49
+4a
 c0
 0a
 83
-55
+56
 c0
 0a
 03
@@ -3067,7 +3071,7 @@
 c0
 20
 03
-50
+51
 c0
 00
 83
@@ -3079,7 +3083,7 @@
 c0
 09
 03
-02
+03
 20
 20
 43
@@ -3107,7 +3111,7 @@
 20
 40
 03
-05
+06
 20
 40
 45
@@ -3179,7 +3183,7 @@
 20
 40
 03
-05
+06
 20
 20
 48
@@ -3191,7 +3195,7 @@
 20
 40
 03
-05
+06
 6f
 e0
 c8
@@ -3207,7 +3211,7 @@
 c0
 01
 03
-3e
+3f
 20
 20
 48
@@ -3219,7 +3223,7 @@
 20
 5a
 03
-30
+31
 6f
 e0
 c8
@@ -3355,7 +3359,7 @@
 20
 22
 83
-47
+48
 20
 20
 48
@@ -3375,7 +3379,7 @@
 c0
 00
 83
-4d
+4e
 70
 4b
 87
@@ -3437,10 +3441,6 @@
 ca
 d7
 70
-4c
-be
-00
-70
 4b
 05
 00
@@ -3477,10 +3477,6 @@
 44
 3a
 70
-4c
-be
-00
-70
 4b
 90
 00
@@ -3555,7 +3551,7 @@
 20
 3a
 03
-7f
+7e
 6f
 e1
 48
@@ -3595,11 +3591,11 @@
 24
 2c
 03
-98
+97
 24
 37
 83
-98
+97
 20
 40
 26
@@ -3619,7 +3615,7 @@
 20
 22
 83
-7c
+7b
 6f
 e2
 48
@@ -3635,7 +3631,7 @@
 20
 42
 83
-94
+93
 6f
 e0
 c8
@@ -3715,11 +3711,11 @@
 c0
 01
 03
-a2
+a1
 c0
 02
 03
-a9
+a8
 20
 20
 25
@@ -3883,7 +3879,7 @@
 c2
 80
 83
-cb
+ca
 20
 20
 16
@@ -3927,7 +3923,7 @@
 c0
 04
 83
-d6
+d5
 20
 20
 4d
@@ -4003,7 +3999,7 @@
 c0
 03
 83
-e9
+e8
 20
 20
 57
@@ -4075,7 +4071,7 @@
 c0
 02
 03
-fb
+fa
 20
 20
 19
@@ -4090,12 +4086,12 @@
 36
 c0
 05
-04
-00
+03
+ff
 c0
 09
 04
-0f
+0e
 20
 20
 1c
@@ -4123,7 +4119,7 @@
 c2
 81
 84
-0a
+09
 6f
 e1
 44
@@ -4151,11 +4147,11 @@
 24
 22
 84
-06
+05
 24
 34
 04
-06
+05
 20
 20
 1d
@@ -4235,7 +4231,7 @@
 20
 40
 04
-2e
+2d
 58
 00
 00
@@ -4247,7 +4243,7 @@
 20
 40
 02
-e4
+e5
 20
 40
 3f
@@ -4259,7 +4255,7 @@
 20
 40
 04
-45
+44
 6f
 e0
 c8
@@ -4279,7 +4275,7 @@
 20
 40
 04
-3e
+3d
 20
 20
 45
@@ -4299,11 +4295,11 @@
 c0
 06
 04
-34
+33
 c0
 05
 84
-34
+33
 20
 20
 42
@@ -4319,7 +4315,7 @@
 c0
 7f
 84
-3a
+39
 68
 48
 c9
@@ -4363,7 +4359,7 @@
 20
 40
 04
-a2
+a1
 20
 40
 47
@@ -4371,7 +4367,7 @@
 20
 40
 04
-a5
+a4
 20
 60
 00
@@ -4379,11 +4375,11 @@
 20
 40
 04
-48
+47
 20
 40
 04
-7e
+7d
 20
 20
 41
@@ -4403,15 +4399,15 @@
 20
 40
 04
-4f
+4e
 20
 40
 04
-5e
+5d
 20
 40
 04
-6b
+6a
 20
 20
 41
@@ -4423,7 +4419,7 @@
 20
 40
 04
-78
+77
 20
 40
 41
@@ -4443,7 +4439,7 @@
 20
 40
 04
-78
+77
 20
 40
 41
@@ -4463,7 +4459,7 @@
 20
 40
 04
-78
+77
 20
 40
 41
@@ -4507,7 +4503,7 @@
 c0
 7f
 84
-67
+66
 20
 20
 41
@@ -4519,7 +4515,7 @@
 20
 40
 04
-7b
+7a
 68
 48
 c9
@@ -4559,7 +4555,7 @@
 c0
 7f
 84
-74
+73
 20
 20
 41
@@ -4571,7 +4567,7 @@
 20
 40
 04
-7b
+7a
 68
 48
 c9
@@ -4623,11 +4619,11 @@
 20
 40
 04
-85
+84
 20
 40
 04
-88
+87
 20
 20
 41
@@ -4671,7 +4667,7 @@
 c0
 00
 04
-90
+8f
 20
 20
 7a
@@ -4699,7 +4695,7 @@
 c0
 00
 84
-97
+96
 20
 20
 7a
@@ -4711,7 +4707,7 @@
 c0
 04
 84
-9a
+99
 20
 20
 7a
@@ -4791,15 +4787,15 @@
 20
 40
 04
-b5
+b4
 20
 40
 04
-dd
+dc
 20
 40
 04
-ba
+b9
 6f
 e0
 cc
@@ -4851,7 +4847,7 @@
 20
 40
 04
-be
+bd
 6f
 e0
 c9
@@ -4899,7 +4895,7 @@
 24
 41
 04
-d2
+d1
 1f
 e2
 24
@@ -4987,7 +4983,7 @@
 20
 40
 04
-d5
+d4
 6f
 e4
 4b
@@ -4995,15 +4991,15 @@
 c2
 8e
 84
-e4
+e3
 c2
 8f
 04
-e6
+e5
 c2
 8f
 84
-e8
+e7
 70
 49
 2e
@@ -5047,7 +5043,7 @@
 20
 40
 04
-f0
+ef
 6f
 e0
 c9
@@ -5071,11 +5067,11 @@
 24
 20
 84
-f4
+f3
 20
 20
 05
-02
+00
 6f
 e0
 c9
@@ -5093,10 +5089,6 @@
 af
 00
 70
-4c
-be
-00
-70
 0b
 fa
 00
@@ -5144,6 +5136,10 @@
 49
 30
 5a
+70
+4c
+af
+01
 58
 00
 00
@@ -5156,14 +5152,6 @@
 e1
 48
 8b
-70
-4c
-af
-01
-70
-4c
-be
-01
 20
 40
 01
@@ -5175,7 +5163,7 @@
 20
 40
 04
-d8
+d7
 20
 40
 48
@@ -5195,7 +5183,7 @@
 58
 00
 04
-ac
+ab
 67
 e1
 0b
@@ -5237,6 +5225,62 @@
 80
 00
 6f
+e0
+c9
+30
+c0
+2d
+05
+1d
+c0
+52
+85
+21
+20
+60
+00
+00
+6f
+e0
+cc
+af
+20
+7a
+00
+00
+70
+4c
+be
+01
+20
+60
+00
+00
+6f
+e0
+cc
+af
+20
+7a
+00
+00
+70
+4c
+be
+00
+20
+60
+00
+00
+6f
+e4
+4b
+bc
+c4
+06
+80
+00
+6f
 f0
 8c
 02
@@ -5251,7 +5295,7 @@
 20
 40
 04
-c3
+c2
 24
 74
 00
@@ -5267,7 +5311,7 @@
 20
 20
 05
-24
+2f
 6f
 f0
 8c
@@ -5283,7 +5327,7 @@
 c3
 0a
 85
-2a
+35
 6f
 e0
 cb
@@ -5291,7 +5335,7 @@
 c0
 00
 85
-30
+3b
 20
 40
 37
@@ -5323,7 +5367,7 @@
 20
 3a
 05
-3b
+46
 6f
 e4
 4b
@@ -5339,11 +5383,11 @@
 c0
 01
 85
-3d
+48
 c0
 01
 05
-44
+4f
 20
 40
 37
@@ -5367,7 +5411,7 @@
 20
 20
 05
-33
+3e
 20
 40
 37
@@ -5424,8 +5468,8 @@
 60
 00
 00
-54
-db
+b2
+57
 aa
 55
 40
@@ -6825,52 +6869,8 @@
 55
 68
 a1
-9f
-51
-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
+64
+c3
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-cc
-44
+8d
+24
Index: output/program.lis
===================================================================
--- /YC1308AF/branch/mouse/USB_4Mode_Project/ATS_Project/mouse_public_4mode_usb/output/program.lis	(revision 3609)
+++ /YC1308AF/branch/mouse/USB_4Mode_Project/ATS_Project/mouse_public_4mode_usb/output/program.lis	(working copy)
@@ -12,39 +12,39 @@
 0009 c064027e beq patch19_0 ,p_mouse_setgpio_hibernate 
 000a c06482ae beq patch19_1 ,p_mouse_lpm_before_common 
 000b c0658191 beq patch19_3 ,p_mouse_adc_read_start 
-000c c066841e beq patch19_5 ,p_mouse_motion 
-000d c06702da beq patch19_6 ,p_mouse_dpi_process 
-000e c06782e3 beq patch19_7 ,p_mouse_seting_dpi 
-000f c0680448 beq patch1a_0 ,p_mouse_check_key_gpio 
+000c c066841d beq patch19_5 ,p_mouse_motion 
+000d c06702db beq patch19_6 ,p_mouse_dpi_process 
+000e c06782e4 beq patch19_7 ,p_mouse_seting_dpi 
+000f c0680447 beq patch1a_0 ,p_mouse_check_key_gpio 
 0010 c069024d beq patch1a_2 ,p_mouse_init_sunt 
 0011 c0698262 beq patch1a_3 ,p_mouse_sensor_poweron 
-0012 c06a82f6 beq patch1a_5 ,p_mouse_priority_bb_event 
+0012 c06a82f7 beq patch1a_5 ,p_mouse_priority_bb_event 
 0013 c06c0160 beq patch1b_0 ,p_mouse_bb_event_timer 
 0014 c06e82b3 beq patch1b_5 ,p_mouse_idle 
 0015 c06f0038 beq patch1b_6 ,p_mouse_ready_reconnection_by_button 
 0016 c0700030 beq patch1c_0 ,p_mouse_led_off 
 0017 c070802c beq patch1c_1 ,p_mouse_led_on 
-0018 c06c83b6 beq patch1b_1 ,p_mouse_start_discovery 
-0019 c06d03c0 beq patch1b_2 ,p_mouse_stop_discovery 
+0018 c06c83b5 beq patch1b_1 ,p_mouse_start_discovery 
+0019 c06d03bf beq patch1b_2 ,p_mouse_stop_discovery 
 001a c06e0246 beq patch1b_4 ,p_mouse_store_device_info 
 001b c04f8071 beq patch13_7 ,p_init_param 
-001c c07383ce beq patch1c_7 ,p_hid_rx_process 
+001c c07383cd beq patch1c_7 ,p_hid_rx_process 
 001d 2020137e branch loop 
 
 pf_patch_ext:
 001e c00f8089 beq patch23_7 ,p_twspi_reset 
-001f c04283c3 beq patch30_5 ,p_ui_timer_check 
-0020 c047048b beq patch31_6 ,p_usb_class_type 
-0021 c049849c beq patch32_3 ,p_usb_tx 
-0022 c05303c7 beq patch34_6 ,p_le_enable_phy_by_pdata 
-0023 c071036c beq patch3c_2 ,p_g24_pair_dispatch 
-0024 c0748374 beq patch3d_1 ,p_g24_reconn_dispatch 
+001f c04283c2 beq patch30_5 ,p_ui_timer_check 
+0020 c047048a beq patch31_6 ,p_usb_class_type 
+0021 c049849b beq patch32_3 ,p_usb_tx 
+0022 c05303c6 beq patch34_6 ,p_le_enable_phy_by_pdata 
+0023 c071036b beq patch3c_2 ,p_g24_pair_dispatch 
+0024 c0748373 beq patch3d_1 ,p_g24_reconn_dispatch 
 0025 c07500ea beq patch3d_2 ,p_g24_transmit_no_interrupt 
-0026 c07603ab beq patch3d_4 ,p_g24_lpm_wait 
-0027 c00c83e2 beq patch23_1 ,p_send_lmp 
-0028 c04f83ec beq patch33_7 ,p_le_slave_match 
-0029 c05083f6 beq patch34_1 ,p_le_slave_unsync 
-002a c05f03f8 beq patch37_6 ,p_le_parse_l2cap 
+0026 c07603aa beq patch3d_4 ,p_g24_lpm_wait 
+0027 c00c83e1 beq patch23_1 ,p_send_lmp 
+0028 c04f83eb beq patch33_7 ,p_le_slave_match 
+0029 c05083f5 beq patch34_1 ,p_le_slave_unsync 
+002a c05f03f7 beq patch37_6 ,p_le_parse_l2cap 
 002b 2020137e branch loop 
 
 p_mouse_led_on:
@@ -171,8 +171,8 @@
 0080 204000ba call p_mouse_setting_config 
 0081 204041e7 call mouse_init_sunt 
 0082 20758000 rtn wake 
-0083 204002e4 call p_mouse_seting_sensor_type 
-0084 204004a8 call p_mouse_usb_check_enable 
+0083 204002e5 call p_mouse_seting_sensor_type 
+0084 204004a7 call p_mouse_usb_check_enable 
 0085 20404766 call mouse_drawing_optima_init 
 0086 204000c9 call p_mouse_cb_fuction 
 0087 2040026c call p_mouse_sensor_powerdown 
@@ -313,7 +313,7 @@
 
 p_g24_transmit_no_interrupt:
 00ea 20402638 call g24_txdata_prep 
-00eb 24340322 nbranch p_g24_nodata_transmit ,user 
+00eb 24340323 nbranch p_g24_nodata_transmit ,user 
 
 p_g24_transmit_start:
 00ec 204000fa call p_g24_transmit_process 
@@ -478,7 +478,7 @@
 0165 204001c7 call p_mouse_led_multi_timer 
 0166 20400177 call p_mouse_dpi_led_timer 
 0167 204040bc call mouse_dpi_key_check_long_press 
-0168 204002c3 call p_mouse_bt_discovery_check 
+0168 204002c4 call p_mouse_bt_discovery_check 
 0169 2040020d call p_mouse_commbination_key_process 
 016a 2040453f call mouse_check_discovery_timeout_timer 
 016b 20400224 call p_mouse_check_direct_timeout_timer 
@@ -740,7 +740,7 @@
 0221 20600000 rtn 
 
 p_mouse_combination_ui_timer:
-0222 da400347 arg p_mouse_24g_start_pair_mode ,regb 
+0222 da400348 arg p_mouse_24g_start_pair_mode ,regb 
 0223 20204537 branch mouse_combination_ui_timer + 1 
 
 p_mouse_check_direct_timeout_timer:
@@ -779,7 +779,7 @@
 023a 67e3c8d4 store 7 ,mem_mouse_key 
 023b 704bf201 jam 1 ,mem_sensor_shutdown_flag 
 023c 2040026c call p_mouse_sensor_powerdown 
-023d 20200327 branch p_g24_long_sleep 
+023d 20200328 branch p_g24_long_sleep 
 
 p_mouse_store_information_delay_timer:
 023e da6049c4 arg mem_store_information_delay_timer ,regc 
@@ -848,7 +848,7 @@
 
 p_mouse_sensor_poweron_end:
 0267 2040426b call mouse_sensor_wr_seq 
-0268 202002e4 branch p_mouse_seting_sensor_type 
+0268 202002e5 branch p_mouse_seting_sensor_type 
 
 p_mouse_ka8g2_sensor_init:
 0269 2040027c call p_mouse_ka8g2_sensor_reset 
@@ -892,7 +892,7 @@
 0283 6848c914 fetcht 1 ,mem_matrix_public_gpio 
 0284 204060e6 call gpio_clr_wake 
 0285 6fe0c924 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-0286 20400478 call p_mouse_gpio_config_output_high 
+0286 20400477 call p_mouse_gpio_config_output_high 
 0287 20403e80 call mouse_lpm_before_common 
 0288 20403e72 call mouse_gpio_pu_idle 
 0289 d8400013 arg 19 ,temp 
@@ -955,230 +955,230 @@
 p_mouse_idle:
 02b3 204049dd call mouse_low_voltage_led_no_enter_lpm 
 02b4 204079a1 call ui_check_paring_button 
-02b5 204002c6 call p_mouse_dpi_check 
-02b6 204002bd call p_mouse_select_device_check 
-02b7 204002c0 call p_mouse_check_select_device_by_switch 
+02b5 204002c7 call p_mouse_dpi_check 
+02b6 204002be call p_mouse_select_device_check 
+02b7 204002c1 call p_mouse_check_select_device_by_switch 
 02b8 20404714 call mouse_bt_button_check 
 02b9 20403fc8 call mouse_wheel_check 
-02ba 204004ea call p_mouse_usb_isr 
-02bb 2040051a call p_mouse_usb_mode 
-02bc 20600000 rtn 
+02ba 204004e9 call p_mouse_usb_isr 
+02bb 20400525 call p_mouse_usb_mode 
+02bc 20400517 call p_mouse_usb_mode_flag_check 
+02bd 20600000 rtn 
 
 p_mouse_select_device_check:
-02bd 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
-02be 247a0000 nrtn blank 
-02bf 20204693 branch mouse_select_device_check 
+02be 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
+02bf 247a0000 nrtn blank 
+02c0 20204693 branch mouse_select_device_check 
 
 p_mouse_check_select_device_by_switch:
-02c0 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
-02c1 247a0000 nrtn blank 
-02c2 202046de branch mouse_check_select_device_by_switch 
+02c1 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
+02c2 247a0000 nrtn blank 
+02c3 202046de branch mouse_check_select_device_by_switch 
 
 p_mouse_bt_discovery_check:
-02c3 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
-02c4 247a0000 nrtn blank 
-02c5 2020450c branch mouse_bt_discovery_check 
+02c4 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
+02c5 247a0000 nrtn blank 
+02c6 2020450c branch mouse_bt_discovery_check 
 
 p_mouse_dpi_check:
-02c6 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-02c7 c2974076 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
-02c8 6fe0c913 fetch 1 ,mem_dpi_button_gpio 
-02c9 c17f8000 rtneq gpio_disable 
-02ca da200000 arg 0 ,rega 
-02cb 704ba705 jam mouse_dpi_key ,mem_mouse_key_temp 
-02cc 6848c913 fetcht 1 ,mem_dpi_button_gpio 
-02cd 204002cf call p_mouse_dpi_key_check 
-02ce 2020406f branch mouse_dpi_check_next 
+02c7 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+02c8 c2974076 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
+02c9 6fe0c913 fetch 1 ,mem_dpi_button_gpio 
+02ca c17f8000 rtneq gpio_disable 
+02cb da200000 arg 0 ,rega 
+02cc 704ba705 jam mouse_dpi_key ,mem_mouse_key_temp 
+02cd 6848c913 fetcht 1 ,mem_dpi_button_gpio 
+02ce 204002d0 call p_mouse_dpi_key_check 
+02cf 2020406f branch mouse_dpi_check_next 
 
 p_mouse_dpi_key_check:
-02cf 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-02d0 c2964088 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
-02d1 6fe0cba4 fetch 1 ,mem_mouse_dpikey_press_status 
-02d2 1fe22600 copy pdata ,regc 
-02d3 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
-02d4 c07f82d6 beq gpio_disable ,p_mouse_3io6key_dpi_check 
-02d5 2020407f branch mouse_dpi_key_check_next 
+02d0 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+02d1 c2964088 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+02d2 6fe0cba4 fetch 1 ,mem_mouse_dpikey_press_status 
+02d3 1fe22600 copy pdata ,regc 
+02d4 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
+02d5 c07f82d7 beq gpio_disable ,p_mouse_3io6key_dpi_check 
+02d6 2020407f branch mouse_dpi_key_check_next 
 
 p_mouse_3io6key_dpi_check:
-02d6 6fe0c913 fetch 1 ,mem_dpi_button_gpio 
-02d7 2040047b call p_mouse_gpio_config_output_low 
-02d8 6848c913 fetcht 1 ,mem_dpi_button_gpio 
-02d9 202041d5 branch mouse_3io6key_check 
+02d7 6fe0c913 fetch 1 ,mem_dpi_button_gpio 
+02d8 2040047a call p_mouse_gpio_config_output_low 
+02d9 6848c913 fetcht 1 ,mem_dpi_button_gpio 
+02da 202041d5 branch mouse_3io6key_check 
 
 p_mouse_dpi_process:
-02da 204040b2 call mouse_dpi_ghost_check 
-02db 20740000 rtn user 
-02dc 6fe0c997 fetch 1 ,mem_mouse_dpi 
-02dd 1fe0fe01 increase 1 ,pdata 
-02de 1fe17e03 and pdata ,0x03 ,pdata 
-02df 67e0c997 store 1 ,mem_mouse_dpi 
-02e0 204002e3 call p_mouse_seting_dpi 
-02e1 204002e7 call p_mouse_dpi_led_blink_init 
-02e2 2020462e branch mouse_store_device_info_delay 
+02db 204040b2 call mouse_dpi_ghost_check 
+02dc 20740000 rtn user 
+02dd 6fe0c997 fetch 1 ,mem_mouse_dpi 
+02de 1fe0fe01 increase 1 ,pdata 
+02df 1fe17e03 and pdata ,0x03 ,pdata 
+02e0 67e0c997 store 1 ,mem_mouse_dpi 
+02e1 204002e4 call p_mouse_seting_dpi 
+02e2 204002e8 call p_mouse_dpi_led_blink_init 
+02e3 2020462e branch mouse_store_device_info_delay 
 
 p_mouse_seting_dpi:
-02e3 204040cf call mouse_setting_dpi_4_level 
+02e4 204040cf call mouse_setting_dpi_4_level 
 
 p_mouse_seting_sensor_type:
-02e4 6fe0c92c fetch 1 ,mem_config_sensor_type 
-02e5 c00640fb beq ka5857 ,mouse_seting_3212_dpi 
-02e6 202040da branch mouse_seting_sensor_type + 2 
+02e5 6fe0c92c fetch 1 ,mem_config_sensor_type 
+02e6 c00640fb beq ka5857 ,mouse_seting_3212_dpi 
+02e7 202040da branch mouse_seting_sensor_type + 2 
 
 p_mouse_dpi_led_blink_init:
-02e7 6fe0ccbe fetch 1 ,mem_mouse_pair_success 
-02e8 207a0000 rtn blank 
-02e9 6fe0c997 fetch 1 ,mem_mouse_dpi 
-02ea c00002f0 beq mouse_dpi_level1 ,p_mouse_dpi_level_2 
-02eb c00082f2 beq mouse_dpi_level2 ,p_mouse_dpi_level_3 
-02ec c00102ee beq mouse_dpi_level3 ,p_mouse_dpi_level_1 
-02ed 20600000 rtn 
+02e8 6fe0ccbe fetch 1 ,mem_mouse_pair_success 
+02e9 207a0000 rtn blank 
+02ea 6fe0c997 fetch 1 ,mem_mouse_dpi 
+02eb c00002f1 beq mouse_dpi_level1 ,p_mouse_dpi_level_2 
+02ec c00082f3 beq mouse_dpi_level2 ,p_mouse_dpi_level_3 
+02ed c00102ef beq mouse_dpi_level3 ,p_mouse_dpi_level_1 
+02ee 20600000 rtn 
 
 p_mouse_dpi_level_1:
-02ee 58000001 setarg 1 
-02ef 202002f3 branch p_mouse_dpi_blink_count_init 
+02ef 58000001 setarg 1 
+02f0 202002f4 branch p_mouse_dpi_blink_count_init 
 
 p_mouse_dpi_level_2:
-02f0 58000002 setarg 2 
-02f1 202002f3 branch p_mouse_dpi_blink_count_init 
+02f1 58000002 setarg 2 
+02f2 202002f4 branch p_mouse_dpi_blink_count_init 
 
 p_mouse_dpi_level_3:
-02f2 58000003 setarg 3 
+02f3 58000003 setarg 3 
 
 p_mouse_dpi_blink_count_init:
-02f3 67e0ccc0 store 1 ,mem_mouse_dpi_blink_count 
-02f4 704cbf01 jam 1 ,mem_mouse_dpi_led_blink_enable 
-02f5 20600000 rtn 
+02f4 67e0ccc0 store 1 ,mem_mouse_dpi_blink_count 
+02f5 704cbf01 jam 1 ,mem_mouse_dpi_led_blink_enable 
+02f6 20600000 rtn 
 
 p_mouse_priority_bb_event:
-02f6 1a627e00 copy regc ,pdata 
-02f7 c01e030b beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-02f8 c01c8307 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-02f9 c01d031b beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-02fa c0190349 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-02fb c00a8355 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
-02fc c00a035f beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
-02fd c0200350 beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
-02fe c0008361 beq bt_evt_bb_connected ,p_mouse_bb_event_connected 
-02ff c0010364 beq bt_evt_bb_disconnected ,p_mouse_bb_disconnected 
-0300 c0090302 beq bt_evt_hid_handshake ,p_mouse_bt_hid_handshake 
-0301 20204376 branch mouse_priority_bb_event + 2 
+02f7 1a627e00 copy regc ,pdata 
+02f8 c01e030c beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+02f9 c01c8308 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+02fa c01d031c beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+02fb c019034a beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+02fc c00a8356 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
+02fd c00a035f beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
+02fe c0200351 beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
+02ff c0008361 beq bt_evt_bb_connected ,p_mouse_bb_event_connected 
+0300 c0010364 beq bt_evt_bb_disconnected ,p_mouse_bb_disconnected 
+0301 c0090303 beq bt_evt_hid_handshake ,p_mouse_bt_hid_handshake 
+0302 20204376 branch mouse_priority_bb_event + 2 
 
 p_mouse_bt_hid_handshake:
-0302 70445401 jam app_handshake_done ,mem_app_handshake_flag 
-0303 20403295 call app_lpm_mult_enable 
-0304 20204467 branch mouse_bt_hid_handshake + 3 
+0303 70445401 jam app_handshake_done ,mem_app_handshake_flag 
+0304 20403295 call app_lpm_mult_enable 
+0305 20204467 branch mouse_bt_hid_handshake + 3 
 
 p_mouse_agc_disable_nomal_power:
-0305 204000e5 call p_mouse_soft_agc_disable 
-0306 202000c6 branch p_mouse_fetch_normal_tx_power 
+0306 204000e5 call p_mouse_soft_agc_disable 
+0307 202000c6 branch p_mouse_fetch_normal_tx_power 
 
 p_mouse_24g_pairing_complete:
-0307 20400305 call p_mouse_agc_disable_nomal_power 
-0308 20404584 call mouse_no_data_timer_init 
-0309 204001f5 call p_mouse_device_poweron_led_config 
-030a 20204896 branch mouse_24g_pairing_complete 
+0308 20400306 call p_mouse_agc_disable_nomal_power 
+0309 20404584 call mouse_no_data_timer_init 
+030a 204001f5 call p_mouse_device_poweron_led_config 
+030b 20204896 branch mouse_24g_pairing_complete 
 
 p_mouse_24g_attempt_success:
-030b 6fe2483f fetch 4 ,mem_24g_addr 
-030c 67e24895 store 4 ,mem_24g_receiver_addr 
-030d 67e24998 store 4 ,mem_mouse_24g_addr 
-030e 20402587 call g24_ch_syncword_crc8_init 
-030f 20404584 call mouse_no_data_timer_init 
-0310 2040430a call mouse_init_sensor_reset 
-0311 704abf00 jam 0 ,mem_mouse_long_mult_flag 
-0312 7048a500 jam 0 ,mem_24g_conn_sm 
-0313 70488f00 jam 0 ,mem_24g_reconn_type 
-0314 6fe24895 fetch 4 ,mem_24g_receiver_addr 
-0315 684a4891 fetcht 4 ,mem_24g_fast_conn_addr 
-0316 98467c00 isub temp ,null 
-0317 20628000 rtn zero 
-0318 204001f5 call p_mouse_device_poweron_led_config 
-0319 20400305 call p_mouse_agc_disable_nomal_power 
-031a 20204861 branch mouse_24g_first_store_reconn_info 
+030c 6fe2483f fetch 4 ,mem_24g_addr 
+030d 67e24895 store 4 ,mem_24g_receiver_addr 
+030e 67e24998 store 4 ,mem_mouse_24g_addr 
+030f 20402587 call g24_ch_syncword_crc8_init 
+0310 20404584 call mouse_no_data_timer_init 
+0311 2040430a call mouse_init_sensor_reset 
+0312 704abf00 jam 0 ,mem_mouse_long_mult_flag 
+0313 7048a500 jam 0 ,mem_24g_conn_sm 
+0314 70488f00 jam 0 ,mem_24g_reconn_type 
+0315 6fe24895 fetch 4 ,mem_24g_receiver_addr 
+0316 684a4891 fetcht 4 ,mem_24g_fast_conn_addr 
+0317 98467c00 isub temp ,null 
+0318 20628000 rtn zero 
+0319 204001f5 call p_mouse_device_poweron_led_config 
+031a 20400306 call p_mouse_agc_disable_nomal_power 
+031b 20204861 branch mouse_24g_first_store_reconn_info 
 
 p_mouse_24g_attempt_fail:
-031b 704cbe00 jam 0 ,mem_mouse_pair_success 
-031c 20400305 call p_mouse_agc_disable_nomal_power 
-031d 6fe0c8a9 fetch 1 ,mem_24g_attempt_fail_flag 
-031e 243a0235 nbranch p_mouse_24g_hibernate_set ,blank 
-031f 6fe0c88f fetch 1 ,mem_24g_reconn_type 
-0320 c001033e beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
-0321 20204876 branch mouse_24g_attempt_fail + 4 
+031c 704cbe00 jam 0 ,mem_mouse_pair_success 
+031d 20400306 call p_mouse_agc_disable_nomal_power 
+031e 6fe0c8a9 fetch 1 ,mem_24g_attempt_fail_flag 
+031f 243a0235 nbranch p_mouse_24g_hibernate_set ,blank 
+0320 6fe0c88f fetch 1 ,mem_24g_reconn_type 
+0321 c001033f beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
+0322 20204876 branch mouse_24g_attempt_fail + 4 
 
 p_g24_nodata_transmit:
-0322 6fe0c8ab fetch 1 ,mem_24g_abort_pac 
-0323 205a0330 call p_g24_send_abort_packet ,blank 
-0324 6fe0c8c1 fetch 1 ,mem_24g_transmit_by_interrupt 
-0325 c1008000 rtneq g24_tx_timer_int_enable 
-0326 204026a6 call g24_search_receiver 
+0323 6fe0c8ab fetch 1 ,mem_24g_abort_pac 
+0324 205a0331 call p_g24_send_abort_packet ,blank 
+0325 6fe0c8c1 fetch 1 ,mem_24g_transmit_by_interrupt 
+0326 c1008000 rtneq g24_tx_timer_int_enable 
+0327 204026a6 call g24_search_receiver 
 
 p_g24_long_sleep:
-0327 204026c2 call g24_lpm_wait 
-0328 24740000 nrtn user 
-0329 204026cb call g24_setgpio_lpm_before 
-032a 704c3100 jam 0 ,mem_sleep_miss 
-032b 704c3201 jam 1 ,mem_long_sleep_flag 
-032c 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
-032d 245a3e6a ncall mouse_setgpio_hibernate ,blank 
-032e 6fe2485f fetch 4 ,mem_24g_enter_hibernate 
-032f 202026bf branch g24_long_seep2 
+0328 204026c2 call g24_lpm_wait 
+0329 24740000 nrtn user 
+032a 204026cb call g24_setgpio_lpm_before 
+032b 704c3100 jam 0 ,mem_sleep_miss 
+032c 704c3201 jam 1 ,mem_long_sleep_flag 
+032d 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
+032e 245a3e6a ncall mouse_setgpio_hibernate ,blank 
+032f 6fe2485f fetch 4 ,mem_24g_enter_hibernate 
+0330 202026bf branch g24_long_seep2 
 
 p_g24_send_abort_packet:
-0330 70483901 jam type_ms ,mem_24g_data_type 
-0331 7048ab01 jam 1 ,mem_24g_abort_pac 
-0332 20402649 call g24_transmit_rf_ctrl_clear 
-0333 67e0c7c9 store 1 ,mem_24g_txbuf 
-0334 58000000 setarg 0 
-0335 67e3c7ca store 7 ,mem_24g_txbuf + 1 
-0336 6fe248ad fetch 4 ,mem_24g_device_addr 
-0337 67e247d1 store 4 ,mem_24g_txbuf + 8 
-0338 7048380c jam 12 ,mem_24g_datalen 
-0339 6fe0c839 fetch 1 ,mem_24g_data_type 
-033a 79207e03 set1 bit_abort ,pdata 
-033b 67e0c839 store 1 ,mem_24g_data_type 
-033c 20402247 call g24_transmit_prep 
-033d 202000ec branch p_g24_transmit_start 
+0331 70483901 jam type_ms ,mem_24g_data_type 
+0332 7048ab01 jam 1 ,mem_24g_abort_pac 
+0333 20402649 call g24_transmit_rf_ctrl_clear 
+0334 67e0c7c9 store 1 ,mem_24g_txbuf 
+0335 58000000 setarg 0 
+0336 67e3c7ca store 7 ,mem_24g_txbuf + 1 
+0337 6fe248ad fetch 4 ,mem_24g_device_addr 
+0338 67e247d1 store 4 ,mem_24g_txbuf + 8 
+0339 7048380c jam 12 ,mem_24g_datalen 
+033a 6fe0c839 fetch 1 ,mem_24g_data_type 
+033b 79207e03 set1 bit_abort ,pdata 
+033c 67e0c839 store 1 ,mem_24g_data_type 
+033d 20402247 call g24_transmit_prep 
+033e 202000ec branch p_g24_transmit_start 
 
 p_mouse_24g_fast_conn_attempt_fail:
-033e 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-033f c297c850 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_start_auto_pair 
-0340 c2984850 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_start_auto_pair 
-0341 c31d4845 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
-0342 6fe24998 fetch 4 ,mem_mouse_24g_addr 
-0343 684a4979 fetcht 4 ,mem_mouse_compare_addr_ff 
-0344 98467c00 isub temp ,null 
-0345 20228347 branch p_mouse_24g_start_pair_mode ,zero 
-0346 20204845 branch mouse_24g_reconn_dongle_start 
+033f 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0340 c297c850 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_start_auto_pair 
+0341 c2984850 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_start_auto_pair 
+0342 c31d4845 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
+0343 6fe24998 fetch 4 ,mem_mouse_24g_addr 
+0344 684a4979 fetcht 4 ,mem_mouse_compare_addr_ff 
+0345 98467c00 isub temp ,null 
+0346 20228348 branch p_mouse_24g_start_pair_mode ,zero 
+0347 20204845 branch mouse_24g_reconn_dongle_start 
 
 p_mouse_24g_start_pair_mode:
-0347 70488f00 jam 0 ,mem_24g_reconn_type 
-0348 20204866 branch mouse_24g_start_pair_mode 
+0348 70488f00 jam 0 ,mem_24g_reconn_type 
+0349 20204866 branch mouse_24g_start_pair_mode 
 
 p_mouse_le_ll_start_encryt:
-0349 6fe0cad8 fetch 1 ,mem_mouse_le_reconnect_flag 
-034a c000834d beq 1 ,p_mouse_le_ll_reconn_start_encryt 
-034b 704b8714 jam 20 ,mem_le_start_encrypt_timer 
-034c 202043b3 branch mouse_le_ll_enable_start_enc_flag 
+034a 6fe0cad8 fetch 1 ,mem_mouse_le_reconnect_flag 
+034b c000834e beq 1 ,p_mouse_le_ll_reconn_start_encryt 
+034c 704b8714 jam 20 ,mem_le_start_encrypt_timer 
+034d 202043b3 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_ll_reconn_start_encryt:
-034d 204043ac call mouse_updata_le_param 
-034e 704b870a jam 10 ,mem_le_start_encrypt_timer 
-034f 202043b3 branch mouse_le_ll_enable_start_enc_flag 
+034e 204043ac call mouse_updata_le_param 
+034f 704b870a jam 10 ,mem_le_start_encrypt_timer 
+0350 202043b3 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_conn_param_update_rsp_recieved:
-0350 6fe0cc6f fetch 1 ,mem_mouse_le_send_conn_param_update 
-0351 247a0000 nrtn blank 
-0352 704c6f01 jam 1 ,mem_mouse_le_send_conn_param_update 
-0353 704c701e jam 30 ,mem_mouse_le_send_conn_param_update_timer 
-0354 20600000 rtn 
+0351 6fe0cc6f fetch 1 ,mem_mouse_le_send_conn_param_update 
+0352 247a0000 nrtn blank 
+0353 704c6f01 jam 1 ,mem_mouse_le_send_conn_param_update 
+0354 704c701e jam 30 ,mem_mouse_le_send_conn_param_update_timer 
+0355 20600000 rtn 
 
 p_mouse_le_bb_disconnected:
-0355 58000000 setarg 0 
-0356 67e14b03 store 2 ,mem_le_battery_level_updata_timer 
-0357 67e0cc6f store 1 ,mem_mouse_le_send_conn_param_update 
-0358 67e0cc70 store 1 ,mem_mouse_le_send_conn_param_update_timer 
-0359 67e0cad7 store 1 ,mem_mouse_le_bb_connected_flag 
-035a 704cbe00 jam 0 ,mem_mouse_pair_success 
+0356 58000000 setarg 0 
+0357 67e14b03 store 2 ,mem_le_battery_level_updata_timer 
+0358 67e0cc6f store 1 ,mem_mouse_le_send_conn_param_update 
+0359 67e0cc70 store 1 ,mem_mouse_le_send_conn_param_update_timer 
+035a 67e0cad7 store 1 ,mem_mouse_le_bb_connected_flag 
 035b 704b0500 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
 035c 704abd00 jam 0 ,mem_mouse_clear_sensor_data_flag 
 035d 20401ac8 call le_clr_config_more_data 
@@ -1194,655 +1194,672 @@
 0363 2020443a branch mouse_bb_event_connected 
 
 p_mouse_bb_disconnected:
-0364 704cbe00 jam 0 ,mem_mouse_pair_success 
-0365 704b9000 jam 0 ,mem_mouse_enter_sniff_count 
-0366 704b9900 jam 0 ,mem_mouse_bt_send_first_package_flag 
-0367 20404433 call mouse_bt_sniff_param_interval_setup 
-0368 20404449 call mouse_bb_discon_clear_stack 
-0369 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
-036a 247a0000 nrtn blank 
-036b 20204442 branch mouse_bb_disconnected + 4 
+0364 704b9000 jam 0 ,mem_mouse_enter_sniff_count 
+0365 704b9900 jam 0 ,mem_mouse_bt_send_first_package_flag 
+0366 20404433 call mouse_bt_sniff_param_interval_setup 
+0367 20404449 call mouse_bb_discon_clear_stack 
+0368 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
+0369 247a0000 nrtn blank 
+036a 20204442 branch mouse_bb_disconnected + 4 
 
 p_g24_pair_dispatch:
-036c 70488f00 jam default_24g_device ,mem_24g_reconn_type 
-036d 6fe14bfd fetch 2 ,mem_24g_pair_count 
-036e 1fe0fe01 increase 1 ,pdata 
-036f 67e14bfd store 2 ,mem_24g_pair_count 
-0370 6fe0cbfd fetch 1 ,mem_24g_pair_count 
-0371 1fe17eff and pdata ,0xff ,pdata 
-0372 c00022f7 beq 0 ,g24_pair_dispatch + 1 
-0373 20600000 rtn 
+036b 70488f00 jam default_24g_device ,mem_24g_reconn_type 
+036c 6fe14bfd fetch 2 ,mem_24g_pair_count 
+036d 1fe0fe01 increase 1 ,pdata 
+036e 67e14bfd store 2 ,mem_24g_pair_count 
+036f 6fe0cbfd fetch 1 ,mem_24g_pair_count 
+0370 1fe17eff and pdata ,0xff ,pdata 
+0371 c00022f7 beq 0 ,g24_pair_dispatch + 1 
+0372 20600000 rtn 
 
 p_g24_reconn_dispatch:
-0374 6fe1488d fetch 2 ,mem_24g_reconn_count 
-0375 d84001f8 arg 0x01f8 ,temp 
-0376 98417e00 iand temp ,pdata 
-0377 203a037f branch p_g24_reconn_dispatch_next ,blank 
-0378 6fe1488d fetch 2 ,mem_24g_reconn_count 
-0379 1fe0fe01 increase 1 ,pdata 
-037a 67e1488d store 2 ,mem_24g_reconn_count 
-037b 20600000 rtn 
+0373 6fe1488d fetch 2 ,mem_24g_reconn_count 
+0374 d84001f8 arg 0x01f8 ,temp 
+0375 98417e00 iand temp ,pdata 
+0376 203a037e branch p_g24_reconn_dispatch_next ,blank 
+0377 6fe1488d fetch 2 ,mem_24g_reconn_count 
+0378 1fe0fe01 increase 1 ,pdata 
+0379 67e1488d store 2 ,mem_24g_reconn_count 
+037a 20600000 rtn 
 
 p_g24_reconn_mode_judge:
-037c 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-037d c29822e4 bbit1 mouse_enable_auto_24g_paring ,g24_pair_start 
-037e 20202577 branch g24_reconn_receiver_addr 
+037b 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+037c c29822e4 bbit1 mouse_enable_auto_24g_paring ,g24_pair_start 
+037d 20202577 branch g24_reconn_receiver_addr 
 
 p_g24_reconn_dispatch_next:
-037f 204025a3 call g24_reconn_data_prep 
-0380 20402662 call g24_transmit_receive_ack 
-0381 242c0398 nbranch p_g24_reconn_device_fail ,sync 
-0382 24378398 nbranch p_g24_reconn_device_fail ,user3 
-0383 20402679 call g24_ackpayload_parse 
-0384 6fe2487b fetch 4 ,mem_24g_pair_addr 
-0385 684a483f fetcht 4 ,mem_24g_addr 
-0386 98467c00 isub temp ,null 
-0387 2022837c branch p_g24_reconn_mode_judge ,zero 
-0388 6fe248ad fetch 4 ,mem_24g_device_addr 
-0389 684a483f fetcht 4 ,mem_24g_addr 
-038a 98467c00 isub temp ,null 
-038b 20428394 call p_g24_store_receiver_addr ,zero 
-038c 6fe0c8a5 fetch 1 ,mem_24g_conn_sm 
-038d 793ffe02 set0 state_24g_reconn ,pdata 
-038e 67e0c8a5 store 1 ,mem_24g_conn_sm 
-038f 58000000 setarg 0 
-0390 67e14887 store 2 ,mem_24g_pair_timeout 
-0391 67e1488d store 2 ,mem_24g_reconn_count 
-0392 67e1488b store 2 ,mem_24g_reconn_timeout 
-0393 2020259e branch g24_reconn_attempt_success 
+037e 204025a3 call g24_reconn_data_prep 
+037f 20402662 call g24_transmit_receive_ack 
+0380 242c0397 nbranch p_g24_reconn_device_fail ,sync 
+0381 24378397 nbranch p_g24_reconn_device_fail ,user3 
+0382 20402679 call g24_ackpayload_parse 
+0383 6fe2487b fetch 4 ,mem_24g_pair_addr 
+0384 684a483f fetcht 4 ,mem_24g_addr 
+0385 98467c00 isub temp ,null 
+0386 2022837b branch p_g24_reconn_mode_judge ,zero 
+0387 6fe248ad fetch 4 ,mem_24g_device_addr 
+0388 684a483f fetcht 4 ,mem_24g_addr 
+0389 98467c00 isub temp ,null 
+038a 20428393 call p_g24_store_receiver_addr ,zero 
+038b 6fe0c8a5 fetch 1 ,mem_24g_conn_sm 
+038c 793ffe02 set0 state_24g_reconn ,pdata 
+038d 67e0c8a5 store 1 ,mem_24g_conn_sm 
+038e 58000000 setarg 0 
+038f 67e14887 store 2 ,mem_24g_pair_timeout 
+0390 67e1488d store 2 ,mem_24g_reconn_count 
+0391 67e1488b store 2 ,mem_24g_reconn_timeout 
+0392 2020259e branch g24_reconn_attempt_success 
 
 p_g24_store_receiver_addr:
-0394 6fe2480f fetch 4 ,mem_24g_rxpayload + 2 
-0395 207a0000 rtn blank 
-0396 67e24895 store 4 ,mem_24g_receiver_addr 
-0397 20202587 branch g24_ch_syncword_crc8_init 
+0393 6fe2480f fetch 4 ,mem_24g_rxpayload + 2 
+0394 207a0000 rtn blank 
+0395 67e24895 store 4 ,mem_24g_receiver_addr 
+0396 20202587 branch g24_ch_syncword_crc8_init 
 
 p_g24_reconn_device_fail:
-0398 6fe0c890 fetch 1 ,mem_24g_fast_conn_enable 
-0399 203a2281 branch g24_ch ,blank 
-039a 6fe1488d fetch 2 ,mem_24g_reconn_count 
-039b 1fe0fe01 increase 1 ,pdata 
-039c 67e1488d store 2 ,mem_24g_reconn_count 
-039d 2feffe09 isolate1 9 ,pdata 
-039e 6fe0c88f fetch 1 ,mem_24g_reconn_type 
-039f c00103a2 beq fast_conn_and_3_0_addr ,p_g24_reconn_fast_conn_and_3_0 
-03a0 c00203a9 beq pair_and_3_0_addr ,p_g24_reconn_pair_and_3_0 
-03a1 202025b1 branch g24_reconn_device_fail + 7 
+0397 6fe0c890 fetch 1 ,mem_24g_fast_conn_enable 
+0398 203a2281 branch g24_ch ,blank 
+0399 6fe1488d fetch 2 ,mem_24g_reconn_count 
+039a 1fe0fe01 increase 1 ,pdata 
+039b 67e1488d store 2 ,mem_24g_reconn_count 
+039c 2feffe09 isolate1 9 ,pdata 
+039d 6fe0c88f fetch 1 ,mem_24g_reconn_type 
+039e c00103a1 beq fast_conn_and_3_0_addr ,p_g24_reconn_fast_conn_and_3_0 
+039f c00203a8 beq pair_and_3_0_addr ,p_g24_reconn_pair_and_3_0 
+03a0 202025b1 branch g24_reconn_device_fail + 7 
 
 p_g24_reconn_fast_conn_and_3_0:
-03a2 6fe0cc85 fetch 1 ,mem_24g_reconn_pairing_switch 
-03a3 1fe0fe01 increase 1 ,pdata 
-03a4 1fe17e03 and_into 3 ,pdata 
-03a5 67e0cc85 store 1 ,mem_24g_reconn_pairing_switch 
-03a6 c000257e beq 0 ,g24_reconn_device_3_0_addr 
-03a7 c001256f beq 2 ,g24_reconn_fast_conn 
-03a8 202022ef branch g24_pair_init_param 
+03a1 6fe0cc85 fetch 1 ,mem_24g_reconn_pairing_switch 
+03a2 1fe0fe01 increase 1 ,pdata 
+03a3 1fe17e03 and_into 3 ,pdata 
+03a4 67e0cc85 store 1 ,mem_24g_reconn_pairing_switch 
+03a5 c000257e beq 0 ,g24_reconn_device_3_0_addr 
+03a6 c001256f beq 2 ,g24_reconn_fast_conn 
+03a7 202022ef branch g24_pair_init_param 
 
 p_g24_reconn_pair_and_3_0:
-03a9 2020a57e branch g24_reconn_device_3_0_addr ,true 
-03aa 202022ef branch g24_pair_init_param 
+03a8 2020a57e branch g24_reconn_device_3_0_addr ,true 
+03a9 202022ef branch g24_pair_init_param 
 
 p_g24_lpm_wait:
-03ab 6fe0cbbb fetch 1 ,mem_24g_device_led_status 
-03ac 243a7ec7 nbranch disable_user ,blank 
-03ad 78347c00 enable user 
-03ae 20401436 call lpo_calibration 
-03af 6fe1c174 fetch 3 ,mem_clks_per_lpo 
-03b0 203a7ec7 branch disable_user ,blank 
-03b1 6fe0c099 fetch 1 ,mem_lpm_mode 
-03b2 203a7ec7 branch disable_user ,blank 
-03b3 6fe0c8c1 fetch 1 ,mem_24g_transmit_by_interrupt 
-03b4 c000fec7 beq g24_tx_timer_int_enable ,disable_user 
-03b5 20600000 rtn 
+03aa 6fe0cbbb fetch 1 ,mem_24g_device_led_status 
+03ab 243a7ec7 nbranch disable_user ,blank 
+03ac 78347c00 enable user 
+03ad 20401436 call lpo_calibration 
+03ae 6fe1c174 fetch 3 ,mem_clks_per_lpo 
+03af 203a7ec7 branch disable_user ,blank 
+03b0 6fe0c099 fetch 1 ,mem_lpm_mode 
+03b1 203a7ec7 branch disable_user ,blank 
+03b2 6fe0c8c1 fetch 1 ,mem_24g_transmit_by_interrupt 
+03b3 c000fec7 beq g24_tx_timer_int_enable ,disable_user 
+03b4 20600000 rtn 
 
 p_mouse_start_discovery:
-03b6 20400203 call p_mouse_device_discovery_led_config 
-03b7 6fe1478f fetch 2 ,mem_ui_state_map 
-03b8 2feffe0b isolate1 ui_state_ble_adv ,pdata 
-03b9 2040c5c1 call mouse_stop_le_adv ,true 
-03ba 6fe1478f fetch 2 ,mem_ui_state_map 
-03bb 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
-03bc 2040c362 call mouse_cancel_reconnect ,true 
-03bd 58000000 setarg 0 
-03be 67e14b03 store 2 ,mem_le_battery_level_updata_timer 
-03bf 20204594 branch mouse_start_discovery + 1 
+03b5 20400203 call p_mouse_device_discovery_led_config 
+03b6 6fe1478f fetch 2 ,mem_ui_state_map 
+03b7 2feffe0b isolate1 ui_state_ble_adv ,pdata 
+03b8 2040c5c1 call mouse_stop_le_adv ,true 
+03b9 6fe1478f fetch 2 ,mem_ui_state_map 
+03ba 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
+03bb 2040c362 call mouse_cancel_reconnect ,true 
+03bc 58000000 setarg 0 
+03bd 67e14b03 store 2 ,mem_le_battery_level_updata_timer 
+03be 20204594 branch mouse_start_discovery + 1 
 
 p_mouse_stop_discovery:
-03c0 58000000 setarg 0 
-03c1 67e14ad3 store 2 ,mem_mouse_discovery_timer 
-03c2 202045b7 branch mouse_stop_discovery + 1 
+03bf 58000000 setarg 0 
+03c0 67e14ad3 store 2 ,mem_mouse_discovery_timer 
+03c1 202045b7 branch mouse_stop_discovery + 1 
 
 p_ui_timer_check:
-03c3 6fe0cbf4 fetch 1 ,mem_power_on_flag 
-03c4 245a78cc ncall ui_timer_init ,blank 
-03c5 704bf400 jam 0 ,mem_power_on_flag 
-03c6 202078bc branch ui_timer_check + 1 
+03c2 6fe0cbf4 fetch 1 ,mem_power_on_flag 
+03c3 245a78cc ncall ui_timer_init ,blank 
+03c4 704bf400 jam 0 ,mem_power_on_flag 
+03c5 202078bc branch ui_timer_check + 1 
 
 p_le_enable_phy_by_pdata:
-03c7 18427e00 copy temp ,pdata 
-03c8 c2801651 bbit1 bit_le_1m_phy ,le_enable 
-03c9 c28083cb bbit1 bit_le_2m_phy ,p_le_enable_2m 
-03ca 2020163c branch le_enable_phy_by_pdata + 5 
+03c6 18427e00 copy temp ,pdata 
+03c7 c2801651 bbit1 bit_le_1m_phy ,le_enable 
+03c8 c28083ca bbit1 bit_le_2m_phy ,p_le_enable_2m 
+03c9 2020163c branch le_enable_phy_by_pdata + 5 
 
 p_le_enable_2m:
-03cb 20401640 call le_enable_2m 
-03cc 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
-03cd 20600000 rtn 
+03ca 20401640 call le_enable_2m 
+03cb 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
+03cc 20600000 rtn 
 
 p_hid_rx_process:
-03ce 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
-03cf 1fe20c00 copy pdata ,contr 
-03d0 efe08006 ifetch 1 ,contr 
-03d1 67e0c5f8 store 1 ,mem_l2cap_rcv_hidtype 
-03d2 1fe1040f and pdata ,0x0f ,temp 
-03d3 1ff1fe00 rshift4 pdata ,pdata 
-03d4 c00483d6 beq hid_type_set_idle ,p_hid_rx_process_handshake 
-03d5 20204df1 branch hid_rx_process + 7 
+03cd 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
+03ce 1fe20c00 copy pdata ,contr 
+03cf efe08006 ifetch 1 ,contr 
+03d0 67e0c5f8 store 1 ,mem_l2cap_rcv_hidtype 
+03d1 1fe1040f and pdata ,0x0f ,temp 
+03d2 1ff1fe00 rshift4 pdata ,pdata 
+03d3 c00483d5 beq hid_type_set_idle ,p_hid_rx_process_handshake 
+03d4 20204df1 branch hid_rx_process + 7 
 
 p_hid_rx_process_handshake:
-03d6 da200001 arg 1 ,rega 
-03d7 20404e1e call hid_malloc_tx_buff 
-03d8 6fe144df fetch 2 ,mem_hid_ctrl_remote_cid 
-03d9 e7e10005 istore 2 ,contw 
-03da 58000000 setarg 0 
-03db e7e08005 istore 1 ,contw 
-03dc 70095001 jam 1 ,mem_ui_data_txbuff_length 
-03dd 6fe0c4e5 fetch 1 ,mem_hid_control_state 
-03de 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
-03df 67e0c4e5 store 1 ,mem_hid_control_state 
-03e0 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
-03e1 202078dc branch ui_ipc_send_event 
+03d5 da200001 arg 1 ,rega 
+03d6 20404e1e call hid_malloc_tx_buff 
+03d7 6fe144df fetch 2 ,mem_hid_ctrl_remote_cid 
+03d8 e7e10005 istore 2 ,contw 
+03d9 58000000 setarg 0 
+03da e7e08005 istore 1 ,contw 
+03db 70095001 jam 1 ,mem_ui_data_txbuff_length 
+03dc 6fe0c4e5 fetch 1 ,mem_hid_control_state 
+03dd 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
+03de 67e0c4e5 store 1 ,mem_hid_control_state 
+03df 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
+03e0 202078dc branch ui_ipc_send_event 
 
 p_send_lmp:
-03e2 78547c00 disable user 
-03e3 20405a44 call lmo_fifo_process 
-03e4 6fe08048 fetch 1 ,mem_lmp_to_send 
-03e5 207a0000 rtn blank 
-03e6 c283d78e bbit1 7 ,send_lmp_escape 
+03e1 78547c00 disable user 
+03e2 20405a44 call lmo_fifo_process 
+03e3 6fe08048 fetch 1 ,mem_lmp_to_send 
+03e4 207a0000 rtn blank 
+03e5 c283d78e bbit1 7 ,send_lmp_escape 
 
 p_send_lmp0:
-03e7 c00383e9 beq lmp_detach ,p_send_lmp_detach 
-03e8 2020575f branch send_lmp0 
+03e6 c00383e8 beq lmp_detach ,p_send_lmp_detach 
+03e7 2020575f branch send_lmp0 
 
 p_send_lmp_detach:
-03e9 204058bb call send_lmp_detach 
-03ea 70007278 jam 120 ,mem_conn_timer 
-03eb 20600000 rtn 
+03e8 204058bb call send_lmp_detach 
+03e9 70007278 jam 120 ,mem_conn_timer 
+03ea 20600000 rtn 
 
 p_le_slave_match:
-03ec 6fe0c3dd fetch 1 ,mem_le_md_count 
-03ed 1fe0fe01 pincrease 1 
-03ee 67e0c3dd store 1 ,mem_le_md_count 
-03ef c0061606 beq le_md_max_count ,le_slave_cont 
-03f0 204018c7 call le_acknowledge 
-03f1 20401916 call le_prepare_tx 
-03f2 6fe082bd fetch 1 ,mem_le_tx_phy 
-03f3 20401637 call le_enable_phy_by_pdata 
-03f4 204017e4 call le_transmit 
-03f5 20201601 branch le_slave_match + 10 
+03eb 6fe0c3dd fetch 1 ,mem_le_md_count 
+03ec 1fe0fe01 pincrease 1 
+03ed 67e0c3dd store 1 ,mem_le_md_count 
+03ee c0061606 beq le_md_max_count ,le_slave_cont 
+03ef 204018c7 call le_acknowledge 
+03f0 20401916 call le_prepare_tx 
+03f1 6fe082bd fetch 1 ,mem_le_tx_phy 
+03f2 20401637 call le_enable_phy_by_pdata 
+03f3 204017e4 call le_transmit 
+03f4 20201601 branch le_slave_match + 10 
 
 p_le_slave_unsync:
-03f6 20400e7c call end_of_packet 
-03f7 2020160d branch le_slave_unsync + 1 
+03f5 20400e7c call end_of_packet 
+03f6 2020160d branch le_slave_unsync + 1 
 
 p_le_parse_l2cap:
-03f8 efe10006 ifetch 2 ,contr 
-03f9 c00203fb beq le_l2cap_cid_att ,p_le_parse_att 
-03fa 20201990 branch le_parse_l2cap + 10 
+03f7 efe10006 ifetch 2 ,contr 
+03f8 c00203fa beq le_l2cap_cid_att ,p_le_parse_att 
+03f9 20201990 branch le_parse_l2cap + 10 
 
 p_le_parse_att:
-03fb efe18006 ifetch 3 ,contr 
-03fc 67e1c436 store 3 ,mem_le_att_opcode 
-03fd c0050400 beq attop_read_request ,p_le_parse_att_read_request 
-03fe c009040f beq attop_write_request ,p_le_parse_att_write_request 
-03ff 20201c7f branch le_parse_att + 2 
+03fa efe18006 ifetch 3 ,contr 
+03fb 67e1c436 store 3 ,mem_le_att_opcode 
+03fc c00503ff beq attop_read_request ,p_le_parse_att_read_request 
+03fd c009040e beq attop_write_request ,p_le_parse_att_write_request 
+03fe 20201c7f branch le_parse_att + 2 
 
 p_le_parse_att_read_request:
-0400 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0401 c31d9d93 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
-0402 20401e39 call le_check_encrypt_state 
-0403 68494437 fetcht 2 ,mem_le_att_handle 
-0404 6fe0c3c0 fetch 1 ,mem_le_configuration 
-0405 c281840a bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+03ff 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0400 c31d9d93 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
+0401 20401e39 call le_check_encrypt_state 
+0402 68494437 fetcht 2 ,mem_le_att_handle 
+0403 6fe0c3c0 fetch 1 ,mem_le_configuration 
+0404 c2818409 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-0406 6fe14437 fetch 2 ,mem_le_att_handle 
-0407 c0181e74 beq 0x30 ,le_send_att_error_response_notfound 
-0408 68494437 fetcht 2 ,mem_le_att_handle 
-0409 20201d97 branch le_send_att_read_response 
+0405 6fe14437 fetch 2 ,mem_le_att_handle 
+0406 c0181e74 beq 0x30 ,le_send_att_error_response_notfound 
+0407 68494437 fetcht 2 ,mem_le_att_handle 
+0408 20201d97 branch le_send_att_read_response 
 
 p_le_send_att_read_response_check_auth:
-040a 6fe143d1 fetch 2 ,mem_le_pairing_handle 
-040b 98467c00 isub temp ,null 
-040c 24228406 nbranch p_le_send_att_read_response ,zero 
-040d 24340406 nbranch p_le_send_att_read_response ,user 
-040e 20201dbc branch le_send_att_read_response_error_insufficient_auth 
+0409 6fe143d1 fetch 2 ,mem_le_pairing_handle 
+040a 98467c00 isub temp ,null 
+040b 24228405 nbranch p_le_send_att_read_response ,zero 
+040c 24340405 nbranch p_le_send_att_read_response ,user 
+040d 20201dbc branch le_send_att_read_response_error_insufficient_auth 
 
 p_le_parse_att_write_request:
-040f 18c22200 copy contr ,rega 
-0410 6fe143d4 fetch 2 ,mem_le_l2cap_size 
-0411 1fe0a5fd add pdata ,-3 ,regb 
-0412 204019d1 call le_writeatt_cb 
-0413 6fe0cad2 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-0414 c07f9e1f beq 0xff ,le_send_att_write_response_check_auth 
-0415 6fe0cad8 fetch 1 ,mem_mouse_le_reconnect_flag 
-0416 203a1e1f branch le_send_att_write_response_check_auth ,blank 
-0417 6fe0cb86 fetch 1 ,mem_le_connect_status_flag 
-0418 c2809e1f bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
-0419 5800001a setarg 0x001a 
-041a 68494437 fetcht 2 ,mem_le_att_handle 
-041b 98467c00 isub temp ,null 
-041c 24229e1f nbranch le_send_att_write_response_check_auth ,zero 
-041d 20201dbc branch le_send_att_read_response_error_insufficient_auth 
+040e 18c22200 copy contr ,rega 
+040f 6fe143d4 fetch 2 ,mem_le_l2cap_size 
+0410 1fe0a5fd add pdata ,-3 ,regb 
+0411 204019d1 call le_writeatt_cb 
+0412 6fe0cad2 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+0413 c07f9e1f beq 0xff ,le_send_att_write_response_check_auth 
+0414 6fe0cad8 fetch 1 ,mem_mouse_le_reconnect_flag 
+0415 203a1e1f branch le_send_att_write_response_check_auth ,blank 
+0416 6fe0cb86 fetch 1 ,mem_le_connect_status_flag 
+0417 c2809e1f bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
+0418 5800001a setarg 0x001a 
+0419 68494437 fetcht 2 ,mem_le_att_handle 
+041a 98467c00 isub temp ,null 
+041b 24229e1f nbranch le_send_att_write_response_check_auth ,zero 
+041c 20201dbc branch le_send_att_read_response_error_insufficient_auth 
 
 p_mouse_motion:
-041e 78547c00 disable user 
-041f 58000000 setarg 0 
-0420 67e348d5 store 6 ,mem_mouse_x 
-0421 2040042e call p_mouse_check_sensor_data 
-0422 58000089 setarg 0x0089 
-0423 20405d5e call twspi_write 
-0424 204002e4 call p_mouse_seting_sensor_type 
-0425 20403fbe call mouse_zwheel 
-0426 20403fc3 call mouse_t_zwheel 
-0427 20400445 call p_mouse_key 
-0428 6fe0c8d4 fetch 1 ,mem_mouse_key 
-0429 1fe17e1f and_into 0x1f ,pdata 
-042a 67e0c8d4 store 1 ,mem_mouse_key 
-042b 24344766 nbranch mouse_drawing_optima_init ,user 
-042c 2040043e call p_mouse_drawing_optima 
-042d 20204584 branch mouse_no_data_timer_init 
+041d 78547c00 disable user 
+041e 58000000 setarg 0 
+041f 67e348d5 store 6 ,mem_mouse_x 
+0420 2040042d call p_mouse_check_sensor_data 
+0421 58000089 setarg 0x0089 
+0422 20405d5e call twspi_write 
+0423 204002e5 call p_mouse_seting_sensor_type 
+0424 20403fbe call mouse_zwheel 
+0425 20403fc3 call mouse_t_zwheel 
+0426 20400444 call p_mouse_key 
+0427 6fe0c8d4 fetch 1 ,mem_mouse_key 
+0428 1fe17e1f and_into 0x1f ,pdata 
+0429 67e0c8d4 store 1 ,mem_mouse_key 
+042a 24344766 nbranch mouse_drawing_optima_init ,user 
+042b 2040043d call p_mouse_drawing_optima 
+042c 20204584 branch mouse_no_data_timer_init 
 
 p_mouse_check_sensor_data:
-042e 6fe0c4ae fetch 1 ,mem_spi_write_flash_sm 
-042f c1800000 rtnne flash_sm_no_buys 
-0430 6fe0c92c fetch 1 ,mem_config_sensor_type 
-0431 c0060434 beq ka5857 ,p_mouse_ka5857_sensor_motion 
-0432 c0058434 beq ka8g2 ,p_mouse_ka5857_sensor_motion 
-0433 20204283 branch mouse_check_sensor_data + 3 
+042d 6fe0c4ae fetch 1 ,mem_spi_write_flash_sm 
+042e c1800000 rtnne flash_sm_no_buys 
+042f 6fe0c92c fetch 1 ,mem_config_sensor_type 
+0430 c0060433 beq ka5857 ,p_mouse_ka5857_sensor_motion 
+0431 c0058433 beq ka8g2 ,p_mouse_ka5857_sensor_motion 
+0432 20204283 branch mouse_check_sensor_data + 3 
 
 p_mouse_ka5857_sensor_motion:
-0434 20404304 call mouse_clear_sensor_data 
-0435 6fe0c915 fetch 1 ,mem_sensor_motion_gpio 
-0436 c07f843a beq gpio_disable ,p_mouse_ka5857_sensor_motion_1 
-0437 6848c915 fetcht 1 ,mem_sensor_motion_gpio 
-0438 204060fd call gpio_get_bit 
-0439 24608000 nrtn true 
+0433 20404304 call mouse_clear_sensor_data 
+0434 6fe0c915 fetch 1 ,mem_sensor_motion_gpio 
+0435 c07f8439 beq gpio_disable ,p_mouse_ka5857_sensor_motion_1 
+0436 6848c915 fetcht 1 ,mem_sensor_motion_gpio 
+0437 204060fd call gpio_get_bit 
+0438 24608000 nrtn true 
 
 p_mouse_ka5857_sensor_motion_1:
-043a 58000000 setarg pan_reg_pid_l 
-043b 20405d65 call twspi_read 
-043c c0ac41f2 bne pka8g2_id1 ,mouse_twspi_reset 
-043d 202042b9 branch mouse_p3212_sensor_motion_2 
+0439 58000000 setarg pan_reg_pid_l 
+043a 20405d65 call twspi_read 
+043b c0ac41f2 bne pka8g2_id1 ,mouse_twspi_reset 
+043c 202042b9 branch mouse_p3212_sensor_motion_2 
 
 p_mouse_drawing_optima:
-043e 6fe0c92c fetch 1 ,mem_config_sensor_type 
-043f c1018000 rtneq p3212 
-0440 c1058000 rtneq ka8g2 
-0441 204004a2 call p_usb_store_mem 
-0442 20404758 call mouse_drawing_optima 
-0443 204004a5 call p_usb_get_mem 
-0444 20600000 rtn 
+043d 6fe0c92c fetch 1 ,mem_config_sensor_type 
+043e c1018000 rtneq p3212 
+043f c1058000 rtneq ka8g2 
+0440 204004a1 call p_usb_store_mem 
+0441 20404758 call mouse_drawing_optima 
+0442 204004a4 call p_usb_get_mem 
+0443 20600000 rtn 
 
 p_mouse_key:
-0445 20400448 call p_mouse_check_key_gpio 
-0446 2040047e call p_mouse_ghost_key_check 
-0447 2020411e branch mouse_key + 2 
+0444 20400447 call p_mouse_check_key_gpio 
+0445 2040047d call p_mouse_ghost_key_check 
+0446 2020411e branch mouse_key + 2 
 
 p_mouse_check_key_gpio:
-0448 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
-0449 245a4161 ncall mouse_check_key_gpio_once ,blank 
-044a da200000 arg 0 ,rega 
-044b 2040044f call p_mouse_check_lkey_gpio 
-044c 2040045e call p_mouse_check_bkkey_gpio 
-044d 2040046b call p_mouse_check_fwkey_gpio 
-044e 2020415e branch mouse_check_key_gpio_next 
+0447 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
+0448 245a4161 ncall mouse_check_key_gpio_once ,blank 
+0449 da200000 arg 0 ,rega 
+044a 2040044e call p_mouse_check_lkey_gpio 
+044b 2040045d call p_mouse_check_bkkey_gpio 
+044c 2040046a call p_mouse_check_fwkey_gpio 
+044d 2020415e branch mouse_check_key_gpio_next 
 
 p_mouse_check_lkey_gpio:
-044f 6fe0c91c fetch 1 ,mem_lbutton_gpio 
-0450 20400478 call p_mouse_gpio_config_output_high 
-0451 20404164 call mouse_check_lkey_gpio 
-0452 6848c91c fetcht 1 ,mem_lbutton_gpio 
-0453 20403f96 call mouse_gpio_config_input_pu 
+044e 6fe0c91c fetch 1 ,mem_lbutton_gpio 
+044f 20400477 call p_mouse_gpio_config_output_high 
+0450 20404164 call mouse_check_lkey_gpio 
+0451 6848c91c fetcht 1 ,mem_lbutton_gpio 
+0452 20403f96 call mouse_gpio_config_input_pu 
 
 p_mouse_check_rkey_gpio:
-0454 6fe0c91d fetch 1 ,mem_rbutton_gpio 
-0455 20400478 call p_mouse_gpio_config_output_high 
-0456 2040416a call mouse_check_rkey_gpio 
-0457 6848c91d fetcht 1 ,mem_rbutton_gpio 
-0458 20403f96 call mouse_gpio_config_input_pu 
+0453 6fe0c91d fetch 1 ,mem_rbutton_gpio 
+0454 20400477 call p_mouse_gpio_config_output_high 
+0455 2040416a call mouse_check_rkey_gpio 
+0456 6848c91d fetcht 1 ,mem_rbutton_gpio 
+0457 20403f96 call mouse_gpio_config_input_pu 
 
 p_mouse_check_mkey_gpio:
-0459 6fe0c91e fetch 1 ,mem_mbutton_gpio 
-045a 20400478 call p_mouse_gpio_config_output_high 
-045b 20404170 call mouse_check_mkey_gpio 
-045c 6848c91e fetcht 1 ,mem_mbutton_gpio 
-045d 20203f96 branch mouse_gpio_config_input_pu 
+0458 6fe0c91e fetch 1 ,mem_mbutton_gpio 
+0459 20400477 call p_mouse_gpio_config_output_high 
+045a 20404170 call mouse_check_mkey_gpio 
+045b 6848c91e fetcht 1 ,mem_mbutton_gpio 
+045c 20203f96 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_bkkey_gpio:
-045e 6fe0c911 fetch 1 ,mem_bk_button_gpio 
-045f c17f8000 rtneq gpio_disable 
-0460 704ba703 jam mouse_bk_key ,mem_mouse_key_temp 
-0461 6fe0cba2 fetch 1 ,mem_mouse_bkkey_press_status 
-0462 1fe22600 copy pdata ,regc 
-0463 6848c911 fetcht 1 ,mem_bk_button_gpio 
-0464 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
-0465 c07f8467 beq gpio_disable ,p_mouse_3io6key_bk_check 
-0466 2020417e branch mouse_check_bkkey_gpio_next 
+045d 6fe0c911 fetch 1 ,mem_bk_button_gpio 
+045e c17f8000 rtneq gpio_disable 
+045f 704ba703 jam mouse_bk_key ,mem_mouse_key_temp 
+0460 6fe0cba2 fetch 1 ,mem_mouse_bkkey_press_status 
+0461 1fe22600 copy pdata ,regc 
+0462 6848c911 fetcht 1 ,mem_bk_button_gpio 
+0463 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
+0464 c07f8466 beq gpio_disable ,p_mouse_3io6key_bk_check 
+0465 2020417e branch mouse_check_bkkey_gpio_next 
 
 p_mouse_3io6key_bk_check:
-0467 6fe0c911 fetch 1 ,mem_bk_button_gpio 
-0468 2040047b call p_mouse_gpio_config_output_low 
-0469 6848c911 fetcht 1 ,mem_bk_button_gpio 
-046a 2020418b branch mouse_3io6key_bk_check 
+0466 6fe0c911 fetch 1 ,mem_bk_button_gpio 
+0467 2040047a call p_mouse_gpio_config_output_low 
+0468 6848c911 fetcht 1 ,mem_bk_button_gpio 
+0469 2020418b branch mouse_3io6key_bk_check 
 
 p_mouse_check_fwkey_gpio:
-046b 6fe0c912 fetch 1 ,mem_fw_button_gpio 
-046c c17f8000 rtneq gpio_disable 
-046d 704ba704 jam mouse_fw_key ,mem_mouse_key_temp 
-046e 6fe0cba3 fetch 1 ,mem_mouse_fwkey_press_status 
-046f 1fe22600 copy pdata ,regc 
-0470 6848c912 fetcht 1 ,mem_fw_button_gpio 
-0471 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
-0472 c07f8474 beq gpio_disable ,p_mouse_3io6key_fw_check 
-0473 20204197 branch mouse_check_fwkey_gpio_next 
+046a 6fe0c912 fetch 1 ,mem_fw_button_gpio 
+046b c17f8000 rtneq gpio_disable 
+046c 704ba704 jam mouse_fw_key ,mem_mouse_key_temp 
+046d 6fe0cba3 fetch 1 ,mem_mouse_fwkey_press_status 
+046e 1fe22600 copy pdata ,regc 
+046f 6848c912 fetcht 1 ,mem_fw_button_gpio 
+0470 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
+0471 c07f8473 beq gpio_disable ,p_mouse_3io6key_fw_check 
+0472 20204197 branch mouse_check_fwkey_gpio_next 
 
 p_mouse_3io6key_fw_check:
-0474 6fe0c912 fetch 1 ,mem_fw_button_gpio 
-0475 2040047b call p_mouse_gpio_config_output_low 
-0476 6848c912 fetcht 1 ,mem_fw_button_gpio 
-0477 202041a4 branch mouse_3io6key_fw_check 
+0473 6fe0c912 fetch 1 ,mem_fw_button_gpio 
+0474 2040047a call p_mouse_gpio_config_output_low 
+0475 6848c912 fetcht 1 ,mem_fw_button_gpio 
+0476 202041a4 branch mouse_3io6key_fw_check 
 
 p_mouse_gpio_config_output_high:
-0478 c17f8000 rtneq gpio_disable 
-0479 d840003f arg gpcfg_output_high ,temp 
-047a 2020612c branch gpio_config_function_int 
+0477 c17f8000 rtneq gpio_disable 
+0478 d840003f arg gpcfg_output_high ,temp 
+0479 2020612c branch gpio_config_function_int 
 
 p_mouse_gpio_config_output_low:
-047b c17f8000 rtneq gpio_disable 
-047c d840003e arg gpcfg_output_low ,temp 
-047d 2020612c branch gpio_config_function_int 
+047a c17f8000 rtneq gpio_disable 
+047b d840003e arg gpcfg_output_low ,temp 
+047c 2020612c branch gpio_config_function_int 
 
 p_mouse_ghost_key_check:
-047e 704ba900 jam 0 ,mem_mouse_matrix_key_cow_count 
-047f 704baa00 jam 0 ,mem_mouse_matrix_key_row_count 
-0480 704bab00 jam 0 ,mem_mouse_ghost_flag 
-0481 1fe20400 copy pdata ,temp 
-0482 20400485 call p_mouse_ghost_key_check_l_fw 
-0483 20400488 call p_mouse_ghost_key_check_r_bk 
-0484 20204133 branch mouse_ghost_key_check + 6 
+047d 704ba900 jam 0 ,mem_mouse_matrix_key_cow_count 
+047e 704baa00 jam 0 ,mem_mouse_matrix_key_row_count 
+047f 704bab00 jam 0 ,mem_mouse_ghost_flag 
+0480 1fe20400 copy pdata ,temp 
+0481 20400484 call p_mouse_ghost_key_check_l_fw 
+0482 20400487 call p_mouse_ghost_key_check_r_bk 
+0483 20204133 branch mouse_ghost_key_check + 6 
 
 p_mouse_ghost_key_check_l_fw:
-0485 18417e11 and temp ,mouse_l_fw_button ,pdata 
-0486 c008c14e beq mouse_l_fw_button ,mouse_matrix_cow_more_than_one_key 
-0487 20600000 rtn 
+0484 18417e11 and temp ,mouse_l_fw_button ,pdata 
+0485 c008c14e beq mouse_l_fw_button ,mouse_matrix_cow_more_than_one_key 
+0486 20600000 rtn 
 
 p_mouse_ghost_key_check_r_bk:
-0488 18417e0a and temp ,mouse_r_bk_button ,pdata 
-0489 c005414e beq mouse_r_bk_button ,mouse_matrix_cow_more_than_one_key 
-048a 20600000 rtn 
+0487 18417e0a and temp ,mouse_r_bk_button ,pdata 
+0488 c005414e beq mouse_r_bk_button ,mouse_matrix_cow_more_than_one_key 
+0489 20600000 rtn 
 
 p_usb_class_type:
-048b 793f8023 set0 mark_isstr ,mark 
-048c 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
-048d 1fe17e80 and_into 0x80 ,pdata 
-048e c0000490 beq out_device ,p_usb_out_device 
-048f 20207aa1 branch usb_class_type + 4 
+048a 793f8023 set0 mark_isstr ,mark 
+048b 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
+048c 1fe17e80 and_into 0x80 ,pdata 
+048d c000048f beq out_device ,p_usb_out_device 
+048e 20207aa1 branch usb_class_type + 4 
 
 p_usb_out_device:
-0490 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
-0491 1ff1fe00 rshift4 pdata ,pdata 
-0492 1fe37e00 rshift pdata ,pdata 
-0493 1fe17e03 and_into 0x03 ,pdata 
-0494 c0007ac4 beq standard_req ,usb_out_standard_req 
-0495 c0008497 beq class_req ,p_usb_out_class_req 
-0496 20207ab4 branch usb_out_device + 4 
+048f 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
+0490 1ff1fe00 rshift4 pdata ,pdata 
+0491 1fe37e00 rshift pdata ,pdata 
+0492 1fe17e03 and_into 0x03 ,pdata 
+0493 c0007ac4 beq standard_req ,usb_out_standard_req 
+0494 c0008496 beq class_req ,p_usb_out_class_req 
+0495 20207ab4 branch usb_out_device + 4 
 
 p_usb_out_class_req:
-0497 6fe08b5a fetch 1 ,mem_usb_setup_brequest 
-0498 c004849a beq set_report ,p_usb_set_report 
-0499 20207acd branch usb_out_class_req + 1 
+0496 6fe08b5a fetch 1 ,mem_usb_setup_brequest 
+0497 c0048499 beq set_report ,p_usb_set_report 
+0498 20207acd branch usb_out_class_req + 1 
 
 p_usb_set_report:
-049a 20003a98 nop 15000 
-049b 20207c4a branch usb_set_report 
+0499 20003a98 nop 15000 
+049a 20207c4a branch usb_set_report 
 
 p_usb_tx:
-049c 6fe08bf9 fetch 1 ,mem_usb_tx_enable 
-049d 207a0000 rtn blank 
-049e 6ff08c24 fetch 1 ,core_usb_txbusy 
-049f 1fe17e0f and_into 0x0f ,pdata 
-04a0 243a7d17 nbranch usb_inwake_state_tx_dispose ,blank 
-04a1 20207ccc branch usb_tx + 3 
+049b 6fe08bf9 fetch 1 ,mem_usb_tx_enable 
+049c 207a0000 rtn blank 
+049d 6ff08c24 fetch 1 ,core_usb_txbusy 
+049e 1fe17e0f and_into 0x0f ,pdata 
+049f 243a7d17 nbranch usb_inwake_state_tx_dispose ,blank 
+04a0 20207ccc branch usb_tx + 3 
 
 p_usb_store_mem:
-04a2 d8c009f6 arg mem_usb_status ,contr 
-04a3 d8a00c4b arg mem_usb_mem_temp ,contw 
-04a4 20207d7f branch memcpy16 
+04a1 d8c009f6 arg mem_usb_status ,contr 
+04a2 d8a00c4b arg mem_usb_mem_temp ,contw 
+04a3 20207d7f branch memcpy16 
 
 p_usb_get_mem:
-04a5 d8a009f6 arg mem_usb_status ,contw 
-04a6 d8c00c4b arg mem_usb_mem_temp ,contr 
-04a7 20207d7f branch memcpy16 
+04a4 d8a009f6 arg mem_usb_status ,contw 
+04a5 d8c00c4b arg mem_usb_mem_temp ,contr 
+04a6 20207d7f branch memcpy16 
 
 p_mouse_usb_check_enable:
-04a8 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-04a9 c4068000 rtnbit0 mouse_enable_usb 
-04aa 704930a5 jam mouse_usb_interface_remove ,mem_mouse_usb_vdd_status 
-04ab 20600000 rtn 
+04a7 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+04a8 c4068000 rtnbit0 mouse_enable_usb 
+04a9 704930a5 jam mouse_usb_interface_remove ,mem_mouse_usb_vdd_status 
+04aa 20600000 rtn 
 
 p_mouse_usb_config_param:
-04ac 204004b5 call p_mouse_usb_config_kb_check 
-04ad 204004dd call p_mouse_usb_report_rate_set 
-04ae 204004ba call p_mouse_usb_config_param_setup 
+04ab 204004b4 call p_mouse_usb_config_kb_check 
+04ac 204004dc call p_mouse_usb_report_rate_set 
+04ad 204004b9 call p_mouse_usb_config_param_setup 
 
 p_mouse_usb_device_name_config:
-04af 6fe0cc91 fetch 1 ,mem_usb_device_name_retention 
-04b0 207a0000 rtn blank 
-04b1 d8c04c91 arg mem_usb_device_name_retention ,contr 
-04b2 d8a00b09 arg mem_string2 ,contw 
-04b3 df20001e arg 30 ,loopcnt 
-04b4 20207dd4 branch memcpy 
+04ae 6fe0cc91 fetch 1 ,mem_usb_device_name_retention 
+04af 207a0000 rtn blank 
+04b0 d8c04c91 arg mem_usb_device_name_retention ,contr 
+04b1 d8a00b09 arg mem_string2 ,contw 
+04b2 df20001e arg 30 ,loopcnt 
+04b3 20207dd4 branch memcpy 
 
 p_mouse_usb_config_kb_check:
-04b5 70493100 jam dongle_kb_bind_eeprom_offect ,mem_mouse_usb_keyboard_flag 
-04b6 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-04b7 c40a8000 rtnbit0 mouse_enable_keyboard 
-04b8 7049315a jam dongle_kb_bind_success ,mem_mouse_usb_keyboard_flag 
-04b9 20600000 rtn 
+04b4 70493100 jam dongle_kb_bind_eeprom_offect ,mem_mouse_usb_keyboard_flag 
+04b5 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+04b6 c40a8000 rtnbit0 mouse_enable_keyboard 
+04b7 7049315a jam dongle_kb_bind_success ,mem_mouse_usb_keyboard_flag 
+04b8 20600000 rtn 
 
 p_mouse_usb_config_param_setup:
-04ba 20407a5b call usb_tx_interval_config 
-04bb 204004be call p_mouse_usb_vid_pid_config 
+04b9 20407a5b call usb_tx_interval_config 
+04ba 204004bd call p_mouse_usb_vid_pid_config 
 
 p_mouse_usb_hid_icon_config:
-04bc 6fe0c931 fetch 1 ,mem_mouse_usb_keyboard_flag 
-04bd 202036ee branch dongle_usb_hid_icon_config + 1 
+04bb 6fe0c931 fetch 1 ,mem_mouse_usb_keyboard_flag 
+04bc 202036ee branch dongle_usb_hid_icon_config + 1 
 
 p_mouse_usb_vid_pid_config:
-04be 6fe08b48 fetch 1 ,mem_usb_vid_pid 
-04bf 207a0000 rtn blank 
-04c0 6fe0c931 fetch 1 ,mem_mouse_usb_keyboard_flag 
-04c1 c02d36eb beq dongle_kb_bind_success ,dongle_usb_vid_pid_for_suit 
-04c2 202036e8 branch dongle_usb_vid_pid_for_mouse_only_auto_pair 
+04bd 6fe08b48 fetch 1 ,mem_usb_vid_pid 
+04be 207a0000 rtn blank 
+04bf 6fe0c931 fetch 1 ,mem_mouse_usb_keyboard_flag 
+04c0 c02d36eb beq dongle_kb_bind_success ,dongle_usb_vid_pid_for_suit 
+04c1 202036e8 branch dongle_usb_vid_pid_for_mouse_only_auto_pair 
 
 p_usb_timer_check:
-04c3 20407ec7 call disable_user 
-04c4 684a4ace fetcht 4 ,mem_btclk_sensor 
-04c5 1c427e00 copy clkn_bt ,pdata 
-04c6 98467c00 isub temp ,null 
-04c7 244104d2 ncall p_usb_timer_timeout ,positive 
-04c8 1fe22400 copy pdata ,regb 
-04c9 6fe24ace fetch 4 ,mem_btclk_sensor 
-04ca 6848c92e fetcht 1 ,mem_wire_usb_interval 
-04cb 98408400 iadd temp ,temp 
-04cc 1a427e00 copy regb ,pdata 
-04cd 98467c00 isub temp ,null 
-04ce 24610000 nrtn positive 
-04cf 793ffe1c set0 28 ,pdata 
-04d0 67e24ace store 4 ,mem_btclk_sensor 
-04d1 20207ec5 branch enable_user 
+04c2 20407ec7 call disable_user 
+04c3 684a4ace fetcht 4 ,mem_btclk_sensor 
+04c4 1c427e00 copy clkn_bt ,pdata 
+04c5 98467c00 isub temp ,null 
+04c6 244104d1 ncall p_usb_timer_timeout ,positive 
+04c7 1fe22400 copy pdata ,regb 
+04c8 6fe24ace fetch 4 ,mem_btclk_sensor 
+04c9 6848c92e fetcht 1 ,mem_wire_usb_interval 
+04ca 98408400 iadd temp ,temp 
+04cb 1a427e00 copy regb ,pdata 
+04cc 98467c00 isub temp ,null 
+04cd 24610000 nrtn positive 
+04ce 793ffe1c set0 28 ,pdata 
+04cf 67e24ace store 4 ,mem_btclk_sensor 
+04d0 20207ec5 branch enable_user 
 
 p_usb_timer_timeout:
-04d2 20628000 rtn zero 
-04d3 79207e1c set1 28 ,pdata 
-04d4 20600000 rtn 
+04d1 20628000 rtn zero 
+04d2 79207e1c set1 28 ,pdata 
+04d3 20600000 rtn 
 
 p_usb_timer_init:
-04d5 58000000 setarg 0 
-04d6 67e24ace store 4 ,mem_btclk_sensor 
-04d7 20600000 rtn 
+04d4 58000000 setarg 0 
+04d5 67e24ace store 4 ,mem_btclk_sensor 
+04d6 20600000 rtn 
 
 p_select_system_clk_24m_dpll:
-04d8 7041f018 jam system_clk_24m ,mem_system_clk 
-04d9 70804201 jam clksel_dpll_24m ,core_clksel 
-04da 5800176f setarg 5999 
-04db 67f10040 store 2 ,core_halfslot 
-04dc 20206312 branch calc_new_param 
+04d7 7041f018 jam system_clk_24m ,mem_system_clk 
+04d8 70804201 jam clksel_dpll_24m ,core_clksel 
+04d9 5800176f setarg 5999 
+04da 67f10040 store 2 ,core_halfslot 
+04db 20206312 branch calc_new_param 
 
 p_mouse_usb_report_rate_set:
-04dd 204004d5 call p_usb_timer_init 
-04de 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-04df c28e84e4 bbit1 mouse_enable_usb_250 ,p_usb_report_rate_set_250hz 
-04e0 c28f04e6 bbit1 mouse_enable_usb_500 ,p_usb_report_rate_set_500hz 
-04e1 c28f84e8 bbit1 mouse_enable_usb_1000 ,p_usb_report_rate_set_1000hz 
+04dc 204004d4 call p_usb_timer_init 
+04dd 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+04de c28e84e3 bbit1 mouse_enable_usb_250 ,p_usb_report_rate_set_250hz 
+04df c28f04e5 bbit1 mouse_enable_usb_500 ,p_usb_report_rate_set_500hz 
+04e0 c28f84e7 bbit1 mouse_enable_usb_1000 ,p_usb_report_rate_set_1000hz 
 
 p_usb_report_rate_set_125hz:
-04e2 70492e20 jam 32 ,mem_wire_usb_interval 
-04e3 20600000 rtn 
+04e1 70492e20 jam 32 ,mem_wire_usb_interval 
+04e2 20600000 rtn 
 
 p_usb_report_rate_set_250hz:
-04e4 70492e10 jam 16 ,mem_wire_usb_interval 
-04e5 20600000 rtn 
+04e3 70492e10 jam 16 ,mem_wire_usb_interval 
+04e4 20600000 rtn 
 
 p_usb_report_rate_set_500hz:
-04e6 70492e08 jam 8 ,mem_wire_usb_interval 
-04e7 20600000 rtn 
+04e5 70492e08 jam 8 ,mem_wire_usb_interval 
+04e6 20600000 rtn 
 
 p_usb_report_rate_set_1000hz:
-04e8 70492e04 jam 4 ,mem_wire_usb_interval 
-04e9 20600000 rtn 
+04e7 70492e04 jam 4 ,mem_wire_usb_interval 
+04e8 20600000 rtn 
 
 p_mouse_usb_isr:
-04ea 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-04eb c4068000 rtnbit0 mouse_enable_usb 
-04ec 204004f0 call p_mouse_usb_interface_check 
-04ed 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
-04ee c1ad0000 rtnne mouse_usb_interface_insert 
-04ef 202079fc branch usb_isr 
+04e9 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+04ea c4068000 rtnbit0 mouse_enable_usb 
+04eb 204004ef call p_mouse_usb_interface_check 
+04ec 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
+04ed c1ad0000 rtnne mouse_usb_interface_insert 
+04ee 202079fc branch usb_isr 
 
 p_mouse_usb_interface_check:
-04f0 68488b58 fetcht 1 ,mem_usb_offline_check_gpio 
-04f1 204060fd call gpio_get_bit 
-04f2 242084f4 nbranch p_mouse_usb_gpio_low ,true 
-04f3 20200502 branch p_mouse_usb_gpio_high 
+04ef 68488b58 fetcht 1 ,mem_usb_offline_check_gpio 
+04f0 204060fd call gpio_get_bit 
+04f1 242084f3 nbranch p_mouse_usb_gpio_low ,true 
+04f2 20200500 branch p_mouse_usb_gpio_high 
 
 p_mouse_usb_gpio_low:
-04f4 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
-04f5 c1528000 rtneq mouse_usb_interface_remove 
-04f6 704930a5 jam mouse_usb_interface_remove ,mem_mouse_usb_vdd_status 
-04f7 704caf00 jam 0 ,mem_usb_mode_enable 
-04f8 704cbe00 jam 0 ,mem_mouse_pair_success 
-04f9 700bfa00 jam 0 ,mem_usb_device_enumeration_endflag 
-04fa 7009f600 jam 0 ,mem_usb_status 
-04fb 700bec00 jam 0 ,mem_usb_state 
-04fc 6ff10050 fetch 2 ,core_clkoff 
-04fd 79207e0a set1 clock_off_usb ,pdata 
-04fe 67f10050 store 2 ,core_clkoff 
-04ff 70409901 jam 1 ,mem_lpm_mode 
-0500 20406321 call select_system_clk_12m_dpll 
-0501 20200244 branch p_mouse_soft_reset 
+04f3 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
+04f4 c1528000 rtneq mouse_usb_interface_remove 
+04f5 704930a5 jam mouse_usb_interface_remove ,mem_mouse_usb_vdd_status 
+04f6 704caf00 jam 0 ,mem_usb_mode_enable 
+04f7 700bfa00 jam 0 ,mem_usb_device_enumeration_endflag 
+04f8 7009f600 jam 0 ,mem_usb_status 
+04f9 700bec00 jam 0 ,mem_usb_state 
+04fa 6ff10050 fetch 2 ,core_clkoff 
+04fb 79207e0a set1 clock_off_usb ,pdata 
+04fc 67f10050 store 2 ,core_clkoff 
+04fd 70409901 jam 1 ,mem_lpm_mode 
+04fe 20406321 call select_system_clk_12m_dpll 
+04ff 20200244 branch p_mouse_soft_reset 
 
 p_mouse_usb_gpio_high:
-0502 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
-0503 c12d0000 rtneq mouse_usb_interface_insert 
-0504 7049305a jam mouse_usb_interface_insert ,mem_mouse_usb_vdd_status 
-0505 58000000 setarg 0 
-0506 67e14887 store 2 ,mem_24g_pair_timeout 
-0507 67e1488b store 2 ,mem_24g_reconn_timeout 
-0508 704caf01 jam 1 ,mem_usb_mode_enable 
-0509 704cbe01 jam 1 ,mem_mouse_pair_success 
-050a 204001d2 call p_mouse_multi_led_blink_disable 
-050b 70409900 jam 0 ,mem_lpm_mode 
-050c 204004d8 call p_select_system_clk_24m_dpll 
-050d 20404831 call mouse_24g_stop 
-050e 20400042 call p_mouse_stop_bluetooth_mode 
-050f 7855fc00 disable wake 
-0510 2040430a call mouse_init_sensor_reset 
-0511 580004ac setarg p_mouse_usb_config_param 
-0512 67e10b45 store 2 ,mem_cb_usb_config 
-0513 6fe0cc87 fetch 1 ,mem_usb_tx_interval_retention 
-0514 67e08b47 store 1 ,mem_usb_tx_interval 
-0515 d8c04c88 arg mem_usb_vid_pid_retention ,contr 
-0516 d8a00b48 arg mem_usb_vid_pid ,contw 
-0517 df200009 arg 9 ,loopcnt 
-0518 20407dd4 call memcpy 
-0519 20207a08 branch usb_init 
+0500 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
+0501 c12d0000 rtneq mouse_usb_interface_insert 
+0502 7049305a jam mouse_usb_interface_insert ,mem_mouse_usb_vdd_status 
+0503 704caf01 jam 1 ,mem_usb_mode_enable 
+0504 58000000 setarg 0 
+0505 67e14887 store 2 ,mem_24g_pair_timeout 
+0506 67e1488b store 2 ,mem_24g_reconn_timeout 
+0507 204001d2 call p_mouse_multi_led_blink_disable 
+0508 70409900 jam 0 ,mem_lpm_mode 
+0509 204004d7 call p_select_system_clk_24m_dpll 
+050a 20404831 call mouse_24g_stop 
+050b 20400042 call p_mouse_stop_bluetooth_mode 
+050c 7855fc00 disable wake 
+050d 2040430a call mouse_init_sensor_reset 
+050e 580004ab setarg p_mouse_usb_config_param 
+050f 67e10b45 store 2 ,mem_cb_usb_config 
+0510 6fe0cc87 fetch 1 ,mem_usb_tx_interval_retention 
+0511 67e08b47 store 1 ,mem_usb_tx_interval 
+0512 d8c04c88 arg mem_usb_vid_pid_retention ,contr 
+0513 d8a00b48 arg mem_usb_vid_pid ,contw 
+0514 df200009 arg 9 ,loopcnt 
+0515 20407dd4 call memcpy 
+0516 20207a08 branch usb_init 
+
+p_mouse_usb_mode_flag_check:
+0517 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0518 c4068000 rtnbit0 mouse_enable_usb 
+0519 6fe0c930 fetch 1 ,mem_mouse_usb_vdd_status 
+051a c02d051d beq mouse_usb_interface_insert ,p_mouse_usb_mode_flag_enable 
+051b c0528521 beq mouse_usb_interface_remove ,p_mouse_usb_mode_flag_disable 
+051c 20600000 rtn 
+
+p_mouse_usb_mode_flag_enable:
+051d 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
+051e 207a0000 rtn blank 
+051f 704cbe01 jam 1 ,mem_mouse_pair_success 
+0520 20600000 rtn 
+
+p_mouse_usb_mode_flag_disable:
+0521 6fe0ccaf fetch 1 ,mem_usb_mode_enable 
+0522 207a0000 rtn blank 
+0523 704cbe00 jam 0 ,mem_mouse_pair_success 
+0524 20600000 rtn 
 
 p_mouse_usb_mode:
-051a 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-051b c4068000 rtnbit0 mouse_enable_usb 
-051c 6ff08c02 fetch 1 ,core_usb_addr 
-051d 67e0c92f store 1 ,mem_usb_addr 
-051e c4038000 rtnbit0 7 
-051f 204004c3 call p_usb_timer_check 
-0520 24740000 nrtn user 
-0521 20403fb0 call mouse_motion 
-0522 24740000 nrtn user 
-0523 20200524 branch p_mouse_push_data_to_usb 
+0525 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0526 c4068000 rtnbit0 mouse_enable_usb 
+0527 6ff08c02 fetch 1 ,core_usb_addr 
+0528 67e0c92f store 1 ,mem_usb_addr 
+0529 c4038000 rtnbit0 7 
+052a 204004c2 call p_usb_timer_check 
+052b 24740000 nrtn user 
+052c 20403fb0 call mouse_motion 
+052d 24740000 nrtn user 
+052e 2020052f branch p_mouse_push_data_to_usb 
 
 p_mouse_push_data_to_usb:
-0524 6ff08c02 fetch 1 ,core_usb_addr 
-0525 c4038000 rtnbit0 7 
-0526 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
-0527 c30a852a bbit0 mouse_enable_keyboard ,p_mouse_push_mouse_data_to_usb 
-0528 6fe0cb9c fetch 1 ,mem_customer_key 
-0529 c0008530 beq 1 ,p_mouse_push_keyboard_data_to_usb 
+052f 6ff08c02 fetch 1 ,core_usb_addr 
+0530 c4038000 rtnbit0 7 
+0531 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+0532 c30a8535 bbit0 mouse_enable_keyboard ,p_mouse_push_mouse_data_to_usb 
+0533 6fe0cb9c fetch 1 ,mem_customer_key 
+0534 c000853b beq 1 ,p_mouse_push_keyboard_data_to_usb 
 
 p_mouse_push_mouse_data_to_usb:
-052a 2040370f call dongle_usb_tx_ms_data 
-052b 58000001 setarg ms_report_id 
-052c 67e08bff store 1 ,mem_usb_mouse_data 
-052d 6fe3c8d4 fetch 7 ,mem_mouse_key 
-052e e7e38005 istore 7 ,contw 
-052f 20600000 rtn 
+0535 2040370f call dongle_usb_tx_ms_data 
+0536 58000001 setarg ms_report_id 
+0537 67e08bff store 1 ,mem_usb_mouse_data 
+0538 6fe3c8d4 fetch 7 ,mem_mouse_key 
+0539 e7e38005 istore 7 ,contw 
+053a 20600000 rtn 
 
 p_mouse_push_keyboard_data_to_usb:
-0530 6fe0cb9d fetch 1 ,mem_customer_data_trigger 
-0531 203a053b branch p_mouse_push_release_keyboard_data_to_usb ,blank 
-0532 6fe44bde fetch 8 ,mem_customer_key_press + 1 
+053b 6fe0cb9d fetch 1 ,mem_customer_data_trigger 
+053c 203a0546 branch p_mouse_push_release_keyboard_data_to_usb ,blank 
+053d 6fe44bde fetch 8 ,mem_customer_key_press + 1 
 
 p_mouse_push_keyboard_package_data_to_usb:
-0533 67e4095c store 8 ,mem_pdatatemp 
-0534 6fe0cbdd fetch 1 ,mem_customer_key_press 
-0535 c001853d beq kb_multikey_report_id ,p_mouse_push_multimedia_key_data_to_usb 
-0536 c0010544 beq kb_system_conctrl_report_id ,p_mouse_push_systemctrl_key_data_to_usb 
-0537 2040371d call dongle_usb_tx_kb_data 
-0538 6fe4095c fetch 8 ,mem_pdatatemp 
-0539 67e40c0f store 8 ,mem_usb_kb_data 
-053a 20600000 rtn 
+053e 67e4095c store 8 ,mem_pdatatemp 
+053f 6fe0cbdd fetch 1 ,mem_customer_key_press 
+0540 c0018548 beq kb_multikey_report_id ,p_mouse_push_multimedia_key_data_to_usb 
+0541 c001054f beq kb_system_conctrl_report_id ,p_mouse_push_systemctrl_key_data_to_usb 
+0542 2040371d call dongle_usb_tx_kb_data 
+0543 6fe4095c fetch 8 ,mem_pdatatemp 
+0544 67e40c0f store 8 ,mem_usb_kb_data 
+0545 20600000 rtn 
 
 p_mouse_push_release_keyboard_data_to_usb:
-053b 6fe44be7 fetch 8 ,mem_customer_key_release + 1 
-053c 20200533 branch p_mouse_push_keyboard_package_data_to_usb 
+0546 6fe44be7 fetch 8 ,mem_customer_key_release + 1 
+0547 2020053e branch p_mouse_push_keyboard_package_data_to_usb 
 
 p_mouse_push_multimedia_key_data_to_usb:
-053d 20403710 call dongle_usb_tx_enable_ep2 
-053e 700bf821 jam usb_ep2_multikey ,mem_usb_ep2_data 
-053f 58000003 setarg kb_multikey_report_id 
-0540 67e08c1f store 1 ,mem_usb_kb_multikey 
-0541 6fe1095c fetch 2 ,mem_pdatatemp 
-0542 e7e10005 istore 2 ,contw 
-0543 20600000 rtn 
+0548 20403710 call dongle_usb_tx_enable_ep2 
+0549 700bf821 jam usb_ep2_multikey ,mem_usb_ep2_data 
+054a 58000003 setarg kb_multikey_report_id 
+054b 67e08c1f store 1 ,mem_usb_kb_multikey 
+054c 6fe1095c fetch 2 ,mem_pdatatemp 
+054d e7e10005 istore 2 ,contw 
+054e 20600000 rtn 
 
 p_mouse_push_systemctrl_key_data_to_usb:
-0544 20403710 call dongle_usb_tx_enable_ep2 
-0545 700bf822 jam usb_ep2_systemkey ,mem_usb_ep2_data 
-0546 58000002 setarg kb_system_conctrl_report_id 
-0547 67e08c2f store 1 ,mem_usb_kb_system 
-0548 6fe0895c fetch 1 ,mem_pdatatemp 
-0549 e7e08005 istore 1 ,contw 
-054a 20600000 rtn 
+054f 20403710 call dongle_usb_tx_enable_ep2 
+0550 700bf822 jam usb_ep2_systemkey ,mem_usb_ep2_data 
+0551 58000002 setarg kb_system_conctrl_report_id 
+0552 67e08c2f store 1 ,mem_usb_kb_system 
+0553 6fe0895c fetch 1 ,mem_pdatatemp 
+0554 e7e08005 istore 1 ,contw 
+0555 20600000 rtn 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AF/branch/mouse/USB_4Mode_Project/ATS_Project/mouse_public_4mode_usb/program/patch.prog	(revision 3609)
+++ /YC1308AF/branch/mouse/USB_4Mode_Project/ATS_Project/mouse_public_4mode_usb/program/patch.prog	(working copy)
@@ -1247,6 +1247,7 @@
 ifdef USB
 	call p_mouse_usb_isr
 	call p_mouse_usb_mode
+	call p_mouse_usb_mode_flag_check
 endif
 	rtn
 
@@ -1471,7 +1472,6 @@
 	store 1,mem_mouse_le_send_conn_param_update
 	store 1,mem_mouse_le_send_conn_param_update_timer
 	store 1,mem_mouse_le_bb_connected_flag
-	jam 0,mem_mouse_pair_success
 
 	jam LE_LPM_ENABLE,mem_mouse_le_conn_param_reject
 	jam 0,mem_mouse_clear_sensor_data_flag
@@ -1492,7 +1492,6 @@
 	branch mouse_bb_event_connected
 
 p_mouse_bb_disconnected:
-	jam 0,mem_mouse_pair_success
 
 	jam 0,mem_mouse_enter_sniff_count	
 	jam 0,mem_mouse_bt_send_first_package_flag
@@ -2141,7 +2140,6 @@
 	rtneq MOUSE_USB_INTERFACE_REMOVE
 	jam MOUSE_USB_INTERFACE_REMOVE,mem_mouse_usb_vdd_status
 	jam 0,mem_usb_mode_enable		//enable select device
-	jam 0,mem_mouse_pair_success
 	jam 0,mem_usb_device_enumeration_endflag
 	jam 0,mem_usb_status
 	jam 0,mem_usb_state
@@ -2160,11 +2158,10 @@
 	fetch 1,mem_mouse_usb_vdd_status
 	rtneq MOUSE_USB_INTERFACE_INSERT
 	jam MOUSE_USB_INTERFACE_INSERT,mem_mouse_usb_vdd_status
+	jam 1,mem_usb_mode_enable		//disabl select device
 	setarg 0
 	store 2,mem_24g_pair_timeout
 	store 2,mem_24g_reconn_timeout
-	jam 1,mem_usb_mode_enable		//can not select device
-	jam 1,mem_mouse_pair_success	
 	call p_mouse_multi_led_blink_disable
 	jam 0,mem_lpm_mode
 	call p_select_system_clk_24M_dpll
@@ -2183,6 +2180,25 @@
 	call memcpy
 	branch usb_init
 
+p_mouse_usb_mode_flag_check:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_USB
+	fetch 1,mem_mouse_usb_vdd_status
+	beq MOUSE_USB_INTERFACE_INSERT,p_mouse_usb_mode_flag_enable
+	beq MOUSE_USB_INTERFACE_REMOVE,p_mouse_usb_mode_flag_disable
+	rtn
+
+p_mouse_usb_mode_flag_enable:
+	fetch 1,mem_usb_mode_enable
+	rtn blank
+	jam 1,mem_mouse_pair_success	
+	rtn
+p_mouse_usb_mode_flag_disable:
+	fetch 1,mem_usb_mode_enable
+	rtn blank
+	jam 0,mem_mouse_pair_success	
+	rtn
+
 p_mouse_usb_mode:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 	rtnbit0 MOUSE_ENABLE_USB
