Index: do.bat
===================================================================
--- /1121s/branch/mouse/ZXS_Project/1m/mouse_public_1M/do.bat	(revision 1541)
+++ /1121s/branch/mouse/ZXS_Project/1m/mouse_public_1M/do.bat	(working copy)
@@ -20,6 +20,10 @@
 @rem set device_option=flippen
 @echo off
 
+set now_path=%~dp0
+set util_path=%now_path%util
+set/p mode=Please press mode SA or SB:
+
 setlocal enabledelayedexpansion
 for %%f in (program\ble_protocol_stack\*.prog) do @set progs=!progs! %%f
 for %%f in (program\g24_protocol_stack\*.prog) do @set progs=!progs! %%f
@@ -74,9 +78,18 @@
 cd output
 osiuasm bt_program23 -O-W
 
-geneep -n 
-::geneep -n -k key.dat 
+if /I "%mode%" equ "SA" (goto SAmode)
+if /I "%mode%" equ "SB" (goto SBmode)
+
+:SAmode
+%util_path%/geneep  -n
+goto contin
+
+:SBmode
+%util_path%/geneep  -n -s
+goto contin
 
+:contin
 echo create auth rom
 perl ../util/mergepatch.pl mouse_ble_att_list usb_kbdata_vendor_define usb_kbdata usb_msdata usb_devicedata usb_confdata ble_shutter_gatt_list ble_shutter_key_value_list ble_car_att_list sha256 
 perl ../util/romcrc.pl romcode.rom
@@ -99,6 +112,3 @@
 call set_chip_type_flag.bat 
 
 :end
-
-
-
Index: format/app_mouse.format
===================================================================
--- /1121s/branch/mouse/ZXS_Project/1m/mouse_public_1M/format/app_mouse.format	(revision 1541)
+++ /1121s/branch/mouse/ZXS_Project/1m/mouse_public_1M/format/app_mouse.format	(working copy)
@@ -430,7 +430,7 @@
 64 mem_le_tx_buffer3_omemalloc_new
 
 1 mem_mouse_wheel_temp_gpio
-
+1 mem_mouse_qdec_set_flag
 )
 
 (
Index: output/eeprom.dat
===================================================================
--- /1121s/branch/mouse/ZXS_Project/1m/mouse_public_1M/output/eeprom.dat	(revision 1541)
+++ /1121s/branch/mouse/ZXS_Project/1m/mouse_public_1M/output/eeprom.dat	(working copy)
@@ -2,8 +2,8 @@
 02
 aa
 55
-c6
-13
+5a
+14
 c2
 84
 00
@@ -11,147 +11,147 @@
 c0
 00
 02
-91
+8b
 c0
 01
 00
-3b
+35
 c0
 08
 00
-44
+3e
 c0
 08
 80
-46
+40
 c0
 0a
 01
-45
+3e
 c0
 0a
 80
-c7
+c0
 c0
 0c
 00
-e7
+e0
 c0
 0c
 80
-ee
+e7
 c0
 0d
 00
-54
+4e
 c0
 12
 82
-17
+0d
 c0
 34
 02
-8a
+84
 c0
 34
 82
-99
+97
 c0
 36
 02
-53
+4d
 c0
 37
 04
-32
+30
 c0
 39
 84
-87
+85
 c0
-3b
-80
-35
+3a
+02
+0a
 c0
 3d
 04
-ec
+d7
 c0
 3f
 84
-67
+65
 c0
 40
 84
-d1
+bc
 c0
 42
 03
-82
+80
 c0
 42
 83
-ce
+cc
 c0
 43
 01
-dc
+d5
 c0
 43
 83
-ac
+aa
 c0
 44
 03
-cc
+ca
 c0
 45
 03
-96
+94
+c0
+45
+82
+ae
 c0
 46
 02
-d7
+d5
 c0
 46
 83
-3f
+3d
 c0
 47
 04
-51
-c0
-45
-82
-b0
+4f
 c0
 48
 04
-c6
+b1
 c0
 4a
 84
-7e
+7c
 c0
 4b
 04
-af
+9a
+c0
+62
+82
+30
 c0
 6a
 81
-fb
+f4
 c0
 6b
 01
-f4
-c0
-62
-82
-36
+ed
 c0
 6d
 01
-2e
+27
 20
 20
 23
@@ -159,55 +159,55 @@
 c0
 0a
 01
-66
+5f
 c0
 0d
 01
-65
+5e
 c0
 12
 81
-95
+8e
 c0
 13
 01
-9a
+93
 c0
 1c
 81
-ac
+a5
 c0
 1d
 01
-b6
+af
 c0
 26
 01
-b2
+ab
 c0
 26
 81
-b0
+a9
 c0
 48
 02
-39
+33
 c0
 4b
 04
-72
+70
 c0
 4d
 00
-d5
+ce
 c0
 4e
 80
-dc
+d5
 c0
 4f
 82
-5b
+55
 c1
 7f
 80
@@ -218,30 +218,6 @@
 5a
 20
 40
-6f
-82
-20
-40
-6f
-b0
-1f
-e6
-fc
-0a
-20
-40
-7d
-5f
-67
-e1
-46
-33
-20
-20
-55
-53
-20
-40
 75
 52
 20
@@ -275,7 +251,7 @@
 20
 20
 00
-3b
+35
 70
 89
 00
@@ -383,7 +359,7 @@
 20
 40
 00
-9b
+95
 20
 40
 70
@@ -415,7 +391,7 @@
 c0
 08
 00
-90
+8a
 6f
 e0
 c4
@@ -459,7 +435,7 @@
 20
 40
 00
-82
+7c
 70
 80
 43
@@ -482,16 +458,16 @@
 6e
 20
 40
-01
-01
+00
+fa
 20
 40
 01
-2c
+25
 20
 40
 00
-7c
+76
 70
 41
 48
@@ -531,7 +507,7 @@
 c0
 0c
 00
-88
+82
 6f
 e0
 c4
@@ -623,11 +599,11 @@
 20
 20
 00
-6f
+69
 20
 35
 80
-c3
+a7
 6f
 e2
 02
@@ -697,6 +673,18 @@
 82
 00
 6f
+e1
+41
+5b
+20
+7a
+00
+00
+67
+e1
+02
+0f
+6f
 f0
 8a
 cb
@@ -784,22 +772,6 @@
 60
 00
 00
-6f
-e1
-41
-5b
-20
-7a
-00
-00
-67
-e1
-02
-0f
-20
-20
-00
-ad
 20
 40
 68
@@ -867,7 +839,7 @@
 20
 40
 00
-d9
+d2
 20
 20
 60
@@ -899,7 +871,7 @@
 24
 21
 00
-e1
+da
 20
 20
 36
@@ -923,7 +895,7 @@
 20
 40
 02
-80
+7a
 20
 20
 36
@@ -967,15 +939,15 @@
 c0
 05
 00
-f4
+ed
 c0
 4f
 00
-fd
+f6
 c0
 55
 00
-f9
+f2
 20
 20
 22
@@ -1083,7 +1055,7 @@
 20
 40
 01
-1e
+17
 2a
 2f
 fe
@@ -1115,7 +1087,7 @@
 20
 40
 01
-1e
+17
 d8
 a0
 8a
@@ -1143,7 +1115,7 @@
 20
 21
 01
-13
+0c
 20
 20
 21
@@ -1243,7 +1215,7 @@
 20
 40
 01
-3e
+37
 70
 8a
 08
@@ -1287,7 +1259,7 @@
 c3
 02
 81
-3f
+38
 68
 59
 01
@@ -1323,7 +1295,7 @@
 c0
 08
 01
-5e
+57
 58
 00
 57
@@ -1367,7 +1339,7 @@
 c0
 08
 01
-5b
+54
 58
 00
 2b
@@ -1403,7 +1375,7 @@
 20
 20
 01
-57
+50
 58
 00
 83
@@ -1415,11 +1387,11 @@
 20
 20
 01
-4c
+45
 6f
 e0
 cb
-f7
+f8
 da
 60
 01
@@ -1435,11 +1407,11 @@
 20
 20
 01
-85
+7e
 20
 40
 01
-68
+61
 20
 20
 25
@@ -1447,7 +1419,7 @@
 6f
 e0
 cb
-f8
+f9
 20
 7a
 00
@@ -1455,7 +1427,7 @@
 6f
 e0
 cb
-f9
+fa
 24
 7a
 00
@@ -1463,11 +1435,11 @@
 68
 48
 cb
-f8
+f9
 6f
 e0
 cb
-f7
+f8
 98
 46
 7c
@@ -1475,7 +1447,7 @@
 24
 41
 01
-61
+5a
 98
 46
 7e
@@ -1487,11 +1459,11 @@
 20
 21
 01
-7a
+73
 6f
 e0
 cb
-fa
+fb
 1f
 e6
 7c
@@ -1499,10 +1471,10 @@
 24
 41
 01
-78
+71
 70
 4b
-f9
+fa
 01
 20
 60
@@ -1510,7 +1482,7 @@
 00
 70
 4b
-fb
+fc
 01
 20
 20
@@ -1543,7 +1515,7 @@
 68
 48
 cb
-fa
+fb
 79
 20
 fe
@@ -1555,7 +1527,7 @@
 60
 48
 cb
-fa
+fb
 20
 60
 00
@@ -1575,11 +1547,11 @@
 24
 36
 81
-8c
+85
 6f
 e0
 cb
-f7
+f8
 1f
 e0
 fe
@@ -1587,7 +1559,7 @@
 67
 e0
 cb
-f7
+f8
 6f
 e0
 81
@@ -1763,7 +1735,7 @@
 c0
 02
 01
-b9
+b2
 20
 20
 28
@@ -1779,11 +1751,11 @@
 c0
 05
 01
-be
+b7
 c0
 09
 01
-cd
+c6
 20
 20
 2b
@@ -1811,7 +1783,7 @@
 c2
 81
 81
-c8
+c1
 6f
 e1
 43
@@ -1839,11 +1811,11 @@
 24
 22
 81
-c4
+bd
 24
 34
 01
-c4
+bd
 20
 20
 2d
@@ -1923,7 +1895,7 @@
 c0
 7f
 81
-e7
+e0
 6f
 e0
 c8
@@ -1939,7 +1911,7 @@
 6f
 e0
 cb
-f9
+fa
 20
 7a
 00
@@ -1947,7 +1919,7 @@
 6f
 e0
 cb
-fb
+fc
 24
 7a
 00
@@ -1999,7 +1971,7 @@
 20
 40
 04
-bb
+a6
 20
 20
 5b
@@ -2050,32 +2022,32 @@
 e6
 20
 20
-82
-01
-20
-20
-02
-06
+81
+fe
+68
+48
+cb
+1d
 20
 40
-02
+6f
 0f
-20
-40
-02
-0a
-20
-40
-02
-13
 68
 48
 cb
 1d
+d9
+00
+00
+03
 20
 20
-6f
-0f
+6e
+bd
+70
+4b
+1e
+01
 68
 48
 cb
@@ -2084,34 +2056,18 @@
 40
 6f
 0f
-20
-40
-02
-0d
-20
-20
-02
-0f
+68
+48
+cb
+1d
 d9
 00
 00
 06
 20
-40
+20
 6e
 bd
-20
-20
-02
-27
-d9
-00
-00
-03
-20
-20
-02
-0b
 58
 00
 00
@@ -2132,18 +2088,22 @@
 00
 00
 80
-67
-f0
-81
-41
-37
-d9
-82
-00
 20
 20
 02
-11
+05
+20
+40
+04
+76
+70
+4b
+1e
+00
+20
+20
+55
+0d
 6f
 e1
 43
@@ -2167,11 +2127,27 @@
 20
 40
 02
-1e
+18
+20
+40
+02
+15
 20
 20
 24
 25
+6f
+e0
+cb
+1e
+20
+3a
+02
+04
+20
+20
+02
+08
 60
 04
 40
@@ -2239,7 +2215,7 @@
 20
 22
 82
-31
+2b
 e7
 e0
 80
@@ -2259,7 +2235,7 @@
 c2
 00
 02
-2b
+25
 1a
 42
 04
@@ -2295,7 +2271,7 @@
 20
 3a
 02
-41
+3b
 6f
 e1
 45
@@ -2339,7 +2315,7 @@
 20
 3a
 02
-50
+4a
 6f
 e2
 45
@@ -2355,7 +2331,7 @@
 20
 22
 82
-4d
+47
 20
 20
 35
@@ -2383,7 +2359,7 @@
 20
 20
 02
-48
+42
 20
 40
 54
@@ -2391,7 +2367,7 @@
 20
 40
 02
-56
+50
 20
 20
 54
@@ -2451,7 +2427,7 @@
 c5
 13
 02
-65
+5f
 6f
 e0
 c6
@@ -2463,7 +2439,7 @@
 24
 21
 02
-7f
+79
 6f
 e0
 c6
@@ -2475,7 +2451,7 @@
 24
 21
 02
-6d
+67
 6f
 e0
 c6
@@ -2483,7 +2459,7 @@
 c0
 00
 02
-80
+7a
 20
 60
 00
@@ -2519,7 +2495,7 @@
 c5
 13
 02
-76
+70
 6f
 e0
 c6
@@ -2551,7 +2527,7 @@
 c0
 01
 02
-88
+82
 c0
 00
 b7
@@ -2571,7 +2547,7 @@
 c0
 01
 82
-86
+80
 1f
 e0
 fe
@@ -2587,7 +2563,7 @@
 c0
 01
 02
-88
+82
 70
 41
 41
@@ -2623,7 +2599,7 @@
 58
 00
 02
-98
+96
 67
 e1
 43
@@ -2632,6 +2608,18 @@
 20
 53
 f3
+24
+35
+a0
+02
+37
+d9
+82
+00
+37
+d9
+82
+00
 20
 80
 00
@@ -2639,11 +2627,15 @@
 20
 55
 82
-94
+91
 20
 20
 20
 03
+20
+40
+02
+04
 68
 48
 c6
@@ -2667,7 +2659,7 @@
 20
 40
 04
-4b
+49
 6f
 e4
 47
@@ -2683,7 +2675,7 @@
 c2
 8a
 02
-9f
+9d
 20
 60
 00
@@ -2691,7 +2683,7 @@
 20
 40
 02
-aa
+a8
 20
 40
 5e
@@ -2703,19 +2695,19 @@
 20
 40
 02
-be
+bc
 20
 40
 02
-a7
+a5
 20
 40
 02
-ad
+ab
 20
 40
 02
-c6
+c4
 20
 20
 5d
@@ -2731,7 +2723,7 @@
 20
 40
 04
-c6
+b1
 6f
 e0
 c6
@@ -2771,7 +2763,7 @@
 20
 22
 83
-33
+31
 60
 49
 46
@@ -2823,7 +2815,7 @@
 20
 22
 82
-bb
+b9
 1f
 e6
 7c
@@ -2831,7 +2823,7 @@
 20
 22
 82
-c4
+c2
 20
 61
 00
@@ -2871,7 +2863,7 @@
 20
 3a
 02
-d4
+d2
 67
 e1
 49
@@ -2891,7 +2883,7 @@
 24
 21
 02
-d4
+d2
 1a
 62
 24
@@ -2899,7 +2891,7 @@
 20
 20
 02
-ca
+c8
 6f
 e1
 49
@@ -2927,7 +2919,7 @@
 c2
 8a
 02
-dc
+da
 20
 60
 00
@@ -2935,11 +2927,11 @@
 20
 40
 02
-df
+dd
 20
 40
 02
-e4
+e2
 20
 20
 5c
@@ -2955,11 +2947,11 @@
 c0
 00
 83
-0b
+09
 c0
 01
 03
-1f
+1d
 20
 60
 00
@@ -2983,7 +2975,7 @@
 20
 3a
 02
-f0
+ee
 67
 e0
 c9
@@ -3011,7 +3003,7 @@
 20
 20
 02
-e6
+e4
 6f
 e0
 c9
@@ -3023,7 +3015,7 @@
 20
 3a
 02
-fa
+f8
 6f
 e0
 c6
@@ -3031,7 +3023,7 @@
 20
 40
 03
-08
+06
 67
 e0
 c9
@@ -3063,7 +3055,7 @@
 20
 40
 03
-08
+06
 98
 46
 7c
@@ -3099,7 +3091,7 @@
 20
 22
 82
-f6
+f4
 1a
 60
 a7
@@ -3107,7 +3099,7 @@
 20
 20
 02
-f6
+f4
 c1
 80
 00
@@ -3139,7 +3131,7 @@
 20
 3a
 03
-17
+15
 67
 e3
 49
@@ -3167,7 +3159,7 @@
 20
 20
 03
-0d
+0b
 6f
 e3
 49
@@ -3219,7 +3211,7 @@
 20
 3a
 03
-2b
+29
 67
 e3
 49
@@ -3247,7 +3239,7 @@
 20
 20
 03
-21
+1f
 6f
 e3
 49
@@ -3283,15 +3275,15 @@
 20
 40
 03
-6c
+6a
 20
 40
 03
-84
+82
 20
 40
 03
-37
+35
 20
 20
 5c
@@ -3315,7 +3307,7 @@
 c0
 03
 03
-3d
+3b
 20
 60
 00
@@ -3339,7 +3331,7 @@
 c2
 8a
 03
-43
+41
 20
 60
 00
@@ -3371,7 +3363,7 @@
 20
 3a
 03
-51
+4f
 67
 e0
 c9
@@ -3399,7 +3391,7 @@
 20
 20
 03
-47
+45
 6f
 e0
 c9
@@ -3411,7 +3403,7 @@
 20
 3a
 03
-5b
+59
 6f
 e0
 c6
@@ -3419,7 +3411,7 @@
 20
 40
 03
-69
+67
 67
 e0
 c9
@@ -3451,7 +3443,7 @@
 20
 40
 03
-69
+67
 98
 46
 7c
@@ -3487,7 +3479,7 @@
 20
 22
 83
-57
+55
 1a
 60
 a7
@@ -3495,7 +3487,7 @@
 20
 20
 03
-57
+55
 c1
 80
 00
@@ -3515,7 +3507,7 @@
 c2
 9f
 03
-73
+71
 6f
 e0
 c6
@@ -3527,11 +3519,11 @@
 c0
 00
 83
-73
+71
 c0
 01
 03
-7a
+78
 20
 60
 00
@@ -3599,7 +3591,7 @@
 20
 40
 03
-84
+82
 20
 20
 5a
@@ -3615,7 +3607,7 @@
 c2
 9f
 03
-8c
+8a
 6f
 e0
 c6
@@ -3627,11 +3619,11 @@
 c0
 00
 83
-8c
+8a
 c0
 01
 03
-91
+8f
 20
 60
 00
@@ -3703,7 +3695,7 @@
 20
 40
 03
-9e
+9c
 20
 20
 5c
@@ -3715,11 +3707,11 @@
 c0
 00
 83
-a2
+a0
 c0
 01
 03
-a7
+a5
 20
 60
 00
@@ -3767,7 +3759,7 @@
 20
 40
 03
-c2
+c0
 20
 40
 61
@@ -3839,7 +3831,7 @@
 20
 40
 03
-c5
+c3
 20
 40
 56
@@ -3871,7 +3863,7 @@
 da
 40
 03
-c8
+c6
 20
 20
 42
@@ -3907,31 +3899,31 @@
 c0
 20
 03
-e3
+e1
 c0
 0a
 83
-e8
+e6
 c0
 19
 03
-da
+d8
 c0
 1e
 04
-06
+04
 c0
 1c
 84
-17
+15
 c0
 1d
 04
-1a
+18
 c0
 0a
 03
-d7
+d5
 20
 20
 5a
@@ -3943,7 +3935,7 @@
 67
 e2
 4b
-f8
+f9
 20
 20
 5a
@@ -3955,7 +3947,7 @@
 c0
 00
 83
-de
+dc
 70
 48
 44
@@ -3963,7 +3955,7 @@
 20
 20
 03
-e0
+de
 20
 40
 5a
@@ -3975,11 +3967,11 @@
 6f
 e0
 cb
-f7
+f8
 67
 e0
 cb
-f8
+f9
 20
 20
 5a
@@ -4039,7 +4031,7 @@
 c2
 8d
 83
-f2
+f0
 d8
 40
 00
@@ -4067,7 +4059,7 @@
 20
 20
 03
-f8
+f6
 20
 40
 5b
@@ -4079,7 +4071,7 @@
 c2
 83
 83
-fd
+fb
 c2
 80
 42
@@ -4115,7 +4107,7 @@
 6f
 e0
 cb
-fb
+fc
 24
 3a
 54
@@ -4187,7 +4179,7 @@
 20
 40
 04
-4e
+4c
 20
 20
 60
@@ -4199,7 +4191,7 @@
 20
 40
 04
-4e
+4c
 20
 20
 60
@@ -4211,7 +4203,7 @@
 20
 40
 04
-4e
+4c
 6f
 e0
 c8
@@ -4235,7 +4227,7 @@
 c0
 02
 04
-25
+23
 c0
 00
 e0
@@ -4243,7 +4235,7 @@
 c0
 01
 84
-2c
+2a
 20
 20
 60
@@ -4307,7 +4299,7 @@
 c2
 9f
 04
-37
+35
 6f
 e0
 c6
@@ -4315,7 +4307,7 @@
 c0
 00
 04
-3e
+3c
 20
 20
 54
@@ -4327,7 +4319,7 @@
 20
 34
 04
-3a
+38
 20
 20
 60
@@ -4347,7 +4339,7 @@
 20
 20
 04
-29
+27
 6f
 e4
 47
@@ -4375,7 +4367,7 @@
 c2
 98
 04
-46
+44
 20
 20
 60
@@ -4435,7 +4427,7 @@
 20
 40
 04
-55
+53
 20
 20
 5e
@@ -4463,7 +4455,7 @@
 20
 40
 04
-5c
+5a
 20
 20
 56
@@ -4491,7 +4483,7 @@
 c0
 7f
 84
-63
+61
 20
 20
 56
@@ -4511,7 +4503,7 @@
 20
 20
 04
-67
+65
 1a
 62
 7e
@@ -4571,7 +4563,7 @@
 20
 40
 04
-78
+76
 6f
 e1
 c6
@@ -4647,7 +4639,7 @@
 20
 40
 04
-78
+76
 20
 40
 56
@@ -4720,86 +4712,10 @@
 40
 6f
 0f
-68
-48
-c6
-5b
-20
-40
-55
-b5
-20
-40
-04
-9f
 20
 20
 54
-e5
-6f
-e1
-c7
-3c
-67
-e1
-86
-70
-df
-20
-00
-18
-d8
-40
-00
-00
-6f
-e1
-86
-70
-2f
-ef
-fe
-00
-20
-40
-84
-ac
-6f
-e1
-86
-70
-1f
-e3
-7e
-00
-67
-e1
-86
-70
-18
-40
-84
-01
-c2
-00
-04
-a3
-20
-60
-00
-00
-18
-46
-7c
-ff
-20
-62
-80
-00
-20
-20
-6f
-0b
+e2
 c6
 93
 00
@@ -4823,7 +4739,7 @@
 24
 5a
 04
-c4
+af
 6f
 e4
 47
@@ -4831,7 +4747,7 @@
 c3
 0b
 04
-b9
+a4
 6f
 e0
 c9
@@ -4843,7 +4759,7 @@
 20
 40
 04
-bb
+a6
 20
 20
 60
@@ -4887,11 +4803,11 @@
 20
 40
 04
-78
+76
 20
 20
 02
-27
+21
 6f
 e4
 47
@@ -4951,7 +4867,7 @@
 c0
 2c
 04
-d6
+c1
 20
 20
 59
@@ -4967,7 +4883,7 @@
 c0
 2c
 84
-da
+c5
 20
 20
 59
@@ -4999,7 +4915,7 @@
 c0
 05
 84
-e2
+cd
 20
 20
 59
@@ -5015,57 +4931,289 @@
 c0
 7f
 84
-e8
+d3
 68
 48
 c6
 59
 20
 40
-6e
-e6
-24
-60
-80
-00
-58
-00
-00
-00
+6e
+e6
+24
+60
+80
+00
+58
+00
+00
+00
+20
+40
+69
+e5
+c0
+ac
+59
+55
+20
+20
+5a
+2f
+78
+54
+7c
+00
+58
+00
+00
+00
+67
+e3
+48
+47
+20
+40
+04
+c8
+58
+00
+00
+89
+20
+40
+69
+e4
+20
+40
+57
+47
+20
+40
+56
+12
+20
+40
+56
+17
+20
+40
+04
+e2
+20
+20
+56
+0c
+20
+40
+58
+4c
+6f
+e0
+c9
+87
+24
+3a
+58
+60
+6f
+e0
+c9
+82
+24
+3a
+58
+5f
+20
+40
+58
+88
+20
+40
+04
+ea
+20
+20
+57
+ad
+70
+49
+79
+00
+70
+49
+7a
+00
+70
+49
+7b
+00
+1f
+e2
+24
+00
+68
+48
+c6
+44
+6f
+e0
+c6
+47
+98
+46
+7c
+00
+20
+22
+84
+fc
+6f
+e0
+c6
+48
+98
+46
+7c
+00
+20
+22
+85
+02
+68
+48
+c6
+45
+6f
+e0
+c6
+47
+98
+46
+7c
+00
+20
+22
+85
+0b
+20
+40
+57
+fb
+20
+40
+05
+10
+20
+20
+57
+e5
+68
+48
+c6
+45
+6f
+e0
+c6
+48
+98
+46
+7c
+00
+20
+22
+d7
+d6
+20
+40
+57
+ef
+20
+20
+05
+0c
+68
+48
+c6
+45
+6f
+e0
+c6
+47
+98
+46
+7c
+00
+20
+22
+85
+08
+20
+40
+05
+12
+20
+20
+04
+fa
+20
+40
+05
+12
+20
+40
+05
+0e
+20
+20
+57
+e5
+20
+40
+05
+0e
 20
 40
-69
+05
+14
+20
+20
+57
 e5
-c0
-ac
-59
-55
+1a
+41
+7e
+12
 20
 20
-5a
-2f
-78
-54
-7c
-00
-58
-00
-00
-00
-67
-e3
-48
-47
+57
+f3
+1a
+41
+7e
+0a
 20
-40
-04
-dd
 20
+57
+f6
+1a
+41
+7e
+11
 20
-56
-06
-67
-50
+20
+57
+f9
+1a
+41
+7e
+12
+20
+20
+57
+ff
+8b
+dc
 aa
 55
 40
@@ -5086,7 +5234,7 @@
 00
 00
 53
-88
+18
 84
 f2
 7d
@@ -5513,8 +5661,8 @@
 00
 4a
 47
-74
-d6
+60
+ea
 00
 00
 77
@@ -5761,7 +5909,7 @@
 42
 06
 00
-06
+09
 00
 20
 00
@@ -6089,7 +6237,7 @@
 ff
 aa
 55
-1e
+1a
 00
 d6
 48
@@ -6105,20 +6253,16 @@
 41
 a1
 12
-a5
-84
 a7
 ff
-b5
-d0
 b6
 00
-ff
-00
-35
+b5
 c8
-25
+a5
 af
+ff
+00
 09
 00
 ff
@@ -6369,154 +6513,10 @@
 aa
 aa
 55
-bf
-60
-dd
-7b
-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
-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
-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
+a0
+5e
+8e
+0f
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-67
-43
+e9
+bc
Index: output/flash.dat
===================================================================
--- /1121s/branch/mouse/ZXS_Project/1m/mouse_public_1M/output/flash.dat	(revision 1541)
+++ /1121s/branch/mouse/ZXS_Project/1m/mouse_public_1M/output/flash.dat	(working copy)
@@ -2,8 +2,8 @@
 02
 aa
 55
-c6
-13
+5a
+14
 c2
 84
 00
@@ -11,147 +11,147 @@
 c0
 00
 02
-91
+8b
 c0
 01
 00
-3b
+35
 c0
 08
 00
-44
+3e
 c0
 08
 80
-46
+40
 c0
 0a
 01
-45
+3e
 c0
 0a
 80
-c7
+c0
 c0
 0c
 00
-e7
+e0
 c0
 0c
 80
-ee
+e7
 c0
 0d
 00
-54
+4e
 c0
 12
 82
-17
+0d
 c0
 34
 02
-8a
+84
 c0
 34
 82
-99
+97
 c0
 36
 02
-53
+4d
 c0
 37
 04
-32
+30
 c0
 39
 84
-87
+85
 c0
-3b
-80
-35
+3a
+02
+0a
 c0
 3d
 04
-ec
+d7
 c0
 3f
 84
-67
+65
 c0
 40
 84
-d1
+bc
 c0
 42
 03
-82
+80
 c0
 42
 83
-ce
+cc
 c0
 43
 01
-dc
+d5
 c0
 43
 83
-ac
+aa
 c0
 44
 03
-cc
+ca
 c0
 45
 03
-96
+94
+c0
+45
+82
+ae
 c0
 46
 02
-d7
+d5
 c0
 46
 83
-3f
+3d
 c0
 47
 04
-51
-c0
-45
-82
-b0
+4f
 c0
 48
 04
-c6
+b1
 c0
 4a
 84
-7e
+7c
 c0
 4b
 04
-af
+9a
+c0
+62
+82
+30
 c0
 6a
 81
-fb
+f4
 c0
 6b
 01
-f4
-c0
-62
-82
-36
+ed
 c0
 6d
 01
-2e
+27
 20
 20
 23
@@ -159,55 +159,55 @@
 c0
 0a
 01
-66
+5f
 c0
 0d
 01
-65
+5e
 c0
 12
 81
-95
+8e
 c0
 13
 01
-9a
+93
 c0
 1c
 81
-ac
+a5
 c0
 1d
 01
-b6
+af
 c0
 26
 01
-b2
+ab
 c0
 26
 81
-b0
+a9
 c0
 48
 02
-39
+33
 c0
 4b
 04
-72
+70
 c0
 4d
 00
-d5
+ce
 c0
 4e
 80
-dc
+d5
 c0
 4f
 82
-5b
+55
 c1
 7f
 80
@@ -218,30 +218,6 @@
 5a
 20
 40
-6f
-82
-20
-40
-6f
-b0
-1f
-e6
-fc
-0a
-20
-40
-7d
-5f
-67
-e1
-46
-33
-20
-20
-55
-53
-20
-40
 75
 52
 20
@@ -275,7 +251,7 @@
 20
 20
 00
-3b
+35
 70
 89
 00
@@ -383,7 +359,7 @@
 20
 40
 00
-9b
+95
 20
 40
 70
@@ -415,7 +391,7 @@
 c0
 08
 00
-90
+8a
 6f
 e0
 c4
@@ -459,7 +435,7 @@
 20
 40
 00
-82
+7c
 70
 80
 43
@@ -482,16 +458,16 @@
 6e
 20
 40
-01
-01
+00
+fa
 20
 40
 01
-2c
+25
 20
 40
 00
-7c
+76
 70
 41
 48
@@ -531,7 +507,7 @@
 c0
 0c
 00
-88
+82
 6f
 e0
 c4
@@ -623,11 +599,11 @@
 20
 20
 00
-6f
+69
 20
 35
 80
-c3
+a7
 6f
 e2
 02
@@ -697,6 +673,18 @@
 82
 00
 6f
+e1
+41
+5b
+20
+7a
+00
+00
+67
+e1
+02
+0f
+6f
 f0
 8a
 cb
@@ -784,22 +772,6 @@
 60
 00
 00
-6f
-e1
-41
-5b
-20
-7a
-00
-00
-67
-e1
-02
-0f
-20
-20
-00
-ad
 20
 40
 68
@@ -867,7 +839,7 @@
 20
 40
 00
-d9
+d2
 20
 20
 60
@@ -899,7 +871,7 @@
 24
 21
 00
-e1
+da
 20
 20
 36
@@ -923,7 +895,7 @@
 20
 40
 02
-80
+7a
 20
 20
 36
@@ -967,15 +939,15 @@
 c0
 05
 00
-f4
+ed
 c0
 4f
 00
-fd
+f6
 c0
 55
 00
-f9
+f2
 20
 20
 22
@@ -1083,7 +1055,7 @@
 20
 40
 01
-1e
+17
 2a
 2f
 fe
@@ -1115,7 +1087,7 @@
 20
 40
 01
-1e
+17
 d8
 a0
 8a
@@ -1143,7 +1115,7 @@
 20
 21
 01
-13
+0c
 20
 20
 21
@@ -1243,7 +1215,7 @@
 20
 40
 01
-3e
+37
 70
 8a
 08
@@ -1287,7 +1259,7 @@
 c3
 02
 81
-3f
+38
 68
 59
 01
@@ -1323,7 +1295,7 @@
 c0
 08
 01
-5e
+57
 58
 00
 57
@@ -1367,7 +1339,7 @@
 c0
 08
 01
-5b
+54
 58
 00
 2b
@@ -1403,7 +1375,7 @@
 20
 20
 01
-57
+50
 58
 00
 83
@@ -1415,11 +1387,11 @@
 20
 20
 01
-4c
+45
 6f
 e0
 cb
-f7
+f8
 da
 60
 01
@@ -1435,11 +1407,11 @@
 20
 20
 01
-85
+7e
 20
 40
 01
-68
+61
 20
 20
 25
@@ -1447,7 +1419,7 @@
 6f
 e0
 cb
-f8
+f9
 20
 7a
 00
@@ -1455,7 +1427,7 @@
 6f
 e0
 cb
-f9
+fa
 24
 7a
 00
@@ -1463,11 +1435,11 @@
 68
 48
 cb
-f8
+f9
 6f
 e0
 cb
-f7
+f8
 98
 46
 7c
@@ -1475,7 +1447,7 @@
 24
 41
 01
-61
+5a
 98
 46
 7e
@@ -1487,11 +1459,11 @@
 20
 21
 01
-7a
+73
 6f
 e0
 cb
-fa
+fb
 1f
 e6
 7c
@@ -1499,10 +1471,10 @@
 24
 41
 01
-78
+71
 70
 4b
-f9
+fa
 01
 20
 60
@@ -1510,7 +1482,7 @@
 00
 70
 4b
-fb
+fc
 01
 20
 20
@@ -1543,7 +1515,7 @@
 68
 48
 cb
-fa
+fb
 79
 20
 fe
@@ -1555,7 +1527,7 @@
 60
 48
 cb
-fa
+fb
 20
 60
 00
@@ -1575,11 +1547,11 @@
 24
 36
 81
-8c
+85
 6f
 e0
 cb
-f7
+f8
 1f
 e0
 fe
@@ -1587,7 +1559,7 @@
 67
 e0
 cb
-f7
+f8
 6f
 e0
 81
@@ -1763,7 +1735,7 @@
 c0
 02
 01
-b9
+b2
 20
 20
 28
@@ -1779,11 +1751,11 @@
 c0
 05
 01
-be
+b7
 c0
 09
 01
-cd
+c6
 20
 20
 2b
@@ -1811,7 +1783,7 @@
 c2
 81
 81
-c8
+c1
 6f
 e1
 43
@@ -1839,11 +1811,11 @@
 24
 22
 81
-c4
+bd
 24
 34
 01
-c4
+bd
 20
 20
 2d
@@ -1923,7 +1895,7 @@
 c0
 7f
 81
-e7
+e0
 6f
 e0
 c8
@@ -1939,7 +1911,7 @@
 6f
 e0
 cb
-f9
+fa
 20
 7a
 00
@@ -1947,7 +1919,7 @@
 6f
 e0
 cb
-fb
+fc
 24
 7a
 00
@@ -1999,7 +1971,7 @@
 20
 40
 04
-bb
+a6
 20
 20
 5b
@@ -2050,32 +2022,32 @@
 e6
 20
 20
-82
-01
-20
-20
-02
-06
+81
+fe
+68
+48
+cb
+1d
 20
 40
-02
+6f
 0f
-20
-40
-02
-0a
-20
-40
-02
-13
 68
 48
 cb
 1d
+d9
+00
+00
+03
 20
 20
-6f
-0f
+6e
+bd
+70
+4b
+1e
+01
 68
 48
 cb
@@ -2084,34 +2056,18 @@
 40
 6f
 0f
-20
-40
-02
-0d
-20
-20
-02
-0f
+68
+48
+cb
+1d
 d9
 00
 00
 06
 20
-40
+20
 6e
 bd
-20
-20
-02
-27
-d9
-00
-00
-03
-20
-20
-02
-0b
 58
 00
 00
@@ -2132,18 +2088,22 @@
 00
 00
 80
-67
-f0
-81
-41
-37
-d9
-82
-00
 20
 20
 02
-11
+05
+20
+40
+04
+76
+70
+4b
+1e
+00
+20
+20
+55
+0d
 6f
 e1
 43
@@ -2167,11 +2127,27 @@
 20
 40
 02
-1e
+18
+20
+40
+02
+15
 20
 20
 24
 25
+6f
+e0
+cb
+1e
+20
+3a
+02
+04
+20
+20
+02
+08
 60
 04
 40
@@ -2239,7 +2215,7 @@
 20
 22
 82
-31
+2b
 e7
 e0
 80
@@ -2259,7 +2235,7 @@
 c2
 00
 02
-2b
+25
 1a
 42
 04
@@ -2295,7 +2271,7 @@
 20
 3a
 02
-41
+3b
 6f
 e1
 45
@@ -2339,7 +2315,7 @@
 20
 3a
 02
-50
+4a
 6f
 e2
 45
@@ -2355,7 +2331,7 @@
 20
 22
 82
-4d
+47
 20
 20
 35
@@ -2383,7 +2359,7 @@
 20
 20
 02
-48
+42
 20
 40
 54
@@ -2391,7 +2367,7 @@
 20
 40
 02
-56
+50
 20
 20
 54
@@ -2451,7 +2427,7 @@
 c5
 13
 02
-65
+5f
 6f
 e0
 c6
@@ -2463,7 +2439,7 @@
 24
 21
 02
-7f
+79
 6f
 e0
 c6
@@ -2475,7 +2451,7 @@
 24
 21
 02
-6d
+67
 6f
 e0
 c6
@@ -2483,7 +2459,7 @@
 c0
 00
 02
-80
+7a
 20
 60
 00
@@ -2519,7 +2495,7 @@
 c5
 13
 02
-76
+70
 6f
 e0
 c6
@@ -2551,7 +2527,7 @@
 c0
 01
 02
-88
+82
 c0
 00
 b7
@@ -2571,7 +2547,7 @@
 c0
 01
 82
-86
+80
 1f
 e0
 fe
@@ -2587,7 +2563,7 @@
 c0
 01
 02
-88
+82
 70
 41
 41
@@ -2623,7 +2599,7 @@
 58
 00
 02
-98
+96
 67
 e1
 43
@@ -2632,6 +2608,18 @@
 20
 53
 f3
+24
+35
+a0
+02
+37
+d9
+82
+00
+37
+d9
+82
+00
 20
 80
 00
@@ -2639,11 +2627,15 @@
 20
 55
 82
-94
+91
 20
 20
 20
 03
+20
+40
+02
+04
 68
 48
 c6
@@ -2667,7 +2659,7 @@
 20
 40
 04
-4b
+49
 6f
 e4
 47
@@ -2683,7 +2675,7 @@
 c2
 8a
 02
-9f
+9d
 20
 60
 00
@@ -2691,7 +2683,7 @@
 20
 40
 02
-aa
+a8
 20
 40
 5e
@@ -2703,19 +2695,19 @@
 20
 40
 02
-be
+bc
 20
 40
 02
-a7
+a5
 20
 40
 02
-ad
+ab
 20
 40
 02
-c6
+c4
 20
 20
 5d
@@ -2731,7 +2723,7 @@
 20
 40
 04
-c6
+b1
 6f
 e0
 c6
@@ -2771,7 +2763,7 @@
 20
 22
 83
-33
+31
 60
 49
 46
@@ -2823,7 +2815,7 @@
 20
 22
 82
-bb
+b9
 1f
 e6
 7c
@@ -2831,7 +2823,7 @@
 20
 22
 82
-c4
+c2
 20
 61
 00
@@ -2871,7 +2863,7 @@
 20
 3a
 02
-d4
+d2
 67
 e1
 49
@@ -2891,7 +2883,7 @@
 24
 21
 02
-d4
+d2
 1a
 62
 24
@@ -2899,7 +2891,7 @@
 20
 20
 02
-ca
+c8
 6f
 e1
 49
@@ -2927,7 +2919,7 @@
 c2
 8a
 02
-dc
+da
 20
 60
 00
@@ -2935,11 +2927,11 @@
 20
 40
 02
-df
+dd
 20
 40
 02
-e4
+e2
 20
 20
 5c
@@ -2955,11 +2947,11 @@
 c0
 00
 83
-0b
+09
 c0
 01
 03
-1f
+1d
 20
 60
 00
@@ -2983,7 +2975,7 @@
 20
 3a
 02
-f0
+ee
 67
 e0
 c9
@@ -3011,7 +3003,7 @@
 20
 20
 02
-e6
+e4
 6f
 e0
 c9
@@ -3023,7 +3015,7 @@
 20
 3a
 02
-fa
+f8
 6f
 e0
 c6
@@ -3031,7 +3023,7 @@
 20
 40
 03
-08
+06
 67
 e0
 c9
@@ -3063,7 +3055,7 @@
 20
 40
 03
-08
+06
 98
 46
 7c
@@ -3099,7 +3091,7 @@
 20
 22
 82
-f6
+f4
 1a
 60
 a7
@@ -3107,7 +3099,7 @@
 20
 20
 02
-f6
+f4
 c1
 80
 00
@@ -3139,7 +3131,7 @@
 20
 3a
 03
-17
+15
 67
 e3
 49
@@ -3167,7 +3159,7 @@
 20
 20
 03
-0d
+0b
 6f
 e3
 49
@@ -3219,7 +3211,7 @@
 20
 3a
 03
-2b
+29
 67
 e3
 49
@@ -3247,7 +3239,7 @@
 20
 20
 03
-21
+1f
 6f
 e3
 49
@@ -3283,15 +3275,15 @@
 20
 40
 03
-6c
+6a
 20
 40
 03
-84
+82
 20
 40
 03
-37
+35
 20
 20
 5c
@@ -3315,7 +3307,7 @@
 c0
 03
 03
-3d
+3b
 20
 60
 00
@@ -3339,7 +3331,7 @@
 c2
 8a
 03
-43
+41
 20
 60
 00
@@ -3371,7 +3363,7 @@
 20
 3a
 03
-51
+4f
 67
 e0
 c9
@@ -3399,7 +3391,7 @@
 20
 20
 03
-47
+45
 6f
 e0
 c9
@@ -3411,7 +3403,7 @@
 20
 3a
 03
-5b
+59
 6f
 e0
 c6
@@ -3419,7 +3411,7 @@
 20
 40
 03
-69
+67
 67
 e0
 c9
@@ -3451,7 +3443,7 @@
 20
 40
 03
-69
+67
 98
 46
 7c
@@ -3487,7 +3479,7 @@
 20
 22
 83
-57
+55
 1a
 60
 a7
@@ -3495,7 +3487,7 @@
 20
 20
 03
-57
+55
 c1
 80
 00
@@ -3515,7 +3507,7 @@
 c2
 9f
 03
-73
+71
 6f
 e0
 c6
@@ -3527,11 +3519,11 @@
 c0
 00
 83
-73
+71
 c0
 01
 03
-7a
+78
 20
 60
 00
@@ -3599,7 +3591,7 @@
 20
 40
 03
-84
+82
 20
 20
 5a
@@ -3615,7 +3607,7 @@
 c2
 9f
 03
-8c
+8a
 6f
 e0
 c6
@@ -3627,11 +3619,11 @@
 c0
 00
 83
-8c
+8a
 c0
 01
 03
-91
+8f
 20
 60
 00
@@ -3703,7 +3695,7 @@
 20
 40
 03
-9e
+9c
 20
 20
 5c
@@ -3715,11 +3707,11 @@
 c0
 00
 83
-a2
+a0
 c0
 01
 03
-a7
+a5
 20
 60
 00
@@ -3767,7 +3759,7 @@
 20
 40
 03
-c2
+c0
 20
 40
 61
@@ -3839,7 +3831,7 @@
 20
 40
 03
-c5
+c3
 20
 40
 56
@@ -3871,7 +3863,7 @@
 da
 40
 03
-c8
+c6
 20
 20
 42
@@ -3907,31 +3899,31 @@
 c0
 20
 03
-e3
+e1
 c0
 0a
 83
-e8
+e6
 c0
 19
 03
-da
+d8
 c0
 1e
 04
-06
+04
 c0
 1c
 84
-17
+15
 c0
 1d
 04
-1a
+18
 c0
 0a
 03
-d7
+d5
 20
 20
 5a
@@ -3943,7 +3935,7 @@
 67
 e2
 4b
-f8
+f9
 20
 20
 5a
@@ -3955,7 +3947,7 @@
 c0
 00
 83
-de
+dc
 70
 48
 44
@@ -3963,7 +3955,7 @@
 20
 20
 03
-e0
+de
 20
 40
 5a
@@ -3975,11 +3967,11 @@
 6f
 e0
 cb
-f7
+f8
 67
 e0
 cb
-f8
+f9
 20
 20
 5a
@@ -4039,7 +4031,7 @@
 c2
 8d
 83
-f2
+f0
 d8
 40
 00
@@ -4067,7 +4059,7 @@
 20
 20
 03
-f8
+f6
 20
 40
 5b
@@ -4079,7 +4071,7 @@
 c2
 83
 83
-fd
+fb
 c2
 80
 42
@@ -4115,7 +4107,7 @@
 6f
 e0
 cb
-fb
+fc
 24
 3a
 54
@@ -4187,7 +4179,7 @@
 20
 40
 04
-4e
+4c
 20
 20
 60
@@ -4199,7 +4191,7 @@
 20
 40
 04
-4e
+4c
 20
 20
 60
@@ -4211,7 +4203,7 @@
 20
 40
 04
-4e
+4c
 6f
 e0
 c8
@@ -4235,7 +4227,7 @@
 c0
 02
 04
-25
+23
 c0
 00
 e0
@@ -4243,7 +4235,7 @@
 c0
 01
 84
-2c
+2a
 20
 20
 60
@@ -4307,7 +4299,7 @@
 c2
 9f
 04
-37
+35
 6f
 e0
 c6
@@ -4315,7 +4307,7 @@
 c0
 00
 04
-3e
+3c
 20
 20
 54
@@ -4327,7 +4319,7 @@
 20
 34
 04
-3a
+38
 20
 20
 60
@@ -4347,7 +4339,7 @@
 20
 20
 04
-29
+27
 6f
 e4
 47
@@ -4375,7 +4367,7 @@
 c2
 98
 04
-46
+44
 20
 20
 60
@@ -4435,7 +4427,7 @@
 20
 40
 04
-55
+53
 20
 20
 5e
@@ -4463,7 +4455,7 @@
 20
 40
 04
-5c
+5a
 20
 20
 56
@@ -4491,7 +4483,7 @@
 c0
 7f
 84
-63
+61
 20
 20
 56
@@ -4511,7 +4503,7 @@
 20
 20
 04
-67
+65
 1a
 62
 7e
@@ -4571,7 +4563,7 @@
 20
 40
 04
-78
+76
 6f
 e1
 c6
@@ -4647,7 +4639,7 @@
 20
 40
 04
-78
+76
 20
 40
 56
@@ -4720,86 +4712,10 @@
 40
 6f
 0f
-68
-48
-c6
-5b
-20
-40
-55
-b5
-20
-40
-04
-9f
 20
 20
 54
-e5
-6f
-e1
-c7
-3c
-67
-e1
-86
-70
-df
-20
-00
-18
-d8
-40
-00
-00
-6f
-e1
-86
-70
-2f
-ef
-fe
-00
-20
-40
-84
-ac
-6f
-e1
-86
-70
-1f
-e3
-7e
-00
-67
-e1
-86
-70
-18
-40
-84
-01
-c2
-00
-04
-a3
-20
-60
-00
-00
-18
-46
-7c
-ff
-20
-62
-80
-00
-20
-20
-6f
-0b
+e2
 c6
 93
 00
@@ -4823,7 +4739,7 @@
 24
 5a
 04
-c4
+af
 6f
 e4
 47
@@ -4831,7 +4747,7 @@
 c3
 0b
 04
-b9
+a4
 6f
 e0
 c9
@@ -4843,7 +4759,7 @@
 20
 40
 04
-bb
+a6
 20
 20
 60
@@ -4887,11 +4803,11 @@
 20
 40
 04
-78
+76
 20
 20
 02
-27
+21
 6f
 e4
 47
@@ -4951,7 +4867,7 @@
 c0
 2c
 04
-d6
+c1
 20
 20
 59
@@ -4967,7 +4883,7 @@
 c0
 2c
 84
-da
+c5
 20
 20
 59
@@ -4999,7 +4915,7 @@
 c0
 05
 84
-e2
+cd
 20
 20
 59
@@ -5015,57 +4931,289 @@
 c0
 7f
 84
-e8
+d3
 68
 48
 c6
 59
 20
 40
-6e
-e6
-24
-60
-80
-00
-58
-00
-00
-00
+6e
+e6
+24
+60
+80
+00
+58
+00
+00
+00
+20
+40
+69
+e5
+c0
+ac
+59
+55
+20
+20
+5a
+2f
+78
+54
+7c
+00
+58
+00
+00
+00
+67
+e3
+48
+47
+20
+40
+04
+c8
+58
+00
+00
+89
+20
+40
+69
+e4
+20
+40
+57
+47
+20
+40
+56
+12
+20
+40
+56
+17
+20
+40
+04
+e2
+20
+20
+56
+0c
+20
+40
+58
+4c
+6f
+e0
+c9
+87
+24
+3a
+58
+60
+6f
+e0
+c9
+82
+24
+3a
+58
+5f
+20
+40
+58
+88
+20
+40
+04
+ea
+20
+20
+57
+ad
+70
+49
+79
+00
+70
+49
+7a
+00
+70
+49
+7b
+00
+1f
+e2
+24
+00
+68
+48
+c6
+44
+6f
+e0
+c6
+47
+98
+46
+7c
+00
+20
+22
+84
+fc
+6f
+e0
+c6
+48
+98
+46
+7c
+00
+20
+22
+85
+02
+68
+48
+c6
+45
+6f
+e0
+c6
+47
+98
+46
+7c
+00
+20
+22
+85
+0b
+20
+40
+57
+fb
+20
+40
+05
+10
+20
+20
+57
+e5
+68
+48
+c6
+45
+6f
+e0
+c6
+48
+98
+46
+7c
+00
+20
+22
+d7
+d6
+20
+40
+57
+ef
+20
+20
+05
+0c
+68
+48
+c6
+45
+6f
+e0
+c6
+47
+98
+46
+7c
+00
+20
+22
+85
+08
+20
+40
+05
+12
+20
+20
+04
+fa
+20
+40
+05
+12
+20
+40
+05
+0e
+20
+20
+57
+e5
+20
+40
+05
+0e
 20
 40
-69
+05
+14
+20
+20
+57
 e5
-c0
-ac
-59
-55
+1a
+41
+7e
+12
 20
 20
-5a
-2f
-78
-54
-7c
-00
-58
-00
-00
-00
-67
-e3
-48
-47
+57
+f3
+1a
+41
+7e
+0a
 20
-40
-04
-dd
 20
+57
+f6
+1a
+41
+7e
+11
 20
-56
-06
-67
-50
+20
+57
+f9
+1a
+41
+7e
+12
+20
+20
+57
+ff
+8b
+dc
 aa
 55
 40
@@ -5086,7 +5234,7 @@
 00
 00
 53
-88
+18
 84
 f2
 7d
@@ -5513,8 +5661,8 @@
 00
 4a
 47
-74
-d6
+60
+ea
 00
 00
 77
@@ -5761,7 +5909,7 @@
 42
 06
 00
-06
+09
 00
 20
 00
@@ -6089,7 +6237,7 @@
 ff
 aa
 55
-1e
+1a
 00
 d6
 48
@@ -6105,20 +6253,16 @@
 41
 a1
 12
-a5
-84
 a7
 ff
-b5
-d0
 b6
 00
-ff
-00
-35
+b5
 c8
-25
+a5
 af
+ff
+00
 09
 00
 ff
@@ -6369,154 +6513,10 @@
 aa
 aa
 55
-bf
-60
-dd
-7b
-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
-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
-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
+a0
+5e
+8e
+0f
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-67
-43
+e9
+bc
Index: output/memmap.format
===================================================================
--- /1121s/branch/mouse/ZXS_Project/1m/mouse_public_1M/output/memmap.format	(revision 1541)
+++ /1121s/branch/mouse/ZXS_Project/1m/mouse_public_1M/output/memmap.format	(working copy)
@@ -1970,90 +1970,91 @@
 0x4a9d mem_le_tx_buffer2_omemalloc_new
 0x4add mem_le_tx_buffer3_omemalloc_new
 0x4b1d mem_mouse_wheel_temp_gpio
-0x4b1e mem_24g_txpayload_buf
-0x4b2e mem_release_data_from_receiver_enable
-0x4b2f mem_release_data_from_transmiter_enable
-0x4b30 mem_flippen_key0_gpio
-0x4b31 mem_flippen_key1_gpio
-0x4b32 mem_flippen_key2_gpio
-0x4b33 mem_flippen_key3_gpio
-0x4b34 mem_flippen_key4_gpio
-0x4b35 mem_flippen_key5_gpio
-0x4b36 mem_flippen_key6_gpio
-0x4b37 mem_flippen_key7_gpio
-0x4b38 mem_flippen_key0_press_status
-0x4b39 mem_flippen_key1_press_status
-0x4b3a mem_flippen_key2_press_status
-0x4b3b mem_flippen_key3_press_status
-0x4b3c mem_flippen_key4_press_status
-0x4b3d mem_flippen_key5_press_status
-0x4b3e mem_flippen_key6_press_status
-0x4b3f mem_flippen_key7_press_status
-0x4b40 mem_key_press_data
-0x4b40 mem_key_pageup_data
-0x4b49 mem_key_pagedown_data
-0x4b52 mem_key_shift_f5_data
-0x4b5b mem_key_esc_data
-0x4b64 mem_key_b_data
-0x4b6d mem_key_tab
-0x4b76 mem_key_enter
-0x4b7f mem_key_alt_tab
-0x4b88 mem_key_alt_f4
-0x4b91 mem_key_play_pause
-0x4b9a mem_key_vol_up
-0x4ba3 mem_key_vol_down
-0x4bac mem_standard_key_release
-0x4bb5 mem_system_ctrl_key_release
-0x4bbe mem_media_key_release
-0x4bc7 mem_key0_long_press_flag
-0x4bc8 mem_key1_long_press_flag
-0x4bc9 mem_key2_long_press_flag
-0x4bca mem_key3_long_press_flag
-0x4bcb mem_key4_long_press_flag
-0x4bcc mem_key0_long_press_event
-0x4bcd mem_key1_long_press_event
-0x4bce mem_key2_long_press_event
-0x4bcf mem_key3_long_press_event
-0x4bd0 mem_key4_long_press_event
-0x4bd1 mem_key0_short_press_flag
-0x4bd2 mem_key1_short_press_flag
-0x4bd3 mem_key2_short_press_flag
-0x4bd4 mem_key3_short_press_flag
-0x4bd5 mem_key4_short_press_flag
-0x4bd6 mem_key0_press_timer_count
-0x4bd7 mem_key1_press_timer_count
-0x4bd8 mem_key2_press_timer_count
-0x4bd9 mem_key3_press_timer_count
-0x4bda mem_key4_press_timer_count
-0x4bdb mem_combination_key_down_flag
-0x4bdc mem_combination_key_longpress_flag
-0x4bdd mem_key_disable_timer
-0x4bde mem_24g_calculate_package_id_disable
-0x4bdf mem_24g_package_id_abandon_flag
-0x4be0 mem_24g_package_id
-0x4be1 mem_key_state
-0x4be2 mem_key_press_state
-0x4be3 mem_poweron_first_blank_data_enable
-0x4be4 mem_flippen_no_data_timeout
-0x4be6 mem_flippen_start_pair_no_data_timeout
-0x4be8 mem_key_longpress_timer_init
-0x4bea mem_key_longpress_timer
-0x4bec mem_low_voltage_led_blink_flag
-0x4bed mem_low_voltage_led_blink_start_timer
-0x4bee mem_poweron_led_blink_flag
-0x4bef mem_24g_pair_enable_flag
-0x4bf0 mem_24g_ch_work
-0x4bf1 mem_24g_pair_key_down_flag
-0x4bf2 mem_24g_pairing_stop_flag
-0x4bf3 mem_longpress_24g_enter_hibernate_flag
-0x4bf4 mem_g24_connected_state
-0x4bf5 mem_g24_pairing_stop_flag
-0x4bf6 mem_send_package_before_check
-0x4bf7 mem_le_conn_rcv_new
-0x4bf8 mem_le_conn_first_rcv
-0x4bf9 mem_le_check_retransmit_flag
-0x4bfa mem_le_retransmit_cnt
-0x4bfb mem_le_check_retransmit_discon_flag
+0x4b1e mem_mouse_qdec_set_flag
+0x4b1f mem_24g_txpayload_buf
+0x4b2f mem_release_data_from_receiver_enable
+0x4b30 mem_release_data_from_transmiter_enable
+0x4b31 mem_flippen_key0_gpio
+0x4b32 mem_flippen_key1_gpio
+0x4b33 mem_flippen_key2_gpio
+0x4b34 mem_flippen_key3_gpio
+0x4b35 mem_flippen_key4_gpio
+0x4b36 mem_flippen_key5_gpio
+0x4b37 mem_flippen_key6_gpio
+0x4b38 mem_flippen_key7_gpio
+0x4b39 mem_flippen_key0_press_status
+0x4b3a mem_flippen_key1_press_status
+0x4b3b mem_flippen_key2_press_status
+0x4b3c mem_flippen_key3_press_status
+0x4b3d mem_flippen_key4_press_status
+0x4b3e mem_flippen_key5_press_status
+0x4b3f mem_flippen_key6_press_status
+0x4b40 mem_flippen_key7_press_status
+0x4b41 mem_key_press_data
+0x4b41 mem_key_pageup_data
+0x4b4a mem_key_pagedown_data
+0x4b53 mem_key_shift_f5_data
+0x4b5c mem_key_esc_data
+0x4b65 mem_key_b_data
+0x4b6e mem_key_tab
+0x4b77 mem_key_enter
+0x4b80 mem_key_alt_tab
+0x4b89 mem_key_alt_f4
+0x4b92 mem_key_play_pause
+0x4b9b mem_key_vol_up
+0x4ba4 mem_key_vol_down
+0x4bad mem_standard_key_release
+0x4bb6 mem_system_ctrl_key_release
+0x4bbf mem_media_key_release
+0x4bc8 mem_key0_long_press_flag
+0x4bc9 mem_key1_long_press_flag
+0x4bca mem_key2_long_press_flag
+0x4bcb mem_key3_long_press_flag
+0x4bcc mem_key4_long_press_flag
+0x4bcd mem_key0_long_press_event
+0x4bce mem_key1_long_press_event
+0x4bcf mem_key2_long_press_event
+0x4bd0 mem_key3_long_press_event
+0x4bd1 mem_key4_long_press_event
+0x4bd2 mem_key0_short_press_flag
+0x4bd3 mem_key1_short_press_flag
+0x4bd4 mem_key2_short_press_flag
+0x4bd5 mem_key3_short_press_flag
+0x4bd6 mem_key4_short_press_flag
+0x4bd7 mem_key0_press_timer_count
+0x4bd8 mem_key1_press_timer_count
+0x4bd9 mem_key2_press_timer_count
+0x4bda mem_key3_press_timer_count
+0x4bdb mem_key4_press_timer_count
+0x4bdc mem_combination_key_down_flag
+0x4bdd mem_combination_key_longpress_flag
+0x4bde mem_key_disable_timer
+0x4bdf mem_24g_calculate_package_id_disable
+0x4be0 mem_24g_package_id_abandon_flag
+0x4be1 mem_24g_package_id
+0x4be2 mem_key_state
+0x4be3 mem_key_press_state
+0x4be4 mem_poweron_first_blank_data_enable
+0x4be5 mem_flippen_no_data_timeout
+0x4be7 mem_flippen_start_pair_no_data_timeout
+0x4be9 mem_key_longpress_timer_init
+0x4beb mem_key_longpress_timer
+0x4bed mem_low_voltage_led_blink_flag
+0x4bee mem_low_voltage_led_blink_start_timer
+0x4bef mem_poweron_led_blink_flag
+0x4bf0 mem_24g_pair_enable_flag
+0x4bf1 mem_24g_ch_work
+0x4bf2 mem_24g_pair_key_down_flag
+0x4bf3 mem_24g_pairing_stop_flag
+0x4bf4 mem_longpress_24g_enter_hibernate_flag
+0x4bf5 mem_g24_connected_state
+0x4bf6 mem_g24_pairing_stop_flag
+0x4bf7 mem_send_package_before_check
+0x4bf8 mem_le_conn_rcv_new
+0x4bf9 mem_le_conn_first_rcv
+0x4bfa mem_le_check_retransmit_flag
+0x4bfb mem_le_retransmit_cnt
+0x4bfc mem_le_check_retransmit_discon_flag
 0x462d mem_remote_car_hard_soft_switch
 0x462e mem_remote_car_queue_each_size
 0x462f mem_remote_car_queue_length
Index: output/otp.dat
===================================================================
--- /1121s/branch/mouse/ZXS_Project/1m/mouse_public_1M/output/otp.dat	(revision 1541)
+++ /1121s/branch/mouse/ZXS_Project/1m/mouse_public_1M/output/otp.dat	(working copy)
@@ -11,8 +11,8 @@
 00
 aa
 55
-c6
-13
+5a
+14
 c2
 84
 00
@@ -20,147 +20,147 @@
 c0
 00
 02
-91
+8b
 c0
 01
 00
-3b
+35
 c0
 08
 00
-44
+3e
 c0
 08
 80
-46
+40
 c0
 0a
 01
-45
+3e
 c0
 0a
 80
-c7
+c0
 c0
 0c
 00
-e7
+e0
 c0
 0c
 80
-ee
+e7
 c0
 0d
 00
-54
+4e
 c0
 12
 82
-17
+0d
 c0
 34
 02
-8a
+84
 c0
 34
 82
-99
+97
 c0
 36
 02
-53
+4d
 c0
 37
 04
-32
+30
 c0
 39
 84
-87
+85
 c0
-3b
-80
-35
+3a
+02
+0a
 c0
 3d
 04
-ec
+d7
 c0
 3f
 84
-67
+65
 c0
 40
 84
-d1
+bc
 c0
 42
 03
-82
+80
 c0
 42
 83
-ce
+cc
 c0
 43
 01
-dc
+d5
 c0
 43
 83
-ac
+aa
 c0
 44
 03
-cc
+ca
 c0
 45
 03
-96
+94
+c0
+45
+82
+ae
 c0
 46
 02
-d7
+d5
 c0
 46
 83
-3f
+3d
 c0
 47
 04
-51
-c0
-45
-82
-b0
+4f
 c0
 48
 04
-c6
+b1
 c0
 4a
 84
-7e
+7c
 c0
 4b
 04
-af
+9a
+c0
+62
+82
+30
 c0
 6a
 81
-fb
+f4
 c0
 6b
 01
-f4
-c0
-62
-82
-36
+ed
 c0
 6d
 01
-2e
+27
 20
 20
 23
@@ -168,55 +168,55 @@
 c0
 0a
 01
-66
+5f
 c0
 0d
 01
-65
+5e
 c0
 12
 81
-95
+8e
 c0
 13
 01
-9a
+93
 c0
 1c
 81
-ac
+a5
 c0
 1d
 01
-b6
+af
 c0
 26
 01
-b2
+ab
 c0
 26
 81
-b0
+a9
 c0
 48
 02
-39
+33
 c0
 4b
 04
-72
+70
 c0
 4d
 00
-d5
+ce
 c0
 4e
 80
-dc
+d5
 c0
 4f
 82
-5b
+55
 c1
 7f
 80
@@ -227,30 +227,6 @@
 5a
 20
 40
-6f
-82
-20
-40
-6f
-b0
-1f
-e6
-fc
-0a
-20
-40
-7d
-5f
-67
-e1
-46
-33
-20
-20
-55
-53
-20
-40
 75
 52
 20
@@ -284,7 +260,7 @@
 20
 20
 00
-3b
+35
 70
 89
 00
@@ -392,7 +368,7 @@
 20
 40
 00
-9b
+95
 20
 40
 70
@@ -424,7 +400,7 @@
 c0
 08
 00
-90
+8a
 6f
 e0
 c4
@@ -468,7 +444,7 @@
 20
 40
 00
-82
+7c
 70
 80
 43
@@ -491,16 +467,16 @@
 6e
 20
 40
-01
-01
+00
+fa
 20
 40
 01
-2c
+25
 20
 40
 00
-7c
+76
 70
 41
 48
@@ -540,7 +516,7 @@
 c0
 0c
 00
-88
+82
 6f
 e0
 c4
@@ -632,11 +608,11 @@
 20
 20
 00
-6f
+69
 20
 35
 80
-c3
+a7
 6f
 e2
 02
@@ -706,6 +682,18 @@
 82
 00
 6f
+e1
+41
+5b
+20
+7a
+00
+00
+67
+e1
+02
+0f
+6f
 f0
 8a
 cb
@@ -793,22 +781,6 @@
 60
 00
 00
-6f
-e1
-41
-5b
-20
-7a
-00
-00
-67
-e1
-02
-0f
-20
-20
-00
-ad
 20
 40
 68
@@ -876,7 +848,7 @@
 20
 40
 00
-d9
+d2
 20
 20
 60
@@ -908,7 +880,7 @@
 24
 21
 00
-e1
+da
 20
 20
 36
@@ -932,7 +904,7 @@
 20
 40
 02
-80
+7a
 20
 20
 36
@@ -976,15 +948,15 @@
 c0
 05
 00
-f4
+ed
 c0
 4f
 00
-fd
+f6
 c0
 55
 00
-f9
+f2
 20
 20
 22
@@ -1092,7 +1064,7 @@
 20
 40
 01
-1e
+17
 2a
 2f
 fe
@@ -1124,7 +1096,7 @@
 20
 40
 01
-1e
+17
 d8
 a0
 8a
@@ -1152,7 +1124,7 @@
 20
 21
 01
-13
+0c
 20
 20
 21
@@ -1252,7 +1224,7 @@
 20
 40
 01
-3e
+37
 70
 8a
 08
@@ -1296,7 +1268,7 @@
 c3
 02
 81
-3f
+38
 68
 59
 01
@@ -1332,7 +1304,7 @@
 c0
 08
 01
-5e
+57
 58
 00
 57
@@ -1376,7 +1348,7 @@
 c0
 08
 01
-5b
+54
 58
 00
 2b
@@ -1412,7 +1384,7 @@
 20
 20
 01
-57
+50
 58
 00
 83
@@ -1424,11 +1396,11 @@
 20
 20
 01
-4c
+45
 6f
 e0
 cb
-f7
+f8
 da
 60
 01
@@ -1444,11 +1416,11 @@
 20
 20
 01
-85
+7e
 20
 40
 01
-68
+61
 20
 20
 25
@@ -1456,7 +1428,7 @@
 6f
 e0
 cb
-f8
+f9
 20
 7a
 00
@@ -1464,7 +1436,7 @@
 6f
 e0
 cb
-f9
+fa
 24
 7a
 00
@@ -1472,11 +1444,11 @@
 68
 48
 cb
-f8
+f9
 6f
 e0
 cb
-f7
+f8
 98
 46
 7c
@@ -1484,7 +1456,7 @@
 24
 41
 01
-61
+5a
 98
 46
 7e
@@ -1496,11 +1468,11 @@
 20
 21
 01
-7a
+73
 6f
 e0
 cb
-fa
+fb
 1f
 e6
 7c
@@ -1508,10 +1480,10 @@
 24
 41
 01
-78
+71
 70
 4b
-f9
+fa
 01
 20
 60
@@ -1519,7 +1491,7 @@
 00
 70
 4b
-fb
+fc
 01
 20
 20
@@ -1552,7 +1524,7 @@
 68
 48
 cb
-fa
+fb
 79
 20
 fe
@@ -1564,7 +1536,7 @@
 60
 48
 cb
-fa
+fb
 20
 60
 00
@@ -1584,11 +1556,11 @@
 24
 36
 81
-8c
+85
 6f
 e0
 cb
-f7
+f8
 1f
 e0
 fe
@@ -1596,7 +1568,7 @@
 67
 e0
 cb
-f7
+f8
 6f
 e0
 81
@@ -1772,7 +1744,7 @@
 c0
 02
 01
-b9
+b2
 20
 20
 28
@@ -1788,11 +1760,11 @@
 c0
 05
 01
-be
+b7
 c0
 09
 01
-cd
+c6
 20
 20
 2b
@@ -1820,7 +1792,7 @@
 c2
 81
 81
-c8
+c1
 6f
 e1
 43
@@ -1848,11 +1820,11 @@
 24
 22
 81
-c4
+bd
 24
 34
 01
-c4
+bd
 20
 20
 2d
@@ -1932,7 +1904,7 @@
 c0
 7f
 81
-e7
+e0
 6f
 e0
 c8
@@ -1948,7 +1920,7 @@
 6f
 e0
 cb
-f9
+fa
 20
 7a
 00
@@ -1956,7 +1928,7 @@
 6f
 e0
 cb
-fb
+fc
 24
 7a
 00
@@ -2008,7 +1980,7 @@
 20
 40
 04
-bb
+a6
 20
 20
 5b
@@ -2059,32 +2031,32 @@
 e6
 20
 20
-82
-01
-20
-20
-02
-06
+81
+fe
+68
+48
+cb
+1d
 20
 40
-02
+6f
 0f
-20
-40
-02
-0a
-20
-40
-02
-13
 68
 48
 cb
 1d
+d9
+00
+00
+03
 20
 20
-6f
-0f
+6e
+bd
+70
+4b
+1e
+01
 68
 48
 cb
@@ -2093,34 +2065,18 @@
 40
 6f
 0f
-20
-40
-02
-0d
-20
-20
-02
-0f
+68
+48
+cb
+1d
 d9
 00
 00
 06
 20
-40
+20
 6e
 bd
-20
-20
-02
-27
-d9
-00
-00
-03
-20
-20
-02
-0b
 58
 00
 00
@@ -2141,18 +2097,22 @@
 00
 00
 80
-67
-f0
-81
-41
-37
-d9
-82
-00
 20
 20
 02
-11
+05
+20
+40
+04
+76
+70
+4b
+1e
+00
+20
+20
+55
+0d
 6f
 e1
 43
@@ -2176,11 +2136,27 @@
 20
 40
 02
-1e
+18
+20
+40
+02
+15
 20
 20
 24
 25
+6f
+e0
+cb
+1e
+20
+3a
+02
+04
+20
+20
+02
+08
 60
 04
 40
@@ -2248,7 +2224,7 @@
 20
 22
 82
-31
+2b
 e7
 e0
 80
@@ -2268,7 +2244,7 @@
 c2
 00
 02
-2b
+25
 1a
 42
 04
@@ -2304,7 +2280,7 @@
 20
 3a
 02
-41
+3b
 6f
 e1
 45
@@ -2348,7 +2324,7 @@
 20
 3a
 02
-50
+4a
 6f
 e2
 45
@@ -2364,7 +2340,7 @@
 20
 22
 82
-4d
+47
 20
 20
 35
@@ -2392,7 +2368,7 @@
 20
 20
 02
-48
+42
 20
 40
 54
@@ -2400,7 +2376,7 @@
 20
 40
 02
-56
+50
 20
 20
 54
@@ -2460,7 +2436,7 @@
 c5
 13
 02
-65
+5f
 6f
 e0
 c6
@@ -2472,7 +2448,7 @@
 24
 21
 02
-7f
+79
 6f
 e0
 c6
@@ -2484,7 +2460,7 @@
 24
 21
 02
-6d
+67
 6f
 e0
 c6
@@ -2492,7 +2468,7 @@
 c0
 00
 02
-80
+7a
 20
 60
 00
@@ -2528,7 +2504,7 @@
 c5
 13
 02
-76
+70
 6f
 e0
 c6
@@ -2560,7 +2536,7 @@
 c0
 01
 02
-88
+82
 c0
 00
 b7
@@ -2580,7 +2556,7 @@
 c0
 01
 82
-86
+80
 1f
 e0
 fe
@@ -2596,7 +2572,7 @@
 c0
 01
 02
-88
+82
 70
 41
 41
@@ -2632,7 +2608,7 @@
 58
 00
 02
-98
+96
 67
 e1
 43
@@ -2641,6 +2617,18 @@
 20
 53
 f3
+24
+35
+a0
+02
+37
+d9
+82
+00
+37
+d9
+82
+00
 20
 80
 00
@@ -2648,11 +2636,15 @@
 20
 55
 82
-94
+91
 20
 20
 20
 03
+20
+40
+02
+04
 68
 48
 c6
@@ -2676,7 +2668,7 @@
 20
 40
 04
-4b
+49
 6f
 e4
 47
@@ -2692,7 +2684,7 @@
 c2
 8a
 02
-9f
+9d
 20
 60
 00
@@ -2700,7 +2692,7 @@
 20
 40
 02
-aa
+a8
 20
 40
 5e
@@ -2712,19 +2704,19 @@
 20
 40
 02
-be
+bc
 20
 40
 02
-a7
+a5
 20
 40
 02
-ad
+ab
 20
 40
 02
-c6
+c4
 20
 20
 5d
@@ -2740,7 +2732,7 @@
 20
 40
 04
-c6
+b1
 6f
 e0
 c6
@@ -2780,7 +2772,7 @@
 20
 22
 83
-33
+31
 60
 49
 46
@@ -2832,7 +2824,7 @@
 20
 22
 82
-bb
+b9
 1f
 e6
 7c
@@ -2840,7 +2832,7 @@
 20
 22
 82
-c4
+c2
 20
 61
 00
@@ -2880,7 +2872,7 @@
 20
 3a
 02
-d4
+d2
 67
 e1
 49
@@ -2900,7 +2892,7 @@
 24
 21
 02
-d4
+d2
 1a
 62
 24
@@ -2908,7 +2900,7 @@
 20
 20
 02
-ca
+c8
 6f
 e1
 49
@@ -2936,7 +2928,7 @@
 c2
 8a
 02
-dc
+da
 20
 60
 00
@@ -2944,11 +2936,11 @@
 20
 40
 02
-df
+dd
 20
 40
 02
-e4
+e2
 20
 20
 5c
@@ -2964,11 +2956,11 @@
 c0
 00
 83
-0b
+09
 c0
 01
 03
-1f
+1d
 20
 60
 00
@@ -2992,7 +2984,7 @@
 20
 3a
 02
-f0
+ee
 67
 e0
 c9
@@ -3020,7 +3012,7 @@
 20
 20
 02
-e6
+e4
 6f
 e0
 c9
@@ -3032,7 +3024,7 @@
 20
 3a
 02
-fa
+f8
 6f
 e0
 c6
@@ -3040,7 +3032,7 @@
 20
 40
 03
-08
+06
 67
 e0
 c9
@@ -3072,7 +3064,7 @@
 20
 40
 03
-08
+06
 98
 46
 7c
@@ -3108,7 +3100,7 @@
 20
 22
 82
-f6
+f4
 1a
 60
 a7
@@ -3116,7 +3108,7 @@
 20
 20
 02
-f6
+f4
 c1
 80
 00
@@ -3148,7 +3140,7 @@
 20
 3a
 03
-17
+15
 67
 e3
 49
@@ -3176,7 +3168,7 @@
 20
 20
 03
-0d
+0b
 6f
 e3
 49
@@ -3228,7 +3220,7 @@
 20
 3a
 03
-2b
+29
 67
 e3
 49
@@ -3256,7 +3248,7 @@
 20
 20
 03
-21
+1f
 6f
 e3
 49
@@ -3292,15 +3284,15 @@
 20
 40
 03
-6c
+6a
 20
 40
 03
-84
+82
 20
 40
 03
-37
+35
 20
 20
 5c
@@ -3324,7 +3316,7 @@
 c0
 03
 03
-3d
+3b
 20
 60
 00
@@ -3348,7 +3340,7 @@
 c2
 8a
 03
-43
+41
 20
 60
 00
@@ -3380,7 +3372,7 @@
 20
 3a
 03
-51
+4f
 67
 e0
 c9
@@ -3408,7 +3400,7 @@
 20
 20
 03
-47
+45
 6f
 e0
 c9
@@ -3420,7 +3412,7 @@
 20
 3a
 03
-5b
+59
 6f
 e0
 c6
@@ -3428,7 +3420,7 @@
 20
 40
 03
-69
+67
 67
 e0
 c9
@@ -3460,7 +3452,7 @@
 20
 40
 03
-69
+67
 98
 46
 7c
@@ -3496,7 +3488,7 @@
 20
 22
 83
-57
+55
 1a
 60
 a7
@@ -3504,7 +3496,7 @@
 20
 20
 03
-57
+55
 c1
 80
 00
@@ -3524,7 +3516,7 @@
 c2
 9f
 03
-73
+71
 6f
 e0
 c6
@@ -3536,11 +3528,11 @@
 c0
 00
 83
-73
+71
 c0
 01
 03
-7a
+78
 20
 60
 00
@@ -3608,7 +3600,7 @@
 20
 40
 03
-84
+82
 20
 20
 5a
@@ -3624,7 +3616,7 @@
 c2
 9f
 03
-8c
+8a
 6f
 e0
 c6
@@ -3636,11 +3628,11 @@
 c0
 00
 83
-8c
+8a
 c0
 01
 03
-91
+8f
 20
 60
 00
@@ -3712,7 +3704,7 @@
 20
 40
 03
-9e
+9c
 20
 20
 5c
@@ -3724,11 +3716,11 @@
 c0
 00
 83
-a2
+a0
 c0
 01
 03
-a7
+a5
 20
 60
 00
@@ -3776,7 +3768,7 @@
 20
 40
 03
-c2
+c0
 20
 40
 61
@@ -3848,7 +3840,7 @@
 20
 40
 03
-c5
+c3
 20
 40
 56
@@ -3880,7 +3872,7 @@
 da
 40
 03
-c8
+c6
 20
 20
 42
@@ -3916,31 +3908,31 @@
 c0
 20
 03
-e3
+e1
 c0
 0a
 83
-e8
+e6
 c0
 19
 03
-da
+d8
 c0
 1e
 04
-06
+04
 c0
 1c
 84
-17
+15
 c0
 1d
 04
-1a
+18
 c0
 0a
 03
-d7
+d5
 20
 20
 5a
@@ -3952,7 +3944,7 @@
 67
 e2
 4b
-f8
+f9
 20
 20
 5a
@@ -3964,7 +3956,7 @@
 c0
 00
 83
-de
+dc
 70
 48
 44
@@ -3972,7 +3964,7 @@
 20
 20
 03
-e0
+de
 20
 40
 5a
@@ -3984,11 +3976,11 @@
 6f
 e0
 cb
-f7
+f8
 67
 e0
 cb
-f8
+f9
 20
 20
 5a
@@ -4048,7 +4040,7 @@
 c2
 8d
 83
-f2
+f0
 d8
 40
 00
@@ -4076,7 +4068,7 @@
 20
 20
 03
-f8
+f6
 20
 40
 5b
@@ -4088,7 +4080,7 @@
 c2
 83
 83
-fd
+fb
 c2
 80
 42
@@ -4124,7 +4116,7 @@
 6f
 e0
 cb
-fb
+fc
 24
 3a
 54
@@ -4196,7 +4188,7 @@
 20
 40
 04
-4e
+4c
 20
 20
 60
@@ -4208,7 +4200,7 @@
 20
 40
 04
-4e
+4c
 20
 20
 60
@@ -4220,7 +4212,7 @@
 20
 40
 04
-4e
+4c
 6f
 e0
 c8
@@ -4244,7 +4236,7 @@
 c0
 02
 04
-25
+23
 c0
 00
 e0
@@ -4252,7 +4244,7 @@
 c0
 01
 84
-2c
+2a
 20
 20
 60
@@ -4316,7 +4308,7 @@
 c2
 9f
 04
-37
+35
 6f
 e0
 c6
@@ -4324,7 +4316,7 @@
 c0
 00
 04
-3e
+3c
 20
 20
 54
@@ -4336,7 +4328,7 @@
 20
 34
 04
-3a
+38
 20
 20
 60
@@ -4356,7 +4348,7 @@
 20
 20
 04
-29
+27
 6f
 e4
 47
@@ -4384,7 +4376,7 @@
 c2
 98
 04
-46
+44
 20
 20
 60
@@ -4444,7 +4436,7 @@
 20
 40
 04
-55
+53
 20
 20
 5e
@@ -4472,7 +4464,7 @@
 20
 40
 04
-5c
+5a
 20
 20
 56
@@ -4500,7 +4492,7 @@
 c0
 7f
 84
-63
+61
 20
 20
 56
@@ -4520,7 +4512,7 @@
 20
 20
 04
-67
+65
 1a
 62
 7e
@@ -4580,7 +4572,7 @@
 20
 40
 04
-78
+76
 6f
 e1
 c6
@@ -4656,7 +4648,7 @@
 20
 40
 04
-78
+76
 20
 40
 56
@@ -4729,86 +4721,10 @@
 40
 6f
 0f
-68
-48
-c6
-5b
-20
-40
-55
-b5
-20
-40
-04
-9f
 20
 20
 54
-e5
-6f
-e1
-c7
-3c
-67
-e1
-86
-70
-df
-20
-00
-18
-d8
-40
-00
-00
-6f
-e1
-86
-70
-2f
-ef
-fe
-00
-20
-40
-84
-ac
-6f
-e1
-86
-70
-1f
-e3
-7e
-00
-67
-e1
-86
-70
-18
-40
-84
-01
-c2
-00
-04
-a3
-20
-60
-00
-00
-18
-46
-7c
-ff
-20
-62
-80
-00
-20
-20
-6f
-0b
+e2
 c6
 93
 00
@@ -4832,7 +4748,7 @@
 24
 5a
 04
-c4
+af
 6f
 e4
 47
@@ -4840,7 +4756,7 @@
 c3
 0b
 04
-b9
+a4
 6f
 e0
 c9
@@ -4852,7 +4768,7 @@
 20
 40
 04
-bb
+a6
 20
 20
 60
@@ -4896,11 +4812,11 @@
 20
 40
 04
-78
+76
 20
 20
 02
-27
+21
 6f
 e4
 47
@@ -4960,7 +4876,7 @@
 c0
 2c
 04
-d6
+c1
 20
 20
 59
@@ -4976,7 +4892,7 @@
 c0
 2c
 84
-da
+c5
 20
 20
 59
@@ -5008,7 +4924,7 @@
 c0
 05
 84
-e2
+cd
 20
 20
 59
@@ -5024,7 +4940,7 @@
 c0
 7f
 84
-e8
+d3
 68
 48
 c6
@@ -5068,13 +4984,245 @@
 20
 40
 04
-dd
+c8
+58
+00
+00
+89
+20
+40
+69
+e4
 20
+40
+57
+47
 20
+40
 56
-06
-67
-50
+12
+20
+40
+56
+17
+20
+40
+04
+e2
+20
+20
+56
+0c
+20
+40
+58
+4c
+6f
+e0
+c9
+87
+24
+3a
+58
+60
+6f
+e0
+c9
+82
+24
+3a
+58
+5f
+20
+40
+58
+88
+20
+40
+04
+ea
+20
+20
+57
+ad
+70
+49
+79
+00
+70
+49
+7a
+00
+70
+49
+7b
+00
+1f
+e2
+24
+00
+68
+48
+c6
+44
+6f
+e0
+c6
+47
+98
+46
+7c
+00
+20
+22
+84
+fc
+6f
+e0
+c6
+48
+98
+46
+7c
+00
+20
+22
+85
+02
+68
+48
+c6
+45
+6f
+e0
+c6
+47
+98
+46
+7c
+00
+20
+22
+85
+0b
+20
+40
+57
+fb
+20
+40
+05
+10
+20
+20
+57
+e5
+68
+48
+c6
+45
+6f
+e0
+c6
+48
+98
+46
+7c
+00
+20
+22
+d7
+d6
+20
+40
+57
+ef
+20
+20
+05
+0c
+68
+48
+c6
+45
+6f
+e0
+c6
+47
+98
+46
+7c
+00
+20
+22
+85
+08
+20
+40
+05
+12
+20
+20
+04
+fa
+20
+40
+05
+12
+20
+40
+05
+0e
+20
+20
+57
+e5
+20
+40
+05
+0e
+20
+40
+05
+14
+20
+20
+57
+e5
+1a
+41
+7e
+12
+20
+20
+57
+f3
+1a
+41
+7e
+0a
+20
+20
+57
+f6
+1a
+41
+7e
+11
+20
+20
+57
+f9
+1a
+41
+7e
+12
+20
+20
+57
+ff
+8b
+dc
 aa
 55
 40
@@ -5095,7 +5243,7 @@
 00
 00
 53
-88
+18
 84
 f2
 7d
@@ -5522,8 +5670,8 @@
 00
 4a
 47
-74
-d6
+60
+ea
 00
 00
 77
@@ -5770,7 +5918,7 @@
 42
 06
 00
-06
+09
 00
 20
 00
@@ -6098,7 +6246,7 @@
 ff
 aa
 55
-1e
+1a
 00
 d6
 48
@@ -6114,20 +6262,16 @@
 41
 a1
 12
-a5
-84
 a7
 ff
-b5
-d0
 b6
 00
-ff
-00
-35
+b5
 c8
-25
+a5
 af
+ff
+00
 09
 00
 ff
@@ -6378,8 +6522,8 @@
 aa
 aa
 55
-bf
-60
-dd
-7b
+a0
+5e
+8e
+0f
 20
Index: output/program.lis
===================================================================
--- /1121s/branch/mouse/ZXS_Project/1m/mouse_public_1M/output/program.lis	(revision 1541)
+++ /1121s/branch/mouse/ZXS_Project/1m/mouse_public_1M/output/program.lis	(working copy)
@@ -1,1662 +1,1723 @@
               include "bt_format "
               org 0x0000
 0000 c2840026 bbit1 8 ,pf_patch_ext 
-0001 c0000291 beq patch00_0 ,p_soft_reset 
-0002 c001003b beq patch00_2 ,p_main_loop 
-0003 c0080044 beq patch02_0 ,p_shutdown_radio 
-0004 c0088046 beq patch02_1 ,p_set_sync_on 
-0005 c00a0145 beq patch02_4 ,p_set_lemode 
-0006 c00a80c7 beq patch02_5 ,p_rf_rx_enable 
-0007 c00c00e7 beq patch03_0 ,p_txon 
-0008 c00c80ee beq patch03_1 ,p_set_tx_power 
-0009 c00d0054 beq patch03_2 ,p_initialize_radio_cont 
-000a c0128217 beq patch04_5 ,p_lpm_sleep 
-000b c034028a beq patch0d_0 ,p_mouse_cb_fuction 
-000c c0348299 beq patch0d_1 ,p_mouse_load_device_info_check 
-000d c0360253 beq patch0d_4 ,p_mouse_param_init 
-000e c0370432 beq patch0d_6 ,p_mouse_start_work 
-000f c0398487 beq patch0e_3 ,p_mouse_setgpio_hibernate 
-0010 c03b8035 beq patch0e_7 ,p_mouse_adc_read_start 
-0011 c03d04ec beq patch0f_2 ,p_mouse_motion 
-0012 c03f8467 beq patch0f_7 ,p_mouse_3io6key_check 
-0013 c04084d1 beq patch10_1 ,p_mouse_init_sensor 
-0014 c0420382 beq patch10_4 ,p_mouse_buletooth_fast_conn_end 
-0015 c04283ce beq patch10_5 ,p_mouse_priority_bb_event 
-0016 c04301dc beq patch10_6 ,p_mouse_le 
-0017 c04383ac beq patch10_7 ,p_mouse_bb_event_timer 
-0018 c04403cc beq patch11_0 ,p_mouse_start_discovery 
-0019 c0450396 beq patch11_2 ,p_mouse_store_remote_bdaddr 
-001a c04602d7 beq patch11_4 ,p_mouse_store_device_info 
-001b c046833f beq patch11_5 ,p_mouse_store_dpi_info_check 
-001c c0470451 beq patch11_6 ,p_mouse_idle 
-001d c04582b0 beq patch11_3 ,p_mouse_app_initflag_check 
-001e c04804c6 beq patch12_0 ,p_mouse_check_select_device_by_switch 
-001f c04a847e beq patch12_5 ,p_mouse_24g_hibernate_set 
-0020 c04b04af beq patch12_6 ,p_mouse_24g_package_data 
-0021 c06a81fb beq patch1a_5 ,p_gpio_set_wake_by_current_state 
-0022 c06b01f4 beq patch1a_6 ,p_gpio_set_wake 
-0023 c0628236 beq patch18_5 ,p_otp_read_data 
-0024 c06d012e beq patch1b_2 ,p_sadc_calibration 
+0001 c000028b beq patch00_0 ,p_soft_reset 
+0002 c0010035 beq patch00_2 ,p_main_loop 
+0003 c008003e beq patch02_0 ,p_shutdown_radio 
+0004 c0088040 beq patch02_1 ,p_set_sync_on 
+0005 c00a013e beq patch02_4 ,p_set_lemode 
+0006 c00a80c0 beq patch02_5 ,p_rf_rx_enable 
+0007 c00c00e0 beq patch03_0 ,p_txon 
+0008 c00c80e7 beq patch03_1 ,p_set_tx_power 
+0009 c00d004e beq patch03_2 ,p_initialize_radio_cont 
+000a c012820d beq patch04_5 ,p_lpm_sleep 
+000b c0340284 beq patch0d_0 ,p_mouse_cb_fuction 
+000c c0348297 beq patch0d_1 ,p_mouse_load_device_info_check 
+000d c036024d beq patch0d_4 ,p_mouse_param_init 
+000e c0370430 beq patch0d_6 ,p_mouse_start_work 
+000f c0398485 beq patch0e_3 ,p_mouse_setgpio_hibernate 
+0010 c03a020a beq patch0e_4 ,p_mouse_lpm_before_common 
+0011 c03d04d7 beq patch0f_2 ,p_mouse_motion 
+0012 c03f8465 beq patch0f_7 ,p_mouse_3io6key_check 
+0013 c04084bc beq patch10_1 ,p_mouse_init_sensor 
+0014 c0420380 beq patch10_4 ,p_mouse_buletooth_fast_conn_end 
+0015 c04283cc beq patch10_5 ,p_mouse_priority_bb_event 
+0016 c04301d5 beq patch10_6 ,p_mouse_le 
+0017 c04383aa beq patch10_7 ,p_mouse_bb_event_timer 
+0018 c04403ca beq patch11_0 ,p_mouse_start_discovery 
+0019 c0450394 beq patch11_2 ,p_mouse_store_remote_bdaddr 
+001a c04582ae beq patch11_3 ,p_mouse_app_initflag_check 
+001b c04602d5 beq patch11_4 ,p_mouse_store_device_info 
+001c c046833d beq patch11_5 ,p_mouse_store_dpi_info_check 
+001d c047044f beq patch11_6 ,p_mouse_idle 
+001e c04804b1 beq patch12_0 ,p_mouse_check_select_device_by_switch 
+001f c04a847c beq patch12_5 ,p_mouse_24g_hibernate_set 
+0020 c04b049a beq patch12_6 ,p_mouse_24g_package_data 
+0021 c0628230 beq patch18_5 ,p_otp_read_data 
+0022 c06a81f4 beq patch1a_5 ,p_gpio_set_wake_by_current_state 
+0023 c06b01ed beq patch1a_6 ,p_gpio_set_wake 
+0024 c06d0127 beq patch1b_2 ,p_sadc_calibration 
 0025 2020235a branch assert 
 
 pf_patch_ext:
-0026 c00a0166 beq patch22_4 ,p_le_slave_match 
-0027 c00d0165 beq patch23_2 ,p_le_got_first_packet 
-0028 c0128195 beq patch24_5 ,p_le_rx_dec 
-0029 c013019a beq patch24_6 ,p_le_rx_nopayload 
-002a c01c81ac beq patch27_1 ,p_le_parse 
-002b c01d01b6 beq patch27_2 ,p_le_parse_l2cap 
-002c c02601b2 beq patch29_4 ,p_le_adv_not_match 
-002d c02681b0 beq patch29_5 ,p_le_init_adv 
-002e c0480239 beq patch32_0 ,p_g24_reconn_dispatch 
-002f c04b0472 beq patch32_6 ,p_g24_short_sleep 
-0030 c04d00d5 beq patch33_2 ,p_mouse_g24_retransmit 
-0031 c04e80dc beq patch33_5 ,p_g24_transmit_hop_process 
-0032 c04f825b beq patch33_7 ,p_power_ctrl_start 
+0026 c00a015f beq patch22_4 ,p_le_slave_match 
+0027 c00d015e beq patch23_2 ,p_le_got_first_packet 
+0028 c012818e beq patch24_5 ,p_le_rx_dec 
+0029 c0130193 beq patch24_6 ,p_le_rx_nopayload 
+002a c01c81a5 beq patch27_1 ,p_le_parse 
+002b c01d01af beq patch27_2 ,p_le_parse_l2cap 
+002c c02601ab beq patch29_4 ,p_le_adv_not_match 
+002d c02681a9 beq patch29_5 ,p_le_init_adv 
+002e c0480233 beq patch32_0 ,p_g24_reconn_dispatch 
+002f c04b0470 beq patch32_6 ,p_g24_short_sleep 
+0030 c04d00ce beq patch33_2 ,p_mouse_g24_retransmit 
+0031 c04e80d5 beq patch33_5 ,p_g24_transmit_hop_process 
+0032 c04f8255 beq patch33_7 ,p_power_ctrl_start 
 0033 c17f8000 rtneq patch3f_7 
 0034 2020235a branch assert 
 
-p_mouse_adc_read_start:
-0035 20406f82 call enable_adc 
-0036 20406fb0 call vdd_calculate_by_mode 
-0037 1fe6fc0a div pdata ,10 
-0038 20407d5f call get_div_result 
-0039 67e14633 store 2 ,mem_mouse_vdd_now_vol 
-003a 20205553 branch mouse_adc_data_process 
-
 p_main_loop:
-003b 20407552 call sp_calc_sequence_256 
-003c 20407448 call sp_calc_sequence_256_check 
-003d 20402a45 call le_advertising_dispatch 
-003e 2040202a call idle_dispatch 
-003f 204042ad call app_process_idle 
-0040 20402018 call connection_dispatch 
-0041 2040310f call g24_dispatch 
-0042 2040248c call lpm_dispatch 
-0043 2020003b branch p_main_loop 
+0035 20407552 call sp_calc_sequence_256 
+0036 20407448 call sp_calc_sequence_256_check 
+0037 20402a45 call le_advertising_dispatch 
+0038 2040202a call idle_dispatch 
+0039 204042ad call app_process_idle 
+003a 20402018 call connection_dispatch 
+003b 2040310f call g24_dispatch 
+003c 2040248c call lpm_dispatch 
+003d 20200035 branch p_main_loop 
 
 p_shutdown_radio:
-0044 70890000 jam 0 ,0x8900 
-0045 20202153 branch shutdown_radio + 1 
+003e 70890000 jam 0 ,0x8900 
+003f 20202153 branch shutdown_radio + 1 
 
 p_set_sync_on:
-0046 708a0f60 jam 0x60 ,0x8a0f 
-0047 708a10aa jam 0xaa ,0x8a10 
-0048 708a127a jam 0x7a ,0x8a12 
-0049 708a2500 jam 0x00 ,0x8a25 
-004a 708a2600 jam 0x00 ,0x8a26 
-004b 2000003c nop 60 
-004c 708a2020 jam 0x20 ,0x8a20 
-004d 708a23f5 jam 0xf5 ,0x8a23 
-004e 708a2412 jam 0x12 ,0x8a24 
-004f 708a2410 jam 0x10 ,0x8a24 
-0050 2000003c nop 60 
-0051 708a1260 jam 0x60 ,0x8a12 
-0052 708a23dd jam 0xdd ,0x8a23 
-0053 20600000 rtn 
+0040 708a0f60 jam 0x60 ,0x8a0f 
+0041 708a10aa jam 0xaa ,0x8a10 
+0042 708a127a jam 0x7a ,0x8a12 
+0043 708a2500 jam 0x00 ,0x8a25 
+0044 708a2600 jam 0x00 ,0x8a26 
+0045 2000003c nop 60 
+0046 708a2020 jam 0x20 ,0x8a20 
+0047 708a23f5 jam 0xf5 ,0x8a23 
+0048 708a2412 jam 0x12 ,0x8a24 
+0049 708a2410 jam 0x10 ,0x8a24 
+004a 2000003c nop 60 
+004b 708a1260 jam 0x60 ,0x8a12 
+004c 708a23dd jam 0xdd ,0x8a23 
+004d 20600000 rtn 
 
 p_initialize_radio_cont:
-0054 7001bb00 jam 0 ,mem_le_testtype 
-0055 7001bc00 jam 0 ,mem_cmd_le_create_conn 
-0056 37d98200 until null ,lpo_edge 
-0057 7089460d jam 0x0d ,0x8946 
-0058 70896f10 jam 0x10 ,0x896f 
-0059 708a13cd jam 0xcd ,0x8a13 
-005a 708a0610 jam 0x10 ,0x8a06 
-005b 708a844a jam 0x4a ,0x8a84 
-005c 708a8540 jam 0x40 ,0x8a85 
-005d 708a16fe jam 0xfe ,0x8a16 
-005e 2040009b call p_set_otp_config 
-005f 204070d7 call wdt_set_disable 
-0060 37d98200 until null ,lpo_edge 
-0061 70813b5f jam 0x5f ,0x813b 
-0062 37d98200 until null ,lpo_edge 
-0063 70813c88 jam 0x88 ,0x813c 
-0064 37d98200 until null ,lpo_edge 
-0065 6fe0c099 fetch 1 ,mem_fcomp_div 
-0066 c0080090 beq xtal_16m ,p_initialize_radio_16m 
-0067 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
-0068 1fe1fe04 or_into 0x04 ,pdata 
-0069 67f08a02 store 1 ,0x8a02 
-006a 70890f01 jam 0x01 ,0x890f 
-006b 708a8024 jam 0x24 ,0x8a80 
-006c 708a8162 jam 0x62 ,0x8a81 
-006d 58e61212 setarg 0xe61212 
-006e 67f18a73 store 3 ,0x8a73 
+004e 7001bb00 jam 0 ,mem_le_testtype 
+004f 7001bc00 jam 0 ,mem_cmd_le_create_conn 
+0050 37d98200 until null ,lpo_edge 
+0051 7089460d jam 0x0d ,0x8946 
+0052 70896f10 jam 0x10 ,0x896f 
+0053 708a13cd jam 0xcd ,0x8a13 
+0054 708a0610 jam 0x10 ,0x8a06 
+0055 708a844a jam 0x4a ,0x8a84 
+0056 708a8540 jam 0x40 ,0x8a85 
+0057 708a16fe jam 0xfe ,0x8a16 
+0058 20400095 call p_set_otp_config 
+0059 204070d7 call wdt_set_disable 
+005a 37d98200 until null ,lpo_edge 
+005b 70813b5f jam 0x5f ,0x813b 
+005c 37d98200 until null ,lpo_edge 
+005d 70813c88 jam 0x88 ,0x813c 
+005e 37d98200 until null ,lpo_edge 
+005f 6fe0c099 fetch 1 ,mem_fcomp_div 
+0060 c008008a beq xtal_16m ,p_initialize_radio_16m 
+0061 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+0062 1fe1fe04 or_into 0x04 ,pdata 
+0063 67f08a02 store 1 ,0x8a02 
+0064 70890f01 jam 0x01 ,0x890f 
+0065 708a8024 jam 0x24 ,0x8a80 
+0066 708a8162 jam 0x62 ,0x8a81 
+0067 58e61212 setarg 0xe61212 
+0068 67f18a73 store 3 ,0x8a73 
 
 p_initialize_radio2:
-006f 708a8660 jam 0x60 ,0x8a86 
-0070 708a8b3b jam 0x3b ,0x8a8b 
-0071 20400082 call p_dpll_on 
-0072 70804300 jam 0 ,core_config 
-0073 70804205 jam clksel_dpll ,core_clksel 
-0074 58557474 setarg 0x557474 
-0075 67f18968 store 3 ,0x8968 
-0076 7089606e jam 0x6e ,0x8960 
-0077 20400101 call p_rx_dcoc 
-0078 2040012c call p_rfpll_aac_ghpc 
-0079 2040007c call p_set_xtal_cap 
-007a 7041480c jam system_clk_12m ,mem_system_clk 
-007b 20206f4e branch sadc_calibration 
+0069 708a8660 jam 0x60 ,0x8a86 
+006a 708a8b3b jam 0x3b ,0x8a8b 
+006b 2040007c call p_dpll_on 
+006c 70804300 jam 0 ,core_config 
+006d 70804205 jam clksel_dpll ,core_clksel 
+006e 58557474 setarg 0x557474 
+006f 67f18968 store 3 ,0x8968 
+0070 7089606e jam 0x6e ,0x8960 
+0071 204000fa call p_rx_dcoc 
+0072 20400125 call p_rfpll_aac_ghpc 
+0073 20400076 call p_set_xtal_cap 
+0074 7041480c jam system_clk_12m ,mem_system_clk 
+0075 20206f4e branch sadc_calibration 
 
 p_set_xtal_cap:
-007c 20758000 rtn wake 
-007d 37d98200 until null ,lpo_edge 
-007e 6fe0c11c fetch 1 ,mem_xtal_c_sel 
-007f 67f0813a store 1 ,core_xtal_cap 
-0080 37d98200 until null ,lpo_edge 
-0081 20600000 rtn 
+0076 20758000 rtn wake 
+0077 37d98200 until null ,lpo_edge 
+0078 6fe0c11c fetch 1 ,mem_xtal_c_sel 
+0079 67f0813a store 1 ,core_xtal_cap 
+007a 37d98200 until null ,lpo_edge 
+007b 20600000 rtn 
 
 p_dpll_on:
-0082 6fe0c099 fetch 1 ,mem_fcomp_div 
-0083 c00c0088 beq xtal_24m ,p_dpll_on_24m 
-0084 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
-0085 1fe1fe06 or_into 0x06 ,pdata 
-0086 67f08a02 store 1 ,0x8a02 
-0087 708a05e0 jam 0xe0 ,0x8a05 
+007c 6fe0c099 fetch 1 ,mem_fcomp_div 
+007d c00c0082 beq xtal_24m ,p_dpll_on_24m 
+007e 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+007f 1fe1fe06 or_into 0x06 ,pdata 
+0080 67f08a02 store 1 ,0x8a02 
+0081 708a05e0 jam 0xe0 ,0x8a05 
 
 p_dpll_on_24m:
-0088 708a00d8 jam 0xd8 ,0x8a00 
-0089 2000003c nop 60 
-008a 708a01a0 jam 0xa0 ,0x8a01 
-008b 708a00df jam 0xdf ,0x8a00 
-008c 708a01fa jam 0xfa ,0x8a01 
-008d 20000014 nop 20 
-008e 708a009f jam 0x9f ,0x8a00 
-008f 20600000 rtn 
+0082 708a00d8 jam 0xd8 ,0x8a00 
+0083 2000003c nop 60 
+0084 708a01a0 jam 0xa0 ,0x8a01 
+0085 708a00df jam 0xdf ,0x8a00 
+0086 708a01fa jam 0xfa ,0x8a01 
+0087 20000014 nop 20 
+0088 708a009f jam 0x9f ,0x8a00 
+0089 20600000 rtn 
 
 p_initialize_radio_16m:
-0090 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
-0091 1fe1fe06 or_into 0x06 ,pdata 
-0092 67f08a02 store 1 ,0x8a02 
-0093 70890f00 jam 0x00 ,0x890f 
-0094 708a8023 jam 0x23 ,0x8a80 
-0095 708a81b0 jam 0xb0 ,0x8a81 
-0096 58e40909 setarg 0xe40909 
-0097 67f18a73 store 3 ,0x8a73 
-0098 708a762a jam 0x2a ,0x8a76 
-0099 70890204 jam 0x04 ,0x8902 
-009a 2020006f branch p_initialize_radio2 
+008a 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+008b 1fe1fe06 or_into 0x06 ,pdata 
+008c 67f08a02 store 1 ,0x8a02 
+008d 70890f00 jam 0x00 ,0x890f 
+008e 708a8023 jam 0x23 ,0x8a80 
+008f 708a81b0 jam 0xb0 ,0x8a81 
+0090 58e40909 setarg 0xe40909 
+0091 67f18a73 store 3 ,0x8a73 
+0092 708a762a jam 0x2a ,0x8a76 
+0093 70890204 jam 0x04 ,0x8902 
+0094 20200069 branch p_initialize_radio2 
 
 p_set_otp_config:
-009b 203580c3 branch p_set_otp_config_wake ,wake 
-009c 6fe2020d fetch 4 ,mem_otp_core_ldo 
-009d 207a0000 rtn blank 
-009e 37d98200 until null ,lpo_edge 
-009f 6ff08136 fetch 1 ,0x8136 
-00a0 1fe17ef0 and pdata ,0xf0 ,pdata 
-00a1 6848820d fetcht 1 ,mem_otp_core_ldo 
-00a2 9841fe00 ior temp ,pdata 
-00a3 1fe0fffd increase -3 ,pdata 
-00a4 67f08136 store 1 ,0x8136 
-00a5 37d98200 until null ,lpo_edge 
-00a6 6ff08138 fetch 1 ,0x8138 
-00a7 1fe17e07 and pdata ,0x7 ,pdata 
-00a8 6848820e fetcht 1 ,mem_otp_verf_bg 
-00a9 18498400 lshift3 temp ,temp 
-00aa 9841fe00 ior temp ,pdata 
-00ab 67f08138 store 1 ,0x8138 
-00ac 37d98200 until null ,lpo_edge 
-
-p_set_otp_config2:
-00ad 6ff08acb fetch 1 ,0x8acb 
-00ae 1fe17ef0 and pdata ,0xf0 ,pdata 
-00af 6848820f fetcht 1 ,mem_otp_charge_pump 
-00b0 6048c15b storet 1 ,mem_otp_charge_pump_x 
-00b1 9841fe00 ior temp ,pdata 
-00b2 67f08acb store 1 ,0x8acb 
-00b3 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
-00b4 67e0c15c store 1 ,mem_otp_dpll_ibais_x 
-00b5 2feffe03 isolate1 3 ,pdata 
-00b6 6ff08a06 fetch 1 ,0x8a06 
-00b7 7920fe07 setflag true ,7 ,pdata 
-00b8 67f08a06 store 1 ,0x8a06 
-00b9 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
-00ba 1fe10407 and pdata ,7 ,temp 
-00bb 18520400 lshift4 temp ,temp 
-00bc 18438400 lshift temp ,temp 
-00bd 6048c438 storet 1 ,mem_ring_ibias_trim 
-00be 6ff08a02 fetch 1 ,0x8a02 
-00bf 1fe17e1f and pdata ,0x1f ,pdata 
-00c0 9841fe00 ior temp ,pdata 
-00c1 67f08a02 store 1 ,0x8a02 
-00c2 20600000 rtn 
+0095 203580a7 branch p_set_otp_config_wake ,wake 
+0096 6fe2020d fetch 4 ,mem_otp_core_ldo 
+0097 207a0000 rtn blank 
+0098 37d98200 until null ,lpo_edge 
+0099 6ff08136 fetch 1 ,0x8136 
+009a 1fe17ef0 and pdata ,0xf0 ,pdata 
+009b 6848820d fetcht 1 ,mem_otp_core_ldo 
+009c 9841fe00 ior temp ,pdata 
+009d 1fe0fffd increase -3 ,pdata 
+009e 67f08136 store 1 ,0x8136 
+009f 37d98200 until null ,lpo_edge 
+00a0 6ff08138 fetch 1 ,0x8138 
+00a1 1fe17e07 and pdata ,0x7 ,pdata 
+00a2 6848820e fetcht 1 ,mem_otp_verf_bg 
+00a3 18498400 lshift3 temp ,temp 
+00a4 9841fe00 ior temp ,pdata 
+00a5 67f08138 store 1 ,0x8138 
+00a6 37d98200 until null ,lpo_edge 
 
 p_set_otp_config_wake:
-00c3 6fe1415b fetch 2 ,mem_otp_charge_pump_x 
-00c4 207a0000 rtn blank 
-00c5 67e1020f store 2 ,mem_otp_charge_pump 
-00c6 202000ad branch p_set_otp_config2 
+00a7 6fe1415b fetch 2 ,mem_otp_charge_pump_x 
+00a8 207a0000 rtn blank 
+00a9 67e1020f store 2 ,mem_otp_charge_pump 
+
+p_set_otp_config2:
+00aa 6ff08acb fetch 1 ,0x8acb 
+00ab 1fe17ef0 and pdata ,0xf0 ,pdata 
+00ac 6848820f fetcht 1 ,mem_otp_charge_pump 
+00ad 6048c15b storet 1 ,mem_otp_charge_pump_x 
+00ae 9841fe00 ior temp ,pdata 
+00af 67f08acb store 1 ,0x8acb 
+00b0 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
+00b1 67e0c15c store 1 ,mem_otp_dpll_ibais_x 
+00b2 2feffe03 isolate1 3 ,pdata 
+00b3 6ff08a06 fetch 1 ,0x8a06 
+00b4 7920fe07 setflag true ,7 ,pdata 
+00b5 67f08a06 store 1 ,0x8a06 
+00b6 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
+00b7 1fe10407 and pdata ,7 ,temp 
+00b8 18520400 lshift4 temp ,temp 
+00b9 18438400 lshift temp ,temp 
+00ba 6048c438 storet 1 ,mem_ring_ibias_trim 
+00bb 6ff08a02 fetch 1 ,0x8a02 
+00bc 1fe17e1f and pdata ,0x1f ,pdata 
+00bd 9841fe00 ior temp ,pdata 
+00be 67f08a02 store 1 ,0x8a02 
+00bf 20600000 rtn 
 
 p_rf_rx_enable:
-00c7 2040686f call rf_debug_rx_gpio_high 
-00c8 204021ba call rf_rx_agc_set 
-00c9 18002a08 force 8 ,radio_ctrl 
-00ca 18002a00 force 0 ,radio_ctrl 
-00cb 580aaada setarg 0x0aaada 
-00cc 67f18a0f store 3 ,0x8a0f 
-00cd 708a2540 jam 0x40 ,0x8a25 
-00ce 708a2610 jam 0x10 ,0x8a26 
-00cf 2000003c nop 60 
-00d0 708a01fb jam 0xfb ,0x8a01 
-00d1 708a25ff jam 0xff ,0x8a25 
-00d2 708a2630 jam 0x30 ,0x8a26 
-00d3 708a16fe jam 0xfe ,0x8a16 
-00d4 202021b4 branch rf_rx_enable + 14 
+00c0 2040686f call rf_debug_rx_gpio_high 
+00c1 204021ba call rf_rx_agc_set 
+00c2 18002a08 force 8 ,radio_ctrl 
+00c3 18002a00 force 0 ,radio_ctrl 
+00c4 580aaada setarg 0x0aaada 
+00c5 67f18a0f store 3 ,0x8a0f 
+00c6 708a2540 jam 0x40 ,0x8a25 
+00c7 708a2610 jam 0x10 ,0x8a26 
+00c8 2000003c nop 60 
+00c9 708a01fb jam 0xfb ,0x8a01 
+00ca 708a25ff jam 0xff ,0x8a25 
+00cb 708a2630 jam 0x30 ,0x8a26 
+00cc 708a16fe jam 0xfe ,0x8a16 
+00cd 202021b4 branch rf_rx_enable + 14 
 
 p_mouse_g24_retransmit:
-00d5 6fe0c793 fetch 1 ,mem_mouse_need_soft_reset 
-00d6 247a0000 nrtn blank 
-00d7 204000d9 call p_mouse_retransmit_select_device_by_pb_button 
-00d8 202060fc branch mouse_g24_retransmit + 3 
+00ce 6fe0c793 fetch 1 ,mem_mouse_need_soft_reset 
+00cf 247a0000 nrtn blank 
+00d0 204000d2 call p_mouse_retransmit_select_device_by_pb_button 
+00d1 202060fc branch mouse_g24_retransmit + 3 
 
 p_mouse_retransmit_select_device_by_pb_button:
-00d9 6fe0c655 fetch 1 ,mem_config_select_device_button_gpio 
-00da c17f8000 rtneq gpio_disable 
-00db 20205e78 branch mouse_retransmit_select_device_by_pb_button 
+00d2 6fe0c655 fetch 1 ,mem_config_select_device_button_gpio 
+00d3 c17f8000 rtneq gpio_disable 
+00d4 20205e78 branch mouse_retransmit_select_device_by_pb_button 
 
 p_g24_transmit_hop_process:
-00dc 6848c601 fetcht 1 ,mem_24g_retry 
-00dd 6fe0c621 fetch 1 ,mem_24g_fast_hop_count 
-00de 98467c00 isub temp ,null 
-00df 242100e1 nbranch p_g24_tx_fast_hop ,positive 
-00e0 20203681 branch g24_transmit_hop_process + 5 
+00d5 6848c601 fetcht 1 ,mem_24g_retry 
+00d6 6fe0c621 fetch 1 ,mem_24g_fast_hop_count 
+00d7 98467c00 isub temp ,null 
+00d8 242100da nbranch p_g24_tx_fast_hop ,positive 
+00d9 20203681 branch g24_transmit_hop_process + 5 
 
 p_g24_tx_fast_hop:
-00e1 6fe2458f fetch 4 ,mem_24g_addr 
-00e2 684a45e4 fetcht 4 ,mem_24g_fast_conn_addr 
-00e3 98467c00 isub temp ,null 
-00e4 2022b222 branch g24_ch ,zero 
-00e5 20400280 call p_power_ctrl_txpower_incrs 
-00e6 2020369b branch g24_tx_fast_hop + 1 
+00da 6fe2458f fetch 4 ,mem_24g_addr 
+00db 684a45e4 fetcht 4 ,mem_24g_fast_conn_addr 
+00dc 98467c00 isub temp ,null 
+00dd 2022b222 branch g24_ch ,zero 
+00de 2040027a call p_power_ctrl_txpower_incrs 
+00df 2020369b branch g24_tx_fast_hop + 1 
 
 p_txon:
-00e7 580aaa7e setarg 0x0aaa7e 
-00e8 67f18a0f store 3 ,0x8a0f 
-00e9 2000003c nop 60 
-00ea 708a2500 jam 0x00 ,0x8a25 
-00eb 708a260d jam 0x0d ,0x8a26 
-00ec 708a16f6 jam 0xf6 ,0x8a16 
-00ed 20202203 branch txon + 7 
+00e0 580aaa7e setarg 0x0aaa7e 
+00e1 67f18a0f store 3 ,0x8a0f 
+00e2 2000003c nop 60 
+00e3 708a2500 jam 0x00 ,0x8a25 
+00e4 708a260d jam 0x0d ,0x8a26 
+00e5 708a16f6 jam 0xf6 ,0x8a16 
+00e6 20202203 branch txon + 7 
 
 p_set_tx_power:
-00ee 6fe0c141 fetch 1 ,mem_tx_power 
-00ef c0032225 beq tx_power_6db ,set_tx_power_7db 
-00f0 c00500f4 beq tx_power_10db ,p_set_tx_power_10db 
-00f1 c04f00fd beq tx_power_f30db ,p_set_tx_power_f30db 
-00f2 c05500f9 beq tx_power_factory ,p_set_tx_power_factory 
-00f3 2020220e branch set_tx_power + 2 
+00e7 6fe0c141 fetch 1 ,mem_tx_power 
+00e8 c0032225 beq tx_power_6db ,set_tx_power_7db 
+00e9 c00500ed beq tx_power_10db ,p_set_tx_power_10db 
+00ea c04f00f6 beq tx_power_f30db ,p_set_tx_power_f30db 
+00eb c05500f2 beq tx_power_factory ,p_set_tx_power_factory 
+00ec 2020220e branch set_tx_power + 2 
 
 p_set_tx_power_10db:
-00f4 708a1425 jam 0x25 ,0x8a14 
-00f5 58a93f3f setarg 0xa93f3f 
-00f6 67f18a60 store 3 ,0x8a60 
-00f7 708a631f jam 0x1f ,0x8a63 
-00f8 20600000 rtn 
+00ed 708a1425 jam 0x25 ,0x8a14 
+00ee 58a93f3f setarg 0xa93f3f 
+00ef 67f18a60 store 3 ,0x8a60 
+00f0 708a631f jam 0x1f ,0x8a63 
+00f1 20600000 rtn 
 
 p_set_tx_power_factory:
-00f9 708a1417 jam 0x17 ,0x8a14 
-00fa 6fe1ca08 fetch 3 ,mem_tx_power_factory_param_new 
-00fb 67f18a60 store 3 ,0x8a60 
-00fc 2020221a branch set_tx_power_8a63_28 
+00f2 708a1417 jam 0x17 ,0x8a14 
+00f3 6fe1ca08 fetch 3 ,mem_tx_power_factory_param_new 
+00f4 67f18a60 store 3 ,0x8a60 
+00f5 2020221a branch set_tx_power_8a63_28 
 
 p_set_tx_power_f30db:
-00fd 708a1417 jam 0x17 ,0x8a14 
-00fe 58250300 setarg 0x250300 
-00ff 67f18a60 store 3 ,0x8a60 
-0100 2020221a branch set_tx_power_8a63_28 
+00f6 708a1417 jam 0x17 ,0x8a14 
+00f7 58250300 setarg 0x250300 
+00f8 67f18a60 store 3 ,0x8a60 
+00f9 2020221a branch set_tx_power_8a63_28 
 
 p_rx_dcoc:
-0101 20758000 rtn wake 
-0102 20402160 call set_sync_on 
-0103 d8400027 arg 39 ,temp 
-0104 2040216f call set_freq_rx 
-0105 204021a6 call rf_rx_enable 
-0106 708a257f jam 0x7f ,0x8a25 
-0107 708a301a jam 0x1a ,0x8a30 
-0108 708a3178 jam 0x78 ,0x8a31 
-0109 708a8fb2 jam 0xb2 ,0x8a8f 
-010a 708ac200 jam 0 ,0x8ac2 
-010b 708ac300 jam 0 ,0x8ac3 
-010c d8e00006 arg 6 ,queue 
-010d 2040011e call p_rx_dcoc_avg 
-010e 2a2ffe0d isolate1 13 ,rega 
-010f 2040211d call qset_start 
-0110 2a4ffe0d isolate1 13 ,regb 
-0111 2040211e call qset_p 
-0112 d8e00005 arg 5 ,queue 
+00fa 20758000 rtn wake 
+00fb 20402160 call set_sync_on 
+00fc d8400027 arg 39 ,temp 
+00fd 2040216f call set_freq_rx 
+00fe 204021a6 call rf_rx_enable 
+00ff 708a257f jam 0x7f ,0x8a25 
+0100 708a301a jam 0x1a ,0x8a30 
+0101 708a3178 jam 0x78 ,0x8a31 
+0102 708a8fb2 jam 0xb2 ,0x8a8f 
+0103 708ac200 jam 0 ,0x8ac2 
+0104 708ac300 jam 0 ,0x8ac3 
+0105 d8e00006 arg 6 ,queue 
+0106 20400117 call p_rx_dcoc_avg 
+0107 2a2ffe0d isolate1 13 ,rega 
+0108 2040211d call qset_start 
+0109 2a4ffe0d isolate1 13 ,regb 
+010a 2040211e call qset_p 
+010b d8e00005 arg 5 ,queue 
 
 p_rx_dcoc_loop2:
-0113 2040211c call qset1_p 
-0114 2040211e call qset_p 
-0115 2040011e call p_rx_dcoc_avg 
-0116 d8a08ac2 arg 0x8ac2 ,contw 
-0117 1a31fe00 rshift4 rega ,pdata 
-0118 20402117 call qsetxor 
-0119 1a51fe00 rshift4 regb ,pdata 
-011a 20402117 call qsetxor 
-011b 18e08fff increase -1 ,queue 
-011c 20210113 branch p_rx_dcoc_loop2 ,positive 
-011d 2020214f branch rx_dcoc_loop2 + 10 
+010c 2040211c call qset1_p 
+010d 2040211e call qset_p 
+010e 20400117 call p_rx_dcoc_avg 
+010f d8a08ac2 arg 0x8ac2 ,contw 
+0110 1a31fe00 rshift4 rega ,pdata 
+0111 20402117 call qsetxor 
+0112 1a51fe00 rshift4 regb ,pdata 
+0113 20402117 call qsetxor 
+0114 18e08fff increase -1 ,queue 
+0115 2021010c branch p_rx_dcoc_loop2 ,positive 
+0116 2020214f branch rx_dcoc_loop2 + 10 
 
 p_rx_dcoc_avg:
-011e 2000003c nop 60 
-011f 58000f00 setarg mem_dcoc_buf 
-0120 67f10982 store 2 ,0x8982 
-0121 58000ff0 setarg mem_dcoc_buf_end 
-0122 67f10984 store 2 ,0x8984 
-0123 70898109 jam 0x9 ,0x8981 
-0124 70898103 jam 0x3 ,0x8981 
-0125 70898006 jam 0x6 ,0x8980 
-0126 2000003c nop 60 
-0127 da200000 arg 0 ,rega 
-0128 da400000 arg 0 ,regb 
-0129 df200010 arg 16 ,loopcnt 
-012a d8c00f00 arg mem_dcoc_buf ,contr 
-012b 2020212d branch rx_dcoc_loop 
+0117 2000003c nop 60 
+0118 58000f00 setarg mem_dcoc_buf 
+0119 67f10982 store 2 ,0x8982 
+011a 58000ff0 setarg mem_dcoc_buf_end 
+011b 67f10984 store 2 ,0x8984 
+011c 70898109 jam 0x9 ,0x8981 
+011d 70898103 jam 0x3 ,0x8981 
+011e 70898006 jam 0x6 ,0x8980 
+011f 2000003c nop 60 
+0120 da200000 arg 0 ,rega 
+0121 da400000 arg 0 ,regb 
+0122 df200010 arg 16 ,loopcnt 
+0123 d8c00f00 arg mem_dcoc_buf ,contr 
+0124 2020212d branch rx_dcoc_loop 
 
 p_rfpll_aac_ghpc:
-012c 20758000 rtn wake 
-012d 20202272 branch rfpll_aac_ghpc + 1 
+0125 20758000 rtn wake 
+0126 20202272 branch rfpll_aac_ghpc + 1 
 
 p_sadc_calibration:
-012e 20758000 rtn wake 
-012f 708a0777 jam 0x77 ,core_gpadc_ctrl 
-0130 708a08c9 jam 0xc9 ,core_gpadc_cfg0 
-0131 708a0b01 jam 0x01 ,core_gpadc_cfg3 
-0132 6fe0c409 fetch 1 ,mem_adc_clkdiv 
-0133 67f080cd store 1 ,core_sadc_clkdiv 
-0134 20000bb8 nop 3000 
-0135 2040013e call p_sadc_read 
-0136 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
-0137 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
-0138 df200008 arg 8 ,loopcnt 
-0139 20406f58 call sadc_cal_read + 1 
-013a 6fe0c419 fetch 1 ,mem_spi_write_addr 
-013b 67e0c433 store 1 ,mem_adc_cal_c7 
-013c 6240c419 storer regb ,1 ,mem_spi_write_addr 
-013d 20600000 rtn 
+0127 20758000 rtn wake 
+0128 708a0777 jam 0x77 ,core_gpadc_ctrl 
+0129 708a08c9 jam 0xc9 ,core_gpadc_cfg0 
+012a 708a0b01 jam 0x01 ,core_gpadc_cfg3 
+012b 6fe0c409 fetch 1 ,mem_adc_clkdiv 
+012c 67f080cd store 1 ,core_sadc_clkdiv 
+012d 20000bb8 nop 3000 
+012e 20400137 call p_sadc_read 
+012f 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
+0130 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
+0131 df200008 arg 8 ,loopcnt 
+0132 20406f58 call sadc_cal_read + 1 
+0133 6fe0c419 fetch 1 ,mem_spi_write_addr 
+0134 67e0c433 store 1 ,mem_adc_cal_c7 
+0135 6240c419 storer regb ,1 ,mem_spi_write_addr 
+0136 20600000 rtn 
 
 p_sadc_read:
-013e 7080cc03 jam 0x03 ,core_sadc_ctrl 
+0137 7080cc03 jam 0x03 ,core_sadc_ctrl 
 
 p_sadc_read_wait:
-013f 6ff08129 fetch 1 ,core_perf_status 
-0140 c302813f bbit0 saradc_done ,p_sadc_read_wait 
-0141 68590164 fetcht 2 ,core_sadc_data 
-0142 6049440a storet 2 ,mem_adc_current_value 
-0143 7080cc00 jam 0x00 ,core_sadc_ctrl 
-0144 20600000 rtn 
+0138 6ff08129 fetch 1 ,core_perf_status 
+0139 c3028138 bbit0 saradc_done ,p_sadc_read_wait 
+013a 68590164 fetcht 2 ,core_sadc_data 
+013b 6049440a storet 2 ,mem_adc_current_value 
+013c 7080cc00 jam 0x00 ,core_sadc_ctrl 
+013d 20600000 rtn 
 
 p_set_lemode:
-0145 708a8211 jam 0x11 ,0x8a82 
-0146 708a8d12 jam 0x12 ,0x8a8d 
-0147 708a8e0a jam 0x0a ,0x8a8e 
-0148 6fe0c099 fetch 1 ,mem_fcomp_div 
-0149 c008015e beq xtal_16m ,p_set_lemode_2m_16m 
-014a 58005762 setarg 0x5762 
-014b 67f10907 store 2 ,0x8907 
+013e 708a8211 jam 0x11 ,0x8a82 
+013f 708a8d12 jam 0x12 ,0x8a8d 
+0140 708a8e0a jam 0x0a ,0x8a8e 
+0141 6fe0c099 fetch 1 ,mem_fcomp_div 
+0142 c0080157 beq xtal_16m ,p_set_lemode_2m_16m 
+0143 58005762 setarg 0x5762 
+0144 67f10907 store 2 ,0x8907 
 
 p_set_lemode_2m:
-014c 70890103 jam 3 ,0x8901 
-014d 70893003 jam 3 ,0x8930 
-014e c6168000 rtnmark1 mark_ble_2m 
-014f 70890101 jam 1 ,0x8901 
-0150 708a8207 jam 0x07 ,0x8a82 
-0151 708a8d44 jam 0x44 ,0x8a8d 
-0152 708a8e0a jam 0x0a ,0x8a8e 
-0153 6fe0c099 fetch 1 ,mem_fcomp_div 
-0154 c008015b beq xtal_16m ,p_set_lemode_1m_16m 
-0155 58002bb1 setarg 0x2bb1 
-0156 67f10907 store 2 ,0x8907 
+0145 70890103 jam 3 ,0x8901 
+0146 70893003 jam 3 ,0x8930 
+0147 c6168000 rtnmark1 mark_ble_2m 
+0148 70890101 jam 1 ,0x8901 
+0149 708a8207 jam 0x07 ,0x8a82 
+014a 708a8d44 jam 0x44 ,0x8a8d 
+014b 708a8e0a jam 0x0a ,0x8a8e 
+014c 6fe0c099 fetch 1 ,mem_fcomp_div 
+014d c0080154 beq xtal_16m ,p_set_lemode_1m_16m 
+014e 58002bb1 setarg 0x2bb1 
+014f 67f10907 store 2 ,0x8907 
 
 p_set_lemode_1m:
-0157 c6978000 rtnmark0 mark_ble_lr 
-0158 70893024 jam 0x24 ,0x8930 
-0159 70890105 jam 5 ,0x8901 
-015a 20600000 rtn 
+0150 c6978000 rtnmark0 mark_ble_lr 
+0151 70893024 jam 0x24 ,0x8930 
+0152 70890105 jam 5 ,0x8901 
+0153 20600000 rtn 
 
 p_set_lemode_1m_16m:
-015b 58004189 setarg 0x4189 
-015c 67f10907 store 2 ,0x8907 
-015d 20200157 branch p_set_lemode_1m 
+0154 58004189 setarg 0x4189 
+0155 67f10907 store 2 ,0x8907 
+0156 20200150 branch p_set_lemode_1m 
 
 p_set_lemode_2m_16m:
-015e 58008312 setarg 0x8312 
-015f 67f10907 store 2 ,0x8907 
-0160 2020014c branch p_set_lemode_2m 
+0157 58008312 setarg 0x8312 
+0158 67f10907 store 2 ,0x8907 
+0159 20200145 branch p_set_lemode_2m 
 
 p_le_check_retransmit_timesout:
-0161 6fe0cbf7 fetch 1 ,mem_le_conn_rcv_new 
-0162 da600100 arg 256 ,regc 
-0163 9a60fe00 iadd regc ,pdata 
-0164 20600000 rtn 
+015a 6fe0cbf8 fetch 1 ,mem_le_conn_rcv_new 
+015b da600100 arg 256 ,regc 
+015c 9a60fe00 iadd regc ,pdata 
+015d 20600000 rtn 
 
 p_le_got_first_packet:
-0165 20200185 branch p_le_got_first_packet_new 
+015e 2020017e branch p_le_got_first_packet_new 
 
 p_le_slave_match:
-0166 20400168 call p_le_check_retransmit 
-0167 20202563 branch le_slave_match + 1 
+015f 20400161 call p_le_check_retransmit 
+0160 20202563 branch le_slave_match + 1 
 
 p_le_check_retransmit:
-0168 6fe0cbf8 fetch 1 ,mem_le_conn_first_rcv 
-0169 207a0000 rtn blank 
-016a 6fe0cbf9 fetch 1 ,mem_le_check_retransmit_flag 
-016b 247a0000 nrtn blank 
-016c 6848cbf8 fetcht 1 ,mem_le_conn_first_rcv 
-016d 6fe0cbf7 fetch 1 ,mem_le_conn_rcv_new 
-016e 98467c00 isub temp ,null 
-016f 24410161 ncall p_le_check_retransmit_timesout ,positive 
-0170 98467e00 isub temp ,pdata 
-0171 1fe67c64 sub pdata ,100 ,null 
-0172 2021017a branch p_le_check_retransmit_count ,positive 
-0173 6fe0cbfa fetch 1 ,mem_le_retransmit_cnt 
-0174 1fe67c14 sub pdata ,20 ,null 
-0175 24410178 ncall p_app_ble_disconnect ,positive 
-0176 704bf901 jam 1 ,mem_le_check_retransmit_flag 
-0177 20600000 rtn 
+0161 6fe0cbf9 fetch 1 ,mem_le_conn_first_rcv 
+0162 207a0000 rtn blank 
+0163 6fe0cbfa fetch 1 ,mem_le_check_retransmit_flag 
+0164 247a0000 nrtn blank 
+0165 6848cbf9 fetcht 1 ,mem_le_conn_first_rcv 
+0166 6fe0cbf8 fetch 1 ,mem_le_conn_rcv_new 
+0167 98467c00 isub temp ,null 
+0168 2441015a ncall p_le_check_retransmit_timesout ,positive 
+0169 98467e00 isub temp ,pdata 
+016a 1fe67c64 sub pdata ,100 ,null 
+016b 20210173 branch p_le_check_retransmit_count ,positive 
+016c 6fe0cbfb fetch 1 ,mem_le_retransmit_cnt 
+016d 1fe67c14 sub pdata ,20 ,null 
+016e 24410171 ncall p_app_ble_disconnect ,positive 
+016f 704bfa01 jam 1 ,mem_le_check_retransmit_flag 
+0170 20600000 rtn 
 
 p_app_ble_disconnect:
-0178 704bfb01 jam 1 ,mem_le_check_retransmit_discon_flag 
-0179 2020431f branch app_ble_disconnect 
+0171 704bfc01 jam 1 ,mem_le_check_retransmit_discon_flag 
+0172 2020431f branch app_ble_disconnect 
 
 p_le_check_retransmit_count:
-017a 6848817f fetcht 1 ,mem_le_arq 
-017b 6fe0804c fetch 1 ,mem_le_rxbuf_data_header 
-017c 1fe37e00 rshift pdata ,pdata 
-017d 9842fe00 ixor temp ,pdata 
-017e 2feffe02 isolate1 nesn ,pdata 
-017f 58000000 setarg 0 
-0180 6848cbfa fetcht 1 ,mem_le_retransmit_cnt 
-0181 7920fe00 setflag true ,0 ,pdata 
-0182 98408400 iadd temp ,temp 
-0183 6048cbfa storet 1 ,mem_le_retransmit_cnt 
-0184 20600000 rtn 
+0173 6848817f fetcht 1 ,mem_le_arq 
+0174 6fe0804c fetch 1 ,mem_le_rxbuf_data_header 
+0175 1fe37e00 rshift pdata ,pdata 
+0176 9842fe00 ixor temp ,pdata 
+0177 2feffe02 isolate1 nesn ,pdata 
+0178 58000000 setarg 0 
+0179 6848cbfb fetcht 1 ,mem_le_retransmit_cnt 
+017a 7920fe00 setflag true ,0 ,pdata 
+017b 98408400 iadd temp ,temp 
+017c 6048cbfb storet 1 ,mem_le_retransmit_cnt 
+017d 20600000 rtn 
 
 p_le_got_first_packet_new:
-0185 6fe08005 fetch 1 ,mem_le_conn_rcv 
-0186 1fe0fe01 increase 1 ,pdata 
-0187 67e08005 store 1 ,mem_le_conn_rcv 
-0188 2436818c nbranch p_le_got_first_packet_new + 7 ,match 
-0189 6fe0cbf7 fetch 1 ,mem_le_conn_rcv_new 
-018a 1fe0fe01 increase 1 ,pdata 
-018b 67e0cbf7 store 1 ,mem_le_conn_rcv_new 
-018c 6fe08168 fetch 1 ,mem_le_state 
-018d c3818000 rtnbit1 lestate_got_first_packet 
-018e 79207e03 set1 lestate_got_first_packet ,pdata 
-018f 67e08168 store 1 ,mem_le_state 
-0190 6fe142f5 fetch 2 ,mem_le_init_superto 
-0191 67e10196 store 2 ,mem_le_superto 
-0192 58000000 setarg 0 
-0193 67e2431d store 4 ,mem_le_transmit_window 
-0194 20600000 rtn 
+017e 6fe08005 fetch 1 ,mem_le_conn_rcv 
+017f 1fe0fe01 increase 1 ,pdata 
+0180 67e08005 store 1 ,mem_le_conn_rcv 
+0181 24368185 nbranch p_le_got_first_packet_new + 7 ,match 
+0182 6fe0cbf8 fetch 1 ,mem_le_conn_rcv_new 
+0183 1fe0fe01 increase 1 ,pdata 
+0184 67e0cbf8 store 1 ,mem_le_conn_rcv_new 
+0185 6fe08168 fetch 1 ,mem_le_state 
+0186 c3818000 rtnbit1 lestate_got_first_packet 
+0187 79207e03 set1 lestate_got_first_packet ,pdata 
+0188 67e08168 store 1 ,mem_le_state 
+0189 6fe142f5 fetch 2 ,mem_le_init_superto 
+018a 67e10196 store 2 ,mem_le_superto 
+018b 58000000 setarg 0 
+018c 67e2431d store 4 ,mem_le_transmit_window 
+018d 20600000 rtn 
 
 p_le_rx_dec:
-0195 2040281c call le_check_retransmit 
-0196 6a20804d fetchr rega ,1 ,mem_le_rxbuf_data_length 
-0197 1a20a3fc increase -4 ,rega 
-0198 242126fa nbranch le_crc_fail_consecutive ,positive 
-0199 2020268e branch le_rx_dec + 6 
+018e 2040281c call le_check_retransmit 
+018f 6a20804d fetchr rega ,1 ,mem_le_rxbuf_data_length 
+0190 1a20a3fc increase -4 ,rega 
+0191 242126fa nbranch le_crc_fail_consecutive ,positive 
+0192 2020268e branch le_rx_dec + 6 
 
 p_le_rx_nopayload:
-019a 09800018 parse demod ,bucket ,24 
-019b 1fef7e00 rshift32 pdata ,pdata 
-019c 1ff17e00 rshift16 pdata ,pdata 
-019d e7e18005 istore 3 ,contw 
-019e 78287c00 enable swfine 
-019f 2040270d call le_set_until_tx_timer 
-01a0 202326f6 branch le_crc_fail ,crc_failed 
-01a1 c59926af bmark0 mark_ble_encryption ,le_rx_match 
-01a2 6fe0804d fetch 1 ,mem_le_rxbuf_data_length 
-01a3 203a26af branch le_rx_match ,blank 
-01a4 1fe0fffc increase -4 ,pdata 
-01a5 67e0804d store 1 ,mem_le_rxbuf_data_length 
-01a6 204072cb call wait_ccm_done 
-01a7 6ff08108 fetch 1 ,core_misc_status 
-01a8 c303a6fa bbit0 7 ,le_crc_fail_consecutive 
-01a9 1800700c force regidx_result ,regext_index 
-01aa 65e20154 storer regext ,4 ,mem_le_peer_mic 
-01ab 202026af branch le_rx_match 
+0193 09800018 parse demod ,bucket ,24 
+0194 1fef7e00 rshift32 pdata ,pdata 
+0195 1ff17e00 rshift16 pdata ,pdata 
+0196 e7e18005 istore 3 ,contw 
+0197 78287c00 enable swfine 
+0198 2040270d call le_set_until_tx_timer 
+0199 202326f6 branch le_crc_fail ,crc_failed 
+019a c59926af bmark0 mark_ble_encryption ,le_rx_match 
+019b 6fe0804d fetch 1 ,mem_le_rxbuf_data_length 
+019c 203a26af branch le_rx_match ,blank 
+019d 1fe0fffc increase -4 ,pdata 
+019e 67e0804d store 1 ,mem_le_rxbuf_data_length 
+019f 204072cb call wait_ccm_done 
+01a0 6ff08108 fetch 1 ,core_misc_status 
+01a1 c303a6fa bbit0 7 ,le_crc_fail_consecutive 
+01a2 1800700c force regidx_result ,regext_index 
+01a3 65e20154 storer regext ,4 ,mem_le_peer_mic 
+01a4 202026af branch le_rx_match 
 
 p_le_parse:
-01ac 6fe0c334 fetch 1 ,mem_le_packet_llid 
-01ad c1000000 rtneq llid_reserved 
-01ae c001b04a beq llid_le_ll ,le_parse_ll 
-01af 202028e1 branch le_parse_l2cap 
+01a5 6fe0c334 fetch 1 ,mem_le_packet_llid 
+01a6 c1000000 rtneq llid_reserved 
+01a7 c001b04a beq llid_le_ll ,le_parse_ll 
+01a8 202028e1 branch le_parse_l2cap 
 
 p_le_init_adv:
-01b0 793f8030 set0 mark_ble_crc_fail ,mark 
-01b1 20202af6 branch le_init_adv + 1 
+01a9 793f8030 set0 mark_ble_crc_fail ,mark 
+01aa 20202af6 branch le_init_adv + 1 
 
 p_le_adv_not_match:
-01b2 20402152 call shutdown_radio 
-01b3 70890000 jam 0 ,0x8900 
-01b4 793f8030 set0 mark_ble_crc_fail ,mark 
-01b5 20202ae3 branch le_adv_not_match + 1 
+01ab 20402152 call shutdown_radio 
+01ac 70890000 jam 0 ,0x8900 
+01ad 793f8030 set0 mark_ble_crc_fail ,mark 
+01ae 20202ae3 branch le_adv_not_match + 1 
 
 p_le_parse_l2cap:
-01b6 efe10006 ifetch 2 ,contr 
-01b7 c00201b9 beq le_l2cap_cid_att ,p_le_parse_att 
-01b8 202028eb branch le_parse_l2cap_next + 2 
+01af efe10006 ifetch 2 ,contr 
+01b0 c00201b2 beq le_l2cap_cid_att ,p_le_parse_att 
+01b1 202028eb branch le_parse_l2cap_next + 2 
 
 p_le_parse_att:
-01b9 efe18006 ifetch 3 ,contr 
-01ba 67e1c397 store 3 ,mem_le_att_opcode 
-01bb c00501be beq attop_read_request ,p_le_parse_att_read_request 
-01bc c00901cd beq attop_write_request ,p_le_parse_att_write_request 
-01bd 20202b96 branch le_parse_att2 
+01b2 efe18006 ifetch 3 ,contr 
+01b3 67e1c397 store 3 ,mem_le_att_opcode 
+01b4 c00501b7 beq attop_read_request ,p_le_parse_att_read_request 
+01b5 c00901c6 beq attop_write_request ,p_le_parse_att_write_request 
+01b6 20202b96 branch le_parse_att2 
 
 p_le_parse_att_read_request:
-01be 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-01bf c31dad19 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
-01c0 20402dc7 call le_check_encrypt_state 
-01c1 68494398 fetcht 2 ,mem_le_att_handle 
-01c2 6fe0c321 fetch 1 ,mem_le_configuration 
-01c3 c28181c8 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+01b7 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+01b8 c31dad19 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
+01b9 20402dc7 call le_check_encrypt_state 
+01ba 68494398 fetcht 2 ,mem_le_att_handle 
+01bb 6fe0c321 fetch 1 ,mem_le_configuration 
+01bc c28181c1 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-01c4 6fe14398 fetch 2 ,mem_le_att_handle 
-01c5 c0182e03 beq 0x30 ,le_send_att_error_response_notfound 
-01c6 68494398 fetcht 2 ,mem_le_att_handle 
-01c7 20202d1d branch le_send_att_read_response 
+01bd 6fe14398 fetch 2 ,mem_le_att_handle 
+01be c0182e03 beq 0x30 ,le_send_att_error_response_notfound 
+01bf 68494398 fetcht 2 ,mem_le_att_handle 
+01c0 20202d1d branch le_send_att_read_response 
 
 p_le_send_att_read_response_check_auth:
-01c8 6fe14332 fetch 2 ,mem_le_pairing_handle 
-01c9 98467c00 isub temp ,null 
-01ca 242281c4 nbranch p_le_send_att_read_response ,zero 
-01cb 243401c4 nbranch p_le_send_att_read_response ,user 
-01cc 20202d46 branch le_send_att_read_response_error_insufficient_auth 
+01c1 6fe14332 fetch 2 ,mem_le_pairing_handle 
+01c2 98467c00 isub temp ,null 
+01c3 242281bd nbranch p_le_send_att_read_response ,zero 
+01c4 243401bd nbranch p_le_send_att_read_response ,user 
+01c5 20202d46 branch le_send_att_read_response_error_insufficient_auth 
 
 p_le_parse_att_write_request:
-01cd 18c22200 copy contr ,rega 
-01ce 6fe14335 fetch 2 ,mem_le_l2cap_size 
-01cf 1fe0a5fd add pdata ,-3 ,regb 
-01d0 20402929 call le_writeatt_cb 
-01d1 6fe0c78f fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-01d2 c07fadac beq 0xff ,le_send_att_write_response_check_auth 
-01d3 6fe0c795 fetch 1 ,mem_mouse_le_reconnect_flag 
-01d4 203a2dac branch le_send_att_write_response_check_auth ,blank 
-01d5 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
-01d6 c280adac bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
-01d7 5800001a setarg 0x001a 
-01d8 68494398 fetcht 2 ,mem_le_att_handle 
-01d9 98467c00 isub temp ,null 
-01da 2422adac nbranch le_send_att_write_response_check_auth ,zero 
-01db 20202d46 branch le_send_att_read_response_error_insufficient_auth 
+01c6 18c22200 copy contr ,rega 
+01c7 6fe14335 fetch 2 ,mem_le_l2cap_size 
+01c8 1fe0a5fd add pdata ,-3 ,regb 
+01c9 20402929 call le_writeatt_cb 
+01ca 6fe0c78f fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+01cb c07fadac beq 0xff ,le_send_att_write_response_check_auth 
+01cc 6fe0c795 fetch 1 ,mem_mouse_le_reconnect_flag 
+01cd 203a2dac branch le_send_att_write_response_check_auth ,blank 
+01ce 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
+01cf c280adac bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
+01d0 5800001a setarg 0x001a 
+01d1 68494398 fetcht 2 ,mem_le_att_handle 
+01d2 98467c00 isub temp ,null 
+01d3 2422adac nbranch le_send_att_write_response_check_auth ,zero 
+01d4 20202d46 branch le_send_att_read_response_error_insufficient_auth 
 
 p_mouse_le:
-01dc 20402a28 call le_fifo_check_nearly_full 
-01dd 247a0000 nrtn blank 
-01de 6fe0c78f fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-01df c07f81e7 beq 0xff ,p_mouse_le_next 
-01e0 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
-01e1 1fe17e03 and pdata ,0x03 ,pdata 
-01e2 c1818000 rtnne 0x03 
-01e3 6fe0cbf9 fetch 1 ,mem_le_check_retransmit_flag 
-01e4 207a0000 rtn blank 
-01e5 6fe0cbfb fetch 1 ,mem_le_check_retransmit_discon_flag 
-01e6 247a0000 nrtn blank 
+01d5 20402a28 call le_fifo_check_nearly_full 
+01d6 247a0000 nrtn blank 
+01d7 6fe0c78f fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+01d8 c07f81e0 beq 0xff ,p_mouse_le_next 
+01d9 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
+01da 1fe17e03 and pdata ,0x03 ,pdata 
+01db c1818000 rtnne 0x03 
+01dc 6fe0cbfa fetch 1 ,mem_le_check_retransmit_flag 
+01dd 207a0000 rtn blank 
+01de 6fe0cbfc fetch 1 ,mem_le_check_retransmit_discon_flag 
+01df 247a0000 nrtn blank 
 
 p_mouse_le_next:
-01e7 6fe0c956 fetch 1 ,mem_mouse_clear_sensor_data_flag 
-01e8 205a5a71 call mouse_clear_sensor_data_by_reset ,blank 
-01e9 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-01ea c280db5b bbit1 mouse_24g_pairing_flag ,mouse_le_send_empty_packet 
-01eb c2805b5b bbit1 mouse_select_device_flag ,mouse_le_send_empty_packet 
-01ec c282db5b bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
-01ed c2835b5b bbit1 mouse_bt_discovery_button_long_down_flag ,mouse_le_send_empty_packet 
-01ee 20405601 call mouse_motion 
-01ef 20405ab2 call mouse_check_125hz 
-01f0 24740000 nrtn user 
-01f1 20405abc call mouse_current_mult_update 
-01f2 204004bb call p_mouse_data_xy_release 
-01f3 20205b37 branch mouse_le_next + 12 
+01e0 6fe0c956 fetch 1 ,mem_mouse_clear_sensor_data_flag 
+01e1 205a5a71 call mouse_clear_sensor_data_by_reset ,blank 
+01e2 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+01e3 c280db5b bbit1 mouse_24g_pairing_flag ,mouse_le_send_empty_packet 
+01e4 c2805b5b bbit1 mouse_select_device_flag ,mouse_le_send_empty_packet 
+01e5 c282db5b bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
+01e6 c2835b5b bbit1 mouse_bt_discovery_button_long_down_flag ,mouse_le_send_empty_packet 
+01e7 20405601 call mouse_motion 
+01e8 20405ab2 call mouse_check_125hz 
+01e9 24740000 nrtn user 
+01ea 20405abc call mouse_current_mult_update 
+01eb 204004a6 call p_mouse_data_xy_release 
+01ec 20205b37 branch mouse_le_next + 12 
 
 p_gpio_set_wake:
-01f4 18467cff sub temp ,ui_button_gpio_disable ,null 
-01f5 20628000 rtn zero 
-01f6 d9000004 arg 4 ,debug 
-01f7 284ffe07 isolate1 gpio_active_bit ,temp 
-01f8 2020eebd branch gpio_set_wake_high ,true 
-01f9 d9000003 arg 3 ,debug 
-01fa 20206ebd branch gpio_set_wake_high 
+01ed 18467cff sub temp ,ui_button_gpio_disable ,null 
+01ee 20628000 rtn zero 
+01ef d9000004 arg 4 ,debug 
+01f0 284ffe07 isolate1 gpio_active_bit ,temp 
+01f1 2020eebd branch gpio_set_wake_high ,true 
+01f2 d9000003 arg 3 ,debug 
+01f3 20206ebd branch gpio_set_wake_high 
 
 p_gpio_set_wake_by_current_state:
-01fb 18467cff sub temp ,gpio_disable ,null 
-01fc 20628000 rtn zero 
-01fd 6048cb1d storet 1 ,mem_mouse_wheel_temp_gpio 
-01fe 20406ee6 call gpio_get_bit 
-01ff 20208201 branch p_gpio_set_qdec_mode ,true 
-0200 20200206 branch p_gpio_set_low_wake_disable_qdec 
-
-p_gpio_set_qdec_mode:
-0201 2040020f call p_mouse_qdec_disable 
-0202 2040020a call p_mouse_qdec_lpm_cfg 
-0203 20400213 call p_mouse_qdec_enable 
-0204 6848cb1d fetcht 1 ,mem_mouse_wheel_temp_gpio 
-0205 20206f0f branch gpio_set_high_impedance 
+01f4 18467cff sub temp ,gpio_disable ,null 
+01f5 20628000 rtn zero 
+01f6 6048cb1d storet 1 ,mem_mouse_wheel_temp_gpio 
+01f7 20406ee6 call gpio_get_bit 
+01f8 202081fe branch p_gpio_set_qdec_mode ,true 
 
 p_gpio_set_low_wake_disable_qdec:
-0206 6848cb1d fetcht 1 ,mem_mouse_wheel_temp_gpio 
-0207 20406f0f call gpio_set_high_impedance 
-0208 2040020d call p_gpio_set_low_wake 
-0209 2020020f branch p_mouse_qdec_disable 
+01f9 6848cb1d fetcht 1 ,mem_mouse_wheel_temp_gpio 
+01fa 20406f0f call gpio_set_high_impedance 
+01fb 6848cb1d fetcht 1 ,mem_mouse_wheel_temp_gpio 
 
-p_mouse_qdec_lpm_cfg:
-020a d9000006 arg 6 ,debug 
+p_gpio_set_low_wake:
+01fc d9000003 arg 3 ,debug 
+01fd 20206ebd branch gpio_set_wake_high 
 
-p_gpio_wake_cfg_set:
-020b 20406ebd call gpio_set_wake_high 
-020c 20200227 branch p_lpm_write_gpio_wakeup 
+p_gpio_set_qdec_mode:
+01fe 704b1e01 jam 1 ,mem_mouse_qdec_set_flag 
+01ff 6848cb1d fetcht 1 ,mem_mouse_wheel_temp_gpio 
+0200 20406f0f call gpio_set_high_impedance 
+0201 6848cb1d fetcht 1 ,mem_mouse_wheel_temp_gpio 
 
-p_gpio_set_low_wake:
-020d d9000003 arg 3 ,debug 
-020e 2020020b branch p_gpio_wake_cfg_set 
+p_mouse_qdec_lpm_cfg:
+0202 d9000006 arg 6 ,debug 
+0203 20206ebd branch gpio_set_wake_high 
 
-p_mouse_qdec_disable:
-020f 58000010 setarg 0x10 
-0210 67f08141 store 1 ,core_puwakeup 
-
-p_mouse_lpo_wait:
-0211 37d98200 until null ,lpo_edge 
-0212 20600000 rtn 
-
-p_mouse_qdec_enable:
-0213 58000080 setarg 0x80 
-0214 67f08141 store 1 ,core_puwakeup 
-0215 37d98200 until null ,lpo_edge 
-0216 20200211 branch p_mouse_lpo_wait 
+p_mouse_puchk_disable:
+0204 58000010 setarg 0x10 
+
+p_mouse_puchk_set:
+0205 67f08141 store 1 ,core_puwakeup 
+0206 37d98200 until null ,lpo_edge 
+0207 20600000 rtn 
+
+p_mouse_puchk_enable:
+0208 58000080 setarg 0x80 
+0209 20200205 branch p_mouse_puchk_set 
+
+p_mouse_lpm_before_common:
+020a 20400476 call p_clear_wake 
+020b 704b1e00 jam 0 ,mem_mouse_qdec_set_flag 
+020c 2020550d branch mouse_lpm_before_common + 1 
 
 p_lpm_sleep:
-0217 6fe143e9 fetch 2 ,mem_cb_before_lpm_sleep 
-0218 20407d79 call callback_func 
+020d 6fe143e9 fetch 2 ,mem_cb_before_lpm_sleep 
+020e 20407d79 call callback_func 
 
 p_lpm_sleep_skip_cb_function:
-0219 6fe240ad fetch 4 ,mem_sleep_counter_all 
-021a 9840fe00 iadd temp ,pdata 
-021b 67e240ad store 4 ,mem_sleep_counter_all 
-021c 2040021e call p_lpm_save_context 
-021d 20202425 branch lpm_sleep_skip_cb_function + 4 
+020f 6fe240ad fetch 4 ,mem_sleep_counter_all 
+0210 9840fe00 iadd temp ,pdata 
+0211 67e240ad store 4 ,mem_sleep_counter_all 
+0212 20400218 call p_lpm_save_context 
+0213 20400215 call p_mouse_puchk_set_check 
+0214 20202425 branch lpm_sleep_skip_cb_function + 4 
+
+p_mouse_puchk_set_check:
+0215 6fe0cb1e fetch 1 ,mem_mouse_qdec_set_flag 
+0216 203a0204 branch p_mouse_puchk_disable ,blank 
+0217 20200208 branch p_mouse_puchk_enable 
 
 p_lpm_save_context:
-021e 600440e7 storer mark ,8 ,mem_saved_mark 
-021f d8c08070 arg core_gpio_conf ,contr 
-0220 d8a040cc arg mem_saved_gpio ,contw 
-0221 20407c8f call memcpy16 
-0222 d8c080d4 arg core_gpio_conf_hi ,contr 
-0223 20407c89 call memcpy8 
-0224 6ff08080 fetch 1 ,core_spid_ctrl 
-0225 67e0c0ef store 1 ,mem_saved_spidctrl 
-0226 18422400 copy temp ,regb 
+0218 600440e7 storer mark ,8 ,mem_saved_mark 
+0219 d8c08070 arg core_gpio_conf ,contr 
+021a d8a040cc arg mem_saved_gpio ,contw 
+021b 20407c8f call memcpy16 
+021c d8c080d4 arg core_gpio_conf_hi ,contr 
+021d 20407c89 call memcpy8 
+021e 6ff08080 fetch 1 ,core_spid_ctrl 
+021f 67e0c0ef store 1 ,mem_saved_spidctrl 
+0220 18422400 copy temp ,regb 
 
 p_lpm_write_gpio_wakeup:
-0227 df20000c arg 12 ,loopcnt 
-0228 da200016 arg mem_gpio_wakeup_cfg ,rega 
-0229 da60814d arg core_gpio_wakeup_cfg ,regc 
-022a 37d98200 until null ,lpo_edge 
+0221 df20000c arg 12 ,loopcnt 
+0222 da200016 arg mem_gpio_wakeup_cfg ,rega 
+0223 da60814d arg core_gpio_wakeup_cfg ,regc 
+0224 37d98200 until null ,lpo_edge 
 
 p_lpm_write_gpio_loop:
-022b efe08011 ifetch 1 ,rega 
-022c e8408013 ifetcht 1 ,regc 
-022d 98467c00 isub temp ,null 
-022e 20228231 branch p_lpm_write_gpio_loop_next ,zero 
-022f e7e08013 istore 1 ,regc 
-0230 37d98200 until null ,lpo_edge 
+0225 efe08011 ifetch 1 ,rega 
+0226 e8408013 ifetcht 1 ,regc 
+0227 98467c00 isub temp ,null 
+0228 2022822b branch p_lpm_write_gpio_loop_next ,zero 
+0229 e7e08013 istore 1 ,regc 
+022a 37d98200 until null ,lpo_edge 
 
 p_lpm_write_gpio_loop_next:
-0231 1a20a201 increase 1 ,rega 
-0232 1a60a601 increase 1 ,regc 
-0233 c200022b loop p_lpm_write_gpio_loop 
-0234 1a420400 copy regb ,temp 
-0235 20600000 rtn 
+022b 1a20a201 increase 1 ,rega 
+022c 1a60a601 increase 1 ,regc 
+022d c2000225 loop p_lpm_write_gpio_loop 
+022e 1a420400 copy regb ,temp 
+022f 20600000 rtn 
 
 p_otp_read_data:
-0236 20406b3a call enable_otp_read 
-0237 20406b75 call otp_read_data + 1 
-0238 20206b38 branch otp_disable_chgpump 
+0230 20406b3a call enable_otp_read 
+0231 20406b75 call otp_read_data + 1 
+0232 20206b38 branch otp_disable_chgpump 
 
 p_g24_reconn_dispatch:
-0239 6fe145e0 fetch 2 ,mem_24g_reconn_count 
-023a d84001f8 arg 0x01f8 ,temp 
-023b 98417e00 iand temp ,pdata 
-023c 203a0241 branch p_g24_reconn_dispatch_next ,blank 
-023d 6fe145e0 fetch 2 ,mem_24g_reconn_count 
-023e 1fe0fe01 increase 1 ,pdata 
-023f 67e145e0 store 2 ,mem_24g_reconn_count 
-0240 20600000 rtn 
+0233 6fe145e0 fetch 2 ,mem_24g_reconn_count 
+0234 d84001f8 arg 0x01f8 ,temp 
+0235 98417e00 iand temp ,pdata 
+0236 203a023b branch p_g24_reconn_dispatch_next ,blank 
+0237 6fe145e0 fetch 2 ,mem_24g_reconn_count 
+0238 1fe0fe01 increase 1 ,pdata 
+0239 67e145e0 store 2 ,mem_24g_reconn_count 
+023a 20600000 rtn 
 
 p_g24_reconn_dispatch_next:
-0241 2040357f call g24_reconn_data_prep 
-0242 20403651 call g24_transmit_receive_ack 
-0243 242c3586 nbranch g24_reconn_device_fail ,sync 
-0244 2437b586 nbranch g24_reconn_device_fail ,user3 
-0245 2040366e call g24_ackpayload_parse 
-0246 6fe0c57d fetch 1 ,mem_24g_rxdata_length 
-0247 203a0250 branch p_recv_addr_zero_skip ,blank 
+023b 2040357f call g24_reconn_data_prep 
+023c 20403651 call g24_transmit_receive_ack 
+023d 242c3586 nbranch g24_reconn_device_fail ,sync 
+023e 2437b586 nbranch g24_reconn_device_fail ,user3 
+023f 2040366e call g24_ackpayload_parse 
+0240 6fe0c57d fetch 1 ,mem_24g_rxdata_length 
+0241 203a024a branch p_recv_addr_zero_skip ,blank 
 
 p_g24_reconn_dispatch_next_2:
-0248 6fe245cc fetch 4 ,mem_24g_pair_addr 
-0249 684a458f fetcht 4 ,mem_24g_addr 
-024a 98467c00 isub temp ,null 
-024b 2022824d branch p_g24_reconn_mode_judge ,zero 
-024c 2020356e branch g24_reconn_dispatch_next + 9 
+0242 6fe245cc fetch 4 ,mem_24g_pair_addr 
+0243 684a458f fetcht 4 ,mem_24g_addr 
+0244 98467c00 isub temp ,null 
+0245 20228247 branch p_g24_reconn_mode_judge ,zero 
+0246 2020356e branch g24_reconn_dispatch_next + 9 
 
 p_g24_reconn_mode_judge:
-024d 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-024e c2983291 bbit1 mouse_enable_auto_24g_paring ,g24_pair_start 
-024f 20203549 branch g24_reconn_receiver_addr 
+0247 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0248 c2983291 bbit1 mouse_enable_auto_24g_paring ,g24_pair_start 
+0249 20203549 branch g24_reconn_receiver_addr 
 
 p_recv_addr_zero_skip:
-0250 6fe2455f fetch 4 ,mem_24g_rxpayload + 2 
-0251 207a0000 rtn blank 
-0252 20200248 branch p_g24_reconn_dispatch_next_2 
+024a 6fe2455f fetch 4 ,mem_24g_rxpayload + 2 
+024b 207a0000 rtn blank 
+024c 20200242 branch p_g24_reconn_dispatch_next_2 
 
 p_mouse_param_init:
-0253 2040543b call mouse_param_common_init 
-0254 20400256 call p_mouse_le_buff_modify 
-0255 2020544c branch mouse_param_init + 2 
+024d 2040543b call mouse_param_common_init 
+024e 20400250 call p_mouse_le_buff_modify 
+024f 2020544c branch mouse_param_init + 2 
 
 p_mouse_le_buff_modify:
-0256 58004a1d setarg mem_le_tx_buffer0_omemalloc_new 
-0257 67e1433f store 2 ,mem_ble_l2cap_tx_buff0_ptr 
-0258 58000020 setarg mouse_ble_l2cap_txbuff_size_new 
-0259 67e14341 store 2 ,mem_ble_l2cap_tx_buff_size_ptr 
-025a 20600000 rtn 
+0250 58004a1d setarg mem_le_tx_buffer0_omemalloc_new 
+0251 67e1433f store 2 ,mem_ble_l2cap_tx_buff0_ptr 
+0252 58000020 setarg mouse_ble_l2cap_txbuff_size_new 
+0253 67e14341 store 2 ,mem_ble_l2cap_tx_buff_size_ptr 
+0254 20600000 rtn 
 
 p_power_ctrl_start:
-025b 6fe0c437 fetch 1 ,mem_power_ctrl_disable 
-025c 247a0000 nrtn blank 
-025d 6fe144e9 fetch 2 ,mem_ui_state_map 
-025e c3858000 rtnbit1 ui_state_ble_adv 
-025f 6a2145f0 fetchr rega ,2 ,mem_rssi_signal_buf_ptr 
-0260 204035b4 call rssi_average 
-0261 6048c624 storet 1 ,mem_rssi_avg_received 
-0262 6fe0c629 fetch 1 ,mem_rssi_dis_max_24g 
-0263 c5130265 bmark1 mark_24g ,p_power_ctrl_start_next 
-0264 6fe0c62c fetch 1 ,mem_rssi_dis_max_ble 
+0255 6fe0c437 fetch 1 ,mem_power_ctrl_disable 
+0256 247a0000 nrtn blank 
+0257 6fe144e9 fetch 2 ,mem_ui_state_map 
+0258 c3858000 rtnbit1 ui_state_ble_adv 
+0259 6a2145f0 fetchr rega ,2 ,mem_rssi_signal_buf_ptr 
+025a 204035b4 call rssi_average 
+025b 6048c624 storet 1 ,mem_rssi_avg_received 
+025c 6fe0c629 fetch 1 ,mem_rssi_dis_max_24g 
+025d c513025f bmark1 mark_24g ,p_power_ctrl_start_next 
+025e 6fe0c62c fetch 1 ,mem_rssi_dis_max_ble 
 
 p_power_ctrl_start_next:
-0265 98467c00 isub temp ,null 
-0266 2421027f nbranch p_power_ctrl_txpower_incrs_force ,positive 
-0267 6fe0c626 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0268 1fe67c02 sub pdata ,2 ,null 
-0269 2421026d nbranch p_power_ctrl_txpower_decrs_check ,positive 
-026a 6fe0c626 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-026b c0000280 beq 0 ,p_power_ctrl_txpower_incrs 
-026c 20600000 rtn 
+025f 98467c00 isub temp ,null 
+0260 24210279 nbranch p_power_ctrl_txpower_incrs_force ,positive 
+0261 6fe0c626 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0262 1fe67c02 sub pdata ,2 ,null 
+0263 24210267 nbranch p_power_ctrl_txpower_decrs_check ,positive 
+0264 6fe0c626 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0265 c000027a beq 0 ,p_power_ctrl_txpower_incrs 
+0266 20600000 rtn 
 
 p_power_ctrl_txpower_decrs_check:
-026d 6fe0c626 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-026e 6848c627 fetcht 1 ,mem_power_ctrl_pac_succ_cnt_init 
-026f 98467c00 isub temp ,null 
-0270 24628000 nrtn zero 
-0271 70462600 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+0267 6fe0c626 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0268 6848c627 fetcht 1 ,mem_power_ctrl_pac_succ_cnt_init 
+0269 98467c00 isub temp ,null 
+026a 24628000 nrtn zero 
+026b 70462600 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 p_power_ctrl_txpower_decrs:
-0272 6848c624 fetcht 1 ,mem_rssi_avg_received 
-0273 6fe0c628 fetch 1 ,mem_rssi_dis_min_24g 
-0274 c5130276 bmark1 mark_24g ,p_power_ctrl_txpower_decrs_next 
-0275 6fe0c62b fetch 1 ,mem_rssi_dis_min_ble 
+026c 6848c624 fetcht 1 ,mem_rssi_avg_received 
+026d 6fe0c628 fetch 1 ,mem_rssi_dis_min_24g 
+026e c5130270 bmark1 mark_24g ,p_power_ctrl_txpower_decrs_next 
+026f 6fe0c62b fetch 1 ,mem_rssi_dis_min_ble 
 
 p_power_ctrl_txpower_decrs_next:
-0276 98467c00 isub temp ,null 
-0277 24610000 nrtn positive 
-0278 6fe0c625 fetch 1 ,mem_power_ctrl_level 
-0279 c0003715 beq 0 ,power_ctrl_decrs_level0 
-027a 1fe0ffff increase -1 ,pdata 
-027b 67e0c625 store 1 ,mem_power_ctrl_level 
-027c c0010288 beq 2 ,p_power_ctrl_decrs_level2 
-027d c000b70b beq 1 ,power_ctrl_decrs_level1 
-027e 20203715 branch power_ctrl_decrs_level0 
+0270 98467c00 isub temp ,null 
+0271 24610000 nrtn positive 
+0272 6fe0c625 fetch 1 ,mem_power_ctrl_level 
+0273 c0003715 beq 0 ,power_ctrl_decrs_level0 
+0274 1fe0ffff increase -1 ,pdata 
+0275 67e0c625 store 1 ,mem_power_ctrl_level 
+0276 c0010282 beq 2 ,p_power_ctrl_decrs_level2 
+0277 c000b70b beq 1 ,power_ctrl_decrs_level1 
+0278 20203715 branch power_ctrl_decrs_level0 
 
 p_power_ctrl_txpower_incrs_force:
-027f 70462600 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+0279 70462600 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 p_power_ctrl_txpower_incrs:
-0280 6fe0c625 fetch 1 ,mem_power_ctrl_level 
-0281 c0018286 beq 3 ,p_power_ctrl_incrs_level3 
-0282 1fe0fe01 increase 1 ,pdata 
-0283 67e0c625 store 1 ,mem_power_ctrl_level 
-0284 c000b70b beq 1 ,power_ctrl_incrs_level1 
-0285 c0010288 beq 2 ,p_power_ctrl_incrs_level2 
+027a 6fe0c625 fetch 1 ,mem_power_ctrl_level 
+027b c0018280 beq 3 ,p_power_ctrl_incrs_level3 
+027c 1fe0fe01 increase 1 ,pdata 
+027d 67e0c625 store 1 ,mem_power_ctrl_level 
+027e c000b70b beq 1 ,power_ctrl_incrs_level1 
+027f c0010282 beq 2 ,p_power_ctrl_incrs_level2 
 
 p_power_ctrl_incrs_level3:
-0286 70414105 jam tx_power_5db ,mem_tx_power 
-0287 20600000 rtn 
+0280 70414105 jam tx_power_5db ,mem_tx_power 
+0281 20600000 rtn 
 
 p_power_ctrl_decrs_level2:
 
 p_power_ctrl_incrs_level2:
-0288 70414103 jam tx_power_3db ,mem_tx_power 
-0289 20600000 rtn 
+0282 70414103 jam tx_power_3db ,mem_tx_power 
+0283 20600000 rtn 
 
 p_mouse_cb_fuction:
-028a 58006235 setarg mouse_24g_short_sleep 
-028b 67e145f8 store 2 ,mem_cb_24g_transmit_short_sleep 
-028c 5800622b setarg mouse_24g_long_sleep 
-028d 67e145fa store 2 ,mem_cb_24g_transmit_long_sleep 
-028e 58000298 setarg p_mouse_24g_before_lpm_sleep 
-028f 67e143e9 store 2 ,mem_cb_before_lpm_sleep 
-0290 202053f3 branch mouse_cb_fuction + 7 
+0284 58006235 setarg mouse_24g_short_sleep 
+0285 67e145f8 store 2 ,mem_cb_24g_transmit_short_sleep 
+0286 5800622b setarg mouse_24g_long_sleep 
+0287 67e145fa store 2 ,mem_cb_24g_transmit_long_sleep 
+0288 58000296 setarg p_mouse_24g_before_lpm_sleep 
+0289 67e143e9 store 2 ,mem_cb_before_lpm_sleep 
+028a 202053f3 branch mouse_cb_fuction + 7 
 
 p_soft_reset:
-0291 20800000 clear_stack 
-0292 20558294 call p_mouse_wheel_init_set ,wake 
-0293 20202003 branch soft_reset + 2 
+028b 2435a002 nbranch soft_reset + 1 ,wake 
+028c 37d98200 until null ,lpo_edge 
+028d 37d98200 until null ,lpo_edge 
+028e 20800000 clear_stack 
+028f 20558291 call p_mouse_wheel_init_set ,wake 
+0290 20202003 branch soft_reset + 2 
 
 p_mouse_wheel_init_set:
-0294 6848c64a fetcht 1 ,mem_whee_a_data_gpio 
-0295 20406edd call gpio_config_input 
-0296 6848c64b fetcht 1 ,mem_whee_b_data_gpio 
-0297 20206edd branch gpio_config_input 
+0291 20400204 call p_mouse_puchk_disable 
+0292 6848c64a fetcht 1 ,mem_whee_a_data_gpio 
+0293 20406edd call gpio_config_input 
+0294 6848c64b fetcht 1 ,mem_whee_b_data_gpio 
+0295 20206edd branch gpio_config_input 
 
 p_mouse_24g_before_lpm_sleep:
-0298 20600000 rtn 
+0296 20600000 rtn 
 
 p_mouse_load_device_info_check:
-0299 2040044b call p_mouse_store_normal_tx_power 
-029a 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-029b c289dd60 bbit1 mouse_enable_eeprom ,mouse_load_eeprom_info_check 
-029c c2895d6e bbit1 mouse_enable_flash ,mouse_load_flash_info_check 
-029d c28a029f bbit1 mouse_enable_otp ,p_mouse_load_otp_info_check 
-029e 20600000 rtn 
+0297 20400449 call p_mouse_store_normal_tx_power 
+0298 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0299 c289dd60 bbit1 mouse_enable_eeprom ,mouse_load_eeprom_info_check 
+029a c2895d6e bbit1 mouse_enable_flash ,mouse_load_flash_info_check 
+029b c28a029d bbit1 mouse_enable_otp ,p_mouse_load_otp_info_check 
+029c 20600000 rtn 
 
 p_mouse_load_otp_info_check:
-029f 204002aa call p_mouse_device_flag_temp_store 
-02a0 20405e43 call mouse_read_otp_dpi 
-02a1 20405db4 call mouse_read_otp_device_flag 
-02a2 204002be call p_mouse_device_flag_check 
-02a3 204002a7 call p_mouse_select_device_by_switch_check 
-02a4 204002ad call p_mouse_read_otp_device_info 
-02a5 204002c6 call p_mouse_read_otp_le_addr_increase_count_info 
-02a6 20205daa branch mouse_otp_load_app_initflag 
+029d 204002a8 call p_mouse_device_flag_temp_store 
+029e 20405e43 call mouse_read_otp_dpi 
+029f 20405db4 call mouse_read_otp_device_flag 
+02a0 204002bc call p_mouse_device_flag_check 
+02a1 204002a5 call p_mouse_select_device_by_switch_check 
+02a2 204002ab call p_mouse_read_otp_device_info 
+02a3 204002c4 call p_mouse_read_otp_le_addr_increase_count_info 
+02a4 20205daa branch mouse_otp_load_app_initflag 
 
 p_mouse_select_device_by_switch_check:
-02a7 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-02a8 c4150000 rtnbit0 mouse_enable_select_device_by_switch_gpio 
-02a9 204004c6 call p_mouse_check_select_device_by_switch 
+02a5 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+02a6 c4150000 rtnbit0 mouse_enable_select_device_by_switch_gpio 
+02a7 204004b1 call p_mouse_check_select_device_by_switch 
 
 p_mouse_device_flag_temp_store:
-02aa 6fe0c666 fetch 1 ,mem_device_flag 
-02ab 67e0ca06 store 1 ,mem_mouse_device_flag_temp 
-02ac 20600000 rtn 
+02a8 6fe0c666 fetch 1 ,mem_device_flag 
+02a9 67e0ca06 store 1 ,mem_mouse_device_flag_temp 
+02aa 20600000 rtn 
 
 p_mouse_read_otp_device_info:
-02ad 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-02ae c29f5dd1 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_read_otp_le_device1 
-02af 20205dcc branch mouse_read_otp_device_info 
+02ab 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+02ac c29f5dd1 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_read_otp_le_device1 
+02ad 20205dcc branch mouse_read_otp_device_info 
 
 p_mouse_app_initflag_check:
-02b0 6fe1468e fetch 2 ,mem_store_flag 
-02b1 d840aa55 arg eeprom_init_flag ,temp 
-02b2 98467c00 isub temp ,null 
-02b3 20228333 branch p_mouse_load_device_info ,zero 
-02b4 6049468e storet 2 ,mem_store_flag 
-02b5 20405c9c call mouse_ble_init_address 
-02b6 6fe0c9a1 fetch 1 ,mem_device_flag_temp 
-02b7 67e0c666 store 1 ,mem_device_flag 
-02b8 20405c8c call mouse_load_default_dpi 
-02b9 58001122 setarg 0x1122 
-02ba 67e14695 store 2 ,mem_random_addr_increase_count 
+02ae 6fe1468e fetch 2 ,mem_store_flag 
+02af d840aa55 arg eeprom_init_flag ,temp 
+02b0 98467c00 isub temp ,null 
+02b1 20228331 branch p_mouse_load_device_info ,zero 
+02b2 6049468e storet 2 ,mem_store_flag 
+02b3 20405c9c call mouse_ble_init_address 
+02b4 6fe0c9a1 fetch 1 ,mem_device_flag_temp 
+02b5 67e0c666 store 1 ,mem_device_flag 
+02b6 20405c8c call mouse_load_default_dpi 
+02b7 58001122 setarg 0x1122 
+02b8 67e14695 store 2 ,mem_random_addr_increase_count 
 
 p_mouse_device_flag_temp_load:
-02bb 6fe0ca06 fetch 1 ,mem_mouse_device_flag_temp 
-02bc 67e0c666 store 1 ,mem_device_flag 
-02bd 20600000 rtn 
+02b9 6fe0ca06 fetch 1 ,mem_mouse_device_flag_temp 
+02ba 67e0c666 store 1 ,mem_device_flag 
+02bb 20600000 rtn 
 
 p_mouse_device_flag_check:
-02be 6fe0c666 fetch 1 ,mem_device_flag 
-02bf 1fe67c00 sub pdata ,0 ,null 
-02c0 202282bb branch p_mouse_device_flag_temp_load ,zero 
-02c1 1fe67c04 sub pdata ,4 ,null 
-02c2 202282c4 branch p_mouse_24g_init ,zero 
-02c3 20610000 rtn positive 
+02bc 6fe0c666 fetch 1 ,mem_device_flag 
+02bd 1fe67c00 sub pdata ,0 ,null 
+02be 202282b9 branch p_mouse_device_flag_temp_load ,zero 
+02bf 1fe67c04 sub pdata ,4 ,null 
+02c0 202282c2 branch p_mouse_24g_init ,zero 
+02c1 20610000 rtn positive 
 
 p_mouse_24g_init:
-02c4 70466600 jam mode_24g_device ,mem_device_flag 
-02c5 20600000 rtn 
+02c2 70466600 jam mode_24g_device ,mem_device_flag 
+02c3 20600000 rtn 
 
 p_mouse_read_otp_le_addr_increase_count_info:
-02c6 6fe0c666 fetch 1 ,mem_device_flag 
-02c7 c1000000 rtneq mode_24g_device 
-02c8 6a4149fe fetchr regb ,2 ,mem_otp_offset_le_addr_increase_count 
-02c9 1a422600 copy regb ,regc 
+02c4 6fe0c666 fetch 1 ,mem_device_flag 
+02c5 c1000000 rtneq mode_24g_device 
+02c6 6a4149fe fetchr regb ,2 ,mem_otp_offset_le_addr_increase_count 
+02c7 1a422600 copy regb ,regc 
 
 p_mouse_read_otp_le_addr_increase_count_loop:
-02ca 20405e3d call mouse_read_otp_le_addr_increase_count_common 
-02cb 6fe149e0 fetch 2 ,mem_random_addr_increase_count_temp 
-02cc 203a02d4 branch p_mouse_le_addr_increase_count_load ,blank 
-02cd 67e149de store 2 ,mem_random_addr_increase_count_last 
-02ce 1a60a602 increase 2 ,regc 
-02cf 6fe14a00 fetch 2 ,mem_otp_offset_le_addr_increase_count_end 
-02d0 9a667c00 isub regc ,null 
-02d1 242102d4 nbranch p_mouse_le_addr_increase_count_load ,positive 
-02d2 1a622400 copy regc ,regb 
-02d3 202002ca branch p_mouse_read_otp_le_addr_increase_count_loop 
+02c8 20405e3d call mouse_read_otp_le_addr_increase_count_common 
+02c9 6fe149e0 fetch 2 ,mem_random_addr_increase_count_temp 
+02ca 203a02d2 branch p_mouse_le_addr_increase_count_load ,blank 
+02cb 67e149de store 2 ,mem_random_addr_increase_count_last 
+02cc 1a60a602 increase 2 ,regc 
+02cd 6fe14a00 fetch 2 ,mem_otp_offset_le_addr_increase_count_end 
+02ce 9a667c00 isub regc ,null 
+02cf 242102d2 nbranch p_mouse_le_addr_increase_count_load ,positive 
+02d0 1a622400 copy regc ,regb 
+02d1 202002c8 branch p_mouse_read_otp_le_addr_increase_count_loop 
 
 p_mouse_le_addr_increase_count_load:
-02d4 6fe149de fetch 2 ,mem_random_addr_increase_count_last 
-02d5 67e14695 store 2 ,mem_random_addr_increase_count 
-02d6 20600000 rtn 
+02d2 6fe149de fetch 2 ,mem_random_addr_increase_count_last 
+02d3 67e14695 store 2 ,mem_random_addr_increase_count 
+02d4 20600000 rtn 
 
 p_mouse_store_device_info:
-02d7 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-02d8 c289dcb1 bbit1 mouse_enable_eeprom ,mouse_store_eeprom_device_info 
-02d9 c2895cb9 bbit1 mouse_enable_flash ,mouse_store_flash_device_info 
-02da c28a02dc bbit1 mouse_enable_otp ,p_mouse_store_otp_device_info 
-02db 20600000 rtn 
+02d5 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+02d6 c289dcb1 bbit1 mouse_enable_eeprom ,mouse_store_eeprom_device_info 
+02d7 c2895cb9 bbit1 mouse_enable_flash ,mouse_store_flash_device_info 
+02d8 c28a02da bbit1 mouse_enable_otp ,p_mouse_store_otp_device_info 
+02d9 20600000 rtn 
 
 p_mouse_store_otp_device_info:
-02dc 204002df call p_mouse_write_otp_locall_addr 
-02dd 204002e4 call p_mouse_write_otp_device_flag 
-02de 20205cc1 branch mouse_store_otp_device_info + 1 
+02da 204002dd call p_mouse_write_otp_locall_addr 
+02db 204002e2 call p_mouse_write_otp_device_flag 
+02dc 20205cc1 branch mouse_store_otp_device_info + 1 
 
 p_mouse_write_otp_locall_addr:
-02df 6fe0c666 fetch 1 ,mem_device_flag 
-02e0 c1000000 rtneq mode_24g_device 
-02e1 c000830b beq mode_bt_device1 ,p_mouse_write_otp_le_locall_addr1 
-02e2 c001031f beq mode_bt_device2 ,p_mouse_write_otp_le_locall_addr2 
-02e3 20600000 rtn 
+02dd 6fe0c666 fetch 1 ,mem_device_flag 
+02de c1000000 rtneq mode_24g_device 
+02df c0008309 beq mode_bt_device1 ,p_mouse_write_otp_le_locall_addr1 
+02e0 c001031d beq mode_bt_device2 ,p_mouse_write_otp_le_locall_addr2 
+02e1 20600000 rtn 
 
 p_mouse_write_otp_device_flag:
-02e4 6a4149e2 fetchr regb ,2 ,mem_otp_offset_device_flag 
-02e5 1a422600 copy regb ,regc 
+02e2 6a4149e2 fetchr regb ,2 ,mem_otp_offset_device_flag 
+02e3 1a422600 copy regb ,regc 
 
 p_mouse_write_otp_device_flag_loop:
-02e6 20405dc0 call mouse_read_otp_device_flag_common 
-02e7 6fe0c9a1 fetch 1 ,mem_device_flag_temp 
-02e8 203a02f0 branch p_mouse_device_flag_store ,blank 
-02e9 67e0c9a0 store 1 ,mem_device_flag_last 
-02ea 1a60a601 increase 1 ,regc 
-02eb 6fe149e4 fetch 2 ,mem_otp_offset_device_flag_end 
-02ec 9a667c00 isub regc ,null 
-02ed 24610000 nrtn positive 
-02ee 1a622400 copy regc ,regb 
-02ef 202002e6 branch p_mouse_write_otp_device_flag_loop 
+02e4 20405dc0 call mouse_read_otp_device_flag_common 
+02e5 6fe0c9a1 fetch 1 ,mem_device_flag_temp 
+02e6 203a02ee branch p_mouse_device_flag_store ,blank 
+02e7 67e0c9a0 store 1 ,mem_device_flag_last 
+02e8 1a60a601 increase 1 ,regc 
+02e9 6fe149e4 fetch 2 ,mem_otp_offset_device_flag_end 
+02ea 9a667c00 isub regc ,null 
+02eb 24610000 nrtn positive 
+02ec 1a622400 copy regc ,regb 
+02ed 202002e4 branch p_mouse_write_otp_device_flag_loop 
 
 p_mouse_device_flag_store:
-02f0 6fe0c9a0 fetch 1 ,mem_device_flag_last 
-02f1 1fe17ef0 and pdata ,0xf0 ,pdata 
-02f2 203a02fa branch p_mouse_device_flag_store_check ,blank 
-02f3 6fe0c666 fetch 1 ,mem_device_flag 
-02f4 20400308 call p_mouse_device_flag_otp_store_judge 
-02f5 67e0c9a2 store 1 ,mem_device_flag_value 
-
-p_mouse_devoce_flag_store_end:
-02f6 df200001 arg 1 ,loopcnt 
-02f7 1a622400 copy regc ,regb 
-02f8 da2049a2 arg mem_device_flag_value ,rega 
-02f9 20206b45 branch otp_write 
+02ee 6fe0c9a0 fetch 1 ,mem_device_flag_last 
+02ef 1fe17ef0 and pdata ,0xf0 ,pdata 
+02f0 203a02f8 branch p_mouse_device_flag_store_check ,blank 
+02f1 6fe0c666 fetch 1 ,mem_device_flag 
+02f2 20400306 call p_mouse_device_flag_otp_store_judge 
+02f3 67e0c9a2 store 1 ,mem_device_flag_value 
+
+p_mouse_device_flag_store_end:
+02f4 df200001 arg 1 ,loopcnt 
+02f5 1a622400 copy regc ,regb 
+02f6 da2049a2 arg mem_device_flag_value ,rega 
+02f7 20206b45 branch otp_write 
 
 p_mouse_device_flag_store_check:
-02fa 6848c9a0 fetcht 1 ,mem_device_flag_last 
-02fb 6fe0c666 fetch 1 ,mem_device_flag 
-02fc 20400308 call p_mouse_device_flag_otp_store_judge 
-02fd 98467c00 isub temp ,null 
-02fe 20628000 rtn zero 
-02ff 1ff27e00 lshift4 pdata ,pdata 
-0300 9840fe00 iadd temp ,pdata 
-0301 67e0c9a2 store 1 ,mem_device_flag_value 
-0302 1a627e00 copy regc ,pdata 
-0303 684949e2 fetcht 2 ,mem_otp_offset_device_flag 
-0304 98467c00 isub temp ,null 
-0305 202282f6 branch p_mouse_devoce_flag_store_end ,zero 
-0306 1a60a7ff increase -1 ,regc 
-0307 202002f6 branch p_mouse_devoce_flag_store_end 
+02f8 6848c9a0 fetcht 1 ,mem_device_flag_last 
+02f9 6fe0c666 fetch 1 ,mem_device_flag 
+02fa 20400306 call p_mouse_device_flag_otp_store_judge 
+02fb 98467c00 isub temp ,null 
+02fc 20628000 rtn zero 
+02fd 1ff27e00 lshift4 pdata ,pdata 
+02fe 9840fe00 iadd temp ,pdata 
+02ff 67e0c9a2 store 1 ,mem_device_flag_value 
+0300 1a627e00 copy regc ,pdata 
+0301 684949e2 fetcht 2 ,mem_otp_offset_device_flag 
+0302 98467c00 isub temp ,null 
+0303 202282f4 branch p_mouse_device_flag_store_end ,zero 
+0304 1a60a7ff increase -1 ,regc 
+0305 202002f4 branch p_mouse_device_flag_store_end 
 
 p_mouse_device_flag_otp_store_judge:
-0308 c1800000 rtnne mode_24g_device 
-0309 1fe0fe04 increase 4 ,pdata 
-030a 20600000 rtn 
+0306 c1800000 rtnne mode_24g_device 
+0307 1fe0fe04 increase 4 ,pdata 
+0308 20600000 rtn 
 
 p_mouse_write_otp_le_locall_addr1:
-030b 6a4149ee fetchr regb ,2 ,mem_otp_offset_le_locall_addr1 
-030c 1a422600 copy regb ,regc 
+0309 6a4149ee fetchr regb ,2 ,mem_otp_offset_le_locall_addr1 
+030a 1a422600 copy regb ,regc 
 
 p_mouse_write_otp_le_locall_addr1_loop:
-030d 20405df3 call mouse_read_otp_le_locall_addr1_common 
-030e 6fe349b5 fetch 6 ,mem_mouse_le_locall_addr1_temp 
-030f 203a0317 branch p_mouse_le_local_addr1_store ,blank 
-0310 67e349af store 6 ,mem_mouse_le_locall_addr1_last 
-0311 1a60a606 increase 6 ,regc 
-0312 6fe149f0 fetch 2 ,mem_otp_offset_le_locall_addr1_end 
-0313 9a667c00 isub regc ,null 
-0314 24610000 nrtn positive 
-0315 1a622400 copy regc ,regb 
-0316 2020030d branch p_mouse_write_otp_le_locall_addr1_loop 
+030b 20405df3 call mouse_read_otp_le_locall_addr1_common 
+030c 6fe349b5 fetch 6 ,mem_mouse_le_locall_addr1_temp 
+030d 203a0315 branch p_mouse_le_local_addr1_store ,blank 
+030e 67e349af store 6 ,mem_mouse_le_locall_addr1_last 
+030f 1a60a606 increase 6 ,regc 
+0310 6fe149f0 fetch 2 ,mem_otp_offset_le_locall_addr1_end 
+0311 9a667c00 isub regc ,null 
+0312 24610000 nrtn positive 
+0313 1a622400 copy regc ,regb 
+0314 2020030b branch p_mouse_write_otp_le_locall_addr1_loop 
 
 p_mouse_le_local_addr1_store:
-0317 6fe349af fetch 6 ,mem_mouse_le_locall_addr1_last 
-0318 684b466e fetcht 6 ,mem_device1_locall_addr 
-0319 98467c00 isub temp ,null 
-031a 20628000 rtn zero 
-031b df200006 arg 6 ,loopcnt 
-031c da20466e arg mem_device1_locall_addr ,rega 
-031d 1a622400 copy regc ,regb 
-031e 20206b45 branch otp_write 
+0315 6fe349af fetch 6 ,mem_mouse_le_locall_addr1_last 
+0316 684b466e fetcht 6 ,mem_device1_locall_addr 
+0317 98467c00 isub temp ,null 
+0318 20628000 rtn zero 
+0319 df200006 arg 6 ,loopcnt 
+031a da20466e arg mem_device1_locall_addr ,rega 
+031b 1a622400 copy regc ,regb 
+031c 20206b45 branch otp_write 
 
 p_mouse_write_otp_le_locall_addr2:
-031f 6a4149f6 fetchr regb ,2 ,mem_otp_offset_le_locall_addr2 
-0320 1a422600 copy regb ,regc 
+031d 6a4149f6 fetchr regb ,2 ,mem_otp_offset_le_locall_addr2 
+031e 1a422600 copy regb ,regc 
 
 p_mouse_write_otp_le_locall_addr2_loop:
-0321 20405e17 call mouse_read_otp_le_locall_addr2_common 
-0322 6fe349cd fetch 6 ,mem_mouse_le_locall_addr2_temp 
-0323 203a032b branch p_mouse_le_local_addr2_store ,blank 
-0324 67e349c7 store 6 ,mem_mouse_le_locall_addr2_last 
-0325 1a60a606 increase 6 ,regc 
-0326 6fe149f8 fetch 2 ,mem_otp_offset_le_locall_addr2_end 
-0327 9a667c00 isub regc ,null 
-0328 24610000 nrtn positive 
-0329 1a622400 copy regc ,regb 
-032a 20200321 branch p_mouse_write_otp_le_locall_addr2_loop 
+031f 20405e17 call mouse_read_otp_le_locall_addr2_common 
+0320 6fe349cd fetch 6 ,mem_mouse_le_locall_addr2_temp 
+0321 203a0329 branch p_mouse_le_local_addr2_store ,blank 
+0322 67e349c7 store 6 ,mem_mouse_le_locall_addr2_last 
+0323 1a60a606 increase 6 ,regc 
+0324 6fe149f8 fetch 2 ,mem_otp_offset_le_locall_addr2_end 
+0325 9a667c00 isub regc ,null 
+0326 24610000 nrtn positive 
+0327 1a622400 copy regc ,regb 
+0328 2020031f branch p_mouse_write_otp_le_locall_addr2_loop 
 
 p_mouse_le_local_addr2_store:
-032b 6fe349c7 fetch 6 ,mem_mouse_le_locall_addr2_last 
-032c 684b467b fetcht 6 ,mem_device2_locall_addr 
-032d 98467c00 isub temp ,null 
-032e 20628000 rtn zero 
-032f df200006 arg 6 ,loopcnt 
-0330 da20467b arg mem_device2_locall_addr ,rega 
-0331 1a622400 copy regc ,regb 
-0332 20206b45 branch otp_write 
+0329 6fe349c7 fetch 6 ,mem_mouse_le_locall_addr2_last 
+032a 684b467b fetcht 6 ,mem_device2_locall_addr 
+032b 98467c00 isub temp ,null 
+032c 20628000 rtn zero 
+032d df200006 arg 6 ,loopcnt 
+032e da20467b arg mem_device2_locall_addr ,rega 
+032f 1a622400 copy regc ,regb 
+0330 20206b45 branch otp_write 
 
 p_mouse_load_device_info:
-0333 2040036c call p_mouse_le_locall_addr_init_check 
-0334 20400384 call p_mouse_select_reconn_device 
-0335 20400337 call p_mouse_otp_load_dpi 
-0336 20205c90 branch mouse_load_device_info + 1 
+0331 2040036a call p_mouse_le_locall_addr_init_check 
+0332 20400382 call p_mouse_select_reconn_device 
+0333 20400335 call p_mouse_otp_load_dpi 
+0334 20205c90 branch mouse_load_device_info + 1 
 
 p_mouse_otp_load_dpi:
-0337 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0338 c4078000 rtnbit0 mouse_enable_load_and_store_dpi 
-0339 6fe0c690 fetch 1 ,mem_mouse_dpi 
-033a c0005c94 beq 0 ,mouse_otp_load_dpi 
-033b c003033d beq 6 ,p_mouse_dpi_reinit 
-033c 20600000 rtn 
+0335 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0336 c4078000 rtnbit0 mouse_enable_load_and_store_dpi 
+0337 6fe0c690 fetch 1 ,mem_mouse_dpi 
+0338 c0005c94 beq 0 ,mouse_otp_load_dpi 
+0339 c003033b beq 6 ,p_mouse_dpi_reinit 
+033a 20600000 rtn 
 
 p_mouse_dpi_reinit:
-033d 70469000 jam mouse_dpi_level1 ,mem_mouse_dpi 
-033e 20600000 rtn 
+033b 70469000 jam mouse_dpi_level1 ,mem_mouse_dpi 
+033c 20600000 rtn 
 
 p_mouse_store_dpi_info_check:
-033f 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0340 c289dcb5 bbit1 mouse_enable_eeprom ,mouse_store_eerpom_dpi 
-0341 c28a0343 bbit1 mouse_enable_otp ,p_mouse_store_otp_dpi 
-0342 20600000 rtn 
+033d 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+033e c289dcb5 bbit1 mouse_enable_eeprom ,mouse_store_eerpom_dpi 
+033f c28a0341 bbit1 mouse_enable_otp ,p_mouse_store_otp_dpi 
+0340 20600000 rtn 
 
 p_mouse_store_otp_dpi:
-0343 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0344 c4078000 rtnbit0 mouse_enable_load_and_store_dpi 
-0345 6a4149fa fetchr regb ,2 ,mem_otp_offset_dpi 
-0346 1a422600 copy regb ,regc 
+0341 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0342 c4078000 rtnbit0 mouse_enable_load_and_store_dpi 
+0343 6a4149fa fetchr regb ,2 ,mem_otp_offset_dpi 
+0344 1a422600 copy regb ,regc 
 
 p_mouse_otp_store_dpi_loop:
-0347 20405e51 call mouse_read_otp_dpi_common 
-0348 6fe0c9d4 fetch 1 ,mem_mouse_dpi_temp 
-0349 203a0351 branch p_mouse_otp_dpi_store ,blank 
-034a 67e0c9d3 store 1 ,mem_mouse_dpi_last 
-034b 1a60a601 increase 1 ,regc 
-034c 6fe149fc fetch 2 ,mem_otp_offset_dpi_end 
-034d 9a667c00 isub regc ,null 
-034e 24610000 nrtn positive 
-034f 1a622400 copy regc ,regb 
-0350 20200347 branch p_mouse_otp_store_dpi_loop 
+0345 20405e51 call mouse_read_otp_dpi_common 
+0346 6fe0c9d4 fetch 1 ,mem_mouse_dpi_temp 
+0347 203a034f branch p_mouse_otp_dpi_store ,blank 
+0348 67e0c9d3 store 1 ,mem_mouse_dpi_last 
+0349 1a60a601 increase 1 ,regc 
+034a 6fe149fc fetch 2 ,mem_otp_offset_dpi_end 
+034b 9a667c00 isub regc ,null 
+034c 24610000 nrtn positive 
+034d 1a622400 copy regc ,regb 
+034e 20200345 branch p_mouse_otp_store_dpi_loop 
 
 p_mouse_otp_dpi_store:
-0351 6fe0c9d3 fetch 1 ,mem_mouse_dpi_last 
-0352 1fe17ef0 and pdata ,0xf0 ,pdata 
-0353 203a035b branch p_mouse_dpi_store_last_check ,blank 
-0354 6fe0c690 fetch 1 ,mem_mouse_dpi 
-0355 20400369 call p_mouse_dpi_otp_store_judge 
-0356 67e0c9d5 store 1 ,mem_mouse_otp_dpi_value 
+034f 6fe0c9d3 fetch 1 ,mem_mouse_dpi_last 
+0350 1fe17ef0 and pdata ,0xf0 ,pdata 
+0351 203a0359 branch p_mouse_dpi_store_last_check ,blank 
+0352 6fe0c690 fetch 1 ,mem_mouse_dpi 
+0353 20400367 call p_mouse_dpi_otp_store_judge 
+0354 67e0c9d5 store 1 ,mem_mouse_otp_dpi_value 
 
 p_mouse_dpi_store_end:
-0357 df200001 arg 1 ,loopcnt 
-0358 1a622400 copy regc ,regb 
-0359 da2049d5 arg mem_mouse_otp_dpi_value ,rega 
-035a 20206b45 branch otp_write 
+0355 df200001 arg 1 ,loopcnt 
+0356 1a622400 copy regc ,regb 
+0357 da2049d5 arg mem_mouse_otp_dpi_value ,rega 
+0358 20206b45 branch otp_write 
 
 p_mouse_dpi_store_last_check:
-035b 6848c9d3 fetcht 1 ,mem_mouse_dpi_last 
-035c 6fe0c690 fetch 1 ,mem_mouse_dpi 
-035d 20400369 call p_mouse_dpi_otp_store_judge 
-035e 98467c00 isub temp ,null 
-035f 20628000 rtn zero 
-0360 1ff27e00 lshift4 pdata ,pdata 
-0361 9840fe00 iadd temp ,pdata 
-0362 67e0c9d5 store 1 ,mem_mouse_otp_dpi_value 
-0363 1a627e00 copy regc ,pdata 
-0364 684949fa fetcht 2 ,mem_otp_offset_dpi 
-0365 98467c00 isub temp ,null 
-0366 20228357 branch p_mouse_dpi_store_end ,zero 
-0367 1a60a7ff increase -1 ,regc 
-0368 20200357 branch p_mouse_dpi_store_end 
+0359 6848c9d3 fetcht 1 ,mem_mouse_dpi_last 
+035a 6fe0c690 fetch 1 ,mem_mouse_dpi 
+035b 20400367 call p_mouse_dpi_otp_store_judge 
+035c 98467c00 isub temp ,null 
+035d 20628000 rtn zero 
+035e 1ff27e00 lshift4 pdata ,pdata 
+035f 9840fe00 iadd temp ,pdata 
+0360 67e0c9d5 store 1 ,mem_mouse_otp_dpi_value 
+0361 1a627e00 copy regc ,pdata 
+0362 684949fa fetcht 2 ,mem_otp_offset_dpi 
+0363 98467c00 isub temp ,null 
+0364 20228355 branch p_mouse_dpi_store_end ,zero 
+0365 1a60a7ff increase -1 ,regc 
+0366 20200355 branch p_mouse_dpi_store_end 
 
 p_mouse_dpi_otp_store_judge:
-0369 c1800000 rtnne mouse_dpi_level1 
-036a 1fe0fe06 increase 6 ,pdata 
-036b 20600000 rtn 
+0367 c1800000 rtnne mouse_dpi_level1 
+0368 1fe0fe06 increase 6 ,pdata 
+0369 20600000 rtn 
 
 p_mouse_le_locall_addr_init_check:
-036c 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-036d c29f0373 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_le_addr1_init_check 
-036e 6fe0c666 fetch 1 ,mem_device_flag 
-036f c1000000 rtneq mode_24g_device 
-0370 c0008373 beq mode_bt_device1 ,p_mouse_le_addr1_init_check 
-0371 c001037a beq mode_bt_device2 ,p_mouse_le_addr2_init_check 
-0372 20600000 rtn 
+036a 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+036b c29f0371 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_le_addr1_init_check 
+036c 6fe0c666 fetch 1 ,mem_device_flag 
+036d c1000000 rtneq mode_24g_device 
+036e c0008371 beq mode_bt_device1 ,p_mouse_le_addr1_init_check 
+036f c0010378 beq mode_bt_device2 ,p_mouse_le_addr2_init_check 
+0370 20600000 rtn 
 
 p_mouse_le_addr1_init_check:
-0373 6fe3466e fetch 6 ,mem_device1_locall_addr 
-0374 684b46e6 fetcht 6 ,mem_mouse_compare_addr 
-0375 98467c00 isub temp ,null 
-0376 24628000 nrtn zero 
-0377 6fe342db fetch 6 ,mem_le_lap 
-0378 67e3466e store 6 ,mem_device1_locall_addr 
-0379 20600000 rtn 
+0371 6fe3466e fetch 6 ,mem_device1_locall_addr 
+0372 684b46e6 fetcht 6 ,mem_mouse_compare_addr 
+0373 98467c00 isub temp ,null 
+0374 24628000 nrtn zero 
+0375 6fe342db fetch 6 ,mem_le_lap 
+0376 67e3466e store 6 ,mem_device1_locall_addr 
+0377 20600000 rtn 
 
 p_mouse_le_addr2_init_check:
-037a 6fe3466e fetch 6 ,mem_device1_locall_addr 
-037b 684b46e6 fetcht 6 ,mem_mouse_compare_addr 
-037c 98467c00 isub temp ,null 
-037d 24628000 nrtn zero 
-037e 6fe342db fetch 6 ,mem_le_lap 
-037f 1fe0ff00 add pdata ,0x0100 ,pdata 
-0380 67e3466e store 6 ,mem_device1_locall_addr 
-0381 20600000 rtn 
+0378 6fe3466e fetch 6 ,mem_device1_locall_addr 
+0379 684b46e6 fetcht 6 ,mem_mouse_compare_addr 
+037a 98467c00 isub temp ,null 
+037b 24628000 nrtn zero 
+037c 6fe342db fetch 6 ,mem_le_lap 
+037d 1fe0ff00 add pdata ,0x0100 ,pdata 
+037e 67e3466e store 6 ,mem_device1_locall_addr 
+037f 20600000 rtn 
 
 p_mouse_buletooth_fast_conn_end:
-0382 20400384 call p_mouse_select_reconn_device 
-0383 20205a9c branch mouse_buletooth_fast_conn_end + 2 
+0380 20400382 call p_mouse_select_reconn_device 
+0381 20205a9c branch mouse_buletooth_fast_conn_end + 2 
 
 p_mouse_select_reconn_device:
-0384 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0385 c30a5c6f bbit0 mouse_enable_otp ,mouse_select_reconn_device 
-0386 c29f038c bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_load_le_device1 
+0382 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0383 c30a5c6f bbit0 mouse_enable_otp ,mouse_select_reconn_device 
+0384 c29f038a bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_load_le_device1 
 
 p_mouse_select_reconn_device_start:
-0387 6fe0c666 fetch 1 ,mem_device_flag 
-0388 c1000000 rtneq mode_24g_device 
-0389 c000838c beq mode_bt_device1 ,p_mouse_load_le_device1 
-038a c0010391 beq mode_bt_device2 ,p_mouse_load_le_device2 
-038b 20600000 rtn 
+0385 6fe0c666 fetch 1 ,mem_device_flag 
+0386 c1000000 rtneq mode_24g_device 
+0387 c000838a beq mode_bt_device1 ,p_mouse_load_le_device1 
+0388 c001038f beq mode_bt_device2 ,p_mouse_load_le_device2 
+0389 20600000 rtn 
 
 p_mouse_load_le_device1:
-038c 6fe34668 fetch 6 ,mem_device1_addr 
-038d 67e34116 store 6 ,mem_hci_plap 
-038e 6fe3466e fetch 6 ,mem_device1_locall_addr 
-038f 67e342db store 6 ,mem_le_lap 
-0390 20600000 rtn 
+038a 6fe34668 fetch 6 ,mem_device1_addr 
+038b 67e34116 store 6 ,mem_hci_plap 
+038c 6fe3466e fetch 6 ,mem_device1_locall_addr 
+038d 67e342db store 6 ,mem_le_lap 
+038e 20600000 rtn 
 
 p_mouse_load_le_device2:
-0391 6fe34675 fetch 6 ,mem_device2_addr 
-0392 67e34116 store 6 ,mem_hci_plap 
-0393 6fe3467b fetch 6 ,mem_device2_locall_addr 
-0394 67e342db store 6 ,mem_le_lap 
-0395 20600000 rtn 
+038f 6fe34675 fetch 6 ,mem_device2_addr 
+0390 67e34116 store 6 ,mem_hci_plap 
+0391 6fe3467b fetch 6 ,mem_device2_locall_addr 
+0392 67e342db store 6 ,mem_le_lap 
+0393 20600000 rtn 
 
 p_mouse_store_remote_bdaddr:
-0396 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0397 c4010000 rtnbit0 mouse_store_eeprom_flag 
-0398 c30a5c43 bbit0 mouse_enable_otp ,mouse_store_remote_bdaddr + 1 
-0399 d8e00002 arg mouse_store_eeprom_flag ,queue 
-039a 20405f04 call mouse_disable_function_flag 
-039b 20405c4a call mouse_check_device_addr 
-039c 2040039e call p_mouse_before_store_reconn_info 
-039d 20205ca3 branch mouse_store_device_info_delay 
+0394 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0395 c4010000 rtnbit0 mouse_store_eeprom_flag 
+0396 c30a5c43 bbit0 mouse_enable_otp ,mouse_store_remote_bdaddr + 1 
+0397 d8e00002 arg mouse_store_eeprom_flag ,queue 
+0398 20405f04 call mouse_disable_function_flag 
+0399 20405c4a call mouse_check_device_addr 
+039a 2040039c call p_mouse_before_store_reconn_info 
+039b 20205ca3 branch mouse_store_device_info_delay 
 
 p_mouse_before_store_reconn_info:
-039e 6fe0c666 fetch 1 ,mem_device_flag 
-039f c00083a2 beq mode_bt_device1 ,p_mouse_store_le_device1 
-03a0 c00103a7 beq mode_bt_device2 ,p_mouse_store_le_device2 
-03a1 20600000 rtn 
+039c 6fe0c666 fetch 1 ,mem_device_flag 
+039d c00083a0 beq mode_bt_device1 ,p_mouse_store_le_device1 
+039e c00103a5 beq mode_bt_device2 ,p_mouse_store_le_device2 
+039f 20600000 rtn 
 
 p_mouse_store_le_device1:
-03a2 6fe30178 fetch 6 ,mem_le_plap 
-03a3 67e34668 store 6 ,mem_device1_addr 
-03a4 6fe342db fetch 6 ,mem_le_lap 
-03a5 67e3466e store 6 ,mem_device1_locall_addr 
-03a6 20600000 rtn 
+03a0 6fe30178 fetch 6 ,mem_le_plap 
+03a1 67e34668 store 6 ,mem_device1_addr 
+03a2 6fe342db fetch 6 ,mem_le_lap 
+03a3 67e3466e store 6 ,mem_device1_locall_addr 
+03a4 20600000 rtn 
 
 p_mouse_store_le_device2:
-03a7 6fe30178 fetch 6 ,mem_le_plap 
-03a8 67e34675 store 6 ,mem_device2_addr 
-03a9 6fe342db fetch 6 ,mem_le_lap 
-03aa 67e3467b store 6 ,mem_device2_locall_addr 
-03ab 20600000 rtn 
+03a5 6fe30178 fetch 6 ,mem_le_plap 
+03a6 67e34675 store 6 ,mem_device2_addr 
+03a7 6fe342db fetch 6 ,mem_le_lap 
+03a8 67e3467b store 6 ,mem_device2_locall_addr 
+03a9 20600000 rtn 
 
 p_mouse_bb_event_timer:
-03ac 204003c2 call p_mouse_le_send_conn_param_update_timer 
-03ad 2040614d call mouse_low_voltage_led_timer 
-03ae 2040553d call mouse_adc_read 
-03af 20406110 call mouse_logo_led_on_timer 
-03b0 204061b1 call mouse_led_multi_timer 
-03b1 2040611e call mouse_dpi_led_blink_delay_timer 
-03b2 2040328e call g24_pair_timeout_timer 
-03b3 20403531 call g24_reconn_timeout_timer 
-03b4 20405fdd call mouse_24g_long_sleep_param_update_timer 
-03b5 2040572c call mouse_dpi_key_check_long_press 
-03b6 20405b9b call mouse_bt_discovery_check 
-03b7 20405bab call mouse_commbination_key_process 
-03b8 20405bce call mouse_check_discovery_timeout_timer 
-03b9 20405bd3 call mouse_check_direct_timeout_timer 
-03ba 20405be1 call mouse_le_enable_att_list_timer 
-03bb 20405bee call mouse_le_battery_updata_timer 
-03bc 20405be4 call mouse_le_send_smp_security_request_timer 
-03bd 20405bfb call mouse_check_reconnect_delay_long_sleep 
-03be 204003c5 call p_mouse_current_mult_update_timer 
-03bf 204056b6 call mouse_wheel_trigger_timer 
-03c0 20405c0e call mouse_store_information_delay_timer 
-03c1 20205c05 branch mouse_check_no_data_timeout_timer 
+03aa 204003c0 call p_mouse_le_send_conn_param_update_timer 
+03ab 2040614d call mouse_low_voltage_led_timer 
+03ac 2040553d call mouse_adc_read 
+03ad 20406110 call mouse_logo_led_on_timer 
+03ae 204061b1 call mouse_led_multi_timer 
+03af 2040611e call mouse_dpi_led_blink_delay_timer 
+03b0 2040328e call g24_pair_timeout_timer 
+03b1 20403531 call g24_reconn_timeout_timer 
+03b2 20405fdd call mouse_24g_long_sleep_param_update_timer 
+03b3 2040572c call mouse_dpi_key_check_long_press 
+03b4 20405b9b call mouse_bt_discovery_check 
+03b5 20405bab call mouse_commbination_key_process 
+03b6 20405bce call mouse_check_discovery_timeout_timer 
+03b7 20405bd3 call mouse_check_direct_timeout_timer 
+03b8 20405be1 call mouse_le_enable_att_list_timer 
+03b9 20405bee call mouse_le_battery_updata_timer 
+03ba 20405be4 call mouse_le_send_smp_security_request_timer 
+03bb 20405bfb call mouse_check_reconnect_delay_long_sleep 
+03bc 204003c3 call p_mouse_current_mult_update_timer 
+03bd 204056b6 call mouse_wheel_trigger_timer 
+03be 20405c0e call mouse_store_information_delay_timer 
+03bf 20205c05 branch mouse_check_no_data_timeout_timer 
 
 p_mouse_le_send_conn_param_update_timer:
-03c2 da604a05 arg mem_mouse_le_send_conn_param_update_timer ,regc 
-03c3 da405aef arg mouse_updata_le_param ,regb 
-03c4 202042e0 branch timer_single_step 
+03c0 da604a05 arg mem_mouse_le_send_conn_param_update_timer ,regc 
+03c1 da405aef arg mouse_updata_le_param ,regb 
+03c2 202042e0 branch timer_single_step 
 
 p_mouse_current_mult_update_timer:
-03c5 da60477e arg mem_mouse_current_mult_timer ,regc 
-03c6 da4003c8 arg p_mouse_current_mult_reinit ,regb 
-03c7 202042e0 branch timer_single_step 
+03c3 da60477e arg mem_mouse_current_mult_timer ,regc 
+03c4 da4003c6 arg p_mouse_current_mult_reinit ,regb 
+03c5 202042e0 branch timer_single_step 
 
 p_mouse_current_mult_reinit:
-03c8 6fe0c96b fetch 1 ,mem_lpm_mult_init 
-03c9 67e0c0c0 store 1 ,mem_lpm_mult 
-03ca 70477d03 jam 3 ,mem_mouse_long_mult_flag 
-03cb 20600000 rtn 
+03c6 6fe0c96b fetch 1 ,mem_lpm_mult_init 
+03c7 67e0c0c0 store 1 ,mem_lpm_mult 
+03c8 70477d03 jam 3 ,mem_mouse_long_mult_flag 
+03c9 20600000 rtn 
 
 p_mouse_start_discovery:
-03cc 204059ed call mouse_sensor_powerdown 
-03cd 20205c1b branch mouse_start_discovery + 1 
+03ca 204059ed call mouse_sensor_powerdown 
+03cb 20205c1b branch mouse_start_discovery + 1 
 
 p_mouse_priority_bb_event:
-03ce 1a627e00 copy regc ,pdata 
-03cf c02003e3 beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
-03d0 c00a83e8 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
-03d1 c01903da beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-03d2 c01e0406 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-03d3 c01c8417 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-03d4 c01d041a beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-03d5 c00a03d7 beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
-03d6 20205ac3 branch mouse_priority_bb_event + 2 
+03cc 1a627e00 copy regc ,pdata 
+03cd c02003e1 beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
+03ce c00a83e6 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
+03cf c01903d8 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+03d0 c01e0404 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+03d1 c01c8415 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+03d2 c01d0418 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+03d3 c00a03d5 beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
+03d4 20205ac3 branch mouse_priority_bb_event + 2 
 
 p_mouse_le_bb_event_connected:
-03d7 58000000 setarg 0 
-03d8 67e24bf8 store 4 ,mem_le_conn_first_rcv 
-03d9 20205ad0 branch mouse_le_bb_event_connected 
+03d5 58000000 setarg 0 
+03d6 67e24bf9 store 4 ,mem_le_conn_first_rcv 
+03d7 20205ad0 branch mouse_le_bb_event_connected 
 
 p_mouse_le_ll_start_encryt:
-03da 6fe0c795 fetch 1 ,mem_mouse_le_reconnect_flag 
-03db c00083de beq 1 ,p_mouse_le_ll_reconn_start_encryt 
-03dc 70484414 jam 20 ,mem_le_start_encrypt_timer 
-03dd 202003e0 branch p_mouse_le_ll_reconn_start_encryt_new 
+03d8 6fe0c795 fetch 1 ,mem_mouse_le_reconnect_flag 
+03d9 c00083dc beq 1 ,p_mouse_le_ll_reconn_start_encryt 
+03da 70484414 jam 20 ,mem_le_start_encrypt_timer 
+03db 202003de branch p_mouse_le_ll_reconn_start_encryt_new 
 
 p_mouse_le_ll_reconn_start_encryt:
-03de 20405aef call mouse_updata_le_param 
-03df 70484405 jam 5 ,mem_le_start_encrypt_timer 
+03dc 20405aef call mouse_updata_le_param 
+03dd 70484405 jam 5 ,mem_le_start_encrypt_timer 
 
 p_mouse_le_ll_reconn_start_encryt_new:
-03e0 6fe0cbf7 fetch 1 ,mem_le_conn_rcv_new 
-03e1 67e0cbf8 store 1 ,mem_le_conn_first_rcv 
-03e2 20205af6 branch mouse_le_ll_enable_start_enc_flag 
+03de 6fe0cbf8 fetch 1 ,mem_le_conn_rcv_new 
+03df 67e0cbf9 store 1 ,mem_le_conn_first_rcv 
+03e0 20205af6 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_conn_param_update_rsp_recieved:
-03e3 6fe0ca04 fetch 1 ,mem_mouse_le_send_conn_param_update 
-03e4 247a0000 nrtn blank 
-03e5 704a0401 jam 1 ,mem_mouse_le_send_conn_param_update 
-03e6 704a051e jam 30 ,mem_mouse_le_send_conn_param_update_timer 
-03e7 20600000 rtn 
+03e1 6fe0ca04 fetch 1 ,mem_mouse_le_send_conn_param_update 
+03e2 247a0000 nrtn blank 
+03e3 704a0401 jam 1 ,mem_mouse_le_send_conn_param_update 
+03e4 704a051e jam 30 ,mem_mouse_le_send_conn_param_update_timer 
+03e5 20600000 rtn 
 
 p_mouse_le_bb_disconnected:
-03e8 58000000 setarg 0 
-03e9 67e0ca04 store 1 ,mem_mouse_le_send_conn_param_update 
-03ea 67e0ca05 store 1 ,mem_mouse_le_send_conn_param_update_timer 
-03eb 58000000 setarg 0 
-03ec 67e147c0 store 2 ,mem_le_battery_level_updata_timer 
-03ed 70479400 jam 0 ,mem_mouse_le_bb_connected_flag 
-03ee d8400006 arg le_interval_7_5ms ,temp 
-03ef 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-03f0 c28d83f2 bbit1 mouse_enable_bt_125hz ,p_mouse_le_bb_disconnected_next 
-03f1 d8400007 arg le_interval_8_75ms ,temp 
+03e6 58000000 setarg 0 
+03e7 67e0ca04 store 1 ,mem_mouse_le_send_conn_param_update 
+03e8 67e0ca05 store 1 ,mem_mouse_le_send_conn_param_update_timer 
+03e9 58000000 setarg 0 
+03ea 67e147c0 store 2 ,mem_le_battery_level_updata_timer 
+03eb 70479400 jam 0 ,mem_mouse_le_bb_connected_flag 
+03ec d8400006 arg le_interval_7_5ms ,temp 
+03ed 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+03ee c28d83f0 bbit1 mouse_enable_bt_125hz ,p_mouse_le_bb_disconnected_next 
+03ef d8400007 arg le_interval_8_75ms ,temp 
 
 p_mouse_le_bb_disconnected_next:
-03f2 604942d3 storet 2 ,mem_le_interval_min 
-03f3 604942d5 storet 2 ,mem_le_interval_min + 2 
-03f4 7047c200 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
-03f5 70495600 jam 0 ,mem_mouse_clear_sensor_data_flag 
-03f6 204029cb call le_clr_config_more_data 
-03f7 202003f8 branch p_mouse_bb_disconnected 
+03f0 604942d3 storet 2 ,mem_le_interval_min 
+03f1 604942d5 storet 2 ,mem_le_interval_min + 2 
+03f2 7047c200 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
+03f3 70495600 jam 0 ,mem_mouse_clear_sensor_data_flag 
+03f4 204029cb call le_clr_config_more_data 
+03f5 202003f6 branch p_mouse_bb_disconnected 
 
 p_mouse_bb_disconnected:
-03f8 20405b7b call mouse_bb_discon_clear_stack 
-03f9 6fe143ef fetch app_disc_rsn_size ,mem_app_disconn_reason 
-03fa c28383fd bbit1 app_disc_ble ,p_mouse4_0_event_bb_disconn 
-03fb c28042fc bbit1 app_disc_by_button ,app_disconn_reason_clear 
-03fc 20205c1a branch mouse_start_discovery 
+03f6 20405b7b call mouse_bb_discon_clear_stack 
+03f7 6fe143ef fetch app_disc_rsn_size ,mem_app_disconn_reason 
+03f8 c28383fb bbit1 app_disc_ble ,p_mouse4_0_event_bb_disconn 
+03f9 c28042fc bbit1 app_disc_by_button ,app_disconn_reason_clear 
+03fa 20205c1a branch mouse_start_discovery 
 
 p_mouse4_0_event_bb_disconn:
-03fd 6fe143ef fetch app_disc_rsn_size ,mem_app_disconn_reason 
-03fe c28042fc bbit1 app_disc_by_button ,app_disconn_reason_clear 
-03ff 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
-0400 1fe17e03 and pdata ,0x03 ,pdata 
-0401 20405b21 call mouse_le_clean_connect_flag 
-0402 c081d4a9 bne 0x03 ,mouse_start_reconnect 
-0403 6fe0cbfb fetch 1 ,mem_le_check_retransmit_discon_flag 
-0404 243a54a9 nbranch mouse_start_reconnect ,blank 
-0405 202054cd branch mouse_app_enter_hibernate 
+03fb 6fe143ef fetch app_disc_rsn_size ,mem_app_disconn_reason 
+03fc c28042fc bbit1 app_disc_by_button ,app_disconn_reason_clear 
+03fd 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
+03fe 1fe17e03 and pdata ,0x03 ,pdata 
+03ff 20405b21 call mouse_le_clean_connect_flag 
+0400 c081d4a9 bne 0x03 ,mouse_start_reconnect 
+0401 6fe0cbfc fetch 1 ,mem_le_check_retransmit_discon_flag 
+0402 243a54a9 nbranch mouse_start_reconnect ,blank 
+0403 202054cd branch mouse_app_enter_hibernate 
 
 p_mouse_24g_attempt_success:
-0406 6fe2458f fetch 4 ,mem_24g_addr 
-0407 67e245e8 store 4 ,mem_24g_receiver_addr 
-0408 67e24691 store 4 ,mem_mouse_24g_addr 
-0409 2040355a call g24_ch_syncword_crc8_init 
-040a 20405c0b call mouse_no_data_timer_init 
-040b 2040618e call mouse_device_poweron_led_config 
-040c 20405a73 call mouse_init_sensor_reset 
-040d 70477d00 jam 0 ,mem_mouse_long_mult_flag 
-040e 7045fc00 jam 0 ,mem_24g_conn_sm 
-040f 7045e200 jam 0 ,mem_24g_reconn_type 
-0410 6fe245e8 fetch 4 ,mem_24g_receiver_addr 
-0411 684a45e4 fetcht 4 ,mem_24g_fast_conn_addr 
-0412 98467c00 isub temp ,null 
-0413 20628000 rtn zero 
-0414 20406016 call mouse_soft_agc_disable 
-0415 2040044e call p_mouse_fetch_normal_tx_power 
-0416 20206042 branch mouse_24g_first_store_reconn_info 
+0404 6fe2458f fetch 4 ,mem_24g_addr 
+0405 67e245e8 store 4 ,mem_24g_receiver_addr 
+0406 67e24691 store 4 ,mem_mouse_24g_addr 
+0407 2040355a call g24_ch_syncword_crc8_init 
+0408 20405c0b call mouse_no_data_timer_init 
+0409 2040618e call mouse_device_poweron_led_config 
+040a 20405a73 call mouse_init_sensor_reset 
+040b 70477d00 jam 0 ,mem_mouse_long_mult_flag 
+040c 7045fc00 jam 0 ,mem_24g_conn_sm 
+040d 7045e200 jam 0 ,mem_24g_reconn_type 
+040e 6fe245e8 fetch 4 ,mem_24g_receiver_addr 
+040f 684a45e4 fetcht 4 ,mem_24g_fast_conn_addr 
+0410 98467c00 isub temp ,null 
+0411 20628000 rtn zero 
+0412 20406016 call mouse_soft_agc_disable 
+0413 2040044c call p_mouse_fetch_normal_tx_power 
+0414 20206042 branch mouse_24g_first_store_reconn_info 
 
 p_mouse_24g_pairing_complete:
-0417 20406016 call mouse_soft_agc_disable 
-0418 2040044e call p_mouse_fetch_normal_tx_power 
-0419 20206084 branch mouse_24g_pairing_complete 
+0415 20406016 call mouse_soft_agc_disable 
+0416 2040044c call p_mouse_fetch_normal_tx_power 
+0417 20206084 branch mouse_24g_pairing_complete 
 
 p_mouse_24g_attempt_fail:
-041a 20406016 call mouse_soft_agc_disable 
-041b 2040044e call p_mouse_fetch_normal_tx_power 
-041c 6fe0c87a fetch 1 ,mem_mouse_dpi_button_state 
-041d c1008000 rtneq dpi_button_state_down 
-041e 6fe0c600 fetch 1 ,mem_24g_attempt_fail_flag 
-041f 243a5ff2 nbranch mouse_24g_hibernate_set ,blank 
-0420 6fe0c5e2 fetch 1 ,mem_24g_reconn_type 
-0421 c0020425 beq pair_and_3_0_addr ,p_mouse_24g_auto_pair_attempt_fail 
-0422 c000e05f beq fast_conn_and_receiver ,mouse_24g_fast_conn_attempt_fail 
-0423 c001842c beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
-0424 20206055 branch mouse_24g_attempt_fail + 2 
+0418 20406016 call mouse_soft_agc_disable 
+0419 2040044c call p_mouse_fetch_normal_tx_power 
+041a 6fe0c87a fetch 1 ,mem_mouse_dpi_button_state 
+041b c1008000 rtneq dpi_button_state_down 
+041c 6fe0c600 fetch 1 ,mem_24g_attempt_fail_flag 
+041d 243a5ff2 nbranch mouse_24g_hibernate_set ,blank 
+041e 6fe0c5e2 fetch 1 ,mem_24g_reconn_type 
+041f c0020423 beq pair_and_3_0_addr ,p_mouse_24g_auto_pair_attempt_fail 
+0420 c000e05f beq fast_conn_and_receiver ,mouse_24g_fast_conn_attempt_fail 
+0421 c001842a beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
+0422 20206055 branch mouse_24g_attempt_fail + 2 
 
 p_mouse_24g_auto_pair_attempt_fail:
-0425 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0426 c31f6059 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
-0427 6fe0c71b fetch 1 ,mem_device_number 
-0428 c000e059 beq 1 ,mouse_24g_attempt_fail_enter_hibernate 
+0423 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0424 c31f6059 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
+0425 6fe0c71b fetch 1 ,mem_device_number 
+0426 c000e059 beq 1 ,mouse_24g_attempt_fail_enter_hibernate 
 
 p_mouse_24g_first_bluetooth_reconnect:
-0429 20406018 call mouse_24g_stop 
-042a 70466601 jam mode_bt_device1 ,mem_device_flag 
-042b 202054a0 branch mouse_start_reconnect_device 
+0427 20406018 call mouse_24g_stop 
+0428 70466601 jam mode_bt_device1 ,mem_device_flag 
+0429 202054a0 branch mouse_start_reconnect_device 
 
 p_mouse_reconn_dongle_attempt_fail:
-042c 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-042d c31f6059 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
-042e c289e059 bbit1 mouse_enable_eeprom ,mouse_24g_attempt_fail_enter_hibernate 
-042f c28a6059 bbit1 mouse_enable_otp ,mouse_24g_attempt_fail_enter_hibernate 
-0430 c2896059 bbit1 mouse_enable_flash ,mouse_24g_attempt_fail_enter_hibernate 
-0431 20206034 branch mouse_24g_start_auto_pair 
+042a 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+042b c31f6059 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
+042c c289e059 bbit1 mouse_enable_eeprom ,mouse_24g_attempt_fail_enter_hibernate 
+042d c28a6059 bbit1 mouse_enable_otp ,mouse_24g_attempt_fail_enter_hibernate 
+042e c2896059 bbit1 mouse_enable_flash ,mouse_24g_attempt_fail_enter_hibernate 
+042f 20206034 branch mouse_24g_start_auto_pair 
 
 p_mouse_start_work:
-0432 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0433 c29f0437 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_first_start_auto_pair_mode 
-0434 6fe0c666 fetch 1 ,mem_device_flag 
-0435 c000043e beq mode_24g_device ,p_mouse_24g_start_mode 
-0436 20205491 branch mouse_le_fast_conn_judge 
+0430 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0431 c29f0435 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_first_start_auto_pair_mode 
+0432 6fe0c666 fetch 1 ,mem_device_flag 
+0433 c000043c beq mode_24g_device ,p_mouse_24g_start_mode 
+0434 20205491 branch mouse_le_fast_conn_judge 
 
 p_mouse_24g_first_start_auto_pair_mode:
-0437 204054ac call mouse_wakeup_from_power_check 
-0438 2034043a branch p_mouse_24g_first_start_reconn ,user 
-0439 2020602f branch mouse_24g_reconn_general_dongle 
+0435 204054ac call mouse_wakeup_from_power_check 
+0436 20340438 branch p_mouse_24g_first_start_reconn ,user 
+0437 2020602f branch mouse_24g_reconn_general_dongle 
 
 p_mouse_24g_first_start_reconn:
-043a 6fe0c666 fetch 1 ,mem_device_flag 
-043b c0006067 beq mode_24g_device ,mouse_24g_reconn_dongle_start 
-043c 20405aa8 call mouse_bluetooth_fast_conn_disable 
-043d 20200429 branch p_mouse_24g_first_bluetooth_reconnect 
+0438 6fe0c666 fetch 1 ,mem_device_flag 
+0439 c0006067 beq mode_24g_device ,mouse_24g_reconn_dongle_start 
+043a 20405aa8 call mouse_bluetooth_fast_conn_disable 
+043b 20200427 branch p_mouse_24g_first_bluetooth_reconnect 
 
 p_mouse_24g_start_mode:
-043e 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-043f c308e02a bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-0440 20406195 call mouse_device_24g_pair_led_config 
-0441 204054ac call mouse_wakeup_from_power_check 
-0442 20346067 branch mouse_24g_reconn_dongle_start ,user 
-0443 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0444 c2980446 bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_reconn_general_dongle 
-0445 20206023 branch mouse_24g_start_mode + 7 
+043c 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+043d c308e02a bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+043e 20406195 call mouse_device_24g_pair_led_config 
+043f 204054ac call mouse_wakeup_from_power_check 
+0440 20346067 branch mouse_24g_reconn_dongle_start ,user 
+0441 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0442 c2980444 bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_reconn_general_dongle 
+0443 20206023 branch mouse_24g_start_mode + 7 
 
 p_mouse_24g_reconn_general_dongle:
-0446 70466600 jam mode_24g_device ,mem_device_flag 
-0447 6fe14721 fetch 2 ,mem_mouse_24g_power_on_fast_conn_timer 
-0448 67e145de store 2 ,mem_24g_reconn_timeout 
-0449 7045e201 jam fast_conn_and_receiver ,mem_24g_reconn_type 
-044a 20203534 branch g24_reconn_start 
+0444 70466600 jam mode_24g_device ,mem_device_flag 
+0445 6fe14721 fetch 2 ,mem_mouse_24g_power_on_fast_conn_timer 
+0446 67e145de store 2 ,mem_24g_reconn_timeout 
+0447 7045e201 jam fast_conn_and_receiver ,mem_24g_reconn_type 
+0448 20203534 branch g24_reconn_start 
 
 p_mouse_store_normal_tx_power:
-044b 6fe0c141 fetch 1 ,mem_tx_power 
-044c 67e0ca07 store 1 ,mem_normal_tx_power 
-044d 20600000 rtn 
+0449 6fe0c141 fetch 1 ,mem_tx_power 
+044a 67e0ca07 store 1 ,mem_normal_tx_power 
+044b 20600000 rtn 
 
 p_mouse_fetch_normal_tx_power:
-044e 6fe0ca07 fetch 1 ,mem_normal_tx_power 
-044f 67e0c141 store 1 ,mem_tx_power 
-0450 20600000 rtn 
+044c 6fe0ca07 fetch 1 ,mem_normal_tx_power 
+044d 67e0c141 store 1 ,mem_tx_power 
+044e 20600000 rtn 
 
 p_mouse_idle:
-0451 2040620e call mouse_low_voltage_led_no_enter_lpm 
-0452 204078aa call ui_check_paring_button 
-0453 20400455 call p_mouse_dpi_check 
-0454 20205e61 branch mouse_idle + 4 
+044f 2040620e call mouse_low_voltage_led_no_enter_lpm 
+0450 204078aa call ui_check_paring_button 
+0451 20400453 call p_mouse_dpi_check 
+0452 20205e61 branch mouse_idle + 4 
 
 p_mouse_dpi_check:
-0455 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
-0456 c17f8000 rtneq gpio_disable 
-0457 da200000 arg 0 ,rega 
-0458 70497705 jam mouse_dpi_key ,mem_mouse_key_temp 
-0459 6848c649 fetcht 1 ,mem_dpi_button_gpio 
-045a 2040045c call p_mouse_dpi_key_check 
-045b 202056c1 branch mouse_dpi_check_next 
+0453 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
+0454 c17f8000 rtneq gpio_disable 
+0455 da200000 arg 0 ,rega 
+0456 70497705 jam mouse_dpi_key ,mem_mouse_key_temp 
+0457 6848c649 fetcht 1 ,mem_dpi_button_gpio 
+0458 2040045a call p_mouse_dpi_key_check 
+0459 202056c1 branch mouse_dpi_check_next 
 
 p_mouse_dpi_key_check:
-045c 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-045d c295d6de bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
-045e 6fe0c974 fetch 1 ,mem_mouse_dpikey_press_status 
-045f 1fe22600 copy pdata ,regc 
-0460 6fe0c654 fetch 1 ,mem_matrix_public_gpio 
-0461 c07f8463 beq gpio_disable ,p_mouse_3io6key_dpi_check 
-0462 202056ce branch mouse_dpi_key_check_next 
+045a 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+045b c295d6de bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+045c 6fe0c974 fetch 1 ,mem_mouse_dpikey_press_status 
+045d 1fe22600 copy pdata ,regc 
+045e 6fe0c654 fetch 1 ,mem_matrix_public_gpio 
+045f c07f8461 beq gpio_disable ,p_mouse_3io6key_dpi_check 
+0460 202056ce branch mouse_dpi_key_check_next 
 
 p_mouse_3io6key_dpi_check:
-0463 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
-0464 20405946 call mouse_gpio_config_output_low 
-0465 6848c649 fetcht 1 ,mem_dpi_button_gpio 
-0466 20200467 branch p_mouse_3io6key_check 
+0461 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
+0462 20405946 call mouse_gpio_config_output_low 
+0463 6848c649 fetcht 1 ,mem_dpi_button_gpio 
+0464 20200465 branch p_mouse_3io6key_check 
 
 p_mouse_3io6key_check:
-0467 1a627e00 copy regc ,pdata 
-0468 67e0c978 store 1 ,mem_mouse_key_status 
-0469 1fe3fe00 lshift pdata ,pdata 
-046a 1fe22400 copy pdata ,regb 
-046b 18422600 copy temp ,regc 
-046c 204055b1 call mouse_gpio_config_input_pd 
-046d 1a620400 copy regc ,temp 
-046e 20406ee6 call gpio_get_bit 
-046f 7d20a400 nsetflag true ,0 ,regb 
-0470 2040593d call mouse_check_press 
-0471 20205929 branch mouse_check_key_connect_gnd_1 
+0465 1a627e00 copy regc ,pdata 
+0466 67e0c978 store 1 ,mem_mouse_key_status 
+0467 1fe3fe00 lshift pdata ,pdata 
+0468 1fe22400 copy pdata ,regb 
+0469 18422600 copy temp ,regc 
+046a 204055b1 call mouse_gpio_config_input_pd 
+046b 1a620400 copy regc ,temp 
+046c 20406ee6 call gpio_get_bit 
+046d 7d20a400 nsetflag true ,0 ,regb 
+046e 2040593d call mouse_check_press 
+046f 20205929 branch mouse_check_key_connect_gnd_1 
 
 p_g24_short_sleep:
-0472 204036b4 call g24_lpm_wait 
-0473 24740000 nrtn user 
-0474 204036be call g24_setgpio_lpm_before 
-0475 20400478 call p_clear_wake 
-0476 6fe1c608 fetch 3 ,mem_24g_short_sleep_set 
-0477 20203622 branch g24_long_seep2 
+0470 204036b4 call g24_lpm_wait 
+0471 24740000 nrtn user 
+0472 204036be call g24_setgpio_lpm_before 
+0473 20400476 call p_clear_wake 
+0474 6fe1c608 fetch 3 ,mem_24g_short_sleep_set 
+0475 20203622 branch g24_long_seep2 
 
 p_clear_wake:
-0478 58000000 setarg 0 
-0479 79207e15 set1 21 ,pdata 
-047a 67e40016 store 8 ,mem_gpio_wakeup_cfg 
-047b 58000000 setarg 0 
-047c 67e2001e store 4 ,mem_gpio_wakeup_cfg + 8 
-047d 20600000 rtn 
+0476 58000000 setarg 0 
+0477 79207e15 set1 21 ,pdata 
+0478 67e40016 store 8 ,mem_gpio_wakeup_cfg 
+0479 58000000 setarg 0 
+047a 67e2001e store 4 ,mem_gpio_wakeup_cfg + 8 
+047b 20600000 rtn 
 
 p_mouse_24g_hibernate_set:
-047e 70460000 jam 0 ,mem_24g_attempt_fail_flag 
-047f 20403647 call g24_transmit_next_packet 
-0480 5fffffff setarg -1 
-0481 67e245af store 4 ,mem_24g_enter_hibernate 
-0482 58000000 setarg 0 
-0483 67e3c846 store 7 ,mem_mouse_key 
-0484 70473f01 jam 1 ,mem_sensor_shutdown_flag 
-0485 204059ed call mouse_sensor_powerdown 
-0486 2020622b branch mouse_24g_long_sleep 
+047c 70460000 jam 0 ,mem_24g_attempt_fail_flag 
+047d 20403647 call g24_transmit_next_packet 
+047e 5fffffff setarg -1 
+047f 67e245af store 4 ,mem_24g_enter_hibernate 
+0480 58000000 setarg 0 
+0481 67e3c846 store 7 ,mem_mouse_key 
+0482 70473f01 jam 1 ,mem_sensor_shutdown_flag 
+0483 204059ed call mouse_sensor_powerdown 
+0484 2020622b branch mouse_24g_long_sleep 
 
 p_mouse_setgpio_hibernate:
-0487 20405a92 call mouse_set_sdio_high 
-0488 20400478 call p_clear_wake 
-0489 204056a9 call mouse_before_hibernate_wheel_gpio_set 
+0485 20405a92 call mouse_set_sdio_high 
+0486 20400476 call p_clear_wake 
+0487 204056a9 call mouse_before_hibernate_wheel_gpio_set 
+0488 6848c654 fetcht 1 ,mem_matrix_public_gpio 
+0489 20406ef7 call gpio_out_active 
 048a 6848c654 fetcht 1 ,mem_matrix_public_gpio 
-048b 20406ef7 call gpio_out_active 
-048c 6848c654 fetcht 1 ,mem_matrix_public_gpio 
-048d 20406ed3 call gpio_clr_wake 
-048e 6fe0c64d fetch 1 ,mem_mouse_sensor_sdio_gpio 
-048f 20405943 call mouse_gpio_config_output_high 
-0490 6848c65a fetcht 1 ,mem_device_switch_gpio 
-0491 204055ab call mouse_gpio_set_pupd_by_input 
-0492 d8400015 arg 21 ,temp 
-0493 204055b5 call mouse_gpio_config_input_pu 
-0494 2040611a call mouse_logo_led_off 
-0495 2040550c call mouse_lpm_before_common 
-0496 204054f9 call mouse_gpio_pd_idle 
-0497 6848c64a fetcht 1 ,mem_whee_a_data_gpio 
+048b 20406ed3 call gpio_clr_wake 
+048c 6fe0c64d fetch 1 ,mem_mouse_sensor_sdio_gpio 
+048d 20405943 call mouse_gpio_config_output_high 
+048e 6848c65a fetcht 1 ,mem_device_switch_gpio 
+048f 204055ab call mouse_gpio_set_pupd_by_input 
+0490 d8400015 arg 21 ,temp 
+0491 204055b5 call mouse_gpio_config_input_pu 
+0492 2040611a call mouse_logo_led_off 
+0493 2040550c call mouse_lpm_before_common 
+0494 204054f9 call mouse_gpio_pd_idle 
+0495 6848c64a fetcht 1 ,mem_whee_a_data_gpio 
+0496 20406f0f call gpio_set_high_impedance 
+0497 6848c64b fetcht 1 ,mem_whee_b_data_gpio 
 0498 20406f0f call gpio_set_high_impedance 
-0499 6848c64b fetcht 1 ,mem_whee_b_data_gpio 
-049a 20406f0f call gpio_set_high_impedance 
-049b 6848c65b fetcht 1 ,mem_mouse_reuse_2ice_gpio 
-049c 204055b5 call mouse_gpio_config_input_pu 
-049d 2040049f call p_mouse_gpio_set_high_impedance 
-049e 202054e5 branch mouse_setgpio_hibernate_next 
-
-p_mouse_gpio_set_high_impedance:
-049f 6fe1c73c fetch 3 ,mem_mouse_set_high_impedance_bit_set 
-04a0 67e18670 store 3 ,mem_pdatatemp 
-04a1 df200018 arg 24 ,loopcnt 
-04a2 d8400000 arg 0 ,temp 
-
-p_mouse_gpio_set_high_impedance_bit_loop:
-04a3 6fe18670 fetch 3 ,mem_pdatatemp 
-04a4 2feffe00 isolate1 0 ,pdata 
-04a5 204084ac call p_gpio_set_analog ,true 
-04a6 6fe18670 fetch 3 ,mem_pdatatemp 
-04a7 1fe37e00 rshift pdata ,pdata 
-04a8 67e18670 store 3 ,mem_pdatatemp 
-04a9 18408401 increase 1 ,temp 
-04aa c20004a3 loop p_mouse_gpio_set_high_impedance_bit_loop 
-04ab 20600000 rtn 
-
-p_gpio_set_analog:
-04ac 18467cff sub temp ,ui_button_gpio_disable ,null 
-04ad 20628000 rtn zero 
-04ae 20206f0b branch gpio_set_analog 
+0499 202054e2 branch mouse_setgpio_hibernate_next 
 
 p_mouse_24g_package_data:
-04af c6930000 rtnmark0 mark_24g 
-04b0 20405601 call mouse_motion 
-04b1 24740000 nrtn user 
-04b2 6fe0c77c fetch 1 ,mem_mouse_24g_long_sleep_flag 
-04b3 70477c00 jam 0 ,mem_mouse_24g_long_sleep_flag 
-04b4 245a04c4 ncall p_mouse_24g_short_sleep_clear_wake ,blank 
-04b5 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-04b6 c30b04b9 bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
-04b7 6fe0c96c fetch 1 ,mem_customer_key 
-04b8 243a60b6 nbranch mouse_24g_keyboard_package_data ,blank 
+049a c6930000 rtnmark0 mark_24g 
+049b 20405601 call mouse_motion 
+049c 24740000 nrtn user 
+049d 6fe0c77c fetch 1 ,mem_mouse_24g_long_sleep_flag 
+049e 70477c00 jam 0 ,mem_mouse_24g_long_sleep_flag 
+049f 245a04af ncall p_mouse_24g_short_sleep_clear_wake ,blank 
+04a0 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+04a1 c30b04a4 bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
+04a2 6fe0c96c fetch 1 ,mem_customer_key 
+04a3 243a60b6 nbranch mouse_24g_keyboard_package_data ,blank 
 
 p_mouse_24g_mouse_package_data:
-04b9 204004bb call p_mouse_data_xy_release 
-04ba 202060a2 branch mouse_24g_mouse_package_data + 1 
+04a4 204004a6 call p_mouse_data_xy_release 
+04a5 202060a2 branch mouse_24g_mouse_package_data + 1 
 
 p_mouse_data_xy_release:
-04bb 6fe0c659 fetch 1 ,mem_sensor_motion_gpio 
-04bc c1ff8000 rtnne gpio_disable 
-04bd 6fe0c77d fetch 1 ,mem_mouse_long_mult_flag 
-04be 207a0000 rtn blank 
-04bf 1fe0ffff increase -1 ,pdata 
-04c0 67e0c77d store 1 ,mem_mouse_long_mult_flag 
-04c1 58000000 setarg 0 
-04c2 67e24847 store 4 ,mem_mouse_x 
-04c3 20205a73 branch mouse_init_sensor_reset 
+04a6 6fe0c659 fetch 1 ,mem_sensor_motion_gpio 
+04a7 c1ff8000 rtnne gpio_disable 
+04a8 6fe0c77d fetch 1 ,mem_mouse_long_mult_flag 
+04a9 207a0000 rtn blank 
+04aa 1fe0ffff increase -1 ,pdata 
+04ab 67e0c77d store 1 ,mem_mouse_long_mult_flag 
+04ac 58000000 setarg 0 
+04ad 67e24847 store 4 ,mem_mouse_x 
+04ae 20205a73 branch mouse_init_sensor_reset 
 
 p_mouse_24g_short_sleep_clear_wake:
-04c4 20400478 call p_clear_wake 
-04c5 20200227 branch p_lpm_write_gpio_wakeup 
+04af 20400476 call p_clear_wake 
+04b0 20200221 branch p_lpm_write_gpio_wakeup 
 
 p_mouse_check_select_device_by_switch:
-04c6 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-04c7 c4150000 rtnbit0 mouse_enable_select_device_by_switch_gpio 
-04c8 c31fdeb9 bbit0 mouse_enable_switch_gpio_connect_vin ,mouse_switch_gpio_connect_gnd 
+04b1 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+04b2 c4150000 rtnbit0 mouse_enable_select_device_by_switch_gpio 
+04b3 c31fdeb9 bbit0 mouse_enable_switch_gpio_connect_vin ,mouse_switch_gpio_connect_gnd 
 
 p_mouse_switch_gpio_connect_vin:
-04c9 6848c65a fetcht 1 ,mem_device_switch_gpio 
-04ca 20406ef7 call gpio_out_active 
-04cb 6848c65a fetcht 1 ,mem_device_switch_gpio 
-04cc 204055b1 call mouse_gpio_config_input_pd 
-04cd 6848c65a fetcht 1 ,mem_device_switch_gpio 
-04ce 20406ee6 call gpio_get_bit 
-04cf 2420dec2 nbranch mouse_check_select_24g_device ,true 
-04d0 20205ebe branch mouse_select_btdevice 
+04b4 6848c65a fetcht 1 ,mem_device_switch_gpio 
+04b5 20406ef7 call gpio_out_active 
+04b6 6848c65a fetcht 1 ,mem_device_switch_gpio 
+04b7 204055b1 call mouse_gpio_config_input_pd 
+04b8 6848c65a fetcht 1 ,mem_device_switch_gpio 
+04b9 20406ee6 call gpio_get_bit 
+04ba 2420dec2 nbranch mouse_check_select_24g_device ,true 
+04bb 20205ebe branch mouse_select_btdevice 
 
 p_mouse_init_sensor:
-04d1 20405958 call mouse_read_sensor_id 
-04d2 c018595f beq p32xx_id1 ,mouse_init_p32xx_id2_judge 
-04d3 c018d9c6 beq p3065_id1 ,mouse_init_p3065 
-04d4 c02c04d6 beq pka8g2_id1 ,p_mouse_ka8g2_id2_judge 
-04d5 20205952 branch mouse_init_sensor + 5 
+04bc 20405958 call mouse_read_sensor_id 
+04bd c018595f beq p32xx_id1 ,mouse_init_p32xx_id2_judge 
+04be c018d9c6 beq p3065_id1 ,mouse_init_p3065 
+04bf c02c04c1 beq pka8g2_id1 ,p_mouse_ka8g2_id2_judge 
+04c0 20205952 branch mouse_init_sensor + 5 
 
 p_mouse_ka8g2_id2_judge:
-04d6 204059e7 call mouse_sensor_poweron 
-04d7 6fe0c85a fetch 1 ,mem_sensor_id2 
-04d8 c02c84da beq pka8g2_id2 ,p_mouse_ka8g2_init_param 
-04d9 2020595f branch mouse_init_p32xx_id2_judge 
+04c1 204059e7 call mouse_sensor_poweron 
+04c2 6fe0c85a fetch 1 ,mem_sensor_id2 
+04c3 c02c84c5 beq pka8g2_id2 ,p_mouse_ka8g2_init_param 
+04c4 2020595f branch mouse_init_p32xx_id2_judge 
 
 p_mouse_ka8g2_init_param:
-04da 7049570b jam ka8g2 ,mem_config_sensor_type 
-04db da604a0b arg mem_sensor_ka8g2_init_new ,regc 
-04dc 20205995 branch mouse_sensor_wr_seq 
+04c5 7049570b jam ka8g2 ,mem_config_sensor_type 
+04c6 da604a0b arg mem_sensor_ka8g2_init_new ,regc 
+04c7 20205995 branch mouse_sensor_wr_seq 
 
 p_mouse_check_sensor_data:
-04dd 6fe0c420 fetch 1 ,mem_spi_write_flash_sm 
-04de c1800000 rtnne flash_sm_no_buys 
-04df 6fe0c957 fetch 1 ,mem_config_sensor_type 
-04e0 c00584e2 beq ka8g2 ,p_mouse_pka8g2_sensor_motion 
-04e1 202059f8 branch mouse_check_sensor_data + 2 
+04c8 6fe0c420 fetch 1 ,mem_spi_write_flash_sm 
+04c9 c1800000 rtnne flash_sm_no_buys 
+04ca 6fe0c957 fetch 1 ,mem_config_sensor_type 
+04cb c00584cd beq ka8g2 ,p_mouse_pka8g2_sensor_motion 
+04cc 202059f8 branch mouse_check_sensor_data + 2 
 
 p_mouse_pka8g2_sensor_motion:
-04e2 20405a6d call mouse_clear_sensor_data 
-04e3 6fe0c659 fetch 1 ,mem_sensor_motion_gpio 
-04e4 c07f84e8 beq gpio_disable ,p_mouse_pka8g2_sensor_motion_1 
-04e5 6848c659 fetcht 1 ,mem_sensor_motion_gpio 
-04e6 20406ee6 call gpio_get_bit 
-04e7 24608000 nrtn true 
+04cd 20405a6d call mouse_clear_sensor_data 
+04ce 6fe0c659 fetch 1 ,mem_sensor_motion_gpio 
+04cf c07f84d3 beq gpio_disable ,p_mouse_pka8g2_sensor_motion_1 
+04d0 6848c659 fetcht 1 ,mem_sensor_motion_gpio 
+04d1 20406ee6 call gpio_get_bit 
+04d2 24608000 nrtn true 
 
 p_mouse_pka8g2_sensor_motion_1:
-04e8 58000000 setarg pan_reg_pid_l 
-04e9 204069e5 call twspi_read 
-04ea c0ac5955 bne pka8g2_id1 ,mouse_twspi_reset 
-04eb 20205a2f branch mouse_p3212_sensor_motion_2 
+04d3 58000000 setarg pan_reg_pid_l 
+04d4 204069e5 call twspi_read 
+04d5 c0ac5955 bne pka8g2_id1 ,mouse_twspi_reset 
+04d6 20205a2f branch mouse_p3212_sensor_motion_2 
 
 p_mouse_motion:
-04ec 78547c00 disable user 
-04ed 58000000 setarg 0 
-04ee 67e34847 store 6 ,mem_mouse_x 
-04ef 204004dd call p_mouse_check_sensor_data 
-04f0 20205606 branch mouse_motion + 5 
+04d7 78547c00 disable user 
+04d8 58000000 setarg 0 
+04d9 67e34847 store 6 ,mem_mouse_x 
+04da 204004c8 call p_mouse_check_sensor_data 
+04db 58000089 setarg 0x0089 
+04dc 204069e4 call twspi_write 
+04dd 20405747 call mouse_setting_sensor_type 
+04de 20405612 call mouse_zwheel 
+04df 20405617 call mouse_t_zwheel 
+04e0 204004e2 call p_mouse_key 
+04e1 2020560c branch mouse_motion + 11 
+
+p_mouse_key:
+04e2 2040584c call mouse_check_firekey_gpio 
+04e3 6fe0c987 fetch 1 ,mem_fire_key_flag 
+04e4 243a5860 nbranch fire_key_press ,blank 
+04e5 6fe0c982 fetch 1 ,mem_fire_key_status 
+04e6 243a585f nbranch fire_key_process ,blank 
+04e7 20405888 call mouse_check_key_gpio 
+04e8 204004ea call p_mouse_ghost_key_check 
+04e9 202057ad branch mouse_key + 7 
+
+p_mouse_ghost_key_check:
+04ea 70497900 jam 0 ,mem_mouse_matrix_key_cow_count 
+04eb 70497a00 jam 0 ,mem_mouse_matrix_key_row_count 
+04ec 70497b00 jam 0 ,mem_mouse_ghost_flag 
+04ed 1fe22400 copy pdata ,regb 
+04ee 6848c644 fetcht 1 ,mem_lbutton_gpio 
+04ef 6fe0c647 fetch 1 ,mem_bk_button_gpio 
+04f0 98467c00 isub temp ,null 
+04f1 202284fc branch p_mouse_matrix_ghost_key_l_bk ,zero 
+04f2 6fe0c648 fetch 1 ,mem_fw_button_gpio 
+04f3 98467c00 isub temp ,null 
+04f4 20228502 branch p_mouse_matrix_ghost_key_l_fw ,zero 
+04f5 6848c645 fetcht 1 ,mem_mbutton_gpio 
+04f6 6fe0c647 fetch 1 ,mem_bk_button_gpio 
+04f7 98467c00 isub temp ,null 
+04f8 2022850b branch p_mouse_ghost_key_mbk_rfw ,zero 
+
+p_mouse_ghost_key_mfw_rbk:
+04f9 204057fb call mouse_ghost_key_check_m_fw 
+
+p_mouse_ghost_key_rbk:
+04fa 20400510 call p_mouse_ghost_key_check_r_bk 
+04fb 202057e5 branch mouse_ghost_key_check_next 
+
+p_mouse_matrix_ghost_key_l_bk:
+04fc 6848c645 fetcht 1 ,mem_mbutton_gpio 
+04fd 6fe0c648 fetch 1 ,mem_fw_button_gpio 
+04fe 98467c00 isub temp ,null 
+04ff 2022d7d6 branch mouse_ghost_key_lbk_mfw ,zero 
+
+p_mouse_ghost_key_lbk_rfw:
+0500 204057ef call mouse_ghost_key_check_l_bk 
+0501 2020050c branch p_mouse_ghost_key_rfw 
+
+p_mouse_matrix_ghost_key_l_fw:
+0502 6848c645 fetcht 1 ,mem_mbutton_gpio 
+0503 6fe0c647 fetch 1 ,mem_bk_button_gpio 
+0504 98467c00 isub temp ,null 
+0505 20228508 branch p_mouse_ghost_key_lfw_mbk ,zero 
+
+p_mouse_ghost_key_lfw_rbk:
+0506 20400512 call p_mouse_ghost_key_check_l_fw 
+0507 202004fa branch p_mouse_ghost_key_rbk 
+
+p_mouse_ghost_key_lfw_mbk:
+0508 20400512 call p_mouse_ghost_key_check_l_fw 
+0509 2040050e call p_mouse_ghost_key_check_m_bk 
+050a 202057e5 branch mouse_ghost_key_check_next 
+
+p_mouse_ghost_key_mbk_rfw:
+050b 2040050e call p_mouse_ghost_key_check_m_bk 
+
+p_mouse_ghost_key_rfw:
+050c 20400514 call p_mouse_ghost_key_check_r_fw 
+050d 202057e5 branch mouse_ghost_key_check_next 
+
+p_mouse_ghost_key_check_m_bk:
+050e 1a417e12 and regb ,mouse_m_bk_button ,pdata 
+050f 202057f3 branch mouse_ghost_key_check_m_bk + 1 
+
+p_mouse_ghost_key_check_r_bk:
+0510 1a417e0a and regb ,mouse_r_bk_button ,pdata 
+0511 202057f6 branch mouse_ghost_key_check_r_bk + 1 
+
+p_mouse_ghost_key_check_l_fw:
+0512 1a417e11 and regb ,mouse_l_fw_button ,pdata 
+0513 202057f9 branch mouse_ghost_key_check_l_fw + 1 
+
+p_mouse_ghost_key_check_r_fw:
+0514 1a417e12 and regb ,mouse_r_fw_button ,pdata 
+0515 202057ff branch mouse_ghost_key_check_r_fw + 1 
               org 0x2000
 
 start:
@@ -19620,11 +19681,11 @@
 54df 2040611a call mouse_logo_led_off 
 54e0 2040550c call mouse_lpm_before_common 
 54e1 204054f9 call mouse_gpio_pd_idle 
+
+mouse_setgpio_hibernate_next:
 54e2 6848c65b fetcht 1 ,mem_mouse_reuse_2ice_gpio 
 54e3 204055b5 call mouse_gpio_config_input_pu 
 54e4 204055b9 call mouse_gpio_set_high_impedance 
-
-mouse_setgpio_hibernate_next:
 54e5 204061fd call mouse_device_multi_led_all_off 
 54e6 204054f2 call mouse_adc_gpio_set_before_hibernate 
 54e7 202054e8 branch mouse_wheel_gpio_set_before_hibernate 
Index: output/ramcode.rom
===================================================================
--- /1121s/branch/mouse/ZXS_Project/1m/mouse_public_1M/output/ramcode.rom	(revision 1541)
+++ /1121s/branch/mouse/ZXS_Project/1m/mouse_public_1M/output/ramcode.rom	(working copy)
@@ -1,62 +1,56 @@
 c2840026
-c0000291
-c001003b
-c0080044
-c0088046
-c00a0145
-c00a80c7
-c00c00e7
-c00c80ee
-c00d0054
-c0128217
-c034028a
-c0348299
-c0360253
-c0370432
-c0398487
-c03b8035
-c03d04ec
-c03f8467
-c04084d1
-c0420382
-c04283ce
-c04301dc
-c04383ac
-c04403cc
-c0450396
-c04602d7
-c046833f
-c0470451
-c04582b0
-c04804c6
-c04a847e
-c04b04af
-c06a81fb
-c06b01f4
-c0628236
-c06d012e
+c000028b
+c0010035
+c008003e
+c0088040
+c00a013e
+c00a80c0
+c00c00e0
+c00c80e7
+c00d004e
+c012820d
+c0340284
+c0348297
+c036024d
+c0370430
+c0398485
+c03a020a
+c03d04d7
+c03f8465
+c04084bc
+c0420380
+c04283cc
+c04301d5
+c04383aa
+c04403ca
+c0450394
+c04582ae
+c04602d5
+c046833d
+c047044f
+c04804b1
+c04a847c
+c04b049a
+c0628230
+c06a81f4
+c06b01ed
+c06d0127
 2020235a
-c00a0166
-c00d0165
-c0128195
-c013019a
-c01c81ac
-c01d01b6
-c02601b2
-c02681b0
-c0480239
-c04b0472
-c04d00d5
-c04e80dc
-c04f825b
+c00a015f
+c00d015e
+c012818e
+c0130193
+c01c81a5
+c01d01af
+c02601ab
+c02681a9
+c0480233
+c04b0470
+c04d00ce
+c04e80d5
+c04f8255
 c17f8000
 2020235a
-20406f82
-20406fb0
-1fe6fc0a
-20407d5f
-67e14633
-20205553
 20407552
 20407448
 20402a45
@@ -65,7 +59,7 @@
 20402018
 2040310f
 2040248c
-2020003b
+20200035
 70890000
 20202153
 708a0f60
@@ -92,7 +86,7 @@
 708a844a
 708a8540
 708a16fe
-2040009b
+20400095
 204070d7
 37d98200
 70813b5f
@@ -100,7 +94,7 @@
 70813c88
 37d98200
 6fe0c099
-c0080090
+c008008a
 6fe0c438
 1fe1fe04
 67f08a02
@@ -111,15 +105,15 @@
 67f18a73
 708a8660
 708a8b3b
-20400082
+2040007c
 70804300
 70804205
 58557474
 67f18968
 7089606e
-20400101
-2040012c
-2040007c
+204000fa
+20400125
+20400076
 7041480c
 20206f4e
 20758000
@@ -129,7 +123,7 @@
 37d98200
 20600000
 6fe0c099
-c00c0088
+c00c0082
 6fe0c438
 1fe1fe06
 67f08a02
@@ -152,8 +146,8 @@
 67f18a73
 708a762a
 70890204
-2020006f
-203580c3
+20200069
+203580a7
 6fe2020d
 207a0000
 37d98200
@@ -171,6 +165,9 @@
 9841fe00
 67f08138
 37d98200
+6fe1415b
+207a0000
+67e1020f
 6ff08acb
 1fe17ef0
 6848820f
@@ -193,10 +190,6 @@
 9841fe00
 67f08a02
 20600000
-6fe1415b
-207a0000
-67e1020f
-202000ad
 2040686f
 204021ba
 18002a08
@@ -213,7 +206,7 @@
 202021b4
 6fe0c793
 247a0000
-204000d9
+204000d2
 202060fc
 6fe0c655
 c17f8000
@@ -221,13 +214,13 @@
 6848c601
 6fe0c621
 98467c00
-242100e1
+242100da
 20203681
 6fe2458f
 684a45e4
 98467c00
 2022b222
-20400280
+2040027a
 2020369b
 580aaa7e
 67f18a0f
@@ -238,9 +231,9 @@
 20202203
 6fe0c141
 c0032225
-c00500f4
-c04f00fd
-c05500f9
+c00500ed
+c04f00f6
+c05500f2
 2020220e
 708a1425
 58a93f3f
@@ -267,7 +260,7 @@
 708ac200
 708ac300
 d8e00006
-2040011e
+20400117
 2a2ffe0d
 2040211d
 2a4ffe0d
@@ -275,14 +268,14 @@
 d8e00005
 2040211c
 2040211e
-2040011e
+20400117
 d8a08ac2
 1a31fe00
 20402117
 1a51fe00
 20402117
 18e08fff
-20210113
+2021010c
 2020214f
 2000003c
 58000f00
@@ -307,7 +300,7 @@
 6fe0c409
 67f080cd
 20000bb8
-2040013e
+20400137
 708a08c1
 6a40c419
 df200008
@@ -318,7 +311,7 @@
 20600000
 7080cc03
 6ff08129
-c302813f
+c3028138
 68590164
 6049440a
 7080cc00
@@ -327,7 +320,7 @@
 708a8d12
 708a8e0a
 6fe0c099
-c008015e
+c0080157
 58005762
 67f10907
 70890103
@@ -338,7 +331,7 @@
 708a8d44
 708a8e0a
 6fe0c099
-c008015b
+c0080154
 58002bb1
 67f10907
 c6978000
@@ -347,34 +340,34 @@
 20600000
 58004189
 67f10907
-20200157
+20200150
 58008312
 67f10907
-2020014c
-6fe0cbf7
+20200145
+6fe0cbf8
 da600100
 9a60fe00
 20600000
-20200185
-20400168
+2020017e
+20400161
 20202563
-6fe0cbf8
-207a0000
 6fe0cbf9
+207a0000
+6fe0cbfa
 247a0000
-6848cbf8
-6fe0cbf7
+6848cbf9
+6fe0cbf8
 98467c00
-24410161
+2441015a
 98467e00
 1fe67c64
-2021017a
-6fe0cbfa
+20210173
+6fe0cbfb
 1fe67c14
-24410178
-704bf901
+24410171
+704bfa01
 20600000
-704bfb01
+704bfc01
 2020431f
 6848817f
 6fe0804c
@@ -382,18 +375,18 @@
 9842fe00
 2feffe02
 58000000
-6848cbfa
+6848cbfb
 7920fe00
 98408400
-6048cbfa
+6048cbfb
 20600000
 6fe08005
 1fe0fe01
 67e08005
-2436818c
-6fe0cbf7
+24368185
+6fe0cbf8
 1fe0fe01
-67e0cbf7
+67e0cbf8
 6fe08168
 c3818000
 79207e03
@@ -437,27 +430,27 @@
 793f8030
 20202ae3
 efe10006
-c00201b9
+c00201b2
 202028eb
 efe18006
 67e1c397
-c00501be
-c00901cd
+c00501b7
+c00901c6
 20202b96
 6fe44713
 c31dad19
 20402dc7
 68494398
 6fe0c321
-c28181c8
+c28181c1
 6fe14398
 c0182e03
 68494398
 20202d1d
 6fe14332
 98467c00
-242281c4
-243401c4
+242281bd
+243401bd
 20202d46
 18c22200
 6fe14335
@@ -477,13 +470,13 @@
 20402a28
 247a0000
 6fe0c78f
-c07f81e7
+c07f81e0
 6fe0c843
 1fe17e03
 c1818000
-6fe0cbf9
+6fe0cbfa
 207a0000
-6fe0cbfb
+6fe0cbfc
 247a0000
 6fe0c956
 205a5a71
@@ -496,7 +489,7 @@
 20405ab2
 24740000
 20405abc
-204004bb
+204004a6
 20205b37
 18467cff
 20628000
@@ -509,37 +502,38 @@
 20628000
 6048cb1d
 20406ee6
-20208201
-20200206
-2040020f
-2040020a
-20400213
+202081fe
+6848cb1d
+20406f0f
 6848cb1d
-20206f0f
+d9000003
+20206ebd
+704b1e01
 6848cb1d
 20406f0f
-2040020d
-2020020f
+6848cb1d
 d9000006
-20406ebd
-20200227
-d9000003
-2020020b
+20206ebd
 58000010
 67f08141
 37d98200
 20600000
 58000080
-67f08141
-37d98200
-20200211
+20200205
+20400476
+704b1e00
+2020550d
 6fe143e9
 20407d79
 6fe240ad
 9840fe00
 67e240ad
-2040021e
+20400218
+20400215
 20202425
+6fe0cb1e
+203a0204
+20200208
 600440e7
 d8c08070
 d8a040cc
@@ -556,12 +550,12 @@
 efe08011
 e8408013
 98467c00
-20228231
+2022822b
 e7e08013
 37d98200
 1a20a201
 1a60a601
-c200022b
+c2000225
 1a420400
 20600000
 20406b3a
@@ -570,7 +564,7 @@
 6fe145e0
 d84001f8
 98417e00
-203a0241
+203a023b
 6fe145e0
 1fe0fe01
 67e145e0
@@ -581,20 +575,20 @@
 2437b586
 2040366e
 6fe0c57d
-203a0250
+203a024a
 6fe245cc
 684a458f
 98467c00
-2022824d
+20228247
 2020356e
 6fe44713
 c2983291
 20203549
 6fe2455f
 207a0000
-20200248
+20200242
 2040543b
-20400256
+20400250
 2020544c
 58004a1d
 67e1433f
@@ -609,15 +603,15 @@
 204035b4
 6048c624
 6fe0c629
-c5130265
+c513025f
 6fe0c62c
 98467c00
-2421027f
+24210279
 6fe0c626
 1fe67c02
-2421026d
+24210267
 6fe0c626
-c0000280
+c000027a
 20600000
 6fe0c626
 6848c627
@@ -626,7 +620,7 @@
 70462600
 6848c624
 6fe0c628
-c5130276
+c5130270
 6fe0c62b
 98467c00
 24610000
@@ -634,16 +628,16 @@
 c0003715
 1fe0ffff
 67e0c625
-c0010288
+c0010282
 c000b70b
 20203715
 70462600
 6fe0c625
-c0018286
+c0018280
 1fe0fe01
 67e0c625
 c000b70b
-c0010288
+c0010282
 70414105
 20600000
 70414103
@@ -652,34 +646,38 @@
 67e145f8
 5800622b
 67e145fa
-58000298
+58000296
 67e143e9
 202053f3
+2435a002
+37d98200
+37d98200
 20800000
-20558294
+20558291
 20202003
+20400204
 6848c64a
 20406edd
 6848c64b
 20206edd
 20600000
-2040044b
+20400449
 6fe44713
 c289dd60
 c2895d6e
-c28a029f
+c28a029d
 20600000
-204002aa
+204002a8
 20405e43
 20405db4
-204002be
-204002a7
-204002ad
-204002c6
+204002bc
+204002a5
+204002ab
+204002c4
 20205daa
 6fe44713
 c4150000
-204004c6
+204004b1
 6fe0c666
 67e0ca06
 20600000
@@ -689,7 +687,7 @@
 6fe1468e
 d840aa55
 98467c00
-20228333
+20228331
 6049468e
 20405c9c
 6fe0c9a1
@@ -702,9 +700,9 @@
 20600000
 6fe0c666
 1fe67c00
-202282bb
+202282b9
 1fe67c04
-202282c4
+202282c2
 20610000
 70466600
 20600000
@@ -714,47 +712,47 @@
 1a422600
 20405e3d
 6fe149e0
-203a02d4
+203a02d2
 67e149de
 1a60a602
 6fe14a00
 9a667c00
-242102d4
+242102d2
 1a622400
-202002ca
+202002c8
 6fe149de
 67e14695
 20600000
 6fe44713
 c289dcb1
 c2895cb9
-c28a02dc
+c28a02da
 20600000
-204002df
-204002e4
+204002dd
+204002e2
 20205cc1
 6fe0c666
 c1000000
-c000830b
-c001031f
+c0008309
+c001031d
 20600000
 6a4149e2
 1a422600
 20405dc0
 6fe0c9a1
-203a02f0
+203a02ee
 67e0c9a0
 1a60a601
 6fe149e4
 9a667c00
 24610000
 1a622400
-202002e6
+202002e4
 6fe0c9a0
 1fe17ef0
-203a02fa
+203a02f8
 6fe0c666
-20400308
+20400306
 67e0c9a2
 df200001
 1a622400
@@ -762,7 +760,7 @@
 20206b45
 6848c9a0
 6fe0c666
-20400308
+20400306
 98467c00
 20628000
 1ff27e00
@@ -771,9 +769,9 @@
 1a627e00
 684949e2
 98467c00
-202282f6
+202282f4
 1a60a7ff
-202002f6
+202002f4
 c1800000
 1fe0fe04
 20600000
@@ -781,14 +779,14 @@
 1a422600
 20405df3
 6fe349b5
-203a0317
+203a0315
 67e349af
 1a60a606
 6fe149f0
 9a667c00
 24610000
 1a622400
-2020030d
+2020030b
 6fe349af
 684b466e
 98467c00
@@ -801,14 +799,14 @@
 1a422600
 20405e17
 6fe349cd
-203a032b
+203a0329
 67e349c7
 1a60a606
 6fe149f8
 9a667c00
 24610000
 1a622400
-20200321
+2020031f
 6fe349c7
 684b467b
 98467c00
@@ -817,21 +815,21 @@
 da20467b
 1a622400
 20206b45
-2040036c
-20400384
-20400337
+2040036a
+20400382
+20400335
 20205c90
 6fe44713
 c4078000
 6fe0c690
 c0005c94
-c003033d
+c003033b
 20600000
 70469000
 20600000
 6fe44713
 c289dcb5
-c28a0343
+c28a0341
 20600000
 6fe44713
 c4078000
@@ -839,19 +837,19 @@
 1a422600
 20405e51
 6fe0c9d4
-203a0351
+203a034f
 67e0c9d3
 1a60a601
 6fe149fc
 9a667c00
 24610000
 1a622400
-20200347
+20200345
 6fe0c9d3
 1fe17ef0
-203a035b
+203a0359
 6fe0c690
-20400369
+20400367
 67e0c9d5
 df200001
 1a622400
@@ -859,7 +857,7 @@
 20206b45
 6848c9d3
 6fe0c690
-20400369
+20400367
 98467c00
 20628000
 1ff27e00
@@ -868,18 +866,18 @@
 1a627e00
 684949fa
 98467c00
-20228357
+20228355
 1a60a7ff
-20200357
+20200355
 c1800000
 1fe0fe06
 20600000
 6fe44713
-c29f0373
+c29f0371
 6fe0c666
 c1000000
-c0008373
-c001037a
+c0008371
+c0010378
 20600000
 6fe3466e
 684b46e6
@@ -896,15 +894,15 @@
 1fe0ff00
 67e3466e
 20600000
-20400384
+20400382
 20205a9c
 6fe44713
 c30a5c6f
-c29f038c
+c29f038a
 6fe0c666
 c1000000
-c000838c
-c0010391
+c000838a
+c001038f
 20600000
 6fe34668
 67e34116
@@ -922,11 +920,11 @@
 d8e00002
 20405f04
 20405c4a
-2040039e
+2040039c
 20205ca3
 6fe0c666
-c00083a2
-c00103a7
+c00083a0
+c00103a5
 20600000
 6fe30178
 67e34668
@@ -938,7 +936,7 @@
 6fe342db
 67e3467b
 20600000
-204003c2
+204003c0
 2040614d
 2040553d
 20406110
@@ -956,7 +954,7 @@
 20405bee
 20405be4
 20405bfb
-204003c5
+204003c3
 204056b6
 20405c0e
 20205c05
@@ -964,7 +962,7 @@
 da405aef
 202042e0
 da60477e
-da4003c8
+da4003c6
 202042e0
 6fe0c96b
 67e0c0c0
@@ -973,25 +971,25 @@
 204059ed
 20205c1b
 1a627e00
-c02003e3
-c00a83e8
-c01903da
-c01e0406
-c01c8417
-c01d041a
-c00a03d7
+c02003e1
+c00a83e6
+c01903d8
+c01e0404
+c01c8415
+c01d0418
+c00a03d5
 20205ac3
 58000000
-67e24bf8
+67e24bf9
 20205ad0
 6fe0c795
-c00083de
+c00083dc
 70484414
-202003e0
+202003de
 20405aef
 70484405
-6fe0cbf7
-67e0cbf8
+6fe0cbf8
+67e0cbf9
 20205af6
 6fe0ca04
 247a0000
@@ -1006,17 +1004,17 @@
 70479400
 d8400006
 6fe44713
-c28d83f2
+c28d83f0
 d8400007
 604942d3
 604942d5
 7047c200
 70495600
 204029cb
-202003f8
+202003f6
 20405b7b
 6fe143ef
-c28383fd
+c28383fb
 c28042fc
 20205c1a
 6fe143ef
@@ -1025,7 +1023,7 @@
 1fe17e03
 20405b21
 c081d4a9
-6fe0cbfb
+6fe0cbfc
 243a54a9
 202054cd
 6fe2458f
@@ -1043,21 +1041,21 @@
 98467c00
 20628000
 20406016
-2040044e
+2040044c
 20206042
 20406016
-2040044e
+2040044c
 20206084
 20406016
-2040044e
+2040044c
 6fe0c87a
 c1008000
 6fe0c600
 243a5ff2
 6fe0c5e2
-c0020425
+c0020423
 c000e05f
-c001842c
+c001842a
 20206055
 6fe44713
 c31f6059
@@ -1073,24 +1071,24 @@
 c2896059
 20206034
 6fe44713
-c29f0437
+c29f0435
 6fe0c666
-c000043e
+c000043c
 20205491
 204054ac
-2034043a
+20340438
 2020602f
 6fe0c666
 c0006067
 20405aa8
-20200429
+20200427
 6fe44713
 c308e02a
 20406195
 204054ac
 20346067
 6fe44713
-c2980446
+c2980444
 20206023
 70466600
 6fe14721
@@ -1105,26 +1103,26 @@
 20600000
 2040620e
 204078aa
-20400455
+20400453
 20205e61
 6fe0c649
 c17f8000
 da200000
 70497705
 6848c649
-2040045c
+2040045a
 202056c1
 6fe44713
 c295d6de
 6fe0c974
 1fe22600
 6fe0c654
-c07f8463
+c07f8461
 202056ce
 6fe0c649
 20405946
 6848c649
-20200467
+20200465
 1a627e00
 67e0c978
 1fe3fe00
@@ -1139,7 +1137,7 @@
 204036b4
 24740000
 204036be
-20400478
+20400476
 6fe1c608
 20203622
 58000000
@@ -1158,7 +1156,7 @@
 204059ed
 2020622b
 20405a92
-20400478
+20400476
 204056a9
 6848c654
 20406ef7
@@ -1177,37 +1175,18 @@
 20406f0f
 6848c64b
 20406f0f
-6848c65b
-204055b5
-2040049f
-202054e5
-6fe1c73c
-67e18670
-df200018
-d8400000
-6fe18670
-2feffe00
-204084ac
-6fe18670
-1fe37e00
-67e18670
-18408401
-c20004a3
-20600000
-18467cff
-20628000
-20206f0b
+202054e2
 c6930000
 20405601
 24740000
 6fe0c77c
 70477c00
-245a04c4
+245a04af
 6fe44713
-c30b04b9
+c30b04a4
 6fe0c96c
 243a60b6
-204004bb
+204004a6
 202060a2
 6fe0c659
 c1ff8000
@@ -1218,8 +1197,8 @@
 58000000
 67e24847
 20205a73
-20400478
-20200227
+20400476
+20200221
 6fe44713
 c4150000
 c31fdeb9
@@ -1234,11 +1213,11 @@
 20405958
 c018595f
 c018d9c6
-c02c04d6
+c02c04c1
 20205952
 204059e7
 6fe0c85a
-c02c84da
+c02c84c5
 2020595f
 7049570b
 da604a0b
@@ -1246,11 +1225,11 @@
 6fe0c420
 c1800000
 6fe0c957
-c00584e2
+c00584cd
 202059f8
 20405a6d
 6fe0c659
-c07f84e8
+c07f84d3
 6848c659
 20406ee6
 24608000
@@ -1261,5 +1240,63 @@
 78547c00
 58000000
 67e34847
-204004dd
-20205606
+204004c8
+58000089
+204069e4
+20405747
+20405612
+20405617
+204004e2
+2020560c
+2040584c
+6fe0c987
+243a5860
+6fe0c982
+243a585f
+20405888
+204004ea
+202057ad
+70497900
+70497a00
+70497b00
+1fe22400
+6848c644
+6fe0c647
+98467c00
+202284fc
+6fe0c648
+98467c00
+20228502
+6848c645
+6fe0c647
+98467c00
+2022850b
+204057fb
+20400510
+202057e5
+6848c645
+6fe0c648
+98467c00
+2022d7d6
+204057ef
+2020050c
+6848c645
+6fe0c647
+98467c00
+20228508
+20400512
+202004fa
+20400512
+2040050e
+202057e5
+2040050e
+20400514
+202057e5
+1a417e12
+202057f3
+1a417e0a
+202057f6
+1a417e11
+202057f9
+1a417e12
+202057ff
Index: output/sched.rom
===================================================================
--- /1121s/branch/mouse/ZXS_Project/1m/mouse_public_1M/output/sched.rom	(revision 1541)
+++ /1121s/branch/mouse/ZXS_Project/1m/mouse_public_1M/output/sched.rom	(working copy)
@@ -13,7 +13,7 @@
 00   #mem_patch0b
 00   #mem_patch0c
 53   #mem_patch0d
-88   #mem_patch0e
+18   #mem_patch0e
 84   #mem_patch0f
 f2   #mem_patch10
 7d   #mem_patch11
@@ -278,7 +278,7 @@
 mem_mouse_24g_fast_hop_count_4ms:05
 mem_mouse_24g_tsniff_4ms:80 bb 00 00
 
-mem_mouse_24g_short_sleep_set_8ms:74 d6 00
+mem_mouse_24g_short_sleep_set_8ms:60 ea 00
 mem_mouse_24g_long_sleep_set_8ms:00 77 01
 mem_mouse_24g_fast_hop_count_8ms:0b
 mem_mouse_24g_tsniff_8ms:00 77 01 00
@@ -332,7 +332,7 @@
 
 mem_le_interval_min:
 06 00 #min interval
-06 00 #max interval
+09 00 #max interval
 20 00 #latency
 2c 01 #timeout
 
@@ -470,13 +470,11 @@
 be d1
 a0 41
 a1 12
-a5 84
 a7 ff
-b5 d0
 b6 00
+b5 c8
+a5 af
 ff 00
-35 c8
-25 af
 09 00
 ff ff
 
Index: program/app_mouse.prog
===================================================================
--- /1121s/branch/mouse/ZXS_Project/1m/mouse_public_1M/program/app_mouse.prog	(revision 1541)
+++ /1121s/branch/mouse/ZXS_Project/1m/mouse_public_1M/program/app_mouse.prog	(working copy)
@@ -342,10 +342,10 @@
 	call mouse_logo_led_off
 	call mouse_lpm_before_common
 	call mouse_gpio_pd_idle
+mouse_setgpio_hibernate_next:
 	fetcht 1,mem_mouse_reuse_2ice_gpio
 	call mouse_gpio_config_input_pu
 	call mouse_gpio_set_high_impedance
-mouse_setgpio_hibernate_next:
 	call mouse_device_multi_led_all_off
 	call mouse_adc_gpio_set_before_hibernate
 	branch mouse_wheel_gpio_set_before_hibernate
Index: program/patch.prog
===================================================================
--- /1121s/branch/mouse/ZXS_Project/1m/mouse_public_1M/program/patch.prog	(revision 1541)
+++ /1121s/branch/mouse/ZXS_Project/1m/mouse_public_1M/program/patch.prog	(working copy)
@@ -10,7 +10,6 @@
 	bbit1 8,pf_patch_ext
 	beq patch00_0,p_soft_reset
 	beq patch00_2,p_main_loop
-//	beq patch01_7,p_rx_dcoc
 	beq patch02_0,p_shutdown_radio
 	beq patch02_1,p_set_sync_on
 	beq patch02_4,p_set_lemode
@@ -18,15 +17,13 @@
 	beq patch03_0,p_txon
 	beq patch03_1,p_set_tx_power
 	beq patch03_2,p_initialize_radio_cont
-//	beq patch03_3,p_rfpll_aac_ghpc
-//	beq patch03_5,p_dpll_ring_ibias_calc
 	beq patch04_5,p_lpm_sleep
 	beq patch0d_0,p_mouse_cb_fuction
 	beq patch0d_1,p_mouse_load_device_info_check
 	beq patch0d_4,p_mouse_param_init
 	beq patch0d_6,p_mouse_start_work
 	beq patch0e_3,p_mouse_setgpio_hibernate
-	beq patch0e_7,p_mouse_adc_read_start
+	beq patch0e_4,p_mouse_lpm_before_common
 	beq patch0f_2,p_mouse_motion
 	beq patch0f_7,p_mouse_3io6key_check
 	beq patch10_1,p_mouse_init_sensor
@@ -36,16 +33,16 @@
 	beq patch10_7,p_mouse_bb_event_timer
 	beq patch11_0,p_mouse_start_discovery
 	beq patch11_2,p_mouse_store_remote_bdaddr
+	beq patch11_3,p_mouse_app_initflag_check
 	beq patch11_4,p_mouse_store_device_info
 	beq patch11_5,p_mouse_store_dpi_info_check
 	beq patch11_6,p_mouse_idle
-	beq patch11_3,p_mouse_app_initflag_check
 	beq patch12_0,p_mouse_check_select_device_by_switch
 	beq patch12_5,p_mouse_24g_hibernate_set
 	beq patch12_6,p_mouse_24g_package_data
-	beq patch1a_5,p_gpio_set_wake_by_current_state
-	beq patch1a_6,p_gpio_set_wake
 	beq patch18_5,p_otp_read_data
+	beq patch1a_5,p_gpio_set_wake_by_current_state	
+	beq patch1a_6,p_gpio_set_wake
 	beq patch1b_2,p_sadc_calibration
 ifdef ADC_1121SB
 	beq patch1b_3,p_adc_init_data
@@ -75,23 +72,6 @@
 
 /****************************************COMMON PATCH*****************************************/
 
-p_mouse_adc_read_start:
-	call enable_adc
-	call vdd_calculate_by_mode
-	div pdata,10
-	call get_div_result
-	store 2,mem_mouse_vdd_now_vol
-
-//	fetch 1,mem_adc_config_flag
-//	beq ADC_CONFIG_GPIO, mouse_adc_data_process
-//	fetcht 2,mem_mouse_vdd_now_vol	// BAT= 1.5V, R = 200k, a = a*1.8
-//	mul32 temp,8,pdata
-//	div pdata,10
-//	call get_div_result
-//	iadd temp,pdata
-//	store 2,mem_mouse_vdd_now_vol
-	branch mouse_adc_data_process
-
 p_main_loop:
 ifdef SECURE_CONNECTION
 	call sp_calc_sequence_256
@@ -108,6 +88,7 @@
 p_shutdown_radio:
 	jam 0,0x8900
 	branch shutdown_radio+1
+
 p_set_sync_on:
 	jam 0x60,0x8a0f 
 	jam 0xaa,0x8a10 
@@ -170,7 +151,6 @@
 	call p_set_xtal_cap
 	jam SYSTEM_CLK_12M,mem_system_clk
 	branch sadc_calibration
-//	branch p_dpll_ring_ibias_calc
 	
 p_set_xtal_cap:
 	rtn wake
@@ -231,6 +211,10 @@
 	store 1,0x8138 
 	until null,lpo_edge
 
+p_set_otp_config_wake:
+	fetch 2,mem_otp_charge_pump_x
+	rtn blank
+	store 2,mem_otp_charge_pump
 p_set_otp_config2:
 	fetch 1,0x8acb
 	and pdata,0xf0,pdata
@@ -257,12 +241,6 @@
 	store 1,0x8a02
 	rtn
 
-p_set_otp_config_wake:
-	fetch 2,mem_otp_charge_pump_x
-	rtn blank
-	store 2,mem_otp_charge_pump
-	branch p_set_otp_config2
-
 p_rf_rx_enable:
 	call rf_debug_rx_gpio_high
 	call rf_rx_agc_set
@@ -447,9 +425,6 @@
 p_rfpll_aac_ghpc:
 	rtn wake
 	branch rfpll_aac_ghpc+1
-	
-//p_dpll_ring_ibias_calc:
-//	rtn
 
 p_sadc_calibration:
 	rtn wake
@@ -549,8 +524,6 @@
 p_le_check_retransmit_count:
 	fetcht 1,mem_le_arq
 	fetch 1,mem_le_rxbuf_data_header
-//	isolate1 md,pdata
-//	setflag true,mark_ble_rx_md,mark
 	rshift pdata,pdata
 	ixor temp,pdata
 	isolate1 nesn,pdata
@@ -576,12 +549,10 @@
 	store 2,mem_le_superto
 	setarg 0
 	store 4,mem_le_transmit_window	
-//	fetch 1,mem_le_conn_rcv_new
-//	store 1,mem_le_conn_first_rcv
 	rtn
+	
 p_le_rx_dec:
 	call le_check_retransmit	
-//	bmark1 mark_old_packet,le_retransmit_end_of_packet
 	fetchr rega, 1,mem_le_rxbuf_data_length
 	increase -4,rega
 	nbranch le_crc_fail_consecutive,positive
@@ -715,43 +686,38 @@
 	storet 1,mem_mouse_wheel_temp_gpio
 	call gpio_get_bit
 	branch p_gpio_set_qdec_mode,true
-	branch p_gpio_set_low_wake_disable_qdec
-
-p_gpio_set_qdec_mode:
-	call p_mouse_qdec_disable
-	call p_mouse_qdec_lpm_cfg
-	call p_mouse_qdec_enable
-	fetcht 1,mem_mouse_wheel_temp_gpio
-	branch gpio_set_high_impedance
-
 p_gpio_set_low_wake_disable_qdec:
 	fetcht 1,mem_mouse_wheel_temp_gpio
 	call gpio_set_high_impedance
-	call p_gpio_set_low_wake
-	branch p_mouse_qdec_disable	
-
-p_mouse_qdec_lpm_cfg:
-	arg 6,debug
-p_gpio_wake_cfg_set:
-	call gpio_set_wake_high
-	branch p_lpm_write_gpio_wakeup
-
+	fetcht 1,mem_mouse_wheel_temp_gpio
 p_gpio_set_low_wake:
 	arg 3,debug
-	branch p_gpio_wake_cfg_set
+	branch gpio_set_wake_high
+	
+p_gpio_set_qdec_mode:
+	jam 1,mem_mouse_qdec_set_flag
+	fetcht 1,mem_mouse_wheel_temp_gpio
+	call gpio_set_high_impedance
+	fetcht 1,mem_mouse_wheel_temp_gpio
+p_mouse_qdec_lpm_cfg:
+	arg 6,debug
+	branch gpio_set_wake_high
 
-p_mouse_qdec_disable:
-	setarg 0x10			//key_delay: 0x10	pu_delay: 0x00		interval: 0x00
+p_mouse_puchk_disable:
+	setarg 0x10			//bit0-1:key_delay	bit2-3:pu_delay		bit4-6:interval	bit7:enable 
+p_mouse_puchk_set:
 	store 1,core_puwakeup
-p_mouse_lpo_wait:
 	until null,lpo_edge
 	rtn
 
-p_mouse_qdec_enable:
-	setarg 0x80			//key_delay: 0x10	pu_delay: 0x00		interval: 0x00
-	store 1,core_puwakeup
-	until null,lpo_edge		//wait jitter disappear		//acturl 2lpo ok
-	branch p_mouse_lpo_wait
+p_mouse_puchk_enable:
+	setarg 0x80			//bit0-1:key_delay	bit2-3:pu_delay		bit4-6:interval	bit7:enable 
+	branch p_mouse_puchk_set
+
+p_mouse_lpm_before_common:
+	call p_clear_wake
+	jam 0,mem_mouse_qdec_set_flag
+	branch mouse_lpm_before_common+1
 	
 p_lpm_sleep:
 	//call xtal_fast_wake
@@ -762,8 +728,14 @@
 	iadd temp,pdata
 	store 4,mem_sleep_counter_all
 	call p_lpm_save_context
+	call p_mouse_puchk_set_check
 	branch lpm_sleep_skip_cb_function+4
 
+p_mouse_puchk_set_check:
+	fetch 1,mem_mouse_qdec_set_flag
+	branch p_mouse_puchk_disable,blank
+	branch p_mouse_puchk_enable
+
 p_lpm_save_context:
 	storer mark,8,mem_saved_mark
 	arg core_gpio_conf,contr
@@ -936,11 +908,15 @@
 	branch mouse_cb_fuction+7
 
 p_soft_reset:
+	nbranch soft_reset+1,wake
+	until null,lpo_edge
+	until null,lpo_edge
 	clear_stack
 	call p_mouse_wheel_init_set,wake
 	branch soft_reset+2
 
 p_mouse_wheel_init_set:
+	call p_mouse_puchk_disable
 	fetcht 1,mem_whee_a_data_gpio		//reinit gpio pu after disable wheel wakeup
 	call gpio_config_input
 	fetcht 1,mem_whee_b_data_gpio
@@ -1013,6 +989,7 @@
 	bbit1 MOUSE_ENABLE_FLASH,mouse_load_flash_info_check
 	bbit1 MOUSE_ENABLE_OTP,p_mouse_load_otp_info_check
 	rtn
+
 p_mouse_load_otp_info_check:
 	call p_mouse_device_flag_temp_store
 	call mouse_read_otp_dpi
@@ -1136,7 +1113,7 @@
 	call p_mouse_device_flag_otp_store_judge			// add device_flag check
 	
 	store 1,mem_device_flag_value
-p_mouse_devoce_flag_store_end:	
+p_mouse_device_flag_store_end:	
 	arg 1,loopcnt
 	copy regc,regb
 	arg mem_device_flag_value,rega
@@ -1155,10 +1132,10 @@
 	copy regc,pdata
 	fetcht 2,mem_otp_offset_device_flag
 	isub temp,null
-	branch p_mouse_devoce_flag_store_end,zero
+	branch p_mouse_device_flag_store_end,zero
 	
 	increase -1,regc
-	branch p_mouse_devoce_flag_store_end
+	branch p_mouse_device_flag_store_end
 
 p_mouse_device_flag_otp_store_judge:
 	rtnne MODE_24G_DEVICE
@@ -1706,11 +1683,11 @@
 	call gpio_set_high_impedance
 	fetcht 1,mem_whee_b_data_gpio
 	call gpio_set_high_impedance
-	fetcht 1,mem_mouse_reuse_2ice_gpio
-	call mouse_gpio_config_input_pu
-	call p_mouse_gpio_set_high_impedance
+//	fetcht 1,mem_mouse_reuse_2ice_gpio
+//	call mouse_gpio_config_input_pu
+//	call p_mouse_gpio_set_high_impedance
 	branch mouse_setgpio_hibernate_next
-
+/*
 p_mouse_gpio_set_high_impedance:
 	fetch 3,mem_mouse_set_high_impedance_bit_set
 	store 3,mem_pdatatemp
@@ -1731,7 +1708,7 @@
 	sub temp,UI_BUTTON_GPIO_DISABLE,null
 	rtn zero
 	branch gpio_set_analog
-
+*/
 p_mouse_24g_package_data:
 	rtnmark0 mark_24g
 	call mouse_motion
@@ -1777,33 +1754,6 @@
 	nbranch mouse_check_select_24g_device,true
 	branch mouse_select_btdevice
 
-ifdef PWM_SET
-
-/*
-core_clksel
-[7:6]pwm clock select
-	0:sysclk 
-	1:sysclk undivided
-	2:rc2M
-	3:lpo
-*/
-p_pwm_clk_set:
-	fetch 1,core_clksel
-	and pdata,0xc0,pdata
-	beq 0x40,pwm_24m_clk_set
-	beq 0x80,p_pwm_2m_clk_set
-	beq 0xc0,pwm_33k_clk_set
-	branch pwm_12m_clk_set
-p_pwm_2m_clk_set:
-	setarg 2000000
-	rtn
-
-p_pwm_out_set:
-	fetcht 3,mem_pdatatemp+2
-	call p_pwm_clk_set
-	branch pwm_out_set+2
-endif
-
 p_mouse_init_sensor:
 	call mouse_read_sensor_id
 	beq P32XX_ID1,mouse_init_p32xx_id2_judge
@@ -1821,8 +1771,6 @@
 	arg mem_sensor_ka8g2_init_new,regc
 	branch mouse_sensor_wr_seq
 
-
-
 p_mouse_check_sensor_data:
 	fetch 1,mem_spi_write_flash_sm
 	rtnne FLASH_SM_NO_BUYS
@@ -1896,7 +1844,97 @@
 	setarg 0
 	store 6,mem_mouse_x
 	call p_mouse_check_sensor_data
-	branch mouse_motion+5
+	setarg 0x0089
+	call twspi_write	
+	call mouse_setting_sensor_type
+	call mouse_zwheel
+	call mouse_t_zwheel
+	call p_mouse_key
+	branch mouse_motion+11
+
+p_mouse_key:
+	call mouse_check_firekey_gpio
+	fetch 1,mem_fire_key_flag
+	nbranch fire_key_press,blank
+	fetch 1,mem_fire_key_status
+	nbranch fire_key_process,blank
+	
+	call mouse_check_key_gpio
+	call p_mouse_ghost_key_check
+	branch mouse_key+7
+
+p_mouse_ghost_key_check:			//lbk_mfw
+	jam 0,mem_mouse_matrix_key_cow_count
+	jam 0,mem_mouse_matrix_key_row_count
+	jam 0,mem_mouse_ghost_flag
+	copy pdata,regb
+	fetcht 1,mem_lbutton_gpio
+	fetch 1,mem_bk_button_gpio
+	isub temp,null
+	branch p_mouse_matrix_ghost_key_L_BK,zero
+	fetch 1,mem_fw_button_gpio
+	isub temp,null
+	branch p_mouse_matrix_ghost_key_L_FW,zero
+	fetcht 1,mem_mbutton_gpio
+	fetch 1,mem_bk_button_gpio
+	isub temp,null
+	branch p_mouse_ghost_key_MBK_RFW,zero
+p_mouse_ghost_key_MFW_RBK:
+	call mouse_ghost_key_check_M_FW
+p_mouse_ghost_key_RBK:
+	call p_mouse_ghost_key_check_R_BK
+	branch mouse_ghost_key_check_next
+
+p_mouse_matrix_ghost_key_L_BK:
+	fetcht 1,mem_mbutton_gpio
+	fetch 1,mem_fw_button_gpio
+	isub temp,null
+	branch mouse_ghost_key_LBK_MFW,zero
+p_mouse_ghost_key_LBK_RFW:
+	call mouse_ghost_key_check_L_BK
+	branch p_mouse_ghost_key_RFW
+
+p_mouse_matrix_ghost_key_L_FW:
+	fetcht 1,mem_mbutton_gpio
+	fetch 1,mem_bk_button_gpio
+	isub temp,null
+	branch p_mouse_ghost_key_LFW_MBK,zero
+p_mouse_ghost_key_LFW_RBK:
+	call p_mouse_ghost_key_check_L_FW
+	branch p_mouse_ghost_key_RBK
+
+p_mouse_ghost_key_LFW_MBK:
+	call p_mouse_ghost_key_check_L_FW
+	call p_mouse_ghost_key_check_M_BK
+	branch mouse_ghost_key_check_next
+	
+p_mouse_ghost_key_MBK_RFW:
+	call p_mouse_ghost_key_check_M_BK
+p_mouse_ghost_key_RFW:
+	call p_mouse_ghost_key_check_R_FW
+	branch mouse_ghost_key_check_next
+
+p_mouse_ghost_key_check_M_BK:
+	and regb,MOUSE_M_BK_BUTTON,pdata
+	branch mouse_ghost_key_check_M_BK+1
+//	beq MOUSE_M_BK_BUTTON,mouse_matrix_cow_more_than_one_key
+//	rtn
+p_mouse_ghost_key_check_R_BK:
+	and regb,MOUSE_R_BK_BUTTON,pdata
+	branch mouse_ghost_key_check_R_BK+1
+//	beq MOUSE_R_BK_BUTTON,mouse_matrix_cow_more_than_one_key
+//	rtn
+p_mouse_ghost_key_check_L_FW:
+	and regb,MOUSE_L_FW_BUTTON,pdata
+	branch mouse_ghost_key_check_L_FW+1
+//	beq MOUSE_L_FW_BUTTON,mouse_matrix_cow_more_than_one_key
+//	rtn
+p_mouse_ghost_key_check_R_FW:
+	and regb,MOUSE_R_FW_BUTTON,pdata
+	branch mouse_ghost_key_check_R_FW+1
+//	beq MOUSE_R_FW_BUTTON,mouse_matrix_cow_more_than_one_key
+//	rtn	
+	
 endif
 
 ifdef ADC_1121SB
@@ -2119,3 +2157,29 @@
 
 endif
 
+ifdef PWM_SET
+
+/*
+core_clksel
+[7:6]pwm clock select
+	0:sysclk 
+	1:sysclk undivided
+	2:rc2M
+	3:lpo
+*/
+p_pwm_clk_set:
+	fetch 1,core_clksel
+	and pdata,0xc0,pdata
+	beq 0x40,pwm_24m_clk_set
+	beq 0x80,p_pwm_2m_clk_set
+	beq 0xc0,pwm_33k_clk_set
+	branch pwm_12m_clk_set
+p_pwm_2m_clk_set:
+	setarg 2000000
+	rtn
+
+p_pwm_out_set:
+	fetcht 3,mem_pdatatemp+2
+	call p_pwm_clk_set
+	branch pwm_out_set+2
+endif
\ No newline at end of file
Index: sched/mouse.dat
===================================================================
--- /1121s/branch/mouse/ZXS_Project/1m/mouse_public_1M/sched/mouse.dat	(revision 1541)
+++ /1121s/branch/mouse/ZXS_Project/1m/mouse_public_1M/sched/mouse.dat	(working copy)
@@ -211,7 +211,7 @@
 mem_mouse_24g_fast_hop_count_4ms:05
 mem_mouse_24g_tsniff_4ms:80 bb 00 00
 
-mem_mouse_24g_short_sleep_set_8ms:74 d6 00
+mem_mouse_24g_short_sleep_set_8ms:60 ea 00
 mem_mouse_24g_long_sleep_set_8ms:00 77 01
 mem_mouse_24g_fast_hop_count_8ms:0b
 mem_mouse_24g_tsniff_8ms:00 77 01 00
@@ -265,7 +265,7 @@
 
 mem_le_interval_min:
 06 00 #min interval
-06 00 #max interval
+09 00 #max interval
 20 00 #latency
 2c 01 #timeout
 
@@ -403,13 +403,11 @@
 be d1
 a0 41
 a1 12
-a5 84
 a7 ff
-b5 d0
 b6 00
+b5 c8
+a5 af
 ff 00
-35 c8
-25 af
 09 00
 ff ff
 
Index: util/geneep.exe
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: util/geneep.exe
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
