Index: format/app_mouse.format
===================================================================
--- /1121s/branch/mouse/mouse_public_2M/format/app_mouse.format	(revision 1444)
+++ /1121s/branch/mouse/mouse_public_2M/format/app_mouse.format	(working copy)
@@ -429,6 +429,8 @@
 64 mem_le_tx_buffer2_omemalloc_new
 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/mouse_public_2M/output/eeprom.dat	(revision 1444)
+++ /1121s/branch/mouse/mouse_public_2M/output/eeprom.dat	(working copy)
@@ -2,136 +2,156 @@
 02
 aa
 55
-4e
-12
+a6
+13
 c2
 84
 00
-21
+26
 c0
 00
 02
-0d
+3d
 c0
 01
 00
-2e
+34
+c0
+08
+00
+3d
 c0
 08
 80
-37
+3f
 c0
 0a
 01
-4f
+55
 c0
 0a
 80
-b6
+c0
 c0
 0c
 00
-ce
+df
 c0
 0c
 80
-d5
+e6
 c0
 0d
 00
-45
+4d
 c0
 12
 81
-c2
+ee
 c0
 34
 02
-06
+36
 c0
 34
 82
-a2
+bb
 c0
 36
-01
-fe
+02
+2e
+c0
+37
+04
+2a
 c0
 39
 84
-45
+7f
+c0
+3a
+01
+eb
 c0
 3d
 04
-7f
+d5
 c0
 3f
 84
-25
+5f
 c0
 40
 84
-73
+c9
 c0
 42
 03
-1e
+a4
 c0
 42
 83
-d5
+ee
 c0
 43
 01
-ae
+b8
 c0
 43
 83
-b5
+ce
 c0
 45
 03
-9f
+b8
+c0
+45
+82
+d2
 c0
 46
-03
-43
+02
+f9
 c0
 46
-82
-db
+83
+61
 c0
 47
 04
-0f
-c0
-45
-82
-b9
+49
 c0
 48
 04
-68
+be
 c0
 4a
 84
-3c
+76
 c0
 4b
 04
-51
+a7
 c0
 62
+82
+11
+c0
+6a
 81
-e1
+d3
+c0
+6b
+01
+cc
 c0
 6d
 01
-20
+26
 c0
 6e
 01
-30
+36
 20
 20
 23
@@ -139,47 +159,51 @@
 c0
 12
 81
-6b
+71
 c0
 13
 01
-70
+76
 c0
 1c
 81
-82
+88
 c0
 1d
 01
-88
+92
+c0
+26
+01
+8e
 c0
 26
 81
-86
+8c
 c0
 48
-01
-e4
+02
+14
 c0
 4a
 82
-59
+72
 c0
 4d
 02
-79
+92
 c0
 4b
 04
-30
+6a
 c0
 4d
-02
-10
+00
+ce
 c0
 4e
 80
-c4
+d5
 c1
 7f
 80
@@ -223,7 +247,15 @@
 20
 20
 00
-2e
+34
+70
+89
+00
+00
+20
+20
+21
+53
 70
 8a
 0f
@@ -323,13 +355,9 @@
 20
 40
 00
-8b
-6f
-e0
-c4
-36
+94
 20
-5a
+40
 70
 d7
 37
@@ -340,6 +368,18 @@
 81
 3b
 5f
+37
+d9
+82
+00
+70
+81
+3c
+88
+37
+d9
+82
+00
 6f
 e0
 c0
@@ -347,7 +387,7 @@
 c0
 08
 00
-80
+89
 6f
 e0
 c4
@@ -391,7 +431,7 @@
 20
 40
 00
-72
+7b
 70
 80
 43
@@ -415,28 +455,24 @@
 20
 40
 00
-f2
+f9
 20
 40
 01
-1d
+24
 20
 40
 00
-6c
+75
 70
 41
 48
 0c
 20
-40
+20
 6f
 4e
 20
-20
-01
-1f
-20
 75
 80
 00
@@ -467,7 +503,7 @@
 c0
 0c
 00
-78
+81
 6f
 e0
 c4
@@ -559,11 +595,11 @@
 20
 20
 00
-5e
+68
 20
 35
 80
-b2
+bc
 6f
 e2
 02
@@ -592,6 +628,10 @@
 41
 fe
 00
+1f
+e0
+ff
+fd
 67
 f0
 81
@@ -731,7 +771,7 @@
 20
 20
 00
-9c
+a6
 20
 40
 68
@@ -788,6 +828,34 @@
 20
 21
 b4
+6f
+e0
+c7
+93
+24
+7a
+00
+00
+20
+40
+00
+d2
+20
+20
+60
+fc
+6f
+e0
+c6
+55
+c1
+7f
+80
+00
+20
+20
+5e
+78
 68
 48
 c6
@@ -803,7 +871,7 @@
 24
 21
 00
-c9
+da
 20
 20
 36
@@ -867,23 +935,15 @@
 c0
 05
 00
-dd
-c0
-4f
-00
-e6
+ec
 c0
 4f
-80
-ea
-c0
-50
 00
-ee
+f5
 c0
 55
 00
-e2
+f1
 20
 20
 22
@@ -940,54 +1000,22 @@
 20
 22
 1a
-70
-8a
-14
-17
-58
-25
-01
+20
+75
+80
 00
-67
-f1
-8a
+20
+40
+21
 60
+d8
+40
+00
+27
 20
-20
-22
-1a
-70
-8a
-14
-17
-58
-25
-00
-00
-67
-f1
-8a
-60
-20
-20
-22
-1a
-20
-75
-80
-00
-20
-40
-21
-60
-d8
-40
-00
-27
-20
-40
-21
-6f
+40
+21
+6f
 20
 40
 21
@@ -1023,7 +1051,7 @@
 20
 40
 01
-0f
+16
 2a
 2f
 fe
@@ -1055,7 +1083,7 @@
 20
 40
 01
-0f
+16
 d8
 a0
 8a
@@ -1083,7 +1111,7 @@
 20
 21
 01
-04
+0b
 20
 20
 21
@@ -1153,10 +1181,6 @@
 22
 72
 20
-60
-00
-00
-20
 75
 80
 00
@@ -1187,7 +1211,7 @@
 20
 40
 01
-48
+4e
 70
 8a
 08
@@ -1223,7 +1247,7 @@
 20
 40
 01
-3e
+44
 6f
 f0
 8a
@@ -1267,7 +1291,7 @@
 20
 40
 01
-48
+4e
 70
 80
 cd
@@ -1327,7 +1351,7 @@
 c3
 02
 81
-49
+4f
 68
 59
 01
@@ -1363,7 +1387,7 @@
 c0
 08
 01
-68
+6e
 58
 00
 57
@@ -1407,7 +1431,7 @@
 c0
 08
 01
-65
+6b
 58
 00
 2b
@@ -1443,7 +1467,7 @@
 20
 20
 01
-61
+67
 58
 00
 83
@@ -1455,7 +1479,7 @@
 20
 20
 01
-56
+5c
 20
 40
 28
@@ -1572,6 +1596,22 @@
 20
 2a
 f6
+20
+40
+21
+52
+70
+89
+00
+00
+79
+3f
+80
+30
+20
+20
+2a
+e3
 ef
 e1
 00
@@ -1579,7 +1619,7 @@
 c0
 02
 01
-8b
+95
 20
 20
 28
@@ -1595,11 +1635,11 @@
 c0
 05
 01
-90
+9a
 c0
 09
 01
-9f
+a9
 20
 20
 2b
@@ -1627,7 +1667,7 @@
 c2
 81
 81
-9a
+a4
 6f
 e1
 43
@@ -1655,11 +1695,11 @@
 24
 22
 81
-96
+a0
 24
 34
 01
-96
+a0
 20
 20
 2d
@@ -1739,7 +1779,7 @@
 c0
 7f
 81
-b5
+bf
 6f
 e0
 c8
@@ -1799,11 +1839,147 @@
 20
 40
 04
-5d
+b3
 20
 20
 5b
 37
+18
+46
+7c
+ff
+20
+62
+80
+00
+d9
+00
+00
+04
+28
+4f
+fe
+07
+20
+20
+ee
+bd
+d9
+00
+00
+03
+20
+20
+6e
+bd
+18
+46
+7c
+ff
+20
+62
+80
+00
+60
+48
+cb
+1d
+20
+40
+6e
+e6
+20
+20
+81
+dc
+68
+48
+cb
+1d
+20
+40
+6f
+0f
+68
+48
+cb
+1d
+20
+20
+01
+e3
+70
+4b
+1e
+01
+68
+48
+cb
+1d
+20
+40
+6f
+0f
+68
+48
+cb
+1d
+20
+20
+01
+e1
+d9
+00
+00
+06
+20
+20
+6e
+bd
+d9
+00
+00
+03
+20
+20
+6e
+bd
+58
+00
+00
+10
+67
+f0
+81
+41
+37
+d9
+82
+00
+20
+60
+00
+00
+58
+00
+00
+80
+20
+20
+01
+e6
+20
+40
+04
+70
+70
+4b
+1e
+00
+20
+20
+55
+0d
 6f
 e1
 43
@@ -1827,11 +2003,27 @@
 20
 40
 01
-c9
+f9
+20
+40
+01
+f6
 20
 20
 24
 25
+6f
+e0
+cb
+1e
+20
+3a
+01
+e5
+20
+20
+01
+e9
 60
 04
 40
@@ -1898,8 +2090,8 @@
 00
 20
 22
-81
-dc
+82
+0c
 e7
 e0
 80
@@ -1918,8 +2110,8 @@
 01
 c2
 00
-01
-d6
+02
+06
 1a
 42
 04
@@ -1954,8 +2146,8 @@
 00
 20
 3a
-01
-ec
+02
+1c
 6f
 e1
 45
@@ -1998,9 +2190,9 @@
 7d
 20
 3a
-01
-fb
-6f
+02
+2b
+6f
 e2
 45
 cc
@@ -2014,8 +2206,8 @@
 00
 20
 22
-81
-f8
+82
+28
 20
 20
 35
@@ -2042,8 +2234,8 @@
 00
 20
 20
-01
-f3
+02
+23
 20
 40
 54
@@ -2051,7 +2243,7 @@
 20
 40
 02
-01
+31
 20
 20
 54
@@ -2079,15 +2271,15 @@
 58
 00
 02
-2f
+48
 67
 e1
 45
 f8
 58
 00
-02
-1a
+62
+2b
 67
 e1
 45
@@ -2095,7 +2287,7 @@
 58
 00
 02
-17
+45
 67
 e1
 43
@@ -2110,112 +2302,16 @@
 00
 20
 55
-e0
-04
-20
-20
-20
-03
-6f
-e0
-c7
-93
-24
-7a
-00
-00
-20
+82
 40
-02
-14
-20
-20
-60
-fc
-6f
-e0
-c6
-55
-c1
-7f
-80
-00
-20
 20
-5e
-78
-6f
-e0
-c6
-66
-c1
-00
-00
-00
 20
 20
-61
-0b
+03
 20
 40
-36
-b4
-24
-74
-00
-00
-70
-47
-7c
 01
-20
-40
-36
-be
-70
-47
-72
-00
-20
-40
-62
-aa
-6f
-e0
-c7
-3f
-24
-5a
-54
-dc
-20
-40
-02
-25
-6f
-e2
-45
-af
-20
-20
-36
-22
-6f
-e0
-c7
-3f
-24
-7a
-00
-00
-68
-48
-c6
-4a
-20
-40
-6f
-0f
+e5
 68
 48
 c6
@@ -2223,23 +2319,27 @@
 20
 40
 6e
-c6
+dd
 68
 48
 c6
 4b
 20
-40
+20
+6e
+dd
 6f
-0f
-68
-48
+e0
 c6
-4b
+66
+c1
+00
+00
+00
 20
 20
-6e
-c6
+61
+0b
 6f
 e0
 c7
@@ -2271,7 +2371,7 @@
 24
 22
 82
-3c
+55
 68
 49
 46
@@ -2283,7 +2383,7 @@
 20
 22
 82
-4d
+66
 6f
 e2
 47
@@ -2291,7 +2391,7 @@
 20
 3a
 02
-4d
+66
 68
 4a
 47
@@ -2303,7 +2403,7 @@
 20
 20
 82
-54
+6d
 6f
 e2
 47
@@ -2327,7 +2427,7 @@
 24
 21
 02
-50
+69
 6f
 e1
 c6
@@ -2371,7 +2471,7 @@
 20
 20
 02
-4b
+64
 18
 46
 04
@@ -2387,7 +2487,7 @@
 20
 20
 02
-4b
+64
 df
 ff
 ff
@@ -2407,7 +2507,7 @@
 20
 20
 02
-41
+5a
 20
 40
 36
@@ -2415,11 +2515,11 @@
 24
 34
 02
-5d
+76
 20
 40
 02
-6e
+87
 20
 20
 36
@@ -2431,7 +2531,7 @@
 20
 5a
 02
-60
+79
 20
 20
 36
@@ -2491,7 +2591,7 @@
 20
 20
 02
-5b
+74
 58
 00
 00
@@ -2511,11 +2611,11 @@
 24
 2c
 02
-79
+92
 24
 37
 82
-79
+92
 20
 40
 36
@@ -2523,7 +2623,7 @@
 20
 40
 02
-77
+90
 20
 20
 36
@@ -2531,7 +2631,7 @@
 20
 40
 02
-88
+a1
 20
 20
 5f
@@ -2595,7 +2695,7 @@
 20
 20
 02
-71
+8a
 6f
 e0
 c7
@@ -2703,7 +2803,7 @@
 20
 40
 04
-09
+43
 6f
 e4
 47
@@ -2719,7 +2819,7 @@
 c2
 8a
 02
-a8
+c1
 20
 60
 00
@@ -2727,7 +2827,7 @@
 20
 40
 02
-b3
+cc
 20
 40
 5e
@@ -2739,19 +2839,19 @@
 20
 40
 02
-c7
+e0
 20
 40
 02
-b0
+c9
 20
 40
 02
-b6
+cf
 20
 40
-03
-32
+02
+e8
 20
 20
 5d
@@ -2767,7 +2867,7 @@
 20
 40
 04
-68
+be
 6f
 e0
 c6
@@ -2806,8 +2906,8 @@
 00
 20
 22
-82
-cf
+83
+55
 60
 49
 46
@@ -2859,7 +2959,7 @@
 20
 22
 82
-c4
+dd
 1f
 e6
 7c
@@ -2867,7 +2967,7 @@
 20
 22
 82
-cd
+e6
 20
 61
 00
@@ -2880,102 +2980,150 @@
 60
 00
 00
-20
-40
-03
-08
-20
-40
-03
-20
-20
-40
-02
-d3
-20
-20
-5c
-90
-6f
-e4
-47
-13
-c4
-07
-80
-00
 6f
 e0
 c6
-90
-c0
+66
+c1
 00
-5c
-94
-c0
-03
-02
-d9
-20
-60
 00
 00
-70
-46
-90
+6a
+41
+49
+fe
+1a
+42
+26
 00
 20
-60
-00
-00
+40
+5e
+3d
 6f
-e4
-47
+e1
+49
+e0
+20
+3a
+02
+f6
+67
+e1
+49
+de
+1a
+60
+a6
+02
+6f
+e1
+4a
+00
+9a
+66
+7c
+00
+24
+21
+02
+f6
+1a
+62
+24
+00
+20
+20
+02
+ec
+6f
+e1
+49
+de
+67
+e1
+46
+95
+20
+60
+00
+00
+6f
+e4
+47
 13
 c2
 89
 dc
-b5
+b1
+c2
+89
+5c
+b9
 c2
 8a
 02
-df
+fe
 20
 60
 00
 00
+20
+40
+03
+01
+20
+40
+03
+06
+20
+20
+5c
+c1
 6f
-e4
-47
-13
-c4
-07
-80
+e0
+c6
+66
+c1
+00
+00
+00
+c0
+00
+83
+2d
+c0
+01
+03
+41
+20
+60
+00
 00
 6a
 41
 49
-fa
+e2
 1a
 42
 26
 00
 20
 40
-5e
-51
+5d
+c0
 6f
 e0
 c9
-d4
+a1
 20
 3a
-02
-ed
+03
+12
 67
 e0
 c9
-d3
+a0
 1a
 60
 a6
@@ -2983,7 +3131,7 @@
 6f
 e1
 49
-fc
+e4
 9a
 66
 7c
@@ -2998,32 +3146,32 @@
 00
 20
 20
-02
-e3
+03
+08
 6f
 e0
 c9
-d3
+a0
 1f
 e1
 7e
 f0
 20
 3a
-02
-f7
+03
+1c
 6f
 e0
 c6
-90
+66
 20
 40
 03
-05
+2a
 67
 e0
 c9
-d5
+a2
 df
 20
 00
@@ -3035,7 +3183,7 @@
 da
 20
 49
-d5
+a2
 20
 20
 6b
@@ -3043,15 +3191,15 @@
 68
 48
 c9
-d3
+a0
 6f
 e0
 c6
-90
+66
 20
 40
 03
-05
+2a
 98
 46
 7c
@@ -3071,7 +3219,7 @@
 67
 e0
 c9
-d5
+a2
 1a
 62
 7e
@@ -3079,23 +3227,23 @@
 68
 49
 49
-fa
+e2
 98
 46
 7c
 00
 20
 22
-82
-f3
+83
+18
 1a
 60
 a7
 ff
 20
 20
-02
-f3
+03
+18
 c1
 80
 00
@@ -3103,191 +3251,95 @@
 1f
 e0
 fe
-06
+04
 20
 60
 00
 00
+6a
+41
+49
+ee
+1a
+42
+26
+00
+20
+40
+5d
+f3
 6f
-e4
-47
-13
-c2
-9f
+e3
+49
+b5
+20
+3a
 03
-0f
+39
+67
+e3
+49
+af
+1a
+60
+a6
+06
 6f
-e0
-c6
+e1
+49
+f0
+9a
 66
-c1
+7c
 00
+24
+61
 00
 00
-c0
+1a
+62
+24
 00
-83
-0f
-c0
-01
-03
-16
 20
-60
-00
-00
+20
+03
+2f
 6f
 e3
-46
-6e
+49
+af
 68
 4b
 46
-e6
+6e
 98
 46
 7c
 00
-24
+20
 62
 80
 00
-6f
-e3
-42
-db
-67
-e3
-46
-6e
+df
 20
-60
 00
-00
-6f
-e3
+06
+da
+20
 46
 6e
-68
-4b
-46
-e6
-98
-46
-7c
-00
-24
+1a
 62
-80
-00
-6f
-e3
-42
-db
-1f
-e0
-ff
+24
 00
-67
-e3
-46
-6e
 20
-60
-00
-00
-20
-40
-03
-20
-20
-20
-5a
-9c
-6f
-e4
-47
-13
-c3
-0a
-5c
-6f
-c2
-9f
-03
-28
-6f
-e0
-c6
-66
-c1
-00
-00
-00
-c0
-00
-83
-28
-c0
-01
-03
-2d
-20
-60
-00
-00
-6f
-e3
-46
-68
-67
-e3
-41
-16
-6f
-e3
-46
-6e
-67
-e3
-42
-db
-20
-60
-00
-00
-6f
-e3
-46
-75
-67
-e3
-41
-16
-6f
-e3
-46
-7b
-67
-e3
-42
-db
 20
-60
-00
-00
-6f
-e0
-c6
-66
-c1
-00
-00
-00
+6b
+45
 6a
 41
 49
-fe
+f6
 1a
 42
 26
@@ -3295,35 +3347,35 @@
 20
 40
 5e
-3d
+17
 6f
-e1
+e3
 49
-e0
+cd
 20
 3a
 03
-40
+4d
 67
-e1
+e3
 49
-de
+c7
 1a
 60
 a6
-02
+06
 6f
 e1
-4a
-00
+49
+f8
 9a
 66
 7c
 00
 24
-21
-03
-40
+61
+00
+00
 1a
 62
 24
@@ -3331,103 +3383,143 @@
 20
 20
 03
-36
+43
 6f
-e1
+e3
 49
-de
-67
-e1
+c7
+68
+4b
 46
-95
-20
-60
+7b
+98
+46
+7c
 00
+20
+62
+80
 00
-6f
-e4
-47
-13
-c2
-89
-dc
-b1
-c2
-89
-5c
-b9
-c2
-8a
-03
-48
+df
 20
-60
 00
+06
+da
+20
+46
+7b
+1a
+62
+24
 00
 20
+20
+6b
+45
+20
 40
 03
-4b
+8e
 20
 40
 03
-78
+a6
+20
+40
+03
+59
 20
 20
 5c
-c1
+90
+6f
+e4
+47
+13
+c4
+07
+80
+00
 6f
 e0
 c6
-66
-c1
+90
+c0
+00
+5c
+94
+c0
+03
+03
+5f
+20
+60
+00
 00
+70
+46
+90
 00
+20
+60
 00
-c0
 00
-83
-50
-c0
-01
+6f
+e4
+47
+13
+c2
+89
+dc
+b5
+c2
+8a
 03
-64
+65
 20
 60
 00
 00
+6f
+e4
+47
+13
+c4
+07
+80
+00
 6a
 41
 49
-ee
+fa
 1a
 42
 26
 00
 20
 40
-5d
-f3
+5e
+51
 6f
-e3
-49
-b5
+e0
+c9
+d4
 20
 3a
 03
-5c
+73
 67
-e3
-49
-af
+e0
+c9
+d3
 1a
 60
 a6
-06
+01
 6f
 e1
 49
-f0
+fc
 9a
 66
 7c
@@ -3443,171 +3535,11 @@
 20
 20
 03
-52
-6f
-e3
-49
-af
-68
-4b
-46
-6e
-98
-46
-7c
-00
-20
-62
-80
-00
-df
-20
-00
-06
-da
-20
-46
-6e
-1a
-62
-24
-00
-20
-20
-6b
-45
-6a
-41
-49
-f6
-1a
-42
-26
-00
-20
-40
-5e
-17
-6f
-e3
-49
-cd
-20
-3a
-03
-70
-67
-e3
-49
-c7
-1a
-60
-a6
-06
-6f
-e1
-49
-f8
-9a
-66
-7c
-00
-24
-61
-00
-00
-1a
-62
-24
-00
-20
-20
-03
-66
-6f
-e3
-49
-c7
-68
-4b
-46
-7b
-98
-46
-7c
-00
-20
-62
-80
-00
-df
-20
-00
-06
-da
-20
-46
-7b
-1a
-62
-24
-00
-20
-20
-6b
-45
-6a
-41
-49
-e2
-1a
-42
-26
-00
-20
-40
-5d
-c0
-6f
-e0
-c9
-a1
-20
-3a
-03
-84
-67
-e0
-c9
-a0
-1a
-60
-a6
-01
-6f
-e1
-49
-e4
-9a
-66
-7c
-00
-24
-61
-00
-00
-1a
-62
-24
-00
-20
-20
-03
-7a
+69
 6f
 e0
 c9
-a0
+d3
 1f
 e1
 7e
@@ -3615,19 +3547,19 @@
 20
 3a
 03
-8e
+7d
 6f
 e0
 c6
-66
+90
 20
 40
 03
-9c
+8b
 67
 e0
 c9
-a2
+d5
 df
 20
 00
@@ -3639,7 +3571,7 @@
 da
 20
 49
-a2
+d5
 20
 20
 6b
@@ -3647,15 +3579,15 @@
 68
 48
 c9
-a0
+d3
 6f
 e0
 c6
-66
+90
 20
 40
 03
-9c
+8b
 98
 46
 7c
@@ -3675,7 +3607,7 @@
 67
 e0
 c9
-a2
+d5
 1a
 62
 7e
@@ -3683,7 +3615,7 @@
 68
 49
 49
-e2
+fa
 98
 46
 7c
@@ -3691,7 +3623,7 @@
 20
 22
 83
-8a
+79
 1a
 60
 a7
@@ -3699,7 +3631,7 @@
 20
 20
 03
-8a
+79
 c1
 80
 00
@@ -3707,7 +3639,7 @@
 1f
 e0
 fe
-04
+06
 20
 60
 00
@@ -3716,58 +3648,46 @@
 e4
 47
 13
-c4
-01
-00
-00
-c3
-0a
-5c
-43
-d8
-e0
-00
-02
-20
-40
-5f
-04
-20
-40
-5c
-4a
-20
-40
+c2
+9f
 03
-a7
-20
-20
-5c
-a3
+95
 6f
 e0
 c6
 66
+c1
+00
+00
+00
 c0
 00
 83
-ab
+95
 c0
 01
 03
-b0
+9c
 20
 60
 00
 00
 6f
 e3
-01
-78
-67
-e3
 46
+6e
 68
+4b
+46
+e6
+98
+46
+7c
+00
+24
+62
+80
+00
 6f
 e3
 42
@@ -3782,28 +3702,208 @@
 00
 6f
 e3
-01
-78
-67
-e3
 46
-75
-6f
-e3
-42
-db
-67
-e3
+6e
+68
+4b
 46
-7b
-20
+e6
+98
+46
+7c
+00
+24
+62
+80
+00
+6f
+e3
+42
+db
+1f
+e0
+ff
+00
+67
+e3
+46
+6e
+20
 60
 00
 00
 20
 40
 03
-cb
+a6
+20
+20
+5a
+9c
+6f
+e4
+47
+13
+c3
+0a
+5c
+6f
+c2
+9f
+03
+ae
+6f
+e0
+c6
+66
+c1
+00
+00
+00
+c0
+00
+83
+ae
+c0
+01
+03
+b3
+20
+60
+00
+00
+6f
+e3
+46
+68
+67
+e3
+41
+16
+6f
+e3
+46
+6e
+67
+e3
+42
+db
+20
+60
+00
+00
+6f
+e3
+46
+75
+67
+e3
+41
+16
+6f
+e3
+46
+7b
+67
+e3
+42
+db
+20
+60
+00
+00
+6f
+e4
+47
+13
+c4
+01
+00
+00
+c3
+0a
+5c
+43
+d8
+e0
+00
+02
+20
+40
+5f
+04
+20
+40
+5c
+4a
+20
+40
+03
+c0
+20
+20
+5c
+a3
+6f
+e0
+c6
+66
+c0
+00
+83
+c4
+c0
+01
+03
+c9
+20
+60
+00
+00
+6f
+e3
+01
+78
+67
+e3
+46
+68
+6f
+e3
+42
+db
+67
+e3
+46
+6e
+20
+60
+00
+00
+6f
+e3
+01
+78
+67
+e3
+46
+75
+6f
+e3
+42
+db
+67
+e3
+46
+7b
+20
+60
+00
+00
+20
+40
+03
+e4
 20
 40
 61
@@ -3875,7 +3975,7 @@
 20
 40
 03
-ce
+e7
 20
 40
 56
@@ -3907,7 +4007,7 @@
 da
 40
 03
-d1
+ea
 20
 20
 42
@@ -3935,23 +4035,23 @@
 c0
 20
 03
-dc
+f5
 c0
 0a
 83
-e1
+fa
 c0
 1e
 03
-e5
+fe
 c0
 1c
-83
-f6
+84
+0f
 c0
 1d
-03
-f9
+04
+12
 20
 20
 5a
@@ -4055,7 +4155,7 @@
 20
 40
 04
-0c
+46
 20
 20
 60
@@ -4067,7 +4167,7 @@
 20
 40
 04
-0c
+46
 20
 20
 60
@@ -4079,7 +4179,7 @@
 20
 40
 04
-0c
+46
 6f
 e0
 c8
@@ -4103,7 +4203,15 @@
 c0
 02
 04
-02
+1d
+c0
+00
+e0
+5f
+c0
+01
+84
+24
 20
 20
 60
@@ -4137,20 +4245,144 @@
 54
 a0
 6f
+e4
+47
+13
+c3
+1f
+60
+59
+c2
+89
 e0
-c1
-41
-67
-e0
-ca
-07
+59
+c2
+8a
+60
+59
+c2
+89
+60
+59
+20
 20
 60
-00
-00
+34
 6f
-e0
-ca
+e4
+47
+13
+c2
+9f
+04
+2f
+6f
+e0
+c6
+66
+c0
+00
+04
+36
+20
+20
+54
+91
+20
+40
+54
+ac
+20
+34
+04
+32
+20
+20
+60
+2f
+6f
+e0
+c6
+66
+c0
+00
+60
+67
+20
+40
+5a
+a8
+20
+20
+04
+21
+6f
+e4
+47
+13
+c3
+08
+e0
+2a
+20
+40
+61
+95
+20
+40
+54
+ac
+20
+34
+60
+67
+6f
+e4
+47
+13
+c2
+98
+04
+3e
+20
+20
+60
+23
+70
+46
+66
+00
+6f
+e1
+47
+21
+67
+e1
+45
+de
+70
+45
+e2
+01
+20
+20
+35
+34
+6f
+e0
+c1
+41
+67
+e0
+ca
+07
+20
+60
+00
+00
+6f
+e0
+ca
 07
 67
 e0
@@ -4171,7 +4403,7 @@
 20
 40
 04
-13
+4d
 20
 20
 5e
@@ -4199,7 +4431,7 @@
 20
 40
 04
-1a
+54
 20
 20
 56
@@ -4227,7 +4459,7 @@
 c0
 7f
 84
-21
+5b
 20
 20
 56
@@ -4247,7 +4479,7 @@
 20
 20
 04
-25
+5f
 1a
 62
 7e
@@ -4307,7 +4539,7 @@
 20
 40
 04
-36
+70
 6f
 e1
 c6
@@ -4374,8 +4606,8 @@
 ed
 20
 20
-02
-1a
+62
+2b
 20
 40
 5a
@@ -4383,7 +4615,7 @@
 20
 40
 04
-36
+70
 20
 40
 56
@@ -4412,6 +4644,14 @@
 40
 59
 43
+68
+48
+c6
+5a
+20
+40
+55
+ab
 d8
 40
 00
@@ -4421,9 +4661,113 @@
 55
 b5
 20
+40
+61
+1a
+20
+40
+55
+0c
+20
+40
+54
+f9
+68
+48
+c6
+4a
+20
+40
+6f
+0f
+68
+48
+c6
+4b
+20
+40
+6f
+0f
+68
+48
+c6
+5b
+20
+40
+55
+b5
+20
+40
+04
+97
+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
+a4
+6f
+e1
+86
+70
+1f
+e3
+7e
+00
+67
+e1
+86
+70
+18
+40
+84
+01
+c2
+00
+04
+9b
+20
+60
+00
+00
+18
+46
+7c
+ff
+20
+62
+80
+00
+20
+20
+6f
+0b
 c6
 93
 00
@@ -4447,7 +4791,7 @@
 24
 5a
 04
-66
+bc
 6f
 e4
 47
@@ -4455,7 +4799,7 @@
 c3
 0b
 04
-5b
+b1
 6f
 e0
 c9
@@ -4467,7 +4811,7 @@
 20
 40
 04
-5d
+b3
 20
 20
 60
@@ -4511,11 +4855,11 @@
 20
 40
 04
-36
+70
 20
 20
-01
-d2
+02
+02
 6f
 e4
 47
@@ -4575,7 +4919,7 @@
 c0
 2c
 04
-78
+ce
 20
 20
 59
@@ -4591,7 +4935,7 @@
 c0
 2c
 84
-7c
+d2
 20
 20
 59
@@ -4623,7 +4967,7 @@
 20
 40
 04
-84
+da
 20
 20
 56
@@ -4643,7 +4987,7 @@
 c0
 05
 84
-89
+df
 20
 20
 59
@@ -4659,7 +5003,7 @@
 c0
 7f
 84
-8f
+e5
 68
 48
 c6
@@ -4688,8 +5032,8 @@
 20
 5a
 2f
-60
-88
+ae
+cd
 aa
 55
 40
@@ -4698,7 +5042,7 @@
 40
 05
 00
-32
+33
 07
 20
 00
@@ -4709,8 +5053,8 @@
 00
 00
 00
-13
-08
+53
+18
 84
 f2
 7c
@@ -4722,7 +5066,7 @@
 00
 20
 00
-00
+60
 14
 00
 00
@@ -4737,7 +5081,7 @@
 00
 06
 00
-20
+30
 00
 00
 00
@@ -4768,11 +5112,11 @@
 47
 04
 c9
-0a
+12
 01
 00
 00
-03
+01
 3b
 aa
 55
@@ -4968,6 +5312,15 @@
 20
 aa
 55
+03
+00
+3c
+47
+00
+00
+00
+aa
+55
 02
 00
 66
@@ -5424,39 +5777,39 @@
 00
 fa
 49
-39
-18
-6a
-18
+b9
+1a
+ea
+1a
 aa
 55
 18
 00
 e2
 49
-6b
-18
-32
-19
-33
-19
-fa
-19
-fb
-19
-26
+eb
+1a
+b2
 1b
-27
+b3
 1b
-52
+2a
 1c
-53
+2b
 1c
-7e
+de
+1c
+df
+1c
+92
 1d
-7f
+93
 1d
-aa
+46
+1e
+47
+1e
+fa
 1e
 aa
 55
@@ -5464,11 +5817,11 @@
 00
 fe
 49
-ab
+fb
 1e
-c2
+ac
 1f
-c4
+ae
 1f
 aa
 55
@@ -5704,7 +6057,7 @@
 ff
 aa
 55
-1e
+1a
 00
 d6
 48
@@ -5720,623 +6073,270 @@
 41
 a1
 12
-a5
-84
 a7
 ff
-b5
-d0
 b6
-00
-ff
-00
-35
-c8
-25
-af
-09
-00
-ff
-ff
-aa
-55
-2e
-00
-fc
-48
-09
-5a
-0d
-10
-0e
-c5
-5b
-9a
-10
-38
-11
-42
-28
-28
-41
-23
-49
-39
-4a
-b0
-4b
-a0
-4c
-90
-4d
-70
-09
-00
-ff
-ff
-09
-5a
-06
-02
-09
-69
-0d
-48
-0e
-9f
-0f
-ba
-09
-00
-ff
-ff
-aa
-55
-01
-00
-48
-41
-0c
-aa
-55
-06
-00
-c3
-40
-35
-3f
-64
-db
-7b
-3b
-aa
-55
-01
-00
-a7
-40
-20
-aa
-55
-03
-00
-c9
-40
-00
-08
-b4
-aa
-55
-01
-00
-99
-40
-18
-aa
-55
-01
-00
-1c
-41
-64
-aa
-55
-0c
-00
-16
-00
-00
-00
-20
-00
-00
-00
-00
-00
-00
-00
-00
-00
-aa
-55
-05
-00
-5e
-41
-08
-0e
-05
-03
-00
-aa
-55
-01
-00
-68
-41
-20
-aa
-55
-02
-00
-9a
-40
-00
-0c
-aa
-55
-05
-00
-43
-41
-ff
-04
-00
-00
-08
-aa
-55
-01
-00
-1c
-02
-5a
-aa
-55
-01
-00
-07
-44
-01
-aa
-55
-01
-00
-09
-44
-0a
-aa
-55
-01
-00
-08
-44
-00
-aa
-55
-01
-00
-11
-44
-00
-aa
-55
-04
-00
-0d
-44
-00
-07
-ff
-07
-aa
-55
-01
-00
-38
-44
-a0
-aa
-55
-02
-00
-3b
-44
-bc
-02
-aa
-55
-02
-00
-39
-44
-90
-01
-aa
-55
-02
-00
-3d
-44
-03
-09
-aa
-55
-01
-00
-49
-41
-ff
-aa
-55
-02
-00
-9c
-40
-49
-41
-55
-aa
-aa
-55
-da
-5c
-5b
-13
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+00
+b5
+c8
+a5
+af
 ff
+00
+09
+00
 ff
 ff
+aa
+55
+2e
+00
+fc
+48
+09
+5a
+0d
+10
+0e
+c5
+5b
+9a
+10
+38
+11
+42
+28
+28
+41
+23
+49
+39
+4a
+b0
+4b
+a0
+4c
+90
+4d
+70
+09
+00
 ff
 ff
+09
+5a
+06
+02
+09
+69
+0d
+48
+0e
+9f
+0f
+ba
+09
+00
 ff
 ff
+aa
+55
+01
+00
+07
+44
+01
+aa
+55
+01
+00
+09
+44
+0a
+aa
+55
+01
+00
+08
+44
+09
+aa
+55
+06
+00
+2d
+46
+a4
+01
+18
+01
+2c
+01
+aa
+55
+01
+00
+48
+41
+0c
+aa
+55
+06
+00
+c3
+40
+35
+3f
+64
+db
+7b
+3b
+aa
+55
+01
+00
+a7
+40
+20
+aa
+55
+03
+00
+c9
+40
+00
+08
+b4
+aa
+55
+01
+00
+99
+40
+18
+aa
+55
+01
+00
+1c
+41
+3e
+aa
+55
+0c
+00
+16
+00
+00
+00
+20
+00
+00
+00
+00
+00
+00
+00
+00
+00
+aa
+55
+05
+00
+5e
+41
+08
+0e
+05
+03
+00
+aa
+55
+01
+00
+68
+41
+20
+aa
+55
+02
+00
+9a
+40
+00
+0c
+aa
+55
+05
+00
+43
+41
 ff
+04
+00
+00
+08
+aa
+55
+01
+00
+1c
+02
+5a
+aa
+55
+01
+00
+38
+44
+a0
+aa
+55
+02
+00
+3b
+44
+bc
+02
+aa
+55
+02
+00
+39
+44
+90
+01
+aa
+55
+02
+00
+3d
+44
+03
+09
+aa
+55
+01
+00
+49
+41
 ff
+aa
+55
+02
+00
+9c
+40
+49
+41
+55
+aa
+aa
+55
+ee
+5e
+21
+e0
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-b5
-b3
+1c
+76
Index: output/memmap.format
===================================================================
--- /1121s/branch/mouse/mouse_public_2M/output/memmap.format	(revision 1444)
+++ /1121s/branch/mouse/mouse_public_2M/output/memmap.format	(working copy)
@@ -1952,85 +1952,87 @@
 0x4a5d mem_le_tx_buffer1_omemalloc_new
 0x4a9d mem_le_tx_buffer2_omemalloc_new
 0x4add mem_le_tx_buffer3_omemalloc_new
-0x4b1d mem_24g_txpayload_buf
-0x4b2d mem_release_data_from_receiver_enable
-0x4b2e mem_release_data_from_transmiter_enable
-0x4b2f mem_flippen_key0_gpio
-0x4b30 mem_flippen_key1_gpio
-0x4b31 mem_flippen_key2_gpio
-0x4b32 mem_flippen_key3_gpio
-0x4b33 mem_flippen_key4_gpio
-0x4b34 mem_flippen_key5_gpio
-0x4b35 mem_flippen_key6_gpio
-0x4b36 mem_flippen_key7_gpio
-0x4b37 mem_flippen_key0_press_status
-0x4b38 mem_flippen_key1_press_status
-0x4b39 mem_flippen_key2_press_status
-0x4b3a mem_flippen_key3_press_status
-0x4b3b mem_flippen_key4_press_status
-0x4b3c mem_flippen_key5_press_status
-0x4b3d mem_flippen_key6_press_status
-0x4b3e mem_flippen_key7_press_status
-0x4b3f mem_key_press_data
-0x4b3f mem_key_pageup_data
-0x4b48 mem_key_pagedown_data
-0x4b51 mem_key_shift_f5_data
-0x4b5a mem_key_esc_data
-0x4b63 mem_key_b_data
-0x4b6c mem_key_tab
-0x4b75 mem_key_enter
-0x4b7e mem_key_alt_tab
-0x4b87 mem_key_alt_f4
-0x4b90 mem_key_play_pause
-0x4b99 mem_key_vol_up
-0x4ba2 mem_key_vol_down
-0x4bab mem_standard_key_release
-0x4bb4 mem_system_ctrl_key_release
-0x4bbd mem_media_key_release
-0x4bc6 mem_key0_long_press_flag
-0x4bc7 mem_key1_long_press_flag
-0x4bc8 mem_key2_long_press_flag
-0x4bc9 mem_key3_long_press_flag
-0x4bca mem_key4_long_press_flag
-0x4bcb mem_key0_long_press_event
-0x4bcc mem_key1_long_press_event
-0x4bcd mem_key2_long_press_event
-0x4bce mem_key3_long_press_event
-0x4bcf mem_key4_long_press_event
-0x4bd0 mem_key0_short_press_flag
-0x4bd1 mem_key1_short_press_flag
-0x4bd2 mem_key2_short_press_flag
-0x4bd3 mem_key3_short_press_flag
-0x4bd4 mem_key4_short_press_flag
-0x4bd5 mem_key0_press_timer_count
-0x4bd6 mem_key1_press_timer_count
-0x4bd7 mem_key2_press_timer_count
-0x4bd8 mem_key3_press_timer_count
-0x4bd9 mem_key4_press_timer_count
-0x4bda mem_combination_key_down_flag
-0x4bdb mem_combination_key_longpress_flag
-0x4bdc mem_key_disable_timer
-0x4bdd mem_24g_calculate_package_id_disable
-0x4bde mem_24g_package_id_abandon_flag
-0x4bdf mem_24g_package_id
-0x4be0 mem_key_state
-0x4be1 mem_key_press_state
-0x4be2 mem_poweron_first_blank_data_enable
-0x4be3 mem_flippen_no_data_timeout
-0x4be5 mem_flippen_start_pair_no_data_timeout
-0x4be7 mem_key_longpress_timer_init
-0x4be9 mem_key_longpress_timer
-0x4beb mem_low_voltage_led_blink_flag
-0x4bec mem_low_voltage_led_blink_start_timer
-0x4bed mem_poweron_led_blink_flag
-0x4bee mem_24g_pair_enable_flag
-0x4bef mem_24g_ch_work
-0x4bf0 mem_24g_pair_key_down_flag
-0x4bf1 mem_24g_pairing_stop_flag
-0x4bf2 mem_longpress_24g_enter_hibernate_flag
-0x4bf3 mem_g24_connected_state
-0x4bf4 mem_g24_pairing_stop_flag
-0x4bf5 mem_send_package_before_check
+0x4b1d mem_mouse_wheel_temp_gpio
+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
 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/mouse_public_2M/output/otp.dat	(revision 1444)
+++ /1121s/branch/mouse/mouse_public_2M/output/otp.dat	(working copy)
@@ -11,136 +11,156 @@
 00
 aa
 55
-4e
-12
+a6
+13
 c2
 84
 00
-21
+26
 c0
 00
 02
-0d
+3d
 c0
 01
 00
-2e
+34
+c0
+08
+00
+3d
 c0
 08
 80
-37
+3f
 c0
 0a
 01
-4f
+55
 c0
 0a
 80
-b6
+c0
 c0
 0c
 00
-ce
+df
 c0
 0c
 80
-d5
+e6
 c0
 0d
 00
-45
+4d
 c0
 12
 81
-c2
+ee
 c0
 34
 02
-06
+36
 c0
 34
 82
-a2
+bb
 c0
 36
-01
-fe
+02
+2e
+c0
+37
+04
+2a
 c0
 39
 84
-45
+7f
+c0
+3a
+01
+eb
 c0
 3d
 04
-7f
+d5
 c0
 3f
 84
-25
+5f
 c0
 40
 84
-73
+c9
 c0
 42
 03
-1e
+a4
 c0
 42
 83
-d5
+ee
 c0
 43
 01
-ae
+b8
 c0
 43
 83
-b5
+ce
 c0
 45
 03
-9f
+b8
+c0
+45
+82
+d2
 c0
 46
-03
-43
+02
+f9
 c0
 46
-82
-db
+83
+61
 c0
 47
 04
-0f
-c0
-45
-82
-b9
+49
 c0
 48
 04
-68
+be
 c0
 4a
 84
-3c
+76
 c0
 4b
 04
-51
+a7
 c0
 62
+82
+11
+c0
+6a
 81
-e1
+d3
+c0
+6b
+01
+cc
 c0
 6d
 01
-20
+26
 c0
 6e
 01
-30
+36
 20
 20
 23
@@ -148,47 +168,51 @@
 c0
 12
 81
-6b
+71
 c0
 13
 01
-70
+76
 c0
 1c
 81
-82
+88
 c0
 1d
 01
-88
+92
+c0
+26
+01
+8e
 c0
 26
 81
-86
+8c
 c0
 48
-01
-e4
+02
+14
 c0
 4a
 82
-59
+72
 c0
 4d
 02
-79
+92
 c0
 4b
 04
-30
+6a
 c0
 4d
-02
-10
+00
+ce
 c0
 4e
 80
-c4
+d5
 c1
 7f
 80
@@ -232,7 +256,15 @@
 20
 20
 00
-2e
+34
+70
+89
+00
+00
+20
+20
+21
+53
 70
 8a
 0f
@@ -332,13 +364,9 @@
 20
 40
 00
-8b
-6f
-e0
-c4
-36
+94
 20
-5a
+40
 70
 d7
 37
@@ -349,6 +377,18 @@
 81
 3b
 5f
+37
+d9
+82
+00
+70
+81
+3c
+88
+37
+d9
+82
+00
 6f
 e0
 c0
@@ -356,7 +396,7 @@
 c0
 08
 00
-80
+89
 6f
 e0
 c4
@@ -400,7 +440,7 @@
 20
 40
 00
-72
+7b
 70
 80
 43
@@ -424,28 +464,24 @@
 20
 40
 00
-f2
+f9
 20
 40
 01
-1d
+24
 20
 40
 00
-6c
+75
 70
 41
 48
 0c
 20
-40
+20
 6f
 4e
 20
-20
-01
-1f
-20
 75
 80
 00
@@ -476,7 +512,7 @@
 c0
 0c
 00
-78
+81
 6f
 e0
 c4
@@ -568,11 +604,11 @@
 20
 20
 00
-5e
+68
 20
 35
 80
-b2
+bc
 6f
 e2
 02
@@ -601,6 +637,10 @@
 41
 fe
 00
+1f
+e0
+ff
+fd
 67
 f0
 81
@@ -740,7 +780,7 @@
 20
 20
 00
-9c
+a6
 20
 40
 68
@@ -797,6 +837,34 @@
 20
 21
 b4
+6f
+e0
+c7
+93
+24
+7a
+00
+00
+20
+40
+00
+d2
+20
+20
+60
+fc
+6f
+e0
+c6
+55
+c1
+7f
+80
+00
+20
+20
+5e
+78
 68
 48
 c6
@@ -812,7 +880,7 @@
 24
 21
 00
-c9
+da
 20
 20
 36
@@ -876,23 +944,15 @@
 c0
 05
 00
-dd
-c0
-4f
-00
-e6
+ec
 c0
 4f
-80
-ea
-c0
-50
 00
-ee
+f5
 c0
 55
 00
-e2
+f1
 20
 20
 22
@@ -949,54 +1009,22 @@
 20
 22
 1a
-70
-8a
-14
-17
-58
-25
-01
+20
+75
+80
 00
-67
-f1
-8a
+20
+40
+21
 60
+d8
+40
+00
+27
 20
-20
-22
-1a
-70
-8a
-14
-17
-58
-25
-00
-00
-67
-f1
-8a
-60
-20
-20
-22
-1a
-20
-75
-80
-00
-20
-40
-21
-60
-d8
-40
-00
-27
-20
-40
-21
-6f
+40
+21
+6f
 20
 40
 21
@@ -1032,7 +1060,7 @@
 20
 40
 01
-0f
+16
 2a
 2f
 fe
@@ -1064,7 +1092,7 @@
 20
 40
 01
-0f
+16
 d8
 a0
 8a
@@ -1092,7 +1120,7 @@
 20
 21
 01
-04
+0b
 20
 20
 21
@@ -1162,10 +1190,6 @@
 22
 72
 20
-60
-00
-00
-20
 75
 80
 00
@@ -1196,7 +1220,7 @@
 20
 40
 01
-48
+4e
 70
 8a
 08
@@ -1232,7 +1256,7 @@
 20
 40
 01
-3e
+44
 6f
 f0
 8a
@@ -1276,7 +1300,7 @@
 20
 40
 01
-48
+4e
 70
 80
 cd
@@ -1336,7 +1360,7 @@
 c3
 02
 81
-49
+4f
 68
 59
 01
@@ -1372,7 +1396,7 @@
 c0
 08
 01
-68
+6e
 58
 00
 57
@@ -1416,7 +1440,7 @@
 c0
 08
 01
-65
+6b
 58
 00
 2b
@@ -1452,7 +1476,7 @@
 20
 20
 01
-61
+67
 58
 00
 83
@@ -1464,7 +1488,7 @@
 20
 20
 01
-56
+5c
 20
 40
 28
@@ -1581,6 +1605,22 @@
 20
 2a
 f6
+20
+40
+21
+52
+70
+89
+00
+00
+79
+3f
+80
+30
+20
+20
+2a
+e3
 ef
 e1
 00
@@ -1588,7 +1628,7 @@
 c0
 02
 01
-8b
+95
 20
 20
 28
@@ -1604,11 +1644,11 @@
 c0
 05
 01
-90
+9a
 c0
 09
 01
-9f
+a9
 20
 20
 2b
@@ -1636,7 +1676,7 @@
 c2
 81
 81
-9a
+a4
 6f
 e1
 43
@@ -1664,11 +1704,11 @@
 24
 22
 81
-96
+a0
 24
 34
 01
-96
+a0
 20
 20
 2d
@@ -1748,7 +1788,7 @@
 c0
 7f
 81
-b5
+bf
 6f
 e0
 c8
@@ -1808,11 +1848,147 @@
 20
 40
 04
-5d
+b3
 20
 20
 5b
 37
+18
+46
+7c
+ff
+20
+62
+80
+00
+d9
+00
+00
+04
+28
+4f
+fe
+07
+20
+20
+ee
+bd
+d9
+00
+00
+03
+20
+20
+6e
+bd
+18
+46
+7c
+ff
+20
+62
+80
+00
+60
+48
+cb
+1d
+20
+40
+6e
+e6
+20
+20
+81
+dc
+68
+48
+cb
+1d
+20
+40
+6f
+0f
+68
+48
+cb
+1d
+20
+20
+01
+e3
+70
+4b
+1e
+01
+68
+48
+cb
+1d
+20
+40
+6f
+0f
+68
+48
+cb
+1d
+20
+20
+01
+e1
+d9
+00
+00
+06
+20
+20
+6e
+bd
+d9
+00
+00
+03
+20
+20
+6e
+bd
+58
+00
+00
+10
+67
+f0
+81
+41
+37
+d9
+82
+00
+20
+60
+00
+00
+58
+00
+00
+80
+20
+20
+01
+e6
+20
+40
+04
+70
+70
+4b
+1e
+00
+20
+20
+55
+0d
 6f
 e1
 43
@@ -1836,11 +2012,27 @@
 20
 40
 01
-c9
+f9
+20
+40
+01
+f6
 20
 20
 24
 25
+6f
+e0
+cb
+1e
+20
+3a
+01
+e5
+20
+20
+01
+e9
 60
 04
 40
@@ -1907,8 +2099,8 @@
 00
 20
 22
-81
-dc
+82
+0c
 e7
 e0
 80
@@ -1927,8 +2119,8 @@
 01
 c2
 00
-01
-d6
+02
+06
 1a
 42
 04
@@ -1963,8 +2155,8 @@
 00
 20
 3a
-01
-ec
+02
+1c
 6f
 e1
 45
@@ -2007,9 +2199,9 @@
 7d
 20
 3a
-01
-fb
-6f
+02
+2b
+6f
 e2
 45
 cc
@@ -2023,8 +2215,8 @@
 00
 20
 22
-81
-f8
+82
+28
 20
 20
 35
@@ -2051,8 +2243,8 @@
 00
 20
 20
-01
-f3
+02
+23
 20
 40
 54
@@ -2060,7 +2252,7 @@
 20
 40
 02
-01
+31
 20
 20
 54
@@ -2088,15 +2280,15 @@
 58
 00
 02
-2f
+48
 67
 e1
 45
 f8
 58
 00
-02
-1a
+62
+2b
 67
 e1
 45
@@ -2104,7 +2296,7 @@
 58
 00
 02
-17
+45
 67
 e1
 43
@@ -2119,112 +2311,16 @@
 00
 20
 55
-e0
-04
-20
-20
-20
-03
-6f
-e0
-c7
-93
-24
-7a
-00
-00
-20
+82
 40
-02
-14
-20
-20
-60
-fc
-6f
-e0
-c6
-55
-c1
-7f
-80
-00
-20
 20
-5e
-78
-6f
-e0
-c6
-66
-c1
-00
-00
-00
 20
 20
-61
-0b
+03
 20
 40
-36
-b4
-24
-74
-00
-00
-70
-47
-7c
 01
-20
-40
-36
-be
-70
-47
-72
-00
-20
-40
-62
-aa
-6f
-e0
-c7
-3f
-24
-5a
-54
-dc
-20
-40
-02
-25
-6f
-e2
-45
-af
-20
-20
-36
-22
-6f
-e0
-c7
-3f
-24
-7a
-00
-00
-68
-48
-c6
-4a
-20
-40
-6f
-0f
+e5
 68
 48
 c6
@@ -2232,23 +2328,27 @@
 20
 40
 6e
-c6
+dd
 68
 48
 c6
 4b
 20
-40
+20
+6e
+dd
 6f
-0f
-68
-48
+e0
 c6
-4b
+66
+c1
+00
+00
+00
 20
 20
-6e
-c6
+61
+0b
 6f
 e0
 c7
@@ -2280,7 +2380,7 @@
 24
 22
 82
-3c
+55
 68
 49
 46
@@ -2292,7 +2392,7 @@
 20
 22
 82
-4d
+66
 6f
 e2
 47
@@ -2300,7 +2400,7 @@
 20
 3a
 02
-4d
+66
 68
 4a
 47
@@ -2312,7 +2412,7 @@
 20
 20
 82
-54
+6d
 6f
 e2
 47
@@ -2336,7 +2436,7 @@
 24
 21
 02
-50
+69
 6f
 e1
 c6
@@ -2380,7 +2480,7 @@
 20
 20
 02
-4b
+64
 18
 46
 04
@@ -2396,7 +2496,7 @@
 20
 20
 02
-4b
+64
 df
 ff
 ff
@@ -2416,7 +2516,7 @@
 20
 20
 02
-41
+5a
 20
 40
 36
@@ -2424,11 +2524,11 @@
 24
 34
 02
-5d
+76
 20
 40
 02
-6e
+87
 20
 20
 36
@@ -2440,7 +2540,7 @@
 20
 5a
 02
-60
+79
 20
 20
 36
@@ -2500,7 +2600,7 @@
 20
 20
 02
-5b
+74
 58
 00
 00
@@ -2520,11 +2620,11 @@
 24
 2c
 02
-79
+92
 24
 37
 82
-79
+92
 20
 40
 36
@@ -2532,7 +2632,7 @@
 20
 40
 02
-77
+90
 20
 20
 36
@@ -2540,7 +2640,7 @@
 20
 40
 02
-88
+a1
 20
 20
 5f
@@ -2604,7 +2704,7 @@
 20
 20
 02
-71
+8a
 6f
 e0
 c7
@@ -2712,7 +2812,7 @@
 20
 40
 04
-09
+43
 6f
 e4
 47
@@ -2728,7 +2828,7 @@
 c2
 8a
 02
-a8
+c1
 20
 60
 00
@@ -2736,7 +2836,7 @@
 20
 40
 02
-b3
+cc
 20
 40
 5e
@@ -2748,19 +2848,19 @@
 20
 40
 02
-c7
+e0
 20
 40
 02
-b0
+c9
 20
 40
 02
-b6
+cf
 20
 40
-03
-32
+02
+e8
 20
 20
 5d
@@ -2776,7 +2876,7 @@
 20
 40
 04
-68
+be
 6f
 e0
 c6
@@ -2815,8 +2915,8 @@
 00
 20
 22
-82
-cf
+83
+55
 60
 49
 46
@@ -2868,7 +2968,7 @@
 20
 22
 82
-c4
+dd
 1f
 e6
 7c
@@ -2876,7 +2976,7 @@
 20
 22
 82
-cd
+e6
 20
 61
 00
@@ -2889,102 +2989,150 @@
 60
 00
 00
-20
-40
-03
-08
-20
-40
-03
-20
-20
-40
-02
-d3
-20
-20
-5c
-90
-6f
-e4
-47
-13
-c4
-07
-80
-00
 6f
 e0
 c6
-90
-c0
+66
+c1
 00
-5c
-94
-c0
-03
-02
-d9
-20
-60
 00
 00
-70
-46
-90
+6a
+41
+49
+fe
+1a
+42
+26
 00
 20
-60
-00
-00
+40
+5e
+3d
 6f
-e4
-47
+e1
+49
+e0
+20
+3a
+02
+f6
+67
+e1
+49
+de
+1a
+60
+a6
+02
+6f
+e1
+4a
+00
+9a
+66
+7c
+00
+24
+21
+02
+f6
+1a
+62
+24
+00
+20
+20
+02
+ec
+6f
+e1
+49
+de
+67
+e1
+46
+95
+20
+60
+00
+00
+6f
+e4
+47
 13
 c2
 89
 dc
-b5
+b1
+c2
+89
+5c
+b9
 c2
 8a
 02
-df
+fe
 20
 60
 00
 00
+20
+40
+03
+01
+20
+40
+03
+06
+20
+20
+5c
+c1
 6f
-e4
-47
-13
-c4
-07
-80
+e0
+c6
+66
+c1
+00
+00
+00
+c0
+00
+83
+2d
+c0
+01
+03
+41
+20
+60
+00
 00
 6a
 41
 49
-fa
+e2
 1a
 42
 26
 00
 20
 40
-5e
-51
+5d
+c0
 6f
 e0
 c9
-d4
+a1
 20
 3a
-02
-ed
+03
+12
 67
 e0
 c9
-d3
+a0
 1a
 60
 a6
@@ -2992,7 +3140,7 @@
 6f
 e1
 49
-fc
+e4
 9a
 66
 7c
@@ -3007,32 +3155,32 @@
 00
 20
 20
-02
-e3
+03
+08
 6f
 e0
 c9
-d3
+a0
 1f
 e1
 7e
 f0
 20
 3a
-02
-f7
+03
+1c
 6f
 e0
 c6
-90
+66
 20
 40
 03
-05
+2a
 67
 e0
 c9
-d5
+a2
 df
 20
 00
@@ -3044,7 +3192,7 @@
 da
 20
 49
-d5
+a2
 20
 20
 6b
@@ -3052,15 +3200,15 @@
 68
 48
 c9
-d3
+a0
 6f
 e0
 c6
-90
+66
 20
 40
 03
-05
+2a
 98
 46
 7c
@@ -3080,7 +3228,7 @@
 67
 e0
 c9
-d5
+a2
 1a
 62
 7e
@@ -3088,23 +3236,23 @@
 68
 49
 49
-fa
+e2
 98
 46
 7c
 00
 20
 22
-82
-f3
+83
+18
 1a
 60
 a7
 ff
 20
 20
-02
-f3
+03
+18
 c1
 80
 00
@@ -3112,191 +3260,95 @@
 1f
 e0
 fe
-06
+04
 20
 60
 00
 00
+6a
+41
+49
+ee
+1a
+42
+26
+00
+20
+40
+5d
+f3
 6f
-e4
-47
-13
-c2
-9f
+e3
+49
+b5
+20
+3a
 03
-0f
+39
+67
+e3
+49
+af
+1a
+60
+a6
+06
 6f
-e0
-c6
+e1
+49
+f0
+9a
 66
-c1
+7c
 00
+24
+61
 00
 00
-c0
+1a
+62
+24
 00
-83
-0f
-c0
-01
-03
-16
 20
-60
-00
-00
+20
+03
+2f
 6f
 e3
-46
-6e
+49
+af
 68
 4b
 46
-e6
+6e
 98
 46
 7c
 00
-24
+20
 62
 80
 00
-6f
-e3
-42
-db
-67
-e3
-46
-6e
+df
 20
-60
 00
-00
-6f
-e3
+06
+da
+20
 46
 6e
-68
-4b
-46
-e6
-98
-46
-7c
-00
-24
+1a
 62
-80
-00
-6f
-e3
-42
-db
-1f
-e0
-ff
+24
 00
-67
-e3
-46
-6e
 20
-60
-00
-00
-20
-40
-03
-20
-20
-20
-5a
-9c
-6f
-e4
-47
-13
-c3
-0a
-5c
-6f
-c2
-9f
-03
-28
-6f
-e0
-c6
-66
-c1
-00
-00
-00
-c0
-00
-83
-28
-c0
-01
-03
-2d
-20
-60
-00
-00
-6f
-e3
-46
-68
-67
-e3
-41
-16
-6f
-e3
-46
-6e
-67
-e3
-42
-db
-20
-60
-00
-00
-6f
-e3
-46
-75
-67
-e3
-41
-16
-6f
-e3
-46
-7b
-67
-e3
-42
-db
 20
-60
-00
-00
-6f
-e0
-c6
-66
-c1
-00
-00
-00
+6b
+45
 6a
 41
 49
-fe
+f6
 1a
 42
 26
@@ -3304,131 +3356,19 @@
 20
 40
 5e
-3d
-6f
-e1
-49
-e0
-20
-3a
-03
-40
-67
-e1
-49
-de
-1a
-60
-a6
-02
-6f
-e1
-4a
-00
-9a
-66
-7c
-00
-24
-21
-03
-40
-1a
-62
-24
-00
-20
-20
-03
-36
-6f
-e1
-49
-de
-67
-e1
-46
-95
-20
-60
-00
-00
-6f
-e4
-47
-13
-c2
-89
-dc
-b1
-c2
-89
-5c
-b9
-c2
-8a
-03
-48
-20
-60
-00
-00
-20
-40
-03
-4b
-20
-40
-03
-78
-20
-20
-5c
-c1
-6f
-e0
-c6
-66
-c1
-00
-00
-00
-c0
-00
-83
-50
-c0
-01
-03
-64
-20
-60
-00
-00
-6a
-41
-49
-ee
-1a
-42
-26
-00
-20
-40
-5d
-f3
+17
 6f
 e3
 49
-b5
+cd
 20
 3a
 03
-5c
+4d
 67
 e3
 49
-af
+c7
 1a
 60
 a6
@@ -3436,7 +3376,7 @@
 6f
 e1
 49
-f0
+f8
 9a
 66
 7c
@@ -3452,15 +3392,15 @@
 20
 20
 03
-52
+43
 6f
 e3
 49
-af
+c7
 68
 4b
 46
-6e
+7b
 98
 46
 7c
@@ -3476,7 +3416,7 @@
 da
 20
 46
-6e
+7b
 1a
 62
 24
@@ -3485,110 +3425,102 @@
 20
 6b
 45
-6a
-41
-49
-f6
-1a
-42
-26
-00
 20
 40
-5e
-17
-6f
-e3
-49
-cd
+03
+8e
 20
-3a
+40
 03
-70
-67
-e3
-49
-c7
-1a
-60
 a6
-06
-6f
-e1
-49
-f8
-9a
-66
-7c
-00
-24
-61
-00
-00
-1a
-62
-24
-00
-20
 20
+40
 03
-66
+59
+20
+20
+5c
+90
 6f
-e3
-49
-c7
-68
-4b
-46
-7b
-98
-46
-7c
+e4
+47
+13
+c4
+07
+80
+00
+6f
+e0
+c6
+90
+c0
 00
+5c
+94
+c0
+03
+03
+5f
 20
-62
-80
+60
 00
-df
-20
 00
-06
-da
-20
+70
 46
-7b
-1a
-62
-24
+90
 00
 20
+60
+00
+00
+6f
+e4
+47
+13
+c2
+89
+dc
+b5
+c2
+8a
+03
+65
 20
-6b
-45
+60
+00
+00
+6f
+e4
+47
+13
+c4
+07
+80
+00
 6a
 41
 49
-e2
+fa
 1a
 42
 26
 00
 20
 40
-5d
-c0
+5e
+51
 6f
 e0
 c9
-a1
+d4
 20
 3a
 03
-84
+73
 67
 e0
 c9
-a0
+d3
 1a
 60
 a6
@@ -3596,7 +3528,7 @@
 6f
 e1
 49
-e4
+fc
 9a
 66
 7c
@@ -3612,11 +3544,11 @@
 20
 20
 03
-7a
+69
 6f
 e0
 c9
-a0
+d3
 1f
 e1
 7e
@@ -3624,19 +3556,19 @@
 20
 3a
 03
-8e
+7d
 6f
 e0
 c6
-66
+90
 20
 40
 03
-9c
+8b
 67
 e0
 c9
-a2
+d5
 df
 20
 00
@@ -3648,7 +3580,7 @@
 da
 20
 49
-a2
+d5
 20
 20
 6b
@@ -3656,15 +3588,15 @@
 68
 48
 c9
-a0
+d3
 6f
 e0
 c6
-66
+90
 20
 40
 03
-9c
+8b
 98
 46
 7c
@@ -3684,7 +3616,7 @@
 67
 e0
 c9
-a2
+d5
 1a
 62
 7e
@@ -3692,7 +3624,7 @@
 68
 49
 49
-e2
+fa
 98
 46
 7c
@@ -3700,7 +3632,7 @@
 20
 22
 83
-8a
+79
 1a
 60
 a7
@@ -3708,7 +3640,7 @@
 20
 20
 03
-8a
+79
 c1
 80
 00
@@ -3716,7 +3648,175 @@
 1f
 e0
 fe
-04
+06
+20
+60
+00
+00
+6f
+e4
+47
+13
+c2
+9f
+03
+95
+6f
+e0
+c6
+66
+c1
+00
+00
+00
+c0
+00
+83
+95
+c0
+01
+03
+9c
+20
+60
+00
+00
+6f
+e3
+46
+6e
+68
+4b
+46
+e6
+98
+46
+7c
+00
+24
+62
+80
+00
+6f
+e3
+42
+db
+67
+e3
+46
+6e
+20
+60
+00
+00
+6f
+e3
+46
+6e
+68
+4b
+46
+e6
+98
+46
+7c
+00
+24
+62
+80
+00
+6f
+e3
+42
+db
+1f
+e0
+ff
+00
+67
+e3
+46
+6e
+20
+60
+00
+00
+20
+40
+03
+a6
+20
+20
+5a
+9c
+6f
+e4
+47
+13
+c3
+0a
+5c
+6f
+c2
+9f
+03
+ae
+6f
+e0
+c6
+66
+c1
+00
+00
+00
+c0
+00
+83
+ae
+c0
+01
+03
+b3
+20
+60
+00
+00
+6f
+e3
+46
+68
+67
+e3
+41
+16
+6f
+e3
+46
+6e
+67
+e3
+42
+db
+20
+60
+00
+00
+6f
+e3
+46
+75
+67
+e3
+41
+16
+6f
+e3
+46
+7b
+67
+e3
+42
+db
 20
 60
 00
@@ -3748,7 +3848,7 @@
 20
 40
 03
-a7
+c0
 20
 20
 5c
@@ -3760,11 +3860,11 @@
 c0
 00
 83
-ab
+c4
 c0
 01
 03
-b0
+c9
 20
 60
 00
@@ -3812,7 +3912,7 @@
 20
 40
 03
-cb
+e4
 20
 40
 61
@@ -3884,7 +3984,7 @@
 20
 40
 03
-ce
+e7
 20
 40
 56
@@ -3916,7 +4016,7 @@
 da
 40
 03
-d1
+ea
 20
 20
 42
@@ -3944,23 +4044,23 @@
 c0
 20
 03
-dc
+f5
 c0
 0a
 83
-e1
+fa
 c0
 1e
 03
-e5
+fe
 c0
 1c
-83
-f6
+84
+0f
 c0
 1d
-03
-f9
+04
+12
 20
 20
 5a
@@ -4064,7 +4164,7 @@
 20
 40
 04
-0c
+46
 20
 20
 60
@@ -4076,7 +4176,7 @@
 20
 40
 04
-0c
+46
 20
 20
 60
@@ -4088,7 +4188,7 @@
 20
 40
 04
-0c
+46
 6f
 e0
 c8
@@ -4112,7 +4212,15 @@
 c0
 02
 04
-02
+1d
+c0
+00
+e0
+5f
+c0
+01
+84
+24
 20
 20
 60
@@ -4146,6 +4254,130 @@
 54
 a0
 6f
+e4
+47
+13
+c3
+1f
+60
+59
+c2
+89
+e0
+59
+c2
+8a
+60
+59
+c2
+89
+60
+59
+20
+20
+60
+34
+6f
+e4
+47
+13
+c2
+9f
+04
+2f
+6f
+e0
+c6
+66
+c0
+00
+04
+36
+20
+20
+54
+91
+20
+40
+54
+ac
+20
+34
+04
+32
+20
+20
+60
+2f
+6f
+e0
+c6
+66
+c0
+00
+60
+67
+20
+40
+5a
+a8
+20
+20
+04
+21
+6f
+e4
+47
+13
+c3
+08
+e0
+2a
+20
+40
+61
+95
+20
+40
+54
+ac
+20
+34
+60
+67
+6f
+e4
+47
+13
+c2
+98
+04
+3e
+20
+20
+60
+23
+70
+46
+66
+00
+6f
+e1
+47
+21
+67
+e1
+45
+de
+70
+45
+e2
+01
+20
+20
+35
+34
+6f
 e0
 c1
 41
@@ -4180,7 +4412,7 @@
 20
 40
 04
-13
+4d
 20
 20
 5e
@@ -4208,7 +4440,7 @@
 20
 40
 04
-1a
+54
 20
 20
 56
@@ -4236,7 +4468,7 @@
 c0
 7f
 84
-21
+5b
 20
 20
 56
@@ -4256,7 +4488,7 @@
 20
 20
 04
-25
+5f
 1a
 62
 7e
@@ -4316,7 +4548,7 @@
 20
 40
 04
-36
+70
 6f
 e1
 c6
@@ -4383,8 +4615,8 @@
 ed
 20
 20
-02
-1a
+62
+2b
 20
 40
 5a
@@ -4392,7 +4624,7 @@
 20
 40
 04
-36
+70
 20
 40
 56
@@ -4411,28 +4643,140 @@
 54
 20
 40
-6e
-d3
+6e
+d3
+6f
+e0
+c6
+4d
+20
+40
+59
+43
+68
+48
+c6
+5a
+20
+40
+55
+ab
+d8
+40
+00
+15
+20
+40
+55
+b5
+20
+40
+61
+1a
+20
+40
+55
+0c
+20
+40
+54
+f9
+68
+48
+c6
+4a
+20
+40
+6f
+0f
+68
+48
+c6
+4b
+20
+40
+6f
+0f
+68
+48
+c6
+5b
+20
+40
+55
+b5
+20
+40
+04
+97
+20
+20
+54
+e5
+6f
+e1
+c7
+3c
+67
+e1
+86
+70
+df
+20
+00
+18
+d8
+40
+00
+00
 6f
-e0
-c6
-4d
+e1
+86
+70
+2f
+ef
+fe
+00
 20
 40
-59
-43
-d8
+84
+a4
+6f
+e1
+86
+70
+1f
+e3
+7e
+00
+67
+e1
+86
+70
+18
 40
+84
+01
+c2
 00
-15
+04
+9b
 20
-40
-55
-b5
+60
+00
+00
+18
+46
+7c
+ff
 20
+62
+80
+00
 20
-54
-df
+20
+6f
+0b
 c6
 93
 00
@@ -4456,7 +4800,7 @@
 24
 5a
 04
-66
+bc
 6f
 e4
 47
@@ -4464,7 +4808,7 @@
 c3
 0b
 04
-5b
+b1
 6f
 e0
 c9
@@ -4476,7 +4820,7 @@
 20
 40
 04
-5d
+b3
 20
 20
 60
@@ -4520,11 +4864,11 @@
 20
 40
 04
-36
+70
 20
 20
-01
-d2
+02
+02
 6f
 e4
 47
@@ -4584,7 +4928,7 @@
 c0
 2c
 04
-78
+ce
 20
 20
 59
@@ -4600,7 +4944,7 @@
 c0
 2c
 84
-7c
+d2
 20
 20
 59
@@ -4632,7 +4976,7 @@
 20
 40
 04
-84
+da
 20
 20
 56
@@ -4652,7 +4996,7 @@
 c0
 05
 84
-89
+df
 20
 20
 59
@@ -4668,7 +5012,7 @@
 c0
 7f
 84
-8f
+e5
 68
 48
 c6
@@ -4697,8 +5041,8 @@
 20
 5a
 2f
-60
-88
+ae
+cd
 aa
 55
 40
@@ -4707,7 +5051,7 @@
 40
 05
 00
-32
+33
 07
 20
 00
@@ -4718,8 +5062,8 @@
 00
 00
 00
-13
-08
+53
+18
 84
 f2
 7c
@@ -4731,7 +5075,7 @@
 00
 20
 00
-00
+60
 14
 00
 00
@@ -4746,7 +5090,7 @@
 00
 06
 00
-20
+30
 00
 00
 00
@@ -4777,11 +5121,11 @@
 47
 04
 c9
-0a
+12
 01
 00
 00
-03
+01
 3b
 aa
 55
@@ -4977,6 +5321,15 @@
 20
 aa
 55
+03
+00
+3c
+47
+00
+00
+00
+aa
+55
 02
 00
 66
@@ -5433,39 +5786,39 @@
 00
 fa
 49
-39
-18
-6a
-18
+b9
+1a
+ea
+1a
 aa
 55
 18
 00
 e2
 49
-6b
-18
-32
-19
-33
-19
-fa
-19
-fb
-19
-26
+eb
+1a
+b2
 1b
-27
+b3
 1b
-52
+2a
 1c
-53
+2b
 1c
-7e
+de
+1c
+df
+1c
+92
 1d
-7f
+93
 1d
-aa
+46
+1e
+47
+1e
+fa
 1e
 aa
 55
@@ -5473,11 +5826,11 @@
 00
 fe
 49
-ab
+fb
 1e
-c2
+ac
 1f
-c4
+ae
 1f
 aa
 55
@@ -5713,7 +6066,7 @@
 ff
 aa
 55
-1e
+1a
 00
 d6
 48
@@ -5729,20 +6082,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
@@ -5803,6 +6152,39 @@
 55
 01
 00
+07
+44
+01
+aa
+55
+01
+00
+09
+44
+0a
+aa
+55
+01
+00
+08
+44
+09
+aa
+55
+06
+00
+2d
+46
+a4
+01
+18
+01
+2c
+01
+aa
+55
+01
+00
 48
 41
 0c
@@ -5847,7 +6229,7 @@
 00
 1c
 41
-64
+3e
 aa
 55
 0c
@@ -5914,44 +6296,6 @@
 55
 01
 00
-07
-44
-01
-aa
-55
-01
-00
-09
-44
-0a
-aa
-55
-01
-00
-08
-44
-00
-aa
-55
-01
-00
-11
-44
-00
-aa
-55
-04
-00
-0d
-44
-00
-07
-ff
-07
-aa
-55
-01
-00
 38
 44
 a0
@@ -5998,8 +6342,8 @@
 aa
 aa
 55
-da
-5c
-5b
-13
+ee
+5e
+21
+e0
 20
Index: output/program.lis
===================================================================
--- /1121s/branch/mouse/mouse_public_2M/output/program.lis	(revision 1444)
+++ /1121s/branch/mouse/mouse_public_2M/output/program.lis	(working copy)
@@ -1,1520 +1,1642 @@
               include "bt_format "
               org 0x0000
-0000 c2840021 bbit1 8 ,pf_patch_ext 
-0001 c000020d beq patch00_0 ,p_soft_reset 
-0002 c001002e beq patch00_2 ,p_main_loop 
-0003 c0088037 beq patch02_1 ,p_set_sync_on 
-0004 c00a014f beq patch02_4 ,p_set_lemode 
-0005 c00a80b6 beq patch02_5 ,p_rf_rx_enable 
-0006 c00c00ce beq patch03_0 ,p_txon 
-0007 c00c80d5 beq patch03_1 ,p_set_tx_power 
-0008 c00d0045 beq patch03_2 ,p_initialize_radio_cont 
-0009 c01281c2 beq patch04_5 ,p_lpm_sleep 
-000a c0340206 beq patch0d_0 ,p_mouse_cb_fuction 
-000b c03482a2 beq patch0d_1 ,p_mouse_load_device_info_check 
-000c c03601fe beq patch0d_4 ,p_mouse_param_init 
-000d c0398445 beq patch0e_3 ,p_mouse_setgpio_hibernate 
-000e c03d047f beq patch0f_2 ,p_mouse_motion 
-000f c03f8425 beq patch0f_7 ,p_mouse_3io6key_check 
-0010 c0408473 beq patch10_1 ,p_mouse_init_sensor 
-0011 c042031e beq patch10_4 ,p_mouse_buletooth_fast_conn_end 
-0012 c04283d5 beq patch10_5 ,p_mouse_priority_bb_event 
-0013 c04301ae beq patch10_6 ,p_mouse_le 
-0014 c04383b5 beq patch10_7 ,p_mouse_bb_event_timer 
-0015 c045039f beq patch11_2 ,p_mouse_store_remote_bdaddr 
-0016 c0460343 beq patch11_4 ,p_mouse_store_device_info 
-0017 c04682db beq patch11_5 ,p_mouse_store_dpi_info_check 
-0018 c047040f beq patch11_6 ,p_mouse_idle 
-0019 c04582b9 beq patch11_3 ,p_mouse_app_initflag_check 
-001a c0480468 beq patch12_0 ,p_mouse_check_select_device_by_switch 
-001b c04a843c beq patch12_5 ,p_mouse_24g_hibernate_set 
-001c c04b0451 beq patch12_6 ,p_mouse_24g_package_data 
-001d c06281e1 beq patch18_5 ,p_otp_read_data 
-001e c06d0120 beq patch1b_2 ,p_sadc_calibration 
-001f c06e0130 beq patch1b_4 ,p_enable_adc 
-0020 2020235a branch assert 
+0000 c2840026 bbit1 8 ,pf_patch_ext 
+0001 c000023d beq patch00_0 ,p_soft_reset 
+0002 c0010034 beq patch00_2 ,p_main_loop 
+0003 c008003d beq patch02_0 ,p_shutdown_radio 
+0004 c008803f beq patch02_1 ,p_set_sync_on 
+0005 c00a0155 beq patch02_4 ,p_set_lemode 
+0006 c00a80c0 beq patch02_5 ,p_rf_rx_enable 
+0007 c00c00df beq patch03_0 ,p_txon 
+0008 c00c80e6 beq patch03_1 ,p_set_tx_power 
+0009 c00d004d beq patch03_2 ,p_initialize_radio_cont 
+000a c01281ee beq patch04_5 ,p_lpm_sleep 
+000b c0340236 beq patch0d_0 ,p_mouse_cb_fuction 
+000c c03482bb beq patch0d_1 ,p_mouse_load_device_info_check 
+000d c036022e beq patch0d_4 ,p_mouse_param_init 
+000e c037042a beq patch0d_6 ,p_mouse_start_work 
+000f c039847f beq patch0e_3 ,p_mouse_setgpio_hibernate 
+0010 c03a01eb beq patch0e_4 ,p_mouse_lpm_before_common 
+0011 c03d04d5 beq patch0f_2 ,p_mouse_motion 
+0012 c03f845f beq patch0f_7 ,p_mouse_3io6key_check 
+0013 c04084c9 beq patch10_1 ,p_mouse_init_sensor 
+0014 c04203a4 beq patch10_4 ,p_mouse_buletooth_fast_conn_end 
+0015 c04283ee beq patch10_5 ,p_mouse_priority_bb_event 
+0016 c04301b8 beq patch10_6 ,p_mouse_le 
+0017 c04383ce beq patch10_7 ,p_mouse_bb_event_timer 
+0018 c04503b8 beq patch11_2 ,p_mouse_store_remote_bdaddr 
+0019 c04582d2 beq patch11_3 ,p_mouse_app_initflag_check 
+001a c04602f9 beq patch11_4 ,p_mouse_store_device_info 
+001b c0468361 beq patch11_5 ,p_mouse_store_dpi_info_check 
+001c c0470449 beq patch11_6 ,p_mouse_idle 
+001d c04804be beq patch12_0 ,p_mouse_check_select_device_by_switch 
+001e c04a8476 beq patch12_5 ,p_mouse_24g_hibernate_set 
+001f c04b04a7 beq patch12_6 ,p_mouse_24g_package_data 
+0020 c0628211 beq patch18_5 ,p_otp_read_data 
+0021 c06a81d3 beq patch1a_5 ,p_gpio_set_wake_by_current_state 
+0022 c06b01cc beq patch1a_6 ,p_gpio_set_wake 
+0023 c06d0126 beq patch1b_2 ,p_sadc_calibration 
+0024 c06e0136 beq patch1b_4 ,p_enable_adc 
+0025 2020235a branch assert 
 
 pf_patch_ext:
-0021 c012816b beq patch24_5 ,p_le_rx_dec 
-0022 c0130170 beq patch24_6 ,p_le_rx_nopayload 
-0023 c01c8182 beq patch27_1 ,p_le_parse 
-0024 c01d0188 beq patch27_2 ,p_le_parse_l2cap 
-0025 c0268186 beq patch29_5 ,p_le_init_adv 
-0026 c04801e4 beq patch32_0 ,p_g24_reconn_dispatch 
-0027 c04a8259 beq patch32_5 ,p_g24_transmit_no_interrupt 
-0028 c04d0279 beq patch33_2 ,p_g24_retransmit 
-0029 c04b0430 beq patch32_6 ,p_g24_short_sleep 
-002a c04d0210 beq patch33_2 ,p_mouse_g24_retransmit 
-002b c04e80c4 beq patch33_5 ,p_g24_transmit_hop_process 
-002c c17f8000 rtneq patch3f_7 
-002d 2020235a branch assert 
+0026 c0128171 beq patch24_5 ,p_le_rx_dec 
+0027 c0130176 beq patch24_6 ,p_le_rx_nopayload 
+0028 c01c8188 beq patch27_1 ,p_le_parse 
+0029 c01d0192 beq patch27_2 ,p_le_parse_l2cap 
+002a c026018e beq patch29_4 ,p_le_adv_not_match 
+002b c026818c beq patch29_5 ,p_le_init_adv 
+002c c0480214 beq patch32_0 ,p_g24_reconn_dispatch 
+002d c04a8272 beq patch32_5 ,p_g24_transmit_no_interrupt 
+002e c04d0292 beq patch33_2 ,p_g24_retransmit 
+002f c04b046a 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 c17f8000 rtneq patch3f_7 
+0033 2020235a branch assert 
 
 p_main_loop:
-002e 20407552 call sp_calc_sequence_256 
-002f 20407448 call sp_calc_sequence_256_check 
-0030 20402a45 call le_advertising_dispatch 
-0031 2040202a call idle_dispatch 
-0032 204042ad call app_process_idle 
-0033 20402018 call connection_dispatch 
-0034 2040310f call g24_dispatch 
-0035 2040248c call lpm_dispatch 
-0036 2020002e branch p_main_loop 
+0034 20407552 call sp_calc_sequence_256 
+0035 20407448 call sp_calc_sequence_256_check 
+0036 20402a45 call le_advertising_dispatch 
+0037 2040202a call idle_dispatch 
+0038 204042ad call app_process_idle 
+0039 20402018 call connection_dispatch 
+003a 2040310f call g24_dispatch 
+003b 2040248c call lpm_dispatch 
+003c 20200034 branch p_main_loop 
+
+p_shutdown_radio:
+003d 70890000 jam 0 ,0x8900 
+003e 20202153 branch shutdown_radio + 1 
 
 p_set_sync_on:
-0037 708a0f60 jam 0x60 ,0x8a0f 
-0038 708a10aa jam 0xaa ,0x8a10 
-0039 708a127a jam 0x7a ,0x8a12 
-003a 708a2500 jam 0x00 ,0x8a25 
-003b 708a2600 jam 0x00 ,0x8a26 
-003c 2000003c nop 60 
-003d 708a2020 jam 0x20 ,0x8a20 
-003e 708a23f5 jam 0xf5 ,0x8a23 
-003f 708a2412 jam 0x12 ,0x8a24 
-0040 708a2410 jam 0x10 ,0x8a24 
-0041 2000003c nop 60 
-0042 708a1260 jam 0x60 ,0x8a12 
-0043 708a23dd jam 0xdd ,0x8a23 
-0044 20600000 rtn 
+003f 708a0f60 jam 0x60 ,0x8a0f 
+0040 708a10aa jam 0xaa ,0x8a10 
+0041 708a127a jam 0x7a ,0x8a12 
+0042 708a2500 jam 0x00 ,0x8a25 
+0043 708a2600 jam 0x00 ,0x8a26 
+0044 2000003c nop 60 
+0045 708a2020 jam 0x20 ,0x8a20 
+0046 708a23f5 jam 0xf5 ,0x8a23 
+0047 708a2412 jam 0x12 ,0x8a24 
+0048 708a2410 jam 0x10 ,0x8a24 
+0049 2000003c nop 60 
+004a 708a1260 jam 0x60 ,0x8a12 
+004b 708a23dd jam 0xdd ,0x8a23 
+004c 20600000 rtn 
 
 p_initialize_radio_cont:
-0045 7001bb00 jam 0 ,mem_le_testtype 
-0046 7001bc00 jam 0 ,mem_cmd_le_create_conn 
-0047 37d98200 until null ,lpo_edge 
-0048 7089460d jam 0x0d ,0x8946 
-0049 70896f10 jam 0x10 ,0x896f 
-004a 708a13cd jam 0xcd ,0x8a13 
-004b 708a0610 jam 0x10 ,0x8a06 
-004c 708a844a jam 0x4a ,0x8a84 
-004d 708a8540 jam 0x40 ,0x8a85 
-004e 708a16fe jam 0xfe ,0x8a16 
-004f 2040008b call p_set_otp_config 
-0050 6fe0c436 fetch 1 ,mem_wdt_always_work 
-0051 205a70d7 call wdt_set_disable ,blank 
-0052 37d98200 until null ,lpo_edge 
-0053 70813b5f jam 0x5f ,0x813b 
-0054 6fe0c099 fetch 1 ,mem_fcomp_div 
-0055 c0080080 beq xtal_16m ,p_initialize_radio_16m 
-0056 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
-0057 1fe1fe04 or_into 0x04 ,pdata 
-0058 67f08a02 store 1 ,0x8a02 
-0059 70890f01 jam 0x01 ,0x890f 
-005a 708a8024 jam 0x24 ,0x8a80 
-005b 708a8162 jam 0x62 ,0x8a81 
-005c 58e61212 setarg 0xe61212 
-005d 67f18a73 store 3 ,0x8a73 
+004d 7001bb00 jam 0 ,mem_le_testtype 
+004e 7001bc00 jam 0 ,mem_cmd_le_create_conn 
+004f 37d98200 until null ,lpo_edge 
+0050 7089460d jam 0x0d ,0x8946 
+0051 70896f10 jam 0x10 ,0x896f 
+0052 708a13cd jam 0xcd ,0x8a13 
+0053 708a0610 jam 0x10 ,0x8a06 
+0054 708a844a jam 0x4a ,0x8a84 
+0055 708a8540 jam 0x40 ,0x8a85 
+0056 708a16fe jam 0xfe ,0x8a16 
+0057 20400094 call p_set_otp_config 
+0058 204070d7 call wdt_set_disable 
+0059 37d98200 until null ,lpo_edge 
+005a 70813b5f jam 0x5f ,0x813b 
+005b 37d98200 until null ,lpo_edge 
+005c 70813c88 jam 0x88 ,0x813c 
+005d 37d98200 until null ,lpo_edge 
+005e 6fe0c099 fetch 1 ,mem_fcomp_div 
+005f c0080089 beq xtal_16m ,p_initialize_radio_16m 
+0060 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+0061 1fe1fe04 or_into 0x04 ,pdata 
+0062 67f08a02 store 1 ,0x8a02 
+0063 70890f01 jam 0x01 ,0x890f 
+0064 708a8024 jam 0x24 ,0x8a80 
+0065 708a8162 jam 0x62 ,0x8a81 
+0066 58e61212 setarg 0xe61212 
+0067 67f18a73 store 3 ,0x8a73 
 
 p_initialize_radio2:
-005e 708a8660 jam 0x60 ,0x8a86 
-005f 708a8b3b jam 0x3b ,0x8a8b 
-0060 20400072 call p_dpll_on 
-0061 70804300 jam 0 ,core_config 
-0062 70804205 jam clksel_dpll ,core_clksel 
-0063 58557474 setarg 0x557474 
-0064 67f18968 store 3 ,0x8968 
-0065 7089606e jam 0x6e ,0x8960 
-0066 204000f2 call p_rx_dcoc 
-0067 2040011d call p_rfpll_aac_ghpc 
-0068 2040006c call p_set_xtal_cap 
-0069 7041480c jam system_clk_12m ,mem_system_clk 
-006a 20406f4e call sadc_calibration 
-006b 2020011f branch p_dpll_ring_ibias_calc 
+0068 708a8660 jam 0x60 ,0x8a86 
+0069 708a8b3b jam 0x3b ,0x8a8b 
+006a 2040007b call p_dpll_on 
+006b 70804300 jam 0 ,core_config 
+006c 70804205 jam clksel_dpll ,core_clksel 
+006d 58557474 setarg 0x557474 
+006e 67f18968 store 3 ,0x8968 
+006f 7089606e jam 0x6e ,0x8960 
+0070 204000f9 call p_rx_dcoc 
+0071 20400124 call p_rfpll_aac_ghpc 
+0072 20400075 call p_set_xtal_cap 
+0073 7041480c jam system_clk_12m ,mem_system_clk 
+0074 20206f4e branch sadc_calibration 
 
 p_set_xtal_cap:
-006c 20758000 rtn wake 
-006d 37d98200 until null ,lpo_edge 
-006e 6fe0c11c fetch 1 ,mem_xtal_c_sel 
-006f 67f0813a store 1 ,core_xtal_cap 
-0070 37d98200 until null ,lpo_edge 
-0071 20600000 rtn 
+0075 20758000 rtn wake 
+0076 37d98200 until null ,lpo_edge 
+0077 6fe0c11c fetch 1 ,mem_xtal_c_sel 
+0078 67f0813a store 1 ,core_xtal_cap 
+0079 37d98200 until null ,lpo_edge 
+007a 20600000 rtn 
 
 p_dpll_on:
-0072 6fe0c099 fetch 1 ,mem_fcomp_div 
-0073 c00c0078 beq xtal_24m ,p_dpll_on_24m 
-0074 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
-0075 1fe1fe06 or_into 0x06 ,pdata 
-0076 67f08a02 store 1 ,0x8a02 
-0077 708a05e0 jam 0xe0 ,0x8a05 
+007b 6fe0c099 fetch 1 ,mem_fcomp_div 
+007c c00c0081 beq xtal_24m ,p_dpll_on_24m 
+007d 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+007e 1fe1fe06 or_into 0x06 ,pdata 
+007f 67f08a02 store 1 ,0x8a02 
+0080 708a05e0 jam 0xe0 ,0x8a05 
 
 p_dpll_on_24m:
-0078 708a00d8 jam 0xd8 ,0x8a00 
-0079 2000003c nop 60 
-007a 708a01a0 jam 0xa0 ,0x8a01 
-007b 708a00df jam 0xdf ,0x8a00 
-007c 708a01fa jam 0xfa ,0x8a01 
-007d 20000014 nop 20 
-007e 708a009f jam 0x9f ,0x8a00 
-007f 20600000 rtn 
+0081 708a00d8 jam 0xd8 ,0x8a00 
+0082 2000003c nop 60 
+0083 708a01a0 jam 0xa0 ,0x8a01 
+0084 708a00df jam 0xdf ,0x8a00 
+0085 708a01fa jam 0xfa ,0x8a01 
+0086 20000014 nop 20 
+0087 708a009f jam 0x9f ,0x8a00 
+0088 20600000 rtn 
 
 p_initialize_radio_16m:
-0080 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
-0081 1fe1fe06 or_into 0x06 ,pdata 
-0082 67f08a02 store 1 ,0x8a02 
-0083 70890f00 jam 0x00 ,0x890f 
-0084 708a8023 jam 0x23 ,0x8a80 
-0085 708a81b0 jam 0xb0 ,0x8a81 
-0086 58e40909 setarg 0xe40909 
-0087 67f18a73 store 3 ,0x8a73 
-0088 708a762a jam 0x2a ,0x8a76 
-0089 70890204 jam 0x04 ,0x8902 
-008a 2020005e branch p_initialize_radio2 
+0089 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+008a 1fe1fe06 or_into 0x06 ,pdata 
+008b 67f08a02 store 1 ,0x8a02 
+008c 70890f00 jam 0x00 ,0x890f 
+008d 708a8023 jam 0x23 ,0x8a80 
+008e 708a81b0 jam 0xb0 ,0x8a81 
+008f 58e40909 setarg 0xe40909 
+0090 67f18a73 store 3 ,0x8a73 
+0091 708a762a jam 0x2a ,0x8a76 
+0092 70890204 jam 0x04 ,0x8902 
+0093 20200068 branch p_initialize_radio2 
 
 p_set_otp_config:
-008b 203580b2 branch p_set_otp_config_wake ,wake 
-008c 6fe2020d fetch 4 ,mem_otp_core_ldo 
-008d 207a0000 rtn blank 
-008e 37d98200 until null ,lpo_edge 
-008f 6ff08136 fetch 1 ,0x8136 
-0090 1fe17ef0 and pdata ,0xf0 ,pdata 
-0091 6848820d fetcht 1 ,mem_otp_core_ldo 
-0092 9841fe00 ior temp ,pdata 
-0093 67f08136 store 1 ,0x8136 
-0094 37d98200 until null ,lpo_edge 
-0095 6ff08138 fetch 1 ,0x8138 
-0096 1fe17e07 and pdata ,0x7 ,pdata 
-0097 6848820e fetcht 1 ,mem_otp_verf_bg 
-0098 18498400 lshift3 temp ,temp 
-0099 9841fe00 ior temp ,pdata 
-009a 67f08138 store 1 ,0x8138 
-009b 37d98200 until null ,lpo_edge 
+0094 203580bc branch p_set_otp_config_wake ,wake 
+0095 6fe2020d fetch 4 ,mem_otp_core_ldo 
+0096 207a0000 rtn blank 
+0097 37d98200 until null ,lpo_edge 
+0098 6ff08136 fetch 1 ,0x8136 
+0099 1fe17ef0 and pdata ,0xf0 ,pdata 
+009a 6848820d fetcht 1 ,mem_otp_core_ldo 
+009b 9841fe00 ior temp ,pdata 
+009c 1fe0fffd increase -3 ,pdata 
+009d 67f08136 store 1 ,0x8136 
+009e 37d98200 until null ,lpo_edge 
+009f 6ff08138 fetch 1 ,0x8138 
+00a0 1fe17e07 and pdata ,0x7 ,pdata 
+00a1 6848820e fetcht 1 ,mem_otp_verf_bg 
+00a2 18498400 lshift3 temp ,temp 
+00a3 9841fe00 ior temp ,pdata 
+00a4 67f08138 store 1 ,0x8138 
+00a5 37d98200 until null ,lpo_edge 
 
 p_set_otp_config2:
-009c 6ff08acb fetch 1 ,0x8acb 
-009d 1fe17ef0 and pdata ,0xf0 ,pdata 
-009e 6848820f fetcht 1 ,mem_otp_charge_pump 
-009f 6048c15b storet 1 ,mem_otp_charge_pump_x 
-00a0 9841fe00 ior temp ,pdata 
-00a1 67f08acb store 1 ,0x8acb 
-00a2 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
-00a3 67e0c15c store 1 ,mem_otp_dpll_ibais_x 
-00a4 2feffe03 isolate1 3 ,pdata 
-00a5 6ff08a06 fetch 1 ,0x8a06 
-00a6 7920fe07 setflag true ,7 ,pdata 
-00a7 67f08a06 store 1 ,0x8a06 
-00a8 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
-00a9 1fe10407 and pdata ,7 ,temp 
-00aa 18520400 lshift4 temp ,temp 
-00ab 18438400 lshift temp ,temp 
-00ac 6048c438 storet 1 ,mem_ring_ibias_trim 
-00ad 6ff08a02 fetch 1 ,0x8a02 
-00ae 1fe17e1f and pdata ,0x1f ,pdata 
-00af 9841fe00 ior temp ,pdata 
-00b0 67f08a02 store 1 ,0x8a02 
-00b1 20600000 rtn 
+00a6 6ff08acb fetch 1 ,0x8acb 
+00a7 1fe17ef0 and pdata ,0xf0 ,pdata 
+00a8 6848820f fetcht 1 ,mem_otp_charge_pump 
+00a9 6048c15b storet 1 ,mem_otp_charge_pump_x 
+00aa 9841fe00 ior temp ,pdata 
+00ab 67f08acb store 1 ,0x8acb 
+00ac 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
+00ad 67e0c15c store 1 ,mem_otp_dpll_ibais_x 
+00ae 2feffe03 isolate1 3 ,pdata 
+00af 6ff08a06 fetch 1 ,0x8a06 
+00b0 7920fe07 setflag true ,7 ,pdata 
+00b1 67f08a06 store 1 ,0x8a06 
+00b2 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
+00b3 1fe10407 and pdata ,7 ,temp 
+00b4 18520400 lshift4 temp ,temp 
+00b5 18438400 lshift temp ,temp 
+00b6 6048c438 storet 1 ,mem_ring_ibias_trim 
+00b7 6ff08a02 fetch 1 ,0x8a02 
+00b8 1fe17e1f and pdata ,0x1f ,pdata 
+00b9 9841fe00 ior temp ,pdata 
+00ba 67f08a02 store 1 ,0x8a02 
+00bb 20600000 rtn 
 
 p_set_otp_config_wake:
-00b2 6fe1415b fetch 2 ,mem_otp_charge_pump_x 
-00b3 207a0000 rtn blank 
-00b4 67e1020f store 2 ,mem_otp_charge_pump 
-00b5 2020009c branch p_set_otp_config2 
+00bc 6fe1415b fetch 2 ,mem_otp_charge_pump_x 
+00bd 207a0000 rtn blank 
+00be 67e1020f store 2 ,mem_otp_charge_pump 
+00bf 202000a6 branch p_set_otp_config2 
 
 p_rf_rx_enable:
-00b6 2040686f call rf_debug_rx_gpio_high 
-00b7 204021ba call rf_rx_agc_set 
-00b8 18002a08 force 8 ,radio_ctrl 
-00b9 18002a00 force 0 ,radio_ctrl 
-00ba 580aaada setarg 0x0aaada 
-00bb 67f18a0f store 3 ,0x8a0f 
-00bc 708a2540 jam 0x40 ,0x8a25 
-00bd 708a2610 jam 0x10 ,0x8a26 
-00be 2000003c nop 60 
-00bf 708a01fb jam 0xfb ,0x8a01 
-00c0 708a25ff jam 0xff ,0x8a25 
-00c1 708a2630 jam 0x30 ,0x8a26 
-00c2 708a16fe jam 0xfe ,0x8a16 
-00c3 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:
+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:
+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:
-00c4 6848c601 fetcht 1 ,mem_24g_retry 
-00c5 6fe0c621 fetch 1 ,mem_24g_fast_hop_count 
-00c6 98467c00 isub temp ,null 
-00c7 242100c9 nbranch p_g24_tx_fast_hop ,positive 
-00c8 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:
-00c9 6fe2458f fetch 4 ,mem_24g_addr 
-00ca 684a45e4 fetcht 4 ,mem_24g_fast_conn_addr 
-00cb 98467c00 isub temp ,null 
-00cc 2022b222 branch g24_ch ,zero 
-00cd 2020369a branch g24_tx_fast_hop 
+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 2020369a branch g24_tx_fast_hop 
 
 p_txon:
-00ce 580aaa7e setarg 0x0aaa7e 
-00cf 67f18a0f store 3 ,0x8a0f 
-00d0 2000003c nop 60 
-00d1 708a2500 jam 0x00 ,0x8a25 
-00d2 708a260d jam 0x0d ,0x8a26 
-00d3 708a16f6 jam 0xf6 ,0x8a16 
-00d4 20202203 branch txon + 7 
+00df 580aaa7e setarg 0x0aaa7e 
+00e0 67f18a0f store 3 ,0x8a0f 
+00e1 2000003c nop 60 
+00e2 708a2500 jam 0x00 ,0x8a25 
+00e3 708a260d jam 0x0d ,0x8a26 
+00e4 708a16f6 jam 0xf6 ,0x8a16 
+00e5 20202203 branch txon + 7 
 
 p_set_tx_power:
-00d5 6fe0c141 fetch 1 ,mem_tx_power 
-00d6 c0032225 beq tx_power_6db ,set_tx_power_7db 
-00d7 c00500dd beq tx_power_10db ,p_set_tx_power_10db 
-00d8 c04f00e6 beq tx_power_f30db ,p_set_tx_power_f30db 
-00d9 c04f80ea beq tx_power_f35db ,p_set_tx_power_f35db 
-00da c05000ee beq tx_power_f40db ,p_set_tx_power_f40db 
-00db c05500e2 beq tx_power_factory ,p_set_tx_power_factory 
-00dc 2020220e branch set_tx_power + 2 
+00e6 6fe0c141 fetch 1 ,mem_tx_power 
+00e7 c0032225 beq tx_power_6db ,set_tx_power_7db 
+00e8 c00500ec beq tx_power_10db ,p_set_tx_power_10db 
+00e9 c04f00f5 beq tx_power_f30db ,p_set_tx_power_f30db 
+00ea c05500f1 beq tx_power_factory ,p_set_tx_power_factory 
+00eb 2020220e branch set_tx_power + 2 
 
 p_set_tx_power_10db:
-00dd 708a1425 jam 0x25 ,0x8a14 
-00de 58a93f3f setarg 0xa93f3f 
-00df 67f18a60 store 3 ,0x8a60 
-00e0 708a631f jam 0x1f ,0x8a63 
-00e1 20600000 rtn 
+00ec 708a1425 jam 0x25 ,0x8a14 
+00ed 58a93f3f setarg 0xa93f3f 
+00ee 67f18a60 store 3 ,0x8a60 
+00ef 708a631f jam 0x1f ,0x8a63 
+00f0 20600000 rtn 
 
 p_set_tx_power_factory:
-00e2 708a1417 jam 0x17 ,0x8a14 
-00e3 6fe1ca08 fetch 3 ,mem_tx_power_factory_param_new 
-00e4 67f18a60 store 3 ,0x8a60 
-00e5 2020221a branch set_tx_power_8a63_28 
+00f1 708a1417 jam 0x17 ,0x8a14 
+00f2 6fe1ca08 fetch 3 ,mem_tx_power_factory_param_new 
+00f3 67f18a60 store 3 ,0x8a60 
+00f4 2020221a branch set_tx_power_8a63_28 
 
 p_set_tx_power_f30db:
-00e6 708a1417 jam 0x17 ,0x8a14 
-00e7 58250300 setarg 0x250300 
-00e8 67f18a60 store 3 ,0x8a60 
-00e9 2020221a branch set_tx_power_8a63_28 
-
-p_set_tx_power_f35db:
-00ea 708a1417 jam 0x17 ,0x8a14 
-00eb 58250100 setarg 0x250100 
-00ec 67f18a60 store 3 ,0x8a60 
-00ed 2020221a branch set_tx_power_8a63_28 
-
-p_set_tx_power_f40db:
-00ee 708a1417 jam 0x17 ,0x8a14 
-00ef 58250000 setarg 0x250000 
-00f0 67f18a60 store 3 ,0x8a60 
-00f1 2020221a branch set_tx_power_8a63_28 
+00f5 708a1417 jam 0x17 ,0x8a14 
+00f6 58250300 setarg 0x250300 
+00f7 67f18a60 store 3 ,0x8a60 
+00f8 2020221a branch set_tx_power_8a63_28 
 
 p_rx_dcoc:
-00f2 20758000 rtn wake 
-00f3 20402160 call set_sync_on 
-00f4 d8400027 arg 39 ,temp 
-00f5 2040216f call set_freq_rx 
-00f6 204021a6 call rf_rx_enable 
-00f7 708a257f jam 0x7f ,0x8a25 
-00f8 708a301a jam 0x1a ,0x8a30 
-00f9 708a3178 jam 0x78 ,0x8a31 
-00fa 708a8fb2 jam 0xb2 ,0x8a8f 
-00fb 708ac200 jam 0 ,0x8ac2 
-00fc 708ac300 jam 0 ,0x8ac3 
-00fd d8e00006 arg 6 ,queue 
-00fe 2040010f call p_rx_dcoc_avg 
-00ff 2a2ffe0d isolate1 13 ,rega 
-0100 2040211d call qset_start 
-0101 2a4ffe0d isolate1 13 ,regb 
-0102 2040211e call qset_p 
-0103 d8e00005 arg 5 ,queue 
+00f9 20758000 rtn wake 
+00fa 20402160 call set_sync_on 
+00fb d8400027 arg 39 ,temp 
+00fc 2040216f call set_freq_rx 
+00fd 204021a6 call rf_rx_enable 
+00fe 708a257f jam 0x7f ,0x8a25 
+00ff 708a301a jam 0x1a ,0x8a30 
+0100 708a3178 jam 0x78 ,0x8a31 
+0101 708a8fb2 jam 0xb2 ,0x8a8f 
+0102 708ac200 jam 0 ,0x8ac2 
+0103 708ac300 jam 0 ,0x8ac3 
+0104 d8e00006 arg 6 ,queue 
+0105 20400116 call p_rx_dcoc_avg 
+0106 2a2ffe0d isolate1 13 ,rega 
+0107 2040211d call qset_start 
+0108 2a4ffe0d isolate1 13 ,regb 
+0109 2040211e call qset_p 
+010a d8e00005 arg 5 ,queue 
 
 p_rx_dcoc_loop2:
-0104 2040211c call qset1_p 
-0105 2040211e call qset_p 
-0106 2040010f call p_rx_dcoc_avg 
-0107 d8a08ac2 arg 0x8ac2 ,contw 
-0108 1a31fe00 rshift4 rega ,pdata 
-0109 20402117 call qsetxor 
-010a 1a51fe00 rshift4 regb ,pdata 
-010b 20402117 call qsetxor 
-010c 18e08fff increase -1 ,queue 
-010d 20210104 branch p_rx_dcoc_loop2 ,positive 
-010e 2020214f branch rx_dcoc_loop2 + 10 
+010b 2040211c call qset1_p 
+010c 2040211e call qset_p 
+010d 20400116 call p_rx_dcoc_avg 
+010e d8a08ac2 arg 0x8ac2 ,contw 
+010f 1a31fe00 rshift4 rega ,pdata 
+0110 20402117 call qsetxor 
+0111 1a51fe00 rshift4 regb ,pdata 
+0112 20402117 call qsetxor 
+0113 18e08fff increase -1 ,queue 
+0114 2021010b branch p_rx_dcoc_loop2 ,positive 
+0115 2020214f branch rx_dcoc_loop2 + 10 
 
 p_rx_dcoc_avg:
-010f 2000003c nop 60 
-0110 58000f00 setarg mem_dcoc_buf 
-0111 67f10982 store 2 ,0x8982 
-0112 58000ff0 setarg mem_dcoc_buf_end 
-0113 67f10984 store 2 ,0x8984 
-0114 70898109 jam 0x9 ,0x8981 
-0115 70898103 jam 0x3 ,0x8981 
-0116 70898006 jam 0x6 ,0x8980 
-0117 2000003c nop 60 
-0118 da200000 arg 0 ,rega 
-0119 da400000 arg 0 ,regb 
-011a df200010 arg 16 ,loopcnt 
-011b d8c00f00 arg mem_dcoc_buf ,contr 
-011c 2020212d branch rx_dcoc_loop 
+0116 2000003c nop 60 
+0117 58000f00 setarg mem_dcoc_buf 
+0118 67f10982 store 2 ,0x8982 
+0119 58000ff0 setarg mem_dcoc_buf_end 
+011a 67f10984 store 2 ,0x8984 
+011b 70898109 jam 0x9 ,0x8981 
+011c 70898103 jam 0x3 ,0x8981 
+011d 70898006 jam 0x6 ,0x8980 
+011e 2000003c nop 60 
+011f da200000 arg 0 ,rega 
+0120 da400000 arg 0 ,regb 
+0121 df200010 arg 16 ,loopcnt 
+0122 d8c00f00 arg mem_dcoc_buf ,contr 
+0123 2020212d branch rx_dcoc_loop 
 
 p_rfpll_aac_ghpc:
-011d 20758000 rtn wake 
-011e 20202272 branch rfpll_aac_ghpc + 1 
-
-p_dpll_ring_ibias_calc:
-011f 20600000 rtn 
+0124 20758000 rtn wake 
+0125 20202272 branch rfpll_aac_ghpc + 1 
 
 p_sadc_calibration:
-0120 20758000 rtn wake 
-0121 708a0777 jam 0x77 ,core_gpadc_ctrl 
-0122 708a08c9 jam 0xc9 ,core_gpadc_cfg0 
-0123 708a0b01 jam 0x01 ,core_gpadc_cfg3 
-0124 6fe0c409 fetch 1 ,mem_adc_clkdiv 
-0125 67f080cd store 1 ,core_sadc_clkdiv 
-0126 20000bb8 nop 3000 
-0127 20400148 call p_sadc_read 
-0128 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
-0129 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
-012a df200008 arg 8 ,loopcnt 
-012b 20406f58 call sadc_cal_read + 1 
-012c 6fe0c419 fetch 1 ,mem_spi_write_addr 
-012d 67e0c433 store 1 ,mem_adc_cal_c7 
-012e 6240c419 storer regb ,1 ,mem_spi_write_addr 
-012f 20600000 rtn 
+0126 20758000 rtn wake 
+0127 708a0777 jam 0x77 ,core_gpadc_ctrl 
+0128 708a08c9 jam 0xc9 ,core_gpadc_cfg0 
+0129 708a0b01 jam 0x01 ,core_gpadc_cfg3 
+012a 6fe0c409 fetch 1 ,mem_adc_clkdiv 
+012b 67f080cd store 1 ,core_sadc_clkdiv 
+012c 20000bb8 nop 3000 
+012d 2040014e call p_sadc_read 
+012e 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
+012f 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
+0130 df200008 arg 8 ,loopcnt 
+0131 20406f58 call sadc_cal_read + 1 
+0132 6fe0c419 fetch 1 ,mem_spi_write_addr 
+0133 67e0c433 store 1 ,mem_adc_cal_c7 
+0134 6240c419 storer regb ,1 ,mem_spi_write_addr 
+0135 20600000 rtn 
 
 p_enable_adc:
-0130 2040013e call p_sadc_cal_write 
-0131 6ff08a09 fetch 1 ,core_gpadc_cfg1 
-0132 793ffe07 set0 7 ,pdata 
-0133 67f08a09 store 1 ,core_gpadc_cfg1 
-0134 708a0777 jam 0x77 ,core_gpadc_ctrl 
-0135 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
-0136 708a0b01 jam 0x01 ,core_gpadc_cfg3 
-0137 20406f90 call sadc_channel 
-0138 6fe0c409 fetch 1 ,mem_adc_clkdiv 
-0139 67f080cd store 1 ,core_sadc_clkdiv 
-013a 20000bb8 nop 3000 
-013b 20400148 call p_sadc_read 
-013c 7080cd00 jam 0 ,core_sadc_clkdiv 
-013d 20206fa1 branch sadc_dma 
+0136 20400144 call p_sadc_cal_write 
+0137 6ff08a09 fetch 1 ,core_gpadc_cfg1 
+0138 793ffe07 set0 7 ,pdata 
+0139 67f08a09 store 1 ,core_gpadc_cfg1 
+013a 708a0777 jam 0x77 ,core_gpadc_ctrl 
+013b 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
+013c 708a0b01 jam 0x01 ,core_gpadc_cfg3 
+013d 20406f90 call sadc_channel 
+013e 6fe0c409 fetch 1 ,mem_adc_clkdiv 
+013f 67f080cd store 1 ,core_sadc_clkdiv 
+0140 20000bb8 nop 3000 
+0141 2040014e call p_sadc_read 
+0142 7080cd00 jam 0 ,core_sadc_clkdiv 
+0143 20206fa1 branch sadc_dma 
 
 p_sadc_cal_write:
-013e 6ff080cc fetch 1 ,core_sadc_ctrl 
-013f 79207e01 set1 1 ,pdata 
-0140 67f080cc store 1 ,core_sadc_ctrl 
-0141 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
-0142 6fe0c433 fetch 1 ,mem_adc_cal_c7 
-0143 67e0c419 store 1 ,mem_spi_write_addr 
-0144 df200008 arg 8 ,loopcnt 
-0145 20406f67 call sadc_cal_write + 4 
-0146 6240c419 storer regb ,1 ,mem_spi_write_addr 
-0147 20600000 rtn 
+0144 6ff080cc fetch 1 ,core_sadc_ctrl 
+0145 79207e01 set1 1 ,pdata 
+0146 67f080cc store 1 ,core_sadc_ctrl 
+0147 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
+0148 6fe0c433 fetch 1 ,mem_adc_cal_c7 
+0149 67e0c419 store 1 ,mem_spi_write_addr 
+014a df200008 arg 8 ,loopcnt 
+014b 20406f67 call sadc_cal_write + 4 
+014c 6240c419 storer regb ,1 ,mem_spi_write_addr 
+014d 20600000 rtn 
 
 p_sadc_read:
-0148 7080cc03 jam 0x03 ,core_sadc_ctrl 
+014e 7080cc03 jam 0x03 ,core_sadc_ctrl 
 
 p_sadc_read_wait:
-0149 6ff08129 fetch 1 ,core_perf_status 
-014a c3028149 bbit0 saradc_done ,p_sadc_read_wait 
-014b 68590164 fetcht 2 ,core_sadc_data 
-014c 6049440a storet 2 ,mem_adc_current_value 
-014d 7080cc00 jam 0x00 ,core_sadc_ctrl 
-014e 20600000 rtn 
+014f 6ff08129 fetch 1 ,core_perf_status 
+0150 c302814f bbit0 saradc_done ,p_sadc_read_wait 
+0151 68590164 fetcht 2 ,core_sadc_data 
+0152 6049440a storet 2 ,mem_adc_current_value 
+0153 7080cc00 jam 0x00 ,core_sadc_ctrl 
+0154 20600000 rtn 
 
 p_set_lemode:
-014f 708a8211 jam 0x11 ,0x8a82 
-0150 708a8d12 jam 0x12 ,0x8a8d 
-0151 708a8e0a jam 0x0a ,0x8a8e 
-0152 6fe0c099 fetch 1 ,mem_fcomp_div 
-0153 c0080168 beq xtal_16m ,p_set_lemode_2m_16m 
-0154 58005762 setarg 0x5762 
-0155 67f10907 store 2 ,0x8907 
+0155 708a8211 jam 0x11 ,0x8a82 
+0156 708a8d12 jam 0x12 ,0x8a8d 
+0157 708a8e0a jam 0x0a ,0x8a8e 
+0158 6fe0c099 fetch 1 ,mem_fcomp_div 
+0159 c008016e beq xtal_16m ,p_set_lemode_2m_16m 
+015a 58005762 setarg 0x5762 
+015b 67f10907 store 2 ,0x8907 
 
 p_set_lemode_2m:
-0156 70890103 jam 3 ,0x8901 
-0157 70893003 jam 3 ,0x8930 
-0158 c6168000 rtnmark1 mark_ble_2m 
-0159 70890101 jam 1 ,0x8901 
-015a 708a8207 jam 0x07 ,0x8a82 
-015b 708a8d44 jam 0x44 ,0x8a8d 
-015c 708a8e0a jam 0x0a ,0x8a8e 
-015d 6fe0c099 fetch 1 ,mem_fcomp_div 
-015e c0080165 beq xtal_16m ,p_set_lemode_1m_16m 
-015f 58002bb1 setarg 0x2bb1 
-0160 67f10907 store 2 ,0x8907 
+015c 70890103 jam 3 ,0x8901 
+015d 70893003 jam 3 ,0x8930 
+015e c6168000 rtnmark1 mark_ble_2m 
+015f 70890101 jam 1 ,0x8901 
+0160 708a8207 jam 0x07 ,0x8a82 
+0161 708a8d44 jam 0x44 ,0x8a8d 
+0162 708a8e0a jam 0x0a ,0x8a8e 
+0163 6fe0c099 fetch 1 ,mem_fcomp_div 
+0164 c008016b beq xtal_16m ,p_set_lemode_1m_16m 
+0165 58002bb1 setarg 0x2bb1 
+0166 67f10907 store 2 ,0x8907 
 
 p_set_lemode_1m:
-0161 c6978000 rtnmark0 mark_ble_lr 
-0162 70893024 jam 0x24 ,0x8930 
-0163 70890105 jam 5 ,0x8901 
-0164 20600000 rtn 
+0167 c6978000 rtnmark0 mark_ble_lr 
+0168 70893024 jam 0x24 ,0x8930 
+0169 70890105 jam 5 ,0x8901 
+016a 20600000 rtn 
 
 p_set_lemode_1m_16m:
-0165 58004189 setarg 0x4189 
-0166 67f10907 store 2 ,0x8907 
-0167 20200161 branch p_set_lemode_1m 
+016b 58004189 setarg 0x4189 
+016c 67f10907 store 2 ,0x8907 
+016d 20200167 branch p_set_lemode_1m 
 
 p_set_lemode_2m_16m:
-0168 58008312 setarg 0x8312 
-0169 67f10907 store 2 ,0x8907 
-016a 20200156 branch p_set_lemode_2m 
+016e 58008312 setarg 0x8312 
+016f 67f10907 store 2 ,0x8907 
+0170 2020015c branch p_set_lemode_2m 
 
 p_le_rx_dec:
-016b 2040281c call le_check_retransmit 
-016c 6a20804d fetchr rega ,1 ,mem_le_rxbuf_data_length 
-016d 1a20a3fc increase -4 ,rega 
-016e 242126fa nbranch le_crc_fail_consecutive ,positive 
-016f 2020268e branch le_rx_dec + 6 
+0171 2040281c call le_check_retransmit 
+0172 6a20804d fetchr rega ,1 ,mem_le_rxbuf_data_length 
+0173 1a20a3fc increase -4 ,rega 
+0174 242126fa nbranch le_crc_fail_consecutive ,positive 
+0175 2020268e branch le_rx_dec + 6 
 
 p_le_rx_nopayload:
-0170 09800018 parse demod ,bucket ,24 
-0171 1fef7e00 rshift32 pdata ,pdata 
-0172 1ff17e00 rshift16 pdata ,pdata 
-0173 e7e18005 istore 3 ,contw 
-0174 78287c00 enable swfine 
-0175 2040270d call le_set_until_tx_timer 
-0176 202326f6 branch le_crc_fail ,crc_failed 
-0177 c59926af bmark0 mark_ble_encryption ,le_rx_match 
-0178 6fe0804d fetch 1 ,mem_le_rxbuf_data_length 
-0179 203a26af branch le_rx_match ,blank 
-017a 1fe0fffc increase -4 ,pdata 
-017b 67e0804d store 1 ,mem_le_rxbuf_data_length 
-017c 204072cb call wait_ccm_done 
-017d 6ff08108 fetch 1 ,core_misc_status 
-017e c303a6fa bbit0 7 ,le_crc_fail_consecutive 
-017f 1800700c force regidx_result ,regext_index 
-0180 65e20154 storer regext ,4 ,mem_le_peer_mic 
-0181 202026af branch le_rx_match 
+0176 09800018 parse demod ,bucket ,24 
+0177 1fef7e00 rshift32 pdata ,pdata 
+0178 1ff17e00 rshift16 pdata ,pdata 
+0179 e7e18005 istore 3 ,contw 
+017a 78287c00 enable swfine 
+017b 2040270d call le_set_until_tx_timer 
+017c 202326f6 branch le_crc_fail ,crc_failed 
+017d c59926af bmark0 mark_ble_encryption ,le_rx_match 
+017e 6fe0804d fetch 1 ,mem_le_rxbuf_data_length 
+017f 203a26af branch le_rx_match ,blank 
+0180 1fe0fffc increase -4 ,pdata 
+0181 67e0804d store 1 ,mem_le_rxbuf_data_length 
+0182 204072cb call wait_ccm_done 
+0183 6ff08108 fetch 1 ,core_misc_status 
+0184 c303a6fa bbit0 7 ,le_crc_fail_consecutive 
+0185 1800700c force regidx_result ,regext_index 
+0186 65e20154 storer regext ,4 ,mem_le_peer_mic 
+0187 202026af branch le_rx_match 
 
 p_le_parse:
-0182 6fe0c334 fetch 1 ,mem_le_packet_llid 
-0183 c1000000 rtneq llid_reserved 
-0184 c001b04a beq llid_le_ll ,le_parse_ll 
-0185 202028e1 branch le_parse_l2cap 
+0188 6fe0c334 fetch 1 ,mem_le_packet_llid 
+0189 c1000000 rtneq llid_reserved 
+018a c001b04a beq llid_le_ll ,le_parse_ll 
+018b 202028e1 branch le_parse_l2cap 
 
 p_le_init_adv:
-0186 793f8030 set0 mark_ble_crc_fail ,mark 
-0187 20202af6 branch le_init_adv + 1 
+018c 793f8030 set0 mark_ble_crc_fail ,mark 
+018d 20202af6 branch le_init_adv + 1 
+
+p_le_adv_not_match:
+018e 20402152 call shutdown_radio 
+018f 70890000 jam 0 ,0x8900 
+0190 793f8030 set0 mark_ble_crc_fail ,mark 
+0191 20202ae3 branch le_adv_not_match + 1 
 
 p_le_parse_l2cap:
-0188 efe10006 ifetch 2 ,contr 
-0189 c002018b beq le_l2cap_cid_att ,p_le_parse_att 
-018a 202028eb branch le_parse_l2cap_next + 2 
+0192 efe10006 ifetch 2 ,contr 
+0193 c0020195 beq le_l2cap_cid_att ,p_le_parse_att 
+0194 202028eb branch le_parse_l2cap_next + 2 
 
 p_le_parse_att:
-018b efe18006 ifetch 3 ,contr 
-018c 67e1c397 store 3 ,mem_le_att_opcode 
-018d c0050190 beq attop_read_request ,p_le_parse_att_read_request 
-018e c009019f beq attop_write_request ,p_le_parse_att_write_request 
-018f 20202b96 branch le_parse_att2 
+0195 efe18006 ifetch 3 ,contr 
+0196 67e1c397 store 3 ,mem_le_att_opcode 
+0197 c005019a beq attop_read_request ,p_le_parse_att_read_request 
+0198 c00901a9 beq attop_write_request ,p_le_parse_att_write_request 
+0199 20202b96 branch le_parse_att2 
 
 p_le_parse_att_read_request:
-0190 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0191 c31dad19 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
-0192 20402dc7 call le_check_encrypt_state 
-0193 68494398 fetcht 2 ,mem_le_att_handle 
-0194 6fe0c321 fetch 1 ,mem_le_configuration 
-0195 c281819a bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+019a 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+019b c31dad19 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
+019c 20402dc7 call le_check_encrypt_state 
+019d 68494398 fetcht 2 ,mem_le_att_handle 
+019e 6fe0c321 fetch 1 ,mem_le_configuration 
+019f c28181a4 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-0196 6fe14398 fetch 2 ,mem_le_att_handle 
-0197 c0182e03 beq 0x30 ,le_send_att_error_response_notfound 
-0198 68494398 fetcht 2 ,mem_le_att_handle 
-0199 20202d1d branch le_send_att_read_response 
+01a0 6fe14398 fetch 2 ,mem_le_att_handle 
+01a1 c0182e03 beq 0x30 ,le_send_att_error_response_notfound 
+01a2 68494398 fetcht 2 ,mem_le_att_handle 
+01a3 20202d1d branch le_send_att_read_response 
 
 p_le_send_att_read_response_check_auth:
-019a 6fe14332 fetch 2 ,mem_le_pairing_handle 
-019b 98467c00 isub temp ,null 
-019c 24228196 nbranch p_le_send_att_read_response ,zero 
-019d 24340196 nbranch p_le_send_att_read_response ,user 
-019e 20202d46 branch le_send_att_read_response_error_insufficient_auth 
+01a4 6fe14332 fetch 2 ,mem_le_pairing_handle 
+01a5 98467c00 isub temp ,null 
+01a6 242281a0 nbranch p_le_send_att_read_response ,zero 
+01a7 243401a0 nbranch p_le_send_att_read_response ,user 
+01a8 20202d46 branch le_send_att_read_response_error_insufficient_auth 
 
 p_le_parse_att_write_request:
-019f 18c22200 copy contr ,rega 
-01a0 6fe14335 fetch 2 ,mem_le_l2cap_size 
-01a1 1fe0a5fd add pdata ,-3 ,regb 
-01a2 20402929 call le_writeatt_cb 
-01a3 6fe0c78f fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-01a4 c07fadac beq 0xff ,le_send_att_write_response_check_auth 
-01a5 6fe0c795 fetch 1 ,mem_mouse_le_reconnect_flag 
-01a6 203a2dac branch le_send_att_write_response_check_auth ,blank 
-01a7 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
-01a8 c280adac bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
-01a9 5800001a setarg 0x001a 
-01aa 68494398 fetcht 2 ,mem_le_att_handle 
-01ab 98467c00 isub temp ,null 
-01ac 2422adac nbranch le_send_att_write_response_check_auth ,zero 
-01ad 20202d46 branch le_send_att_read_response_error_insufficient_auth 
+01a9 18c22200 copy contr ,rega 
+01aa 6fe14335 fetch 2 ,mem_le_l2cap_size 
+01ab 1fe0a5fd add pdata ,-3 ,regb 
+01ac 20402929 call le_writeatt_cb 
+01ad 6fe0c78f fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+01ae c07fadac beq 0xff ,le_send_att_write_response_check_auth 
+01af 6fe0c795 fetch 1 ,mem_mouse_le_reconnect_flag 
+01b0 203a2dac branch le_send_att_write_response_check_auth ,blank 
+01b1 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
+01b2 c280adac bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
+01b3 5800001a setarg 0x001a 
+01b4 68494398 fetcht 2 ,mem_le_att_handle 
+01b5 98467c00 isub temp ,null 
+01b6 2422adac nbranch le_send_att_write_response_check_auth ,zero 
+01b7 20202d46 branch le_send_att_read_response_error_insufficient_auth 
 
 p_mouse_le:
-01ae 20402a28 call le_fifo_check_nearly_full 
-01af 247a0000 nrtn blank 
-01b0 6fe0c78f fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-01b1 c07f81b5 beq 0xff ,p_mouse_le_next 
-01b2 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
-01b3 1fe17e03 and pdata ,0x03 ,pdata 
-01b4 c1818000 rtnne 0x03 
+01b8 20402a28 call le_fifo_check_nearly_full 
+01b9 247a0000 nrtn blank 
+01ba 6fe0c78f fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+01bb c07f81bf beq 0xff ,p_mouse_le_next 
+01bc 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
+01bd 1fe17e03 and pdata ,0x03 ,pdata 
+01be c1818000 rtnne 0x03 
 
 p_mouse_le_next:
-01b5 6fe0c956 fetch 1 ,mem_mouse_clear_sensor_data_flag 
-01b6 205a5a71 call mouse_clear_sensor_data_by_reset ,blank 
-01b7 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-01b8 c280db5b bbit1 mouse_24g_pairing_flag ,mouse_le_send_empty_packet 
-01b9 c2805b5b bbit1 mouse_select_device_flag ,mouse_le_send_empty_packet 
-01ba c282db5b bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
-01bb c2835b5b bbit1 mouse_bt_discovery_button_long_down_flag ,mouse_le_send_empty_packet 
-01bc 20405601 call mouse_motion 
-01bd 20405ab2 call mouse_check_125hz 
-01be 24740000 nrtn user 
-01bf 20405abc call mouse_current_mult_update 
-01c0 2040045d call p_mouse_data_xy_release 
-01c1 20205b37 branch mouse_le_next + 12 
+01bf 6fe0c956 fetch 1 ,mem_mouse_clear_sensor_data_flag 
+01c0 205a5a71 call mouse_clear_sensor_data_by_reset ,blank 
+01c1 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+01c2 c280db5b bbit1 mouse_24g_pairing_flag ,mouse_le_send_empty_packet 
+01c3 c2805b5b bbit1 mouse_select_device_flag ,mouse_le_send_empty_packet 
+01c4 c282db5b bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
+01c5 c2835b5b bbit1 mouse_bt_discovery_button_long_down_flag ,mouse_le_send_empty_packet 
+01c6 20405601 call mouse_motion 
+01c7 20405ab2 call mouse_check_125hz 
+01c8 24740000 nrtn user 
+01c9 20405abc call mouse_current_mult_update 
+01ca 204004b3 call p_mouse_data_xy_release 
+01cb 20205b37 branch mouse_le_next + 12 
+
+p_gpio_set_wake:
+01cc 18467cff sub temp ,ui_button_gpio_disable ,null 
+01cd 20628000 rtn zero 
+01ce d9000004 arg 4 ,debug 
+01cf 284ffe07 isolate1 gpio_active_bit ,temp 
+01d0 2020eebd branch gpio_set_wake_high ,true 
+01d1 d9000003 arg 3 ,debug 
+01d2 20206ebd branch gpio_set_wake_high 
+
+p_gpio_set_wake_by_current_state:
+01d3 18467cff sub temp ,gpio_disable ,null 
+01d4 20628000 rtn zero 
+01d5 6048cb1d storet 1 ,mem_mouse_wheel_temp_gpio 
+01d6 20406ee6 call gpio_get_bit 
+01d7 202081dc branch p_gpio_set_qdec_mode ,true 
+
+p_gpio_set_low_wake_disable_qdec:
+01d8 6848cb1d fetcht 1 ,mem_mouse_wheel_temp_gpio 
+01d9 20406f0f call gpio_set_high_impedance 
+01da 6848cb1d fetcht 1 ,mem_mouse_wheel_temp_gpio 
+01db 202001e3 branch p_gpio_set_low_wake 
+
+p_gpio_set_qdec_mode:
+01dc 704b1e01 jam 1 ,mem_mouse_qdec_set_flag 
+01dd 6848cb1d fetcht 1 ,mem_mouse_wheel_temp_gpio 
+01de 20406f0f call gpio_set_high_impedance 
+01df 6848cb1d fetcht 1 ,mem_mouse_wheel_temp_gpio 
+01e0 202001e1 branch p_mouse_qdec_lpm_cfg 
+
+p_mouse_qdec_lpm_cfg:
+01e1 d9000006 arg 6 ,debug 
+01e2 20206ebd branch gpio_set_wake_high 
+
+p_gpio_set_low_wake:
+01e3 d9000003 arg 3 ,debug 
+01e4 20206ebd branch gpio_set_wake_high 
+
+p_mouse_puchk_disable:
+01e5 58000010 setarg 0x10 
+
+p_mouse_puchk_set:
+01e6 67f08141 store 1 ,core_puwakeup 
+01e7 37d98200 until null ,lpo_edge 
+01e8 20600000 rtn 
+
+p_mouse_puchk_enable:
+01e9 58000080 setarg 0x80 
+01ea 202001e6 branch p_mouse_puchk_set 
+
+p_mouse_lpm_before_common:
+01eb 20400470 call p_clear_wake 
+01ec 704b1e00 jam 0 ,mem_mouse_qdec_set_flag 
+01ed 2020550d branch mouse_lpm_before_common + 1 
 
 p_lpm_sleep:
-01c2 6fe143e9 fetch 2 ,mem_cb_before_lpm_sleep 
-01c3 20407d79 call callback_func 
+01ee 6fe143e9 fetch 2 ,mem_cb_before_lpm_sleep 
+01ef 20407d79 call callback_func 
 
 p_lpm_sleep_skip_cb_function:
-01c4 6fe240ad fetch 4 ,mem_sleep_counter_all 
-01c5 9840fe00 iadd temp ,pdata 
-01c6 67e240ad store 4 ,mem_sleep_counter_all 
-01c7 204001c9 call p_lpm_save_context 
-01c8 20202425 branch lpm_sleep_skip_cb_function + 4 
+01f0 6fe240ad fetch 4 ,mem_sleep_counter_all 
+01f1 9840fe00 iadd temp ,pdata 
+01f2 67e240ad store 4 ,mem_sleep_counter_all 
+01f3 204001f9 call p_lpm_save_context 
+01f4 204001f6 call p_mouse_puchk_set_check 
+01f5 20202425 branch lpm_sleep_skip_cb_function + 4 
+
+p_mouse_puchk_set_check:
+01f6 6fe0cb1e fetch 1 ,mem_mouse_qdec_set_flag 
+01f7 203a01e5 branch p_mouse_puchk_disable ,blank 
+01f8 202001e9 branch p_mouse_puchk_enable 
 
 p_lpm_save_context:
-01c9 600440e7 storer mark ,8 ,mem_saved_mark 
-01ca d8c08070 arg core_gpio_conf ,contr 
-01cb d8a040cc arg mem_saved_gpio ,contw 
-01cc 20407c8f call memcpy16 
-01cd d8c080d4 arg core_gpio_conf_hi ,contr 
-01ce 20407c89 call memcpy8 
-01cf 6ff08080 fetch 1 ,core_spid_ctrl 
-01d0 67e0c0ef store 1 ,mem_saved_spidctrl 
-01d1 18422400 copy temp ,regb 
+01f9 600440e7 storer mark ,8 ,mem_saved_mark 
+01fa d8c08070 arg core_gpio_conf ,contr 
+01fb d8a040cc arg mem_saved_gpio ,contw 
+01fc 20407c8f call memcpy16 
+01fd d8c080d4 arg core_gpio_conf_hi ,contr 
+01fe 20407c89 call memcpy8 
+01ff 6ff08080 fetch 1 ,core_spid_ctrl 
+0200 67e0c0ef store 1 ,mem_saved_spidctrl 
+0201 18422400 copy temp ,regb 
 
 p_lpm_write_gpio_wakeup:
-01d2 df20000c arg 12 ,loopcnt 
-01d3 da200016 arg mem_gpio_wakeup_cfg ,rega 
-01d4 da60814d arg core_gpio_wakeup_cfg ,regc 
-01d5 37d98200 until null ,lpo_edge 
+0202 df20000c arg 12 ,loopcnt 
+0203 da200016 arg mem_gpio_wakeup_cfg ,rega 
+0204 da60814d arg core_gpio_wakeup_cfg ,regc 
+0205 37d98200 until null ,lpo_edge 
 
 p_lpm_write_gpio_loop:
-01d6 efe08011 ifetch 1 ,rega 
-01d7 e8408013 ifetcht 1 ,regc 
-01d8 98467c00 isub temp ,null 
-01d9 202281dc branch p_lpm_write_gpio_loop_next ,zero 
-01da e7e08013 istore 1 ,regc 
-01db 37d98200 until null ,lpo_edge 
+0206 efe08011 ifetch 1 ,rega 
+0207 e8408013 ifetcht 1 ,regc 
+0208 98467c00 isub temp ,null 
+0209 2022820c branch p_lpm_write_gpio_loop_next ,zero 
+020a e7e08013 istore 1 ,regc 
+020b 37d98200 until null ,lpo_edge 
 
 p_lpm_write_gpio_loop_next:
-01dc 1a20a201 increase 1 ,rega 
-01dd 1a60a601 increase 1 ,regc 
-01de c20001d6 loop p_lpm_write_gpio_loop 
-01df 1a420400 copy regb ,temp 
-01e0 20600000 rtn 
+020c 1a20a201 increase 1 ,rega 
+020d 1a60a601 increase 1 ,regc 
+020e c2000206 loop p_lpm_write_gpio_loop 
+020f 1a420400 copy regb ,temp 
+0210 20600000 rtn 
 
 p_otp_read_data:
-01e1 20406b3a call enable_otp_read 
-01e2 20406b75 call otp_read_data + 1 
-01e3 20206b38 branch otp_disable_chgpump 
+0211 20406b3a call enable_otp_read 
+0212 20406b75 call otp_read_data + 1 
+0213 20206b38 branch otp_disable_chgpump 
 
 p_g24_reconn_dispatch:
-01e4 6fe145e0 fetch 2 ,mem_24g_reconn_count 
-01e5 d84001f8 arg 0x01f8 ,temp 
-01e6 98417e00 iand temp ,pdata 
-01e7 203a01ec branch p_g24_reconn_dispatch_next ,blank 
-01e8 6fe145e0 fetch 2 ,mem_24g_reconn_count 
-01e9 1fe0fe01 increase 1 ,pdata 
-01ea 67e145e0 store 2 ,mem_24g_reconn_count 
-01eb 20600000 rtn 
+0214 6fe145e0 fetch 2 ,mem_24g_reconn_count 
+0215 d84001f8 arg 0x01f8 ,temp 
+0216 98417e00 iand temp ,pdata 
+0217 203a021c branch p_g24_reconn_dispatch_next ,blank 
+0218 6fe145e0 fetch 2 ,mem_24g_reconn_count 
+0219 1fe0fe01 increase 1 ,pdata 
+021a 67e145e0 store 2 ,mem_24g_reconn_count 
+021b 20600000 rtn 
 
 p_g24_reconn_dispatch_next:
-01ec 2040357f call g24_reconn_data_prep 
-01ed 20403651 call g24_transmit_receive_ack 
-01ee 242c3586 nbranch g24_reconn_device_fail ,sync 
-01ef 2437b586 nbranch g24_reconn_device_fail ,user3 
-01f0 2040366e call g24_ackpayload_parse 
-01f1 6fe0c57d fetch 1 ,mem_24g_rxdata_length 
-01f2 203a01fb branch p_recv_addr_zero_skip ,blank 
+021c 2040357f call g24_reconn_data_prep 
+021d 20403651 call g24_transmit_receive_ack 
+021e 242c3586 nbranch g24_reconn_device_fail ,sync 
+021f 2437b586 nbranch g24_reconn_device_fail ,user3 
+0220 2040366e call g24_ackpayload_parse 
+0221 6fe0c57d fetch 1 ,mem_24g_rxdata_length 
+0222 203a022b branch p_recv_addr_zero_skip ,blank 
 
 p_g24_reconn_dispatch_next_2:
-01f3 6fe245cc fetch 4 ,mem_24g_pair_addr 
-01f4 684a458f fetcht 4 ,mem_24g_addr 
-01f5 98467c00 isub temp ,null 
-01f6 202281f8 branch p_g24_reconn_mode_judge ,zero 
-01f7 2020356e branch g24_reconn_dispatch_next + 9 
+0223 6fe245cc fetch 4 ,mem_24g_pair_addr 
+0224 684a458f fetcht 4 ,mem_24g_addr 
+0225 98467c00 isub temp ,null 
+0226 20228228 branch p_g24_reconn_mode_judge ,zero 
+0227 2020356e branch g24_reconn_dispatch_next + 9 
 
 p_g24_reconn_mode_judge:
-01f8 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-01f9 c2983291 bbit1 mouse_enable_auto_24g_paring ,g24_pair_start 
-01fa 20203549 branch g24_reconn_receiver_addr 
+0228 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0229 c2983291 bbit1 mouse_enable_auto_24g_paring ,g24_pair_start 
+022a 20203549 branch g24_reconn_receiver_addr 
 
 p_recv_addr_zero_skip:
-01fb 6fe2455f fetch 4 ,mem_24g_rxpayload + 2 
-01fc 207a0000 rtn blank 
-01fd 202001f3 branch p_g24_reconn_dispatch_next_2 
+022b 6fe2455f fetch 4 ,mem_24g_rxpayload + 2 
+022c 207a0000 rtn blank 
+022d 20200223 branch p_g24_reconn_dispatch_next_2 
 
 p_mouse_param_init:
-01fe 2040543b call mouse_param_common_init 
-01ff 20400201 call p_mouse_le_buff_modify 
-0200 2020544c branch mouse_param_init + 2 
+022e 2040543b call mouse_param_common_init 
+022f 20400231 call p_mouse_le_buff_modify 
+0230 2020544c branch mouse_param_init + 2 
 
 p_mouse_le_buff_modify:
-0201 58004a1d setarg mem_le_tx_buffer0_omemalloc_new 
-0202 67e1433f store 2 ,mem_ble_l2cap_tx_buff0_ptr 
-0203 58000020 setarg mouse_ble_l2cap_txbuff_size_new 
-0204 67e14341 store 2 ,mem_ble_l2cap_tx_buff_size_ptr 
-0205 20600000 rtn 
+0231 58004a1d setarg mem_le_tx_buffer0_omemalloc_new 
+0232 67e1433f store 2 ,mem_ble_l2cap_tx_buff0_ptr 
+0233 58000020 setarg mouse_ble_l2cap_txbuff_size_new 
+0234 67e14341 store 2 ,mem_ble_l2cap_tx_buff_size_ptr 
+0235 20600000 rtn 
 
 p_mouse_cb_fuction:
-0206 5800022f setarg p_mouse_24g_short_sleep 
-0207 67e145f8 store 2 ,mem_cb_24g_transmit_short_sleep 
-0208 5800021a setarg p_mouse_24g_long_sleep 
-0209 67e145fa store 2 ,mem_cb_24g_transmit_long_sleep 
-020a 58000217 setarg p_mouse_24g_before_lpm_sleep 
-020b 67e143e9 store 2 ,mem_cb_before_lpm_sleep 
-020c 202053f3 branch mouse_cb_fuction + 7 
+0236 58000248 setarg p_mouse_24g_short_sleep 
+0237 67e145f8 store 2 ,mem_cb_24g_transmit_short_sleep 
+0238 5800622b setarg mouse_24g_long_sleep 
+0239 67e145fa store 2 ,mem_cb_24g_transmit_long_sleep 
+023a 58000245 setarg p_mouse_24g_before_lpm_sleep 
+023b 67e143e9 store 2 ,mem_cb_before_lpm_sleep 
+023c 202053f3 branch mouse_cb_fuction + 7 
 
 p_soft_reset:
-020d 20800000 clear_stack 
-020e 2055e004 call mouse_wheel_gpio_init ,wake 
-020f 20202003 branch soft_reset + 2 
-
-p_mouse_g24_retransmit:
-0210 6fe0c793 fetch 1 ,mem_mouse_need_soft_reset 
-0211 247a0000 nrtn blank 
-0212 20400214 call p_mouse_retransmit_select_device_by_pb_button 
-0213 202060fc branch mouse_g24_retransmit + 3 
-
-p_mouse_retransmit_select_device_by_pb_button:
-0214 6fe0c655 fetch 1 ,mem_config_select_device_button_gpio 
-0215 c17f8000 rtneq gpio_disable 
-0216 20205e78 branch mouse_retransmit_select_device_by_pb_button 
+023d 20800000 clear_stack 
+023e 20558240 call p_mouse_wheel_init_set ,wake 
+023f 20202003 branch soft_reset + 2 
+
+p_mouse_wheel_init_set:
+0240 204001e5 call p_mouse_puchk_disable 
+0241 6848c64a fetcht 1 ,mem_whee_a_data_gpio 
+0242 20406edd call gpio_config_input 
+0243 6848c64b fetcht 1 ,mem_whee_b_data_gpio 
+0244 20206edd branch gpio_config_input 
 
 p_mouse_24g_before_lpm_sleep:
-0217 6fe0c666 fetch 1 ,mem_device_flag 
-0218 c1000000 rtneq mode_24g_device 
-0219 2020610b branch mouse_24g_before_lpm_sleep + 2 
-
-p_mouse_24g_long_sleep:
-021a 204036b4 call g24_lpm_wait 
-021b 24740000 nrtn user 
-021c 70477c01 jam 1 ,mem_mouse_24g_long_sleep_flag 
-021d 204036be call g24_setgpio_lpm_before 
-021e 70477200 jam 0 ,mem_mouse_24g_sleep_miss 
-021f 204062aa call mouse_24g_send_time_long_wake 
-0220 6fe0c73f fetch 1 ,mem_sensor_shutdown_flag 
-0221 245a54dc ncall mouse_setgpio_hibernate ,blank 
-0222 20400225 call p_mouse_wheel_set_low_pullup 
-0223 6fe245af fetch 4 ,mem_24g_enter_hibernate 
-0224 20203622 branch g24_long_seep2 
-
-p_mouse_wheel_set_low_pullup:
-0225 6fe0c73f fetch 1 ,mem_sensor_shutdown_flag 
-0226 247a0000 nrtn blank 
-0227 6848c64a fetcht 1 ,mem_whee_a_data_gpio 
-0228 20406f0f call gpio_set_high_impedance 
-0229 6848c64a fetcht 1 ,mem_whee_a_data_gpio 
-022a 20406ec6 call gpio_set_low_pullup 
-022b 6848c64b fetcht 1 ,mem_whee_b_data_gpio 
-022c 20406f0f call gpio_set_high_impedance 
-022d 6848c64b fetcht 1 ,mem_whee_b_data_gpio 
-022e 20206ec6 branch gpio_set_low_pullup 
+0245 6fe0c666 fetch 1 ,mem_device_flag 
+0246 c1000000 rtneq mode_24g_device 
+0247 2020610b branch mouse_24g_before_lpm_sleep + 2 
 
 p_mouse_24g_short_sleep:
-022f 6fe0c77b fetch 1 ,mem_mouse_sleep_deal_type 
-0230 203a3616 branch g24_short_sleep ,blank 
-0231 204036b4 call g24_lpm_wait 
-0232 24740000 nrtn user 
-0233 6fe0c772 fetch 1 ,mem_mouse_24g_sleep_miss 
-0234 70477200 jam 0 ,mem_mouse_24g_sleep_miss 
-0235 1fe67c00 sub pdata ,0 ,null 
-0236 2422823c nbranch p_mouse_24g_short_sleep_last_miss ,zero 
-0237 68494622 fetcht 2 ,mem_24g_retransmit 
-0238 18467c00 sub temp ,0 ,null 
-0239 2022824d branch p_mouse_24g_short_sleep_default ,zero 
-023a 6fe24767 fetch 4 ,mem_mouse_24g_tx_time_last_delt 
-023b 203a024d branch p_mouse_24g_short_sleep_default ,blank 
+0248 6fe0c77b fetch 1 ,mem_mouse_sleep_deal_type 
+0249 203a3616 branch g24_short_sleep ,blank 
+024a 204036b4 call g24_lpm_wait 
+024b 24740000 nrtn user 
+024c 6fe0c772 fetch 1 ,mem_mouse_24g_sleep_miss 
+024d 70477200 jam 0 ,mem_mouse_24g_sleep_miss 
+024e 1fe67c00 sub pdata ,0 ,null 
+024f 24228255 nbranch p_mouse_24g_short_sleep_last_miss ,zero 
+0250 68494622 fetcht 2 ,mem_24g_retransmit 
+0251 18467c00 sub temp ,0 ,null 
+0252 20228266 branch p_mouse_24g_short_sleep_default ,zero 
+0253 6fe24767 fetch 4 ,mem_mouse_24g_tx_time_last_delt 
+0254 203a0266 branch p_mouse_24g_short_sleep_default ,blank 
 
 p_mouse_24g_short_sleep_last_miss:
-023c 684a4777 fetcht 4 ,mem_mouse_24g_sleep_miss_temp 
-023d 284ffe1f isolate1 31 ,temp 
-023e 20208254 branch p_mouse_24g_sub_miss_temp ,true 
-023f 6fe24767 fetch 4 ,mem_mouse_24g_tx_time_last_delt 
-0240 9840fe00 iadd temp ,pdata 
+0255 684a4777 fetcht 4 ,mem_mouse_24g_sleep_miss_temp 
+0256 284ffe1f isolate1 31 ,temp 
+0257 2020826d branch p_mouse_24g_sub_miss_temp ,true 
+0258 6fe24767 fetch 4 ,mem_mouse_24g_tx_time_last_delt 
+0259 9840fe00 iadd temp ,pdata 
 
 p_mouse_24g_short_sleep_notify:
-0241 684a4751 fetcht 4 ,mem_mouse_24g_tsniff 
-0242 98460400 isub temp ,temp 
-0243 604a4777 storet 4 ,mem_mouse_24g_sleep_miss_temp 
-0244 24210250 nbranch p_mouse_24g_short_sleep_long ,positive 
-0245 6fe1c608 fetch 3 ,mem_24g_short_sleep_set 
-0246 98467e00 isub temp ,pdata 
-0247 24216260 nbranch mouse_24g_short_sleep_2 ,positive 
-0248 d8400600 arg 0x600 ,temp 
-0249 98467c00 isub temp ,null 
-024a 24216260 nbranch mouse_24g_short_sleep_2 ,positive 
+025a 684a4751 fetcht 4 ,mem_mouse_24g_tsniff 
+025b 98460400 isub temp ,temp 
+025c 604a4777 storet 4 ,mem_mouse_24g_sleep_miss_temp 
+025d 24210269 nbranch p_mouse_24g_short_sleep_long ,positive 
+025e 6fe1c608 fetch 3 ,mem_24g_short_sleep_set 
+025f 98467e00 isub temp ,pdata 
+0260 24216260 nbranch mouse_24g_short_sleep_2 ,positive 
+0261 d8400600 arg 0x600 ,temp 
+0262 98467c00 isub temp ,null 
+0263 24216260 nbranch mouse_24g_short_sleep_2 ,positive 
 
 p_mouse_24g_short_sleep2:
-024b 704771fa jam 250 ,mem_mouse_24g_tx_time_offset 
-024c 2020624f branch mouse_24g_short_sleep3 
+0264 704771fa jam 250 ,mem_mouse_24g_tx_time_offset 
+0265 2020624f branch mouse_24g_short_sleep3 
 
 p_mouse_24g_short_sleep_default:
-024d 20406259 call mouse_24g_miss_temp_clear 
-024e 6fe1c608 fetch 3 ,mem_24g_short_sleep_set 
-024f 2020024b branch p_mouse_24g_short_sleep2 
+0266 20406259 call mouse_24g_miss_temp_clear 
+0267 6fe1c608 fetch 3 ,mem_24g_short_sleep_set 
+0268 20200264 branch p_mouse_24g_short_sleep2 
 
 p_mouse_24g_short_sleep_long:
-0250 18460400 sub temp ,0 ,temp 
-0251 6fe1c608 fetch 3 ,mem_24g_short_sleep_set 
-0252 9840fe00 iadd temp ,pdata 
-0253 2020024b branch p_mouse_24g_short_sleep2 
+0269 18460400 sub temp ,0 ,temp 
+026a 6fe1c608 fetch 3 ,mem_24g_short_sleep_set 
+026b 9840fe00 iadd temp ,pdata 
+026c 20200264 branch p_mouse_24g_short_sleep2 
 
 p_mouse_24g_sub_miss_temp:
-0254 dfffffff arg -1 ,pdata 
-0255 98465e00 isub temp ,regext 
-0256 6fe24767 fetch 4 ,mem_mouse_24g_tx_time_last_delt 
-0257 9de67e00 isub regext ,pdata 
-0258 20200241 branch p_mouse_24g_short_sleep_notify 
+026d dfffffff arg -1 ,pdata 
+026e 98465e00 isub temp ,regext 
+026f 6fe24767 fetch 4 ,mem_mouse_24g_tx_time_last_delt 
+0270 9de67e00 isub regext ,pdata 
+0271 2020025a branch p_mouse_24g_short_sleep_notify 
 
 p_g24_transmit_no_interrupt:
-0259 20403625 call g24_txdata_prep 
-025a 2434025d nbranch p_g24_nodata_transmit ,user 
+0272 20403625 call g24_txdata_prep 
+0273 24340276 nbranch p_g24_nodata_transmit ,user 
 
 p_g24_transmit_start:
-025b 2040026e call p_g24_transmit_process 
-025c 2020360d branch g24_transmit_start + 1 
+0274 20400287 call p_g24_transmit_process 
+0275 2020360d branch g24_transmit_start + 1 
 
 p_g24_nodata_transmit:
-025d 6fe0c602 fetch 1 ,mem_24g_abort_pac 
-025e 205a0260 call p_g24_send_abort_packet ,blank 
-025f 202036a1 branch g24_nodata_transmit + 2 
+0276 6fe0c602 fetch 1 ,mem_24g_abort_pac 
+0277 205a0279 call p_g24_send_abort_packet ,blank 
+0278 202036a1 branch g24_nodata_transmit + 2 
 
 p_g24_send_abort_packet:
-0260 70458901 jam type_ms ,mem_24g_data_type 
-0261 70460201 jam 1 ,mem_24g_abort_pac 
-0262 20403636 call g24_transmit_rf_ctrl_clear 
-0263 67e0c519 store 1 ,mem_24g_txbuf 
-0264 58000000 setarg 0 
-0265 67e3c51a store 7 ,mem_24g_txbuf + 1 
-0266 6fe24604 fetch 4 ,mem_24g_device_addr 
-0267 67e24521 store 4 ,mem_24g_txbuf + 8 
-0268 7045880c jam 12 ,mem_24g_datalen 
-0269 6fe0c589 fetch 1 ,mem_24g_data_type 
-026a 79207e03 set1 bit_abort ,pdata 
-026b 67e0c589 store 1 ,mem_24g_data_type 
-026c 204031e5 call g24_transmit_prep 
-026d 2020025b branch p_g24_transmit_start 
+0279 70458901 jam type_ms ,mem_24g_data_type 
+027a 70460201 jam 1 ,mem_24g_abort_pac 
+027b 20403636 call g24_transmit_rf_ctrl_clear 
+027c 67e0c519 store 1 ,mem_24g_txbuf 
+027d 58000000 setarg 0 
+027e 67e3c51a store 7 ,mem_24g_txbuf + 1 
+027f 6fe24604 fetch 4 ,mem_24g_device_addr 
+0280 67e24521 store 4 ,mem_24g_txbuf + 8 
+0281 7045880c jam 12 ,mem_24g_datalen 
+0282 6fe0c589 fetch 1 ,mem_24g_data_type 
+0283 79207e03 set1 bit_abort ,pdata 
+0284 67e0c589 store 1 ,mem_24g_data_type 
+0285 204031e5 call g24_transmit_prep 
+0286 20200274 branch p_g24_transmit_start 
 
 p_g24_transmit_process:
-026e 58000000 setarg 0 
-026f 67e0c601 store 1 ,mem_24g_retry 
-0270 67e14622 store 2 ,mem_24g_retransmit 
+0287 58000000 setarg 0 
+0288 67e0c601 store 1 ,mem_24g_retry 
+0289 67e14622 store 2 ,mem_24g_retransmit 
 
 p_g24_transmit_loop:
-0271 20403651 call g24_transmit_receive_ack 
-0272 242c0279 nbranch p_g24_retransmit ,sync 
-0273 24378279 nbranch p_g24_retransmit ,user3 
-0274 2040366e call g24_ackpayload_parse 
-0275 20400277 call p_mouse_24g_transmit_callback 
-0276 20203646 branch g24_transmit_no_ack 
+028a 20403651 call g24_transmit_receive_ack 
+028b 242c0292 nbranch p_g24_retransmit ,sync 
+028c 24378292 nbranch p_g24_retransmit ,user3 
+028d 2040366e call g24_ackpayload_parse 
+028e 20400290 call p_mouse_24g_transmit_callback 
+028f 20203646 branch g24_transmit_no_ack 
 
 p_mouse_24g_transmit_callback:
-0277 20400288 call p_mouse_24g_send_time_check 
-0278 20205ffd branch mouse_wakeup_24g 
+0290 204002a1 call p_mouse_24g_send_time_check 
+0291 20205ffd branch mouse_wakeup_24g 
 
 p_g24_retransmit:
-0279 6fe0c793 fetch 1 ,mem_mouse_need_soft_reset 
-027a 247a0000 nrtn blank 
-027b 20405e78 call mouse_retransmit_select_device_by_pb_button 
+0292 6fe0c793 fetch 1 ,mem_mouse_need_soft_reset 
+0293 247a0000 nrtn blank 
+0294 20405e78 call mouse_retransmit_select_device_by_pb_button 
 
 p_g24_retransmit0:
-027c 6fe0c602 fetch 1 ,mem_24g_abort_pac 
-027d 247a0000 nrtn blank 
-027e 6fe145fe fetch 2 ,mem_24g_txfail_cnt 
-027f 1fe0fe01 increase 1 ,pdata 
-0280 67e145fe store 2 ,mem_24g_txfail_cnt 
-0281 6fe0c5ff fetch 1 ,mem_24g_txfail_cnt + 1 
-0282 c2823676 bbit1 4 ,g24_tx_attempt_fail 
-0283 2040367c call g24_transmit_hop_process 
-0284 6fe14622 fetch 2 ,mem_24g_retransmit 
-0285 1fe0fe01 increase 1 ,pdata 
-0286 67e14622 store 2 ,mem_24g_retransmit 
-0287 20200271 branch p_g24_transmit_loop 
+0295 6fe0c602 fetch 1 ,mem_24g_abort_pac 
+0296 247a0000 nrtn blank 
+0297 6fe145fe fetch 2 ,mem_24g_txfail_cnt 
+0298 1fe0fe01 increase 1 ,pdata 
+0299 67e145fe store 2 ,mem_24g_txfail_cnt 
+029a 6fe0c5ff fetch 1 ,mem_24g_txfail_cnt + 1 
+029b c2823676 bbit1 4 ,g24_tx_attempt_fail 
+029c 2040367c call g24_transmit_hop_process 
+029d 6fe14622 fetch 2 ,mem_24g_retransmit 
+029e 1fe0fe01 increase 1 ,pdata 
+029f 67e14622 store 2 ,mem_24g_retransmit 
+02a0 2020028a branch p_g24_transmit_loop 
 
 p_mouse_24g_send_time_check:
-0288 6fe0c77b fetch 1 ,mem_mouse_sleep_deal_type 
-0289 207a0000 rtn blank 
-028a 6fe0c618 fetch 1 ,mem_24g_transmit_by_interrupt 
-028b c000e2a6 beq g24_tx_timer_int_enable ,mouse_24g_send_timer_first 
-028c 6fe0c760 fetch 1 ,mem_mouse_24g_tx_count 
-028d 203a62a6 branch mouse_24g_send_timer_first ,blank 
-028e 1b227e00 copy clkn ,pdata 
-028f 684b4761 fetcht 6 ,mem_mouse_24g_tx_time_last 
-0290 67e34761 store 6 ,mem_mouse_24g_tx_time_last 
-0291 20407d10 call clk_diff_rt 
-0292 67e24767 store 4 ,mem_mouse_24g_tx_time_last_delt 
-0293 6fe0c772 fetch 1 ,mem_mouse_24g_sleep_miss 
-0294 247a0000 nrtn blank 
-0295 6fe14622 fetch 2 ,mem_24g_retransmit 
-0296 247a0000 nrtn blank 
-0297 6fe24777 fetch 4 ,mem_mouse_24g_sleep_miss_temp 
-0298 247a0000 nrtn blank 
-0299 6fe24767 fetch 4 ,mem_mouse_24g_tx_time_last_delt 
-029a 684a4751 fetcht 4 ,mem_mouse_24g_tsniff 
-029b 18438400 lshift temp ,temp 
-029c 98467c00 isub temp ,null 
-029d 202162aa branch mouse_24g_send_time_long_wake ,positive 
-029e 704771d2 jam 210 ,mem_mouse_24g_tx_time_offset 
-029f 20406274 call mouse_24g_send_time_check_1 
-02a0 704771fa jam 250 ,mem_mouse_24g_tx_time_offset 
-02a1 20600000 rtn 
+02a1 6fe0c77b fetch 1 ,mem_mouse_sleep_deal_type 
+02a2 207a0000 rtn blank 
+02a3 6fe0c618 fetch 1 ,mem_24g_transmit_by_interrupt 
+02a4 c000e2a6 beq g24_tx_timer_int_enable ,mouse_24g_send_timer_first 
+02a5 6fe0c760 fetch 1 ,mem_mouse_24g_tx_count 
+02a6 203a62a6 branch mouse_24g_send_timer_first ,blank 
+02a7 1b227e00 copy clkn ,pdata 
+02a8 684b4761 fetcht 6 ,mem_mouse_24g_tx_time_last 
+02a9 67e34761 store 6 ,mem_mouse_24g_tx_time_last 
+02aa 20407d10 call clk_diff_rt 
+02ab 67e24767 store 4 ,mem_mouse_24g_tx_time_last_delt 
+02ac 6fe0c772 fetch 1 ,mem_mouse_24g_sleep_miss 
+02ad 247a0000 nrtn blank 
+02ae 6fe14622 fetch 2 ,mem_24g_retransmit 
+02af 247a0000 nrtn blank 
+02b0 6fe24777 fetch 4 ,mem_mouse_24g_sleep_miss_temp 
+02b1 247a0000 nrtn blank 
+02b2 6fe24767 fetch 4 ,mem_mouse_24g_tx_time_last_delt 
+02b3 684a4751 fetcht 4 ,mem_mouse_24g_tsniff 
+02b4 18438400 lshift temp ,temp 
+02b5 98467c00 isub temp ,null 
+02b6 202162aa branch mouse_24g_send_time_long_wake ,positive 
+02b7 704771d2 jam 210 ,mem_mouse_24g_tx_time_offset 
+02b8 20406274 call mouse_24g_send_time_check_1 
+02b9 704771fa jam 250 ,mem_mouse_24g_tx_time_offset 
+02ba 20600000 rtn 
 
 p_mouse_load_device_info_check:
-02a2 20400409 call p_mouse_store_normal_tx_power 
-02a3 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-02a4 c289dd60 bbit1 mouse_enable_eeprom ,mouse_load_eeprom_info_check 
-02a5 c2895d6e bbit1 mouse_enable_flash ,mouse_load_flash_info_check 
-02a6 c28a02a8 bbit1 mouse_enable_otp ,p_mouse_load_otp_info_check 
-02a7 20600000 rtn 
+02bb 20400443 call p_mouse_store_normal_tx_power 
+02bc 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+02bd c289dd60 bbit1 mouse_enable_eeprom ,mouse_load_eeprom_info_check 
+02be c2895d6e bbit1 mouse_enable_flash ,mouse_load_flash_info_check 
+02bf c28a02c1 bbit1 mouse_enable_otp ,p_mouse_load_otp_info_check 
+02c0 20600000 rtn 
 
 p_mouse_load_otp_info_check:
-02a8 204002b3 call p_mouse_device_flag_temp_store 
-02a9 20405e43 call mouse_read_otp_dpi 
-02aa 20405db4 call mouse_read_otp_device_flag 
-02ab 204002c7 call p_mouse_device_flag_check 
-02ac 204002b0 call p_mouse_select_device_by_switch_check 
-02ad 204002b6 call p_mouse_read_otp_device_info 
-02ae 20400332 call p_mouse_read_otp_le_addr_increase_count_info 
-02af 20205daa branch mouse_otp_load_app_initflag 
+02c1 204002cc call p_mouse_device_flag_temp_store 
+02c2 20405e43 call mouse_read_otp_dpi 
+02c3 20405db4 call mouse_read_otp_device_flag 
+02c4 204002e0 call p_mouse_device_flag_check 
+02c5 204002c9 call p_mouse_select_device_by_switch_check 
+02c6 204002cf call p_mouse_read_otp_device_info 
+02c7 204002e8 call p_mouse_read_otp_le_addr_increase_count_info 
+02c8 20205daa branch mouse_otp_load_app_initflag 
 
 p_mouse_select_device_by_switch_check:
-02b0 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-02b1 c4150000 rtnbit0 mouse_enable_select_device_by_switch_gpio 
-02b2 20400468 call p_mouse_check_select_device_by_switch 
+02c9 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+02ca c4150000 rtnbit0 mouse_enable_select_device_by_switch_gpio 
+02cb 204004be call p_mouse_check_select_device_by_switch 
 
 p_mouse_device_flag_temp_store:
-02b3 6fe0c666 fetch 1 ,mem_device_flag 
-02b4 67e0ca06 store 1 ,mem_mouse_device_flag_temp 
-02b5 20600000 rtn 
+02cc 6fe0c666 fetch 1 ,mem_device_flag 
+02cd 67e0ca06 store 1 ,mem_mouse_device_flag_temp 
+02ce 20600000 rtn 
 
 p_mouse_read_otp_device_info:
-02b6 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-02b7 c29f5dd1 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_read_otp_le_device1 
-02b8 20205dcc branch mouse_read_otp_device_info 
+02cf 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+02d0 c29f5dd1 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_read_otp_le_device1 
+02d1 20205dcc branch mouse_read_otp_device_info 
 
 p_mouse_app_initflag_check:
-02b9 6fe1468e fetch 2 ,mem_store_flag 
-02ba d840aa55 arg eeprom_init_flag ,temp 
-02bb 98467c00 isub temp ,null 
-02bc 202282cf branch p_mouse_load_device_info ,zero 
-02bd 6049468e storet 2 ,mem_store_flag 
-02be 20405c9c call mouse_ble_init_address 
-02bf 6fe0c9a1 fetch 1 ,mem_device_flag_temp 
-02c0 67e0c666 store 1 ,mem_device_flag 
-02c1 20405c8c call mouse_load_default_dpi 
-02c2 58001122 setarg 0x1122 
-02c3 67e14695 store 2 ,mem_random_addr_increase_count 
+02d2 6fe1468e fetch 2 ,mem_store_flag 
+02d3 d840aa55 arg eeprom_init_flag ,temp 
+02d4 98467c00 isub temp ,null 
+02d5 20228355 branch p_mouse_load_device_info ,zero 
+02d6 6049468e storet 2 ,mem_store_flag 
+02d7 20405c9c call mouse_ble_init_address 
+02d8 6fe0c9a1 fetch 1 ,mem_device_flag_temp 
+02d9 67e0c666 store 1 ,mem_device_flag 
+02da 20405c8c call mouse_load_default_dpi 
+02db 58001122 setarg 0x1122 
+02dc 67e14695 store 2 ,mem_random_addr_increase_count 
 
 p_mouse_device_flag_temp_load:
-02c4 6fe0ca06 fetch 1 ,mem_mouse_device_flag_temp 
-02c5 67e0c666 store 1 ,mem_device_flag 
-02c6 20600000 rtn 
+02dd 6fe0ca06 fetch 1 ,mem_mouse_device_flag_temp 
+02de 67e0c666 store 1 ,mem_device_flag 
+02df 20600000 rtn 
 
 p_mouse_device_flag_check:
-02c7 6fe0c666 fetch 1 ,mem_device_flag 
-02c8 1fe67c00 sub pdata ,0 ,null 
-02c9 202282c4 branch p_mouse_device_flag_temp_load ,zero 
-02ca 1fe67c04 sub pdata ,4 ,null 
-02cb 202282cd branch p_mouse_24g_init ,zero 
-02cc 20610000 rtn positive 
+02e0 6fe0c666 fetch 1 ,mem_device_flag 
+02e1 1fe67c00 sub pdata ,0 ,null 
+02e2 202282dd branch p_mouse_device_flag_temp_load ,zero 
+02e3 1fe67c04 sub pdata ,4 ,null 
+02e4 202282e6 branch p_mouse_24g_init ,zero 
+02e5 20610000 rtn positive 
 
 p_mouse_24g_init:
-02cd 70466600 jam mode_24g_device ,mem_device_flag 
-02ce 20600000 rtn 
+02e6 70466600 jam mode_24g_device ,mem_device_flag 
+02e7 20600000 rtn 
+
+p_mouse_read_otp_le_addr_increase_count_info:
+02e8 6fe0c666 fetch 1 ,mem_device_flag 
+02e9 c1000000 rtneq mode_24g_device 
+02ea 6a4149fe fetchr regb ,2 ,mem_otp_offset_le_addr_increase_count 
+02eb 1a422600 copy regb ,regc 
+
+p_mouse_read_otp_le_addr_increase_count_loop:
+02ec 20405e3d call mouse_read_otp_le_addr_increase_count_common 
+02ed 6fe149e0 fetch 2 ,mem_random_addr_increase_count_temp 
+02ee 203a02f6 branch p_mouse_le_addr_increase_count_load ,blank 
+02ef 67e149de store 2 ,mem_random_addr_increase_count_last 
+02f0 1a60a602 increase 2 ,regc 
+02f1 6fe14a00 fetch 2 ,mem_otp_offset_le_addr_increase_count_end 
+02f2 9a667c00 isub regc ,null 
+02f3 242102f6 nbranch p_mouse_le_addr_increase_count_load ,positive 
+02f4 1a622400 copy regc ,regb 
+02f5 202002ec branch p_mouse_read_otp_le_addr_increase_count_loop 
+
+p_mouse_le_addr_increase_count_load:
+02f6 6fe149de fetch 2 ,mem_random_addr_increase_count_last 
+02f7 67e14695 store 2 ,mem_random_addr_increase_count 
+02f8 20600000 rtn 
+
+p_mouse_store_device_info:
+02f9 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+02fa c289dcb1 bbit1 mouse_enable_eeprom ,mouse_store_eeprom_device_info 
+02fb c2895cb9 bbit1 mouse_enable_flash ,mouse_store_flash_device_info 
+02fc c28a02fe bbit1 mouse_enable_otp ,p_mouse_store_otp_device_info 
+02fd 20600000 rtn 
+
+p_mouse_store_otp_device_info:
+02fe 20400301 call p_mouse_write_otp_locall_addr 
+02ff 20400306 call p_mouse_write_otp_device_flag 
+0300 20205cc1 branch mouse_store_otp_device_info + 1 
+
+p_mouse_write_otp_locall_addr:
+0301 6fe0c666 fetch 1 ,mem_device_flag 
+0302 c1000000 rtneq mode_24g_device 
+0303 c000832d beq mode_bt_device1 ,p_mouse_write_otp_le_locall_addr1 
+0304 c0010341 beq mode_bt_device2 ,p_mouse_write_otp_le_locall_addr2 
+0305 20600000 rtn 
+
+p_mouse_write_otp_device_flag:
+0306 6a4149e2 fetchr regb ,2 ,mem_otp_offset_device_flag 
+0307 1a422600 copy regb ,regc 
+
+p_mouse_write_otp_device_flag_loop:
+0308 20405dc0 call mouse_read_otp_device_flag_common 
+0309 6fe0c9a1 fetch 1 ,mem_device_flag_temp 
+030a 203a0312 branch p_mouse_device_flag_store ,blank 
+030b 67e0c9a0 store 1 ,mem_device_flag_last 
+030c 1a60a601 increase 1 ,regc 
+030d 6fe149e4 fetch 2 ,mem_otp_offset_device_flag_end 
+030e 9a667c00 isub regc ,null 
+030f 24610000 nrtn positive 
+0310 1a622400 copy regc ,regb 
+0311 20200308 branch p_mouse_write_otp_device_flag_loop 
+
+p_mouse_device_flag_store:
+0312 6fe0c9a0 fetch 1 ,mem_device_flag_last 
+0313 1fe17ef0 and pdata ,0xf0 ,pdata 
+0314 203a031c branch p_mouse_device_flag_store_check ,blank 
+0315 6fe0c666 fetch 1 ,mem_device_flag 
+0316 2040032a call p_mouse_device_flag_otp_store_judge 
+0317 67e0c9a2 store 1 ,mem_device_flag_value 
+
+p_mouse_device_flag_store_end:
+0318 df200001 arg 1 ,loopcnt 
+0319 1a622400 copy regc ,regb 
+031a da2049a2 arg mem_device_flag_value ,rega 
+031b 20206b45 branch otp_write 
+
+p_mouse_device_flag_store_check:
+031c 6848c9a0 fetcht 1 ,mem_device_flag_last 
+031d 6fe0c666 fetch 1 ,mem_device_flag 
+031e 2040032a call p_mouse_device_flag_otp_store_judge 
+031f 98467c00 isub temp ,null 
+0320 20628000 rtn zero 
+0321 1ff27e00 lshift4 pdata ,pdata 
+0322 9840fe00 iadd temp ,pdata 
+0323 67e0c9a2 store 1 ,mem_device_flag_value 
+0324 1a627e00 copy regc ,pdata 
+0325 684949e2 fetcht 2 ,mem_otp_offset_device_flag 
+0326 98467c00 isub temp ,null 
+0327 20228318 branch p_mouse_device_flag_store_end ,zero 
+0328 1a60a7ff increase -1 ,regc 
+0329 20200318 branch p_mouse_device_flag_store_end 
+
+p_mouse_device_flag_otp_store_judge:
+032a c1800000 rtnne mode_24g_device 
+032b 1fe0fe04 increase 4 ,pdata 
+032c 20600000 rtn 
+
+p_mouse_write_otp_le_locall_addr1:
+032d 6a4149ee fetchr regb ,2 ,mem_otp_offset_le_locall_addr1 
+032e 1a422600 copy regb ,regc 
+
+p_mouse_write_otp_le_locall_addr1_loop:
+032f 20405df3 call mouse_read_otp_le_locall_addr1_common 
+0330 6fe349b5 fetch 6 ,mem_mouse_le_locall_addr1_temp 
+0331 203a0339 branch p_mouse_le_local_addr1_store ,blank 
+0332 67e349af store 6 ,mem_mouse_le_locall_addr1_last 
+0333 1a60a606 increase 6 ,regc 
+0334 6fe149f0 fetch 2 ,mem_otp_offset_le_locall_addr1_end 
+0335 9a667c00 isub regc ,null 
+0336 24610000 nrtn positive 
+0337 1a622400 copy regc ,regb 
+0338 2020032f branch p_mouse_write_otp_le_locall_addr1_loop 
+
+p_mouse_le_local_addr1_store:
+0339 6fe349af fetch 6 ,mem_mouse_le_locall_addr1_last 
+033a 684b466e fetcht 6 ,mem_device1_locall_addr 
+033b 98467c00 isub temp ,null 
+033c 20628000 rtn zero 
+033d df200006 arg 6 ,loopcnt 
+033e da20466e arg mem_device1_locall_addr ,rega 
+033f 1a622400 copy regc ,regb 
+0340 20206b45 branch otp_write 
+
+p_mouse_write_otp_le_locall_addr2:
+0341 6a4149f6 fetchr regb ,2 ,mem_otp_offset_le_locall_addr2 
+0342 1a422600 copy regb ,regc 
+
+p_mouse_write_otp_le_locall_addr2_loop:
+0343 20405e17 call mouse_read_otp_le_locall_addr2_common 
+0344 6fe349cd fetch 6 ,mem_mouse_le_locall_addr2_temp 
+0345 203a034d branch p_mouse_le_local_addr2_store ,blank 
+0346 67e349c7 store 6 ,mem_mouse_le_locall_addr2_last 
+0347 1a60a606 increase 6 ,regc 
+0348 6fe149f8 fetch 2 ,mem_otp_offset_le_locall_addr2_end 
+0349 9a667c00 isub regc ,null 
+034a 24610000 nrtn positive 
+034b 1a622400 copy regc ,regb 
+034c 20200343 branch p_mouse_write_otp_le_locall_addr2_loop 
+
+p_mouse_le_local_addr2_store:
+034d 6fe349c7 fetch 6 ,mem_mouse_le_locall_addr2_last 
+034e 684b467b fetcht 6 ,mem_device2_locall_addr 
+034f 98467c00 isub temp ,null 
+0350 20628000 rtn zero 
+0351 df200006 arg 6 ,loopcnt 
+0352 da20467b arg mem_device2_locall_addr ,rega 
+0353 1a622400 copy regc ,regb 
+0354 20206b45 branch otp_write 
 
 p_mouse_load_device_info:
-02cf 20400308 call p_mouse_le_locall_addr_init_check 
-02d0 20400320 call p_mouse_select_reconn_device 
-02d1 204002d3 call p_mouse_otp_load_dpi 
-02d2 20205c90 branch mouse_load_device_info + 1 
+0355 2040038e call p_mouse_le_locall_addr_init_check 
+0356 204003a6 call p_mouse_select_reconn_device 
+0357 20400359 call p_mouse_otp_load_dpi 
+0358 20205c90 branch mouse_load_device_info + 1 
 
 p_mouse_otp_load_dpi:
-02d3 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-02d4 c4078000 rtnbit0 mouse_enable_load_and_store_dpi 
-02d5 6fe0c690 fetch 1 ,mem_mouse_dpi 
-02d6 c0005c94 beq 0 ,mouse_otp_load_dpi 
-02d7 c00302d9 beq 6 ,p_mouse_dpi_reinit 
-02d8 20600000 rtn 
+0359 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+035a c4078000 rtnbit0 mouse_enable_load_and_store_dpi 
+035b 6fe0c690 fetch 1 ,mem_mouse_dpi 
+035c c0005c94 beq 0 ,mouse_otp_load_dpi 
+035d c003035f beq 6 ,p_mouse_dpi_reinit 
+035e 20600000 rtn 
 
 p_mouse_dpi_reinit:
-02d9 70469000 jam mouse_dpi_level1 ,mem_mouse_dpi 
-02da 20600000 rtn 
+035f 70469000 jam mouse_dpi_level1 ,mem_mouse_dpi 
+0360 20600000 rtn 
 
 p_mouse_store_dpi_info_check:
-02db 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-02dc c289dcb5 bbit1 mouse_enable_eeprom ,mouse_store_eerpom_dpi 
-02dd c28a02df bbit1 mouse_enable_otp ,p_mouse_store_otp_dpi 
-02de 20600000 rtn 
+0361 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0362 c289dcb5 bbit1 mouse_enable_eeprom ,mouse_store_eerpom_dpi 
+0363 c28a0365 bbit1 mouse_enable_otp ,p_mouse_store_otp_dpi 
+0364 20600000 rtn 
 
 p_mouse_store_otp_dpi:
-02df 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-02e0 c4078000 rtnbit0 mouse_enable_load_and_store_dpi 
-02e1 6a4149fa fetchr regb ,2 ,mem_otp_offset_dpi 
-02e2 1a422600 copy regb ,regc 
+0365 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0366 c4078000 rtnbit0 mouse_enable_load_and_store_dpi 
+0367 6a4149fa fetchr regb ,2 ,mem_otp_offset_dpi 
+0368 1a422600 copy regb ,regc 
 
 p_mouse_otp_store_dpi_loop:
-02e3 20405e51 call mouse_read_otp_dpi_common 
-02e4 6fe0c9d4 fetch 1 ,mem_mouse_dpi_temp 
-02e5 203a02ed branch p_mouse_otp_dpi_store ,blank 
-02e6 67e0c9d3 store 1 ,mem_mouse_dpi_last 
-02e7 1a60a601 increase 1 ,regc 
-02e8 6fe149fc fetch 2 ,mem_otp_offset_dpi_end 
-02e9 9a667c00 isub regc ,null 
-02ea 24610000 nrtn positive 
-02eb 1a622400 copy regc ,regb 
-02ec 202002e3 branch p_mouse_otp_store_dpi_loop 
+0369 20405e51 call mouse_read_otp_dpi_common 
+036a 6fe0c9d4 fetch 1 ,mem_mouse_dpi_temp 
+036b 203a0373 branch p_mouse_otp_dpi_store ,blank 
+036c 67e0c9d3 store 1 ,mem_mouse_dpi_last 
+036d 1a60a601 increase 1 ,regc 
+036e 6fe149fc fetch 2 ,mem_otp_offset_dpi_end 
+036f 9a667c00 isub regc ,null 
+0370 24610000 nrtn positive 
+0371 1a622400 copy regc ,regb 
+0372 20200369 branch p_mouse_otp_store_dpi_loop 
 
 p_mouse_otp_dpi_store:
-02ed 6fe0c9d3 fetch 1 ,mem_mouse_dpi_last 
-02ee 1fe17ef0 and pdata ,0xf0 ,pdata 
-02ef 203a02f7 branch p_mouse_dpi_store_last_check ,blank 
-02f0 6fe0c690 fetch 1 ,mem_mouse_dpi 
-02f1 20400305 call p_mouse_dpi_otp_store_judge 
-02f2 67e0c9d5 store 1 ,mem_mouse_otp_dpi_value 
+0373 6fe0c9d3 fetch 1 ,mem_mouse_dpi_last 
+0374 1fe17ef0 and pdata ,0xf0 ,pdata 
+0375 203a037d branch p_mouse_dpi_store_last_check ,blank 
+0376 6fe0c690 fetch 1 ,mem_mouse_dpi 
+0377 2040038b call p_mouse_dpi_otp_store_judge 
+0378 67e0c9d5 store 1 ,mem_mouse_otp_dpi_value 
 
 p_mouse_dpi_store_end:
-02f3 df200001 arg 1 ,loopcnt 
-02f4 1a622400 copy regc ,regb 
-02f5 da2049d5 arg mem_mouse_otp_dpi_value ,rega 
-02f6 20206b45 branch otp_write 
+0379 df200001 arg 1 ,loopcnt 
+037a 1a622400 copy regc ,regb 
+037b da2049d5 arg mem_mouse_otp_dpi_value ,rega 
+037c 20206b45 branch otp_write 
 
 p_mouse_dpi_store_last_check:
-02f7 6848c9d3 fetcht 1 ,mem_mouse_dpi_last 
-02f8 6fe0c690 fetch 1 ,mem_mouse_dpi 
-02f9 20400305 call p_mouse_dpi_otp_store_judge 
-02fa 98467c00 isub temp ,null 
-02fb 20628000 rtn zero 
-02fc 1ff27e00 lshift4 pdata ,pdata 
-02fd 9840fe00 iadd temp ,pdata 
-02fe 67e0c9d5 store 1 ,mem_mouse_otp_dpi_value 
-02ff 1a627e00 copy regc ,pdata 
-0300 684949fa fetcht 2 ,mem_otp_offset_dpi 
-0301 98467c00 isub temp ,null 
-0302 202282f3 branch p_mouse_dpi_store_end ,zero 
-0303 1a60a7ff increase -1 ,regc 
-0304 202002f3 branch p_mouse_dpi_store_end 
+037d 6848c9d3 fetcht 1 ,mem_mouse_dpi_last 
+037e 6fe0c690 fetch 1 ,mem_mouse_dpi 
+037f 2040038b call p_mouse_dpi_otp_store_judge 
+0380 98467c00 isub temp ,null 
+0381 20628000 rtn zero 
+0382 1ff27e00 lshift4 pdata ,pdata 
+0383 9840fe00 iadd temp ,pdata 
+0384 67e0c9d5 store 1 ,mem_mouse_otp_dpi_value 
+0385 1a627e00 copy regc ,pdata 
+0386 684949fa fetcht 2 ,mem_otp_offset_dpi 
+0387 98467c00 isub temp ,null 
+0388 20228379 branch p_mouse_dpi_store_end ,zero 
+0389 1a60a7ff increase -1 ,regc 
+038a 20200379 branch p_mouse_dpi_store_end 
 
 p_mouse_dpi_otp_store_judge:
-0305 c1800000 rtnne mouse_dpi_level1 
-0306 1fe0fe06 increase 6 ,pdata 
-0307 20600000 rtn 
+038b c1800000 rtnne mouse_dpi_level1 
+038c 1fe0fe06 increase 6 ,pdata 
+038d 20600000 rtn 
 
 p_mouse_le_locall_addr_init_check:
-0308 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0309 c29f030f bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_le_addr1_init_check 
-030a 6fe0c666 fetch 1 ,mem_device_flag 
-030b c1000000 rtneq mode_24g_device 
-030c c000830f beq mode_bt_device1 ,p_mouse_le_addr1_init_check 
-030d c0010316 beq mode_bt_device2 ,p_mouse_le_addr2_init_check 
-030e 20600000 rtn 
+038e 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+038f c29f0395 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_le_addr1_init_check 
+0390 6fe0c666 fetch 1 ,mem_device_flag 
+0391 c1000000 rtneq mode_24g_device 
+0392 c0008395 beq mode_bt_device1 ,p_mouse_le_addr1_init_check 
+0393 c001039c beq mode_bt_device2 ,p_mouse_le_addr2_init_check 
+0394 20600000 rtn 
 
 p_mouse_le_addr1_init_check:
-030f 6fe3466e fetch 6 ,mem_device1_locall_addr 
-0310 684b46e6 fetcht 6 ,mem_mouse_compare_addr 
-0311 98467c00 isub temp ,null 
-0312 24628000 nrtn zero 
-0313 6fe342db fetch 6 ,mem_le_lap 
-0314 67e3466e store 6 ,mem_device1_locall_addr 
-0315 20600000 rtn 
+0395 6fe3466e fetch 6 ,mem_device1_locall_addr 
+0396 684b46e6 fetcht 6 ,mem_mouse_compare_addr 
+0397 98467c00 isub temp ,null 
+0398 24628000 nrtn zero 
+0399 6fe342db fetch 6 ,mem_le_lap 
+039a 67e3466e store 6 ,mem_device1_locall_addr 
+039b 20600000 rtn 
 
 p_mouse_le_addr2_init_check:
-0316 6fe3466e fetch 6 ,mem_device1_locall_addr 
-0317 684b46e6 fetcht 6 ,mem_mouse_compare_addr 
-0318 98467c00 isub temp ,null 
-0319 24628000 nrtn zero 
-031a 6fe342db fetch 6 ,mem_le_lap 
-031b 1fe0ff00 add pdata ,0x0100 ,pdata 
-031c 67e3466e store 6 ,mem_device1_locall_addr 
-031d 20600000 rtn 
+039c 6fe3466e fetch 6 ,mem_device1_locall_addr 
+039d 684b46e6 fetcht 6 ,mem_mouse_compare_addr 
+039e 98467c00 isub temp ,null 
+039f 24628000 nrtn zero 
+03a0 6fe342db fetch 6 ,mem_le_lap 
+03a1 1fe0ff00 add pdata ,0x0100 ,pdata 
+03a2 67e3466e store 6 ,mem_device1_locall_addr 
+03a3 20600000 rtn 
 
 p_mouse_buletooth_fast_conn_end:
-031e 20400320 call p_mouse_select_reconn_device 
-031f 20205a9c branch mouse_buletooth_fast_conn_end + 2 
+03a4 204003a6 call p_mouse_select_reconn_device 
+03a5 20205a9c branch mouse_buletooth_fast_conn_end + 2 
 
 p_mouse_select_reconn_device:
-0320 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0321 c30a5c6f bbit0 mouse_enable_otp ,mouse_select_reconn_device 
-0322 c29f0328 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_load_le_device1 
+03a6 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+03a7 c30a5c6f bbit0 mouse_enable_otp ,mouse_select_reconn_device 
+03a8 c29f03ae bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_load_le_device1 
 
 p_mouse_select_reconn_device_start:
-0323 6fe0c666 fetch 1 ,mem_device_flag 
-0324 c1000000 rtneq mode_24g_device 
-0325 c0008328 beq mode_bt_device1 ,p_mouse_load_le_device1 
-0326 c001032d beq mode_bt_device2 ,p_mouse_load_le_device2 
-0327 20600000 rtn 
+03a9 6fe0c666 fetch 1 ,mem_device_flag 
+03aa c1000000 rtneq mode_24g_device 
+03ab c00083ae beq mode_bt_device1 ,p_mouse_load_le_device1 
+03ac c00103b3 beq mode_bt_device2 ,p_mouse_load_le_device2 
+03ad 20600000 rtn 
 
 p_mouse_load_le_device1:
-0328 6fe34668 fetch 6 ,mem_device1_addr 
-0329 67e34116 store 6 ,mem_hci_plap 
-032a 6fe3466e fetch 6 ,mem_device1_locall_addr 
-032b 67e342db store 6 ,mem_le_lap 
-032c 20600000 rtn 
+03ae 6fe34668 fetch 6 ,mem_device1_addr 
+03af 67e34116 store 6 ,mem_hci_plap 
+03b0 6fe3466e fetch 6 ,mem_device1_locall_addr 
+03b1 67e342db store 6 ,mem_le_lap 
+03b2 20600000 rtn 
 
 p_mouse_load_le_device2:
-032d 6fe34675 fetch 6 ,mem_device2_addr 
-032e 67e34116 store 6 ,mem_hci_plap 
-032f 6fe3467b fetch 6 ,mem_device2_locall_addr 
-0330 67e342db store 6 ,mem_le_lap 
-0331 20600000 rtn 
-
-p_mouse_read_otp_le_addr_increase_count_info:
-0332 6fe0c666 fetch 1 ,mem_device_flag 
-0333 c1000000 rtneq mode_24g_device 
-0334 6a4149fe fetchr regb ,2 ,mem_otp_offset_le_addr_increase_count 
-0335 1a422600 copy regb ,regc 
-
-p_mouse_read_otp_le_addr_increase_count_loop:
-0336 20405e3d call mouse_read_otp_le_addr_increase_count_common 
-0337 6fe149e0 fetch 2 ,mem_random_addr_increase_count_temp 
-0338 203a0340 branch p_mouse_le_addr_increase_count_load ,blank 
-0339 67e149de store 2 ,mem_random_addr_increase_count_last 
-033a 1a60a602 increase 2 ,regc 
-033b 6fe14a00 fetch 2 ,mem_otp_offset_le_addr_increase_count_end 
-033c 9a667c00 isub regc ,null 
-033d 24210340 nbranch p_mouse_le_addr_increase_count_load ,positive 
-033e 1a622400 copy regc ,regb 
-033f 20200336 branch p_mouse_read_otp_le_addr_increase_count_loop 
-
-p_mouse_le_addr_increase_count_load:
-0340 6fe149de fetch 2 ,mem_random_addr_increase_count_last 
-0341 67e14695 store 2 ,mem_random_addr_increase_count 
-0342 20600000 rtn 
-
-p_mouse_store_device_info:
-0343 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0344 c289dcb1 bbit1 mouse_enable_eeprom ,mouse_store_eeprom_device_info 
-0345 c2895cb9 bbit1 mouse_enable_flash ,mouse_store_flash_device_info 
-0346 c28a0348 bbit1 mouse_enable_otp ,p_mouse_store_otp_device_info 
-0347 20600000 rtn 
-
-p_mouse_store_otp_device_info:
-0348 2040034b call p_mouse_write_otp_locall_addr 
-0349 20400378 call p_mouse_write_otp_device_flag 
-034a 20205cc1 branch mouse_store_otp_device_info + 1 
-
-p_mouse_write_otp_locall_addr:
-034b 6fe0c666 fetch 1 ,mem_device_flag 
-034c c1000000 rtneq mode_24g_device 
-034d c0008350 beq mode_bt_device1 ,p_mouse_write_otp_le_locall_addr1 
-034e c0010364 beq mode_bt_device2 ,p_mouse_write_otp_le_locall_addr2 
-034f 20600000 rtn 
-
-p_mouse_write_otp_le_locall_addr1:
-0350 6a4149ee fetchr regb ,2 ,mem_otp_offset_le_locall_addr1 
-0351 1a422600 copy regb ,regc 
-
-p_mouse_write_otp_le_locall_addr1_loop:
-0352 20405df3 call mouse_read_otp_le_locall_addr1_common 
-0353 6fe349b5 fetch 6 ,mem_mouse_le_locall_addr1_temp 
-0354 203a035c branch p_mouse_le_local_addr1_store ,blank 
-0355 67e349af store 6 ,mem_mouse_le_locall_addr1_last 
-0356 1a60a606 increase 6 ,regc 
-0357 6fe149f0 fetch 2 ,mem_otp_offset_le_locall_addr1_end 
-0358 9a667c00 isub regc ,null 
-0359 24610000 nrtn positive 
-035a 1a622400 copy regc ,regb 
-035b 20200352 branch p_mouse_write_otp_le_locall_addr1_loop 
-
-p_mouse_le_local_addr1_store:
-035c 6fe349af fetch 6 ,mem_mouse_le_locall_addr1_last 
-035d 684b466e fetcht 6 ,mem_device1_locall_addr 
-035e 98467c00 isub temp ,null 
-035f 20628000 rtn zero 
-0360 df200006 arg 6 ,loopcnt 
-0361 da20466e arg mem_device1_locall_addr ,rega 
-0362 1a622400 copy regc ,regb 
-0363 20206b45 branch otp_write 
-
-p_mouse_write_otp_le_locall_addr2:
-0364 6a4149f6 fetchr regb ,2 ,mem_otp_offset_le_locall_addr2 
-0365 1a422600 copy regb ,regc 
-
-p_mouse_write_otp_le_locall_addr2_loop:
-0366 20405e17 call mouse_read_otp_le_locall_addr2_common 
-0367 6fe349cd fetch 6 ,mem_mouse_le_locall_addr2_temp 
-0368 203a0370 branch p_mouse_le_local_addr2_store ,blank 
-0369 67e349c7 store 6 ,mem_mouse_le_locall_addr2_last 
-036a 1a60a606 increase 6 ,regc 
-036b 6fe149f8 fetch 2 ,mem_otp_offset_le_locall_addr2_end 
-036c 9a667c00 isub regc ,null 
-036d 24610000 nrtn positive 
-036e 1a622400 copy regc ,regb 
-036f 20200366 branch p_mouse_write_otp_le_locall_addr2_loop 
-
-p_mouse_le_local_addr2_store:
-0370 6fe349c7 fetch 6 ,mem_mouse_le_locall_addr2_last 
-0371 684b467b fetcht 6 ,mem_device2_locall_addr 
-0372 98467c00 isub temp ,null 
-0373 20628000 rtn zero 
-0374 df200006 arg 6 ,loopcnt 
-0375 da20467b arg mem_device2_locall_addr ,rega 
-0376 1a622400 copy regc ,regb 
-0377 20206b45 branch otp_write 
-
-p_mouse_write_otp_device_flag:
-0378 6a4149e2 fetchr regb ,2 ,mem_otp_offset_device_flag 
-0379 1a422600 copy regb ,regc 
-
-p_mouse_write_otp_device_flag_loop:
-037a 20405dc0 call mouse_read_otp_device_flag_common 
-037b 6fe0c9a1 fetch 1 ,mem_device_flag_temp 
-037c 203a0384 branch p_mouse_device_flag_store ,blank 
-037d 67e0c9a0 store 1 ,mem_device_flag_last 
-037e 1a60a601 increase 1 ,regc 
-037f 6fe149e4 fetch 2 ,mem_otp_offset_device_flag_end 
-0380 9a667c00 isub regc ,null 
-0381 24610000 nrtn positive 
-0382 1a622400 copy regc ,regb 
-0383 2020037a branch p_mouse_write_otp_device_flag_loop 
-
-p_mouse_device_flag_store:
-0384 6fe0c9a0 fetch 1 ,mem_device_flag_last 
-0385 1fe17ef0 and pdata ,0xf0 ,pdata 
-0386 203a038e branch p_mouse_device_flag_store_check ,blank 
-0387 6fe0c666 fetch 1 ,mem_device_flag 
-0388 2040039c call p_mouse_device_flag_otp_store_judge 
-0389 67e0c9a2 store 1 ,mem_device_flag_value 
-
-p_mouse_devoce_flag_store_end:
-038a df200001 arg 1 ,loopcnt 
-038b 1a622400 copy regc ,regb 
-038c da2049a2 arg mem_device_flag_value ,rega 
-038d 20206b45 branch otp_write 
-
-p_mouse_device_flag_store_check:
-038e 6848c9a0 fetcht 1 ,mem_device_flag_last 
-038f 6fe0c666 fetch 1 ,mem_device_flag 
-0390 2040039c call p_mouse_device_flag_otp_store_judge 
-0391 98467c00 isub temp ,null 
-0392 20628000 rtn zero 
-0393 1ff27e00 lshift4 pdata ,pdata 
-0394 9840fe00 iadd temp ,pdata 
-0395 67e0c9a2 store 1 ,mem_device_flag_value 
-0396 1a627e00 copy regc ,pdata 
-0397 684949e2 fetcht 2 ,mem_otp_offset_device_flag 
-0398 98467c00 isub temp ,null 
-0399 2022838a branch p_mouse_devoce_flag_store_end ,zero 
-039a 1a60a7ff increase -1 ,regc 
-039b 2020038a branch p_mouse_devoce_flag_store_end 
-
-p_mouse_device_flag_otp_store_judge:
-039c c1800000 rtnne mode_24g_device 
-039d 1fe0fe04 increase 4 ,pdata 
-039e 20600000 rtn 
+03b3 6fe34675 fetch 6 ,mem_device2_addr 
+03b4 67e34116 store 6 ,mem_hci_plap 
+03b5 6fe3467b fetch 6 ,mem_device2_locall_addr 
+03b6 67e342db store 6 ,mem_le_lap 
+03b7 20600000 rtn 
 
 p_mouse_store_remote_bdaddr:
-039f 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-03a0 c4010000 rtnbit0 mouse_store_eeprom_flag 
-03a1 c30a5c43 bbit0 mouse_enable_otp ,mouse_store_remote_bdaddr + 1 
-03a2 d8e00002 arg mouse_store_eeprom_flag ,queue 
-03a3 20405f04 call mouse_disable_function_flag 
-03a4 20405c4a call mouse_check_device_addr 
-03a5 204003a7 call p_mouse_before_store_reconn_info 
-03a6 20205ca3 branch mouse_store_device_info_delay 
+03b8 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+03b9 c4010000 rtnbit0 mouse_store_eeprom_flag 
+03ba c30a5c43 bbit0 mouse_enable_otp ,mouse_store_remote_bdaddr + 1 
+03bb d8e00002 arg mouse_store_eeprom_flag ,queue 
+03bc 20405f04 call mouse_disable_function_flag 
+03bd 20405c4a call mouse_check_device_addr 
+03be 204003c0 call p_mouse_before_store_reconn_info 
+03bf 20205ca3 branch mouse_store_device_info_delay 
 
 p_mouse_before_store_reconn_info:
-03a7 6fe0c666 fetch 1 ,mem_device_flag 
-03a8 c00083ab beq mode_bt_device1 ,p_mouse_store_le_device1 
-03a9 c00103b0 beq mode_bt_device2 ,p_mouse_store_le_device2 
-03aa 20600000 rtn 
+03c0 6fe0c666 fetch 1 ,mem_device_flag 
+03c1 c00083c4 beq mode_bt_device1 ,p_mouse_store_le_device1 
+03c2 c00103c9 beq mode_bt_device2 ,p_mouse_store_le_device2 
+03c3 20600000 rtn 
 
 p_mouse_store_le_device1:
-03ab 6fe30178 fetch 6 ,mem_le_plap 
-03ac 67e34668 store 6 ,mem_device1_addr 
-03ad 6fe342db fetch 6 ,mem_le_lap 
-03ae 67e3466e store 6 ,mem_device1_locall_addr 
-03af 20600000 rtn 
+03c4 6fe30178 fetch 6 ,mem_le_plap 
+03c5 67e34668 store 6 ,mem_device1_addr 
+03c6 6fe342db fetch 6 ,mem_le_lap 
+03c7 67e3466e store 6 ,mem_device1_locall_addr 
+03c8 20600000 rtn 
 
 p_mouse_store_le_device2:
-03b0 6fe30178 fetch 6 ,mem_le_plap 
-03b1 67e34675 store 6 ,mem_device2_addr 
-03b2 6fe342db fetch 6 ,mem_le_lap 
-03b3 67e3467b store 6 ,mem_device2_locall_addr 
-03b4 20600000 rtn 
+03c9 6fe30178 fetch 6 ,mem_le_plap 
+03ca 67e34675 store 6 ,mem_device2_addr 
+03cb 6fe342db fetch 6 ,mem_le_lap 
+03cc 67e3467b store 6 ,mem_device2_locall_addr 
+03cd 20600000 rtn 
 
 p_mouse_bb_event_timer:
-03b5 204003cb call p_mouse_le_send_conn_param_update_timer 
-03b6 2040614d call mouse_low_voltage_led_timer 
-03b7 2040553d call mouse_adc_read 
-03b8 20406110 call mouse_logo_led_on_timer 
-03b9 204061b1 call mouse_led_multi_timer 
-03ba 2040611e call mouse_dpi_led_blink_delay_timer 
-03bb 2040328e call g24_pair_timeout_timer 
-03bc 20403531 call g24_reconn_timeout_timer 
-03bd 20405fdd call mouse_24g_long_sleep_param_update_timer 
-03be 2040572c call mouse_dpi_key_check_long_press 
-03bf 20405b9b call mouse_bt_discovery_check 
-03c0 20405bab call mouse_commbination_key_process 
-03c1 20405bce call mouse_check_discovery_timeout_timer 
-03c2 20405bd3 call mouse_check_direct_timeout_timer 
-03c3 20405be1 call mouse_le_enable_att_list_timer 
-03c4 20405bee call mouse_le_battery_updata_timer 
-03c5 20405be4 call mouse_le_send_smp_security_request_timer 
-03c6 20405bfb call mouse_check_reconnect_delay_long_sleep 
-03c7 204003ce call p_mouse_current_mult_update_timer 
-03c8 204056b6 call mouse_wheel_trigger_timer 
-03c9 20405c0e call mouse_store_information_delay_timer 
-03ca 20205c05 branch mouse_check_no_data_timeout_timer 
+03ce 204003e4 call p_mouse_le_send_conn_param_update_timer 
+03cf 2040614d call mouse_low_voltage_led_timer 
+03d0 2040553d call mouse_adc_read 
+03d1 20406110 call mouse_logo_led_on_timer 
+03d2 204061b1 call mouse_led_multi_timer 
+03d3 2040611e call mouse_dpi_led_blink_delay_timer 
+03d4 2040328e call g24_pair_timeout_timer 
+03d5 20403531 call g24_reconn_timeout_timer 
+03d6 20405fdd call mouse_24g_long_sleep_param_update_timer 
+03d7 2040572c call mouse_dpi_key_check_long_press 
+03d8 20405b9b call mouse_bt_discovery_check 
+03d9 20405bab call mouse_commbination_key_process 
+03da 20405bce call mouse_check_discovery_timeout_timer 
+03db 20405bd3 call mouse_check_direct_timeout_timer 
+03dc 20405be1 call mouse_le_enable_att_list_timer 
+03dd 20405bee call mouse_le_battery_updata_timer 
+03de 20405be4 call mouse_le_send_smp_security_request_timer 
+03df 20405bfb call mouse_check_reconnect_delay_long_sleep 
+03e0 204003e7 call p_mouse_current_mult_update_timer 
+03e1 204056b6 call mouse_wheel_trigger_timer 
+03e2 20405c0e call mouse_store_information_delay_timer 
+03e3 20205c05 branch mouse_check_no_data_timeout_timer 
 
 p_mouse_le_send_conn_param_update_timer:
-03cb da604a05 arg mem_mouse_le_send_conn_param_update_timer ,regc 
-03cc da405aef arg mouse_updata_le_param ,regb 
-03cd 202042e0 branch timer_single_step 
+03e4 da604a05 arg mem_mouse_le_send_conn_param_update_timer ,regc 
+03e5 da405aef arg mouse_updata_le_param ,regb 
+03e6 202042e0 branch timer_single_step 
 
 p_mouse_current_mult_update_timer:
-03ce da60477e arg mem_mouse_current_mult_timer ,regc 
-03cf da4003d1 arg p_mouse_current_mult_reinit ,regb 
-03d0 202042e0 branch timer_single_step 
+03e7 da60477e arg mem_mouse_current_mult_timer ,regc 
+03e8 da4003ea arg p_mouse_current_mult_reinit ,regb 
+03e9 202042e0 branch timer_single_step 
 
 p_mouse_current_mult_reinit:
-03d1 6fe0c96b fetch 1 ,mem_lpm_mult_init 
-03d2 67e0c0c0 store 1 ,mem_lpm_mult 
-03d3 70477d03 jam 3 ,mem_mouse_long_mult_flag 
-03d4 20600000 rtn 
+03ea 6fe0c96b fetch 1 ,mem_lpm_mult_init 
+03eb 67e0c0c0 store 1 ,mem_lpm_mult 
+03ec 70477d03 jam 3 ,mem_mouse_long_mult_flag 
+03ed 20600000 rtn 
 
 p_mouse_priority_bb_event:
-03d5 1a627e00 copy regc ,pdata 
-03d6 c02003dc beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
-03d7 c00a83e1 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
-03d8 c01e03e5 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-03d9 c01c83f6 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-03da c01d03f9 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-03db 20205ac3 branch mouse_priority_bb_event + 2 
+03ee 1a627e00 copy regc ,pdata 
+03ef c02003f5 beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
+03f0 c00a83fa beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
+03f1 c01e03fe beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+03f2 c01c840f beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+03f3 c01d0412 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+03f4 20205ac3 branch mouse_priority_bb_event + 2 
 
 p_mouse_le_conn_param_update_rsp_recieved:
-03dc 6fe0ca04 fetch 1 ,mem_mouse_le_send_conn_param_update 
-03dd 247a0000 nrtn blank 
-03de 704a0401 jam 1 ,mem_mouse_le_send_conn_param_update 
-03df 704a051e jam 30 ,mem_mouse_le_send_conn_param_update_timer 
-03e0 20600000 rtn 
+03f5 6fe0ca04 fetch 1 ,mem_mouse_le_send_conn_param_update 
+03f6 247a0000 nrtn blank 
+03f7 704a0401 jam 1 ,mem_mouse_le_send_conn_param_update 
+03f8 704a051e jam 30 ,mem_mouse_le_send_conn_param_update_timer 
+03f9 20600000 rtn 
 
 p_mouse_le_bb_disconnected:
-03e1 58000000 setarg 0 
-03e2 67e0ca04 store 1 ,mem_mouse_le_send_conn_param_update 
-03e3 67e0ca05 store 1 ,mem_mouse_le_send_conn_param_update_timer 
-03e4 20205ae0 branch mouse_le_bb_disconnected 
+03fa 58000000 setarg 0 
+03fb 67e0ca04 store 1 ,mem_mouse_le_send_conn_param_update 
+03fc 67e0ca05 store 1 ,mem_mouse_le_send_conn_param_update_timer 
+03fd 20205ae0 branch mouse_le_bb_disconnected 
 
 p_mouse_24g_attempt_success:
-03e5 6fe2458f fetch 4 ,mem_24g_addr 
-03e6 67e245e8 store 4 ,mem_24g_receiver_addr 
-03e7 67e24691 store 4 ,mem_mouse_24g_addr 
-03e8 2040355a call g24_ch_syncword_crc8_init 
-03e9 20405c0b call mouse_no_data_timer_init 
-03ea 2040618e call mouse_device_poweron_led_config 
-03eb 20405a73 call mouse_init_sensor_reset 
-03ec 70477d00 jam 0 ,mem_mouse_long_mult_flag 
-03ed 7045fc00 jam 0 ,mem_24g_conn_sm 
-03ee 7045e200 jam 0 ,mem_24g_reconn_type 
-03ef 6fe245e8 fetch 4 ,mem_24g_receiver_addr 
-03f0 684a45e4 fetcht 4 ,mem_24g_fast_conn_addr 
-03f1 98467c00 isub temp ,null 
-03f2 20628000 rtn zero 
-03f3 20406016 call mouse_soft_agc_disable 
-03f4 2040040c call p_mouse_fetch_normal_tx_power 
-03f5 20206042 branch mouse_24g_first_store_reconn_info 
+03fe 6fe2458f fetch 4 ,mem_24g_addr 
+03ff 67e245e8 store 4 ,mem_24g_receiver_addr 
+0400 67e24691 store 4 ,mem_mouse_24g_addr 
+0401 2040355a call g24_ch_syncword_crc8_init 
+0402 20405c0b call mouse_no_data_timer_init 
+0403 2040618e call mouse_device_poweron_led_config 
+0404 20405a73 call mouse_init_sensor_reset 
+0405 70477d00 jam 0 ,mem_mouse_long_mult_flag 
+0406 7045fc00 jam 0 ,mem_24g_conn_sm 
+0407 7045e200 jam 0 ,mem_24g_reconn_type 
+0408 6fe245e8 fetch 4 ,mem_24g_receiver_addr 
+0409 684a45e4 fetcht 4 ,mem_24g_fast_conn_addr 
+040a 98467c00 isub temp ,null 
+040b 20628000 rtn zero 
+040c 20406016 call mouse_soft_agc_disable 
+040d 20400446 call p_mouse_fetch_normal_tx_power 
+040e 20206042 branch mouse_24g_first_store_reconn_info 
 
 p_mouse_24g_pairing_complete:
-03f6 20406016 call mouse_soft_agc_disable 
-03f7 2040040c call p_mouse_fetch_normal_tx_power 
-03f8 20206084 branch mouse_24g_pairing_complete 
+040f 20406016 call mouse_soft_agc_disable 
+0410 20400446 call p_mouse_fetch_normal_tx_power 
+0411 20206084 branch mouse_24g_pairing_complete 
 
 p_mouse_24g_attempt_fail:
-03f9 20406016 call mouse_soft_agc_disable 
-03fa 2040040c call p_mouse_fetch_normal_tx_power 
-03fb 6fe0c87a fetch 1 ,mem_mouse_dpi_button_state 
-03fc c1008000 rtneq dpi_button_state_down 
-03fd 6fe0c600 fetch 1 ,mem_24g_attempt_fail_flag 
-03fe 243a5ff2 nbranch mouse_24g_hibernate_set ,blank 
-03ff 6fe0c5e2 fetch 1 ,mem_24g_reconn_type 
-0400 c0020402 beq pair_and_3_0_addr ,p_mouse_24g_auto_pair_attempt_fail 
-0401 20206055 branch mouse_24g_attempt_fail + 2 
+0412 20406016 call mouse_soft_agc_disable 
+0413 20400446 call p_mouse_fetch_normal_tx_power 
+0414 6fe0c87a fetch 1 ,mem_mouse_dpi_button_state 
+0415 c1008000 rtneq dpi_button_state_down 
+0416 6fe0c600 fetch 1 ,mem_24g_attempt_fail_flag 
+0417 243a5ff2 nbranch mouse_24g_hibernate_set ,blank 
+0418 6fe0c5e2 fetch 1 ,mem_24g_reconn_type 
+0419 c002041d beq pair_and_3_0_addr ,p_mouse_24g_auto_pair_attempt_fail 
+041a c000e05f beq fast_conn_and_receiver ,mouse_24g_fast_conn_attempt_fail 
+041b c0018424 beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
+041c 20206055 branch mouse_24g_attempt_fail + 2 
 
 p_mouse_24g_auto_pair_attempt_fail:
-0402 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0403 c31f6059 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
-0404 6fe0c71b fetch 1 ,mem_device_number 
-0405 c000e059 beq 1 ,mouse_24g_attempt_fail_enter_hibernate 
+041d 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+041e c31f6059 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
+041f 6fe0c71b fetch 1 ,mem_device_number 
+0420 c000e059 beq 1 ,mouse_24g_attempt_fail_enter_hibernate 
 
 p_mouse_24g_first_bluetooth_reconnect:
-0406 20406018 call mouse_24g_stop 
-0407 70466601 jam mode_bt_device1 ,mem_device_flag 
-0408 202054a0 branch mouse_start_reconnect_device 
+0421 20406018 call mouse_24g_stop 
+0422 70466601 jam mode_bt_device1 ,mem_device_flag 
+0423 202054a0 branch mouse_start_reconnect_device 
+
+p_mouse_reconn_dongle_attempt_fail:
+0424 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0425 c31f6059 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
+0426 c289e059 bbit1 mouse_enable_eeprom ,mouse_24g_attempt_fail_enter_hibernate 
+0427 c28a6059 bbit1 mouse_enable_otp ,mouse_24g_attempt_fail_enter_hibernate 
+0428 c2896059 bbit1 mouse_enable_flash ,mouse_24g_attempt_fail_enter_hibernate 
+0429 20206034 branch mouse_24g_start_auto_pair 
+
+p_mouse_start_work:
+042a 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+042b c29f042f bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_first_start_auto_pair_mode 
+042c 6fe0c666 fetch 1 ,mem_device_flag 
+042d c0000436 beq mode_24g_device ,p_mouse_24g_start_mode 
+042e 20205491 branch mouse_le_fast_conn_judge 
+
+p_mouse_24g_first_start_auto_pair_mode:
+042f 204054ac call mouse_wakeup_from_power_check 
+0430 20340432 branch p_mouse_24g_first_start_reconn ,user 
+0431 2020602f branch mouse_24g_reconn_general_dongle 
+
+p_mouse_24g_first_start_reconn:
+0432 6fe0c666 fetch 1 ,mem_device_flag 
+0433 c0006067 beq mode_24g_device ,mouse_24g_reconn_dongle_start 
+0434 20405aa8 call mouse_bluetooth_fast_conn_disable 
+0435 20200421 branch p_mouse_24g_first_bluetooth_reconnect 
+
+p_mouse_24g_start_mode:
+0436 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0437 c308e02a bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+0438 20406195 call mouse_device_24g_pair_led_config 
+0439 204054ac call mouse_wakeup_from_power_check 
+043a 20346067 branch mouse_24g_reconn_dongle_start ,user 
+043b 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+043c c298043e bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_reconn_general_dongle 
+043d 20206023 branch mouse_24g_start_mode + 7 
+
+p_mouse_24g_reconn_general_dongle:
+043e 70466600 jam mode_24g_device ,mem_device_flag 
+043f 6fe14721 fetch 2 ,mem_mouse_24g_power_on_fast_conn_timer 
+0440 67e145de store 2 ,mem_24g_reconn_timeout 
+0441 7045e201 jam fast_conn_and_receiver ,mem_24g_reconn_type 
+0442 20203534 branch g24_reconn_start 
 
 p_mouse_store_normal_tx_power:
-0409 6fe0c141 fetch 1 ,mem_tx_power 
-040a 67e0ca07 store 1 ,mem_normal_tx_power 
-040b 20600000 rtn 
+0443 6fe0c141 fetch 1 ,mem_tx_power 
+0444 67e0ca07 store 1 ,mem_normal_tx_power 
+0445 20600000 rtn 
 
 p_mouse_fetch_normal_tx_power:
-040c 6fe0ca07 fetch 1 ,mem_normal_tx_power 
-040d 67e0c141 store 1 ,mem_tx_power 
-040e 20600000 rtn 
+0446 6fe0ca07 fetch 1 ,mem_normal_tx_power 
+0447 67e0c141 store 1 ,mem_tx_power 
+0448 20600000 rtn 
 
 p_mouse_idle:
-040f 2040620e call mouse_low_voltage_led_no_enter_lpm 
-0410 204078aa call ui_check_paring_button 
-0411 20400413 call p_mouse_dpi_check 
-0412 20205e61 branch mouse_idle + 4 
+0449 2040620e call mouse_low_voltage_led_no_enter_lpm 
+044a 204078aa call ui_check_paring_button 
+044b 2040044d call p_mouse_dpi_check 
+044c 20205e61 branch mouse_idle + 4 
 
 p_mouse_dpi_check:
-0413 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
-0414 c17f8000 rtneq gpio_disable 
-0415 da200000 arg 0 ,rega 
-0416 70497705 jam mouse_dpi_key ,mem_mouse_key_temp 
-0417 6848c649 fetcht 1 ,mem_dpi_button_gpio 
-0418 2040041a call p_mouse_dpi_key_check 
-0419 202056c1 branch mouse_dpi_check_next 
+044d 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
+044e c17f8000 rtneq gpio_disable 
+044f da200000 arg 0 ,rega 
+0450 70497705 jam mouse_dpi_key ,mem_mouse_key_temp 
+0451 6848c649 fetcht 1 ,mem_dpi_button_gpio 
+0452 20400454 call p_mouse_dpi_key_check 
+0453 202056c1 branch mouse_dpi_check_next 
 
 p_mouse_dpi_key_check:
-041a 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-041b c295d6de bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
-041c 6fe0c974 fetch 1 ,mem_mouse_dpikey_press_status 
-041d 1fe22600 copy pdata ,regc 
-041e 6fe0c654 fetch 1 ,mem_matrix_public_gpio 
-041f c07f8421 beq gpio_disable ,p_mouse_3io6key_dpi_check 
-0420 202056ce branch mouse_dpi_key_check_next 
+0454 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0455 c295d6de bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+0456 6fe0c974 fetch 1 ,mem_mouse_dpikey_press_status 
+0457 1fe22600 copy pdata ,regc 
+0458 6fe0c654 fetch 1 ,mem_matrix_public_gpio 
+0459 c07f845b beq gpio_disable ,p_mouse_3io6key_dpi_check 
+045a 202056ce branch mouse_dpi_key_check_next 
 
 p_mouse_3io6key_dpi_check:
-0421 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
-0422 20405946 call mouse_gpio_config_output_low 
-0423 6848c649 fetcht 1 ,mem_dpi_button_gpio 
-0424 20200425 branch p_mouse_3io6key_check 
+045b 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
+045c 20405946 call mouse_gpio_config_output_low 
+045d 6848c649 fetcht 1 ,mem_dpi_button_gpio 
+045e 2020045f branch p_mouse_3io6key_check 
 
 p_mouse_3io6key_check:
-0425 1a627e00 copy regc ,pdata 
-0426 67e0c978 store 1 ,mem_mouse_key_status 
-0427 1fe3fe00 lshift pdata ,pdata 
-0428 1fe22400 copy pdata ,regb 
-0429 18422600 copy temp ,regc 
-042a 204055b1 call mouse_gpio_config_input_pd 
-042b 1a620400 copy regc ,temp 
-042c 20406ee6 call gpio_get_bit 
-042d 7d20a400 nsetflag true ,0 ,regb 
-042e 2040593d call mouse_check_press 
-042f 20205929 branch mouse_check_key_connect_gnd_1 
+045f 1a627e00 copy regc ,pdata 
+0460 67e0c978 store 1 ,mem_mouse_key_status 
+0461 1fe3fe00 lshift pdata ,pdata 
+0462 1fe22400 copy pdata ,regb 
+0463 18422600 copy temp ,regc 
+0464 204055b1 call mouse_gpio_config_input_pd 
+0465 1a620400 copy regc ,temp 
+0466 20406ee6 call gpio_get_bit 
+0467 7d20a400 nsetflag true ,0 ,regb 
+0468 2040593d call mouse_check_press 
+0469 20205929 branch mouse_check_key_connect_gnd_1 
 
 p_g24_short_sleep:
-0430 204036b4 call g24_lpm_wait 
-0431 24740000 nrtn user 
-0432 204036be call g24_setgpio_lpm_before 
-0433 20400436 call p_clear_wake 
-0434 6fe1c608 fetch 3 ,mem_24g_short_sleep_set 
-0435 20203622 branch g24_long_seep2 
+046a 204036b4 call g24_lpm_wait 
+046b 24740000 nrtn user 
+046c 204036be call g24_setgpio_lpm_before 
+046d 20400470 call p_clear_wake 
+046e 6fe1c608 fetch 3 ,mem_24g_short_sleep_set 
+046f 20203622 branch g24_long_seep2 
 
 p_clear_wake:
-0436 58000000 setarg 0 
-0437 79207e15 set1 21 ,pdata 
-0438 67e40016 store 8 ,mem_gpio_wakeup_cfg 
-0439 58000000 setarg 0 
-043a 67e2001e store 4 ,mem_gpio_wakeup_cfg + 8 
-043b 20600000 rtn 
+0470 58000000 setarg 0 
+0471 79207e15 set1 21 ,pdata 
+0472 67e40016 store 8 ,mem_gpio_wakeup_cfg 
+0473 58000000 setarg 0 
+0474 67e2001e store 4 ,mem_gpio_wakeup_cfg + 8 
+0475 20600000 rtn 
 
 p_mouse_24g_hibernate_set:
-043c 70460000 jam 0 ,mem_24g_attempt_fail_flag 
-043d 20403647 call g24_transmit_next_packet 
-043e 5fffffff setarg -1 
-043f 67e245af store 4 ,mem_24g_enter_hibernate 
-0440 58000000 setarg 0 
-0441 67e3c846 store 7 ,mem_mouse_key 
-0442 70473f01 jam 1 ,mem_sensor_shutdown_flag 
-0443 204059ed call mouse_sensor_powerdown 
-0444 2020021a branch p_mouse_24g_long_sleep 
+0476 70460000 jam 0 ,mem_24g_attempt_fail_flag 
+0477 20403647 call g24_transmit_next_packet 
+0478 5fffffff setarg -1 
+0479 67e245af store 4 ,mem_24g_enter_hibernate 
+047a 58000000 setarg 0 
+047b 67e3c846 store 7 ,mem_mouse_key 
+047c 70473f01 jam 1 ,mem_sensor_shutdown_flag 
+047d 204059ed call mouse_sensor_powerdown 
+047e 2020622b branch mouse_24g_long_sleep 
 
 p_mouse_setgpio_hibernate:
-0445 20405a92 call mouse_set_sdio_high 
-0446 20400436 call p_clear_wake 
-0447 204056a9 call mouse_before_hibernate_wheel_gpio_set 
-0448 6848c654 fetcht 1 ,mem_matrix_public_gpio 
-0449 20406ef7 call gpio_out_active 
-044a 6848c654 fetcht 1 ,mem_matrix_public_gpio 
-044b 20406ed3 call gpio_clr_wake 
-044c 6fe0c64d fetch 1 ,mem_mouse_sensor_sdio_gpio 
-044d 20405943 call mouse_gpio_config_output_high 
-044e d8400015 arg 21 ,temp 
-044f 204055b5 call mouse_gpio_config_input_pu 
-0450 202054df branch mouse_setgpio_hibernate + 3 
+047f 20405a92 call mouse_set_sdio_high 
+0480 20400470 call p_clear_wake 
+0481 204056a9 call mouse_before_hibernate_wheel_gpio_set 
+0482 6848c654 fetcht 1 ,mem_matrix_public_gpio 
+0483 20406ef7 call gpio_out_active 
+0484 6848c654 fetcht 1 ,mem_matrix_public_gpio 
+0485 20406ed3 call gpio_clr_wake 
+0486 6fe0c64d fetch 1 ,mem_mouse_sensor_sdio_gpio 
+0487 20405943 call mouse_gpio_config_output_high 
+0488 6848c65a fetcht 1 ,mem_device_switch_gpio 
+0489 204055ab call mouse_gpio_set_pupd_by_input 
+048a d8400015 arg 21 ,temp 
+048b 204055b5 call mouse_gpio_config_input_pu 
+048c 2040611a call mouse_logo_led_off 
+048d 2040550c call mouse_lpm_before_common 
+048e 204054f9 call mouse_gpio_pd_idle 
+048f 6848c64a fetcht 1 ,mem_whee_a_data_gpio 
+0490 20406f0f call gpio_set_high_impedance 
+0491 6848c64b fetcht 1 ,mem_whee_b_data_gpio 
+0492 20406f0f call gpio_set_high_impedance 
+0493 6848c65b fetcht 1 ,mem_mouse_reuse_2ice_gpio 
+0494 204055b5 call mouse_gpio_config_input_pu 
+0495 20400497 call p_mouse_gpio_set_high_impedance 
+0496 202054e5 branch mouse_setgpio_hibernate_next 
+
+p_mouse_gpio_set_high_impedance:
+0497 6fe1c73c fetch 3 ,mem_mouse_set_high_impedance_bit_set 
+0498 67e18670 store 3 ,mem_pdatatemp 
+0499 df200018 arg 24 ,loopcnt 
+049a d8400000 arg 0 ,temp 
+
+p_mouse_gpio_set_high_impedance_bit_loop:
+049b 6fe18670 fetch 3 ,mem_pdatatemp 
+049c 2feffe00 isolate1 0 ,pdata 
+049d 204084a4 call p_gpio_set_analog ,true 
+049e 6fe18670 fetch 3 ,mem_pdatatemp 
+049f 1fe37e00 rshift pdata ,pdata 
+04a0 67e18670 store 3 ,mem_pdatatemp 
+04a1 18408401 increase 1 ,temp 
+04a2 c200049b loop p_mouse_gpio_set_high_impedance_bit_loop 
+04a3 20600000 rtn 
+
+p_gpio_set_analog:
+04a4 18467cff sub temp ,ui_button_gpio_disable ,null 
+04a5 20628000 rtn zero 
+04a6 20206f0b branch gpio_set_analog 
 
 p_mouse_24g_package_data:
-0451 c6930000 rtnmark0 mark_24g 
-0452 20405601 call mouse_motion 
-0453 24740000 nrtn user 
-0454 6fe0c77c fetch 1 ,mem_mouse_24g_long_sleep_flag 
-0455 70477c00 jam 0 ,mem_mouse_24g_long_sleep_flag 
-0456 245a0466 ncall p_mouse_24g_short_sleep_clear_wake ,blank 
-0457 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0458 c30b045b bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
-0459 6fe0c96c fetch 1 ,mem_customer_key 
-045a 243a60b6 nbranch mouse_24g_keyboard_package_data ,blank 
+04a7 c6930000 rtnmark0 mark_24g 
+04a8 20405601 call mouse_motion 
+04a9 24740000 nrtn user 
+04aa 6fe0c77c fetch 1 ,mem_mouse_24g_long_sleep_flag 
+04ab 70477c00 jam 0 ,mem_mouse_24g_long_sleep_flag 
+04ac 245a04bc ncall p_mouse_24g_short_sleep_clear_wake ,blank 
+04ad 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+04ae c30b04b1 bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
+04af 6fe0c96c fetch 1 ,mem_customer_key 
+04b0 243a60b6 nbranch mouse_24g_keyboard_package_data ,blank 
 
 p_mouse_24g_mouse_package_data:
-045b 2040045d call p_mouse_data_xy_release 
-045c 202060a2 branch mouse_24g_mouse_package_data + 1 
+04b1 204004b3 call p_mouse_data_xy_release 
+04b2 202060a2 branch mouse_24g_mouse_package_data + 1 
 
 p_mouse_data_xy_release:
-045d 6fe0c659 fetch 1 ,mem_sensor_motion_gpio 
-045e c1ff8000 rtnne gpio_disable 
-045f 6fe0c77d fetch 1 ,mem_mouse_long_mult_flag 
-0460 207a0000 rtn blank 
-0461 1fe0ffff increase -1 ,pdata 
-0462 67e0c77d store 1 ,mem_mouse_long_mult_flag 
-0463 58000000 setarg 0 
-0464 67e24847 store 4 ,mem_mouse_x 
-0465 20205a73 branch mouse_init_sensor_reset 
+04b3 6fe0c659 fetch 1 ,mem_sensor_motion_gpio 
+04b4 c1ff8000 rtnne gpio_disable 
+04b5 6fe0c77d fetch 1 ,mem_mouse_long_mult_flag 
+04b6 207a0000 rtn blank 
+04b7 1fe0ffff increase -1 ,pdata 
+04b8 67e0c77d store 1 ,mem_mouse_long_mult_flag 
+04b9 58000000 setarg 0 
+04ba 67e24847 store 4 ,mem_mouse_x 
+04bb 20205a73 branch mouse_init_sensor_reset 
 
 p_mouse_24g_short_sleep_clear_wake:
-0466 20400436 call p_clear_wake 
-0467 202001d2 branch p_lpm_write_gpio_wakeup 
+04bc 20400470 call p_clear_wake 
+04bd 20200202 branch p_lpm_write_gpio_wakeup 
 
 p_mouse_check_select_device_by_switch:
-0468 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0469 c4150000 rtnbit0 mouse_enable_select_device_by_switch_gpio 
-046a c31fdeb9 bbit0 mouse_enable_switch_gpio_connect_vin ,mouse_switch_gpio_connect_gnd 
+04be 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+04bf c4150000 rtnbit0 mouse_enable_select_device_by_switch_gpio 
+04c0 c31fdeb9 bbit0 mouse_enable_switch_gpio_connect_vin ,mouse_switch_gpio_connect_gnd 
 
 p_mouse_switch_gpio_connect_vin:
-046b 6848c65a fetcht 1 ,mem_device_switch_gpio 
-046c 20406ef7 call gpio_out_active 
-046d 6848c65a fetcht 1 ,mem_device_switch_gpio 
-046e 204055b1 call mouse_gpio_config_input_pd 
-046f 6848c65a fetcht 1 ,mem_device_switch_gpio 
-0470 20406ee6 call gpio_get_bit 
-0471 2420dec2 nbranch mouse_check_select_24g_device ,true 
-0472 20205ebe branch mouse_select_btdevice 
+04c1 6848c65a fetcht 1 ,mem_device_switch_gpio 
+04c2 20406ef7 call gpio_out_active 
+04c3 6848c65a fetcht 1 ,mem_device_switch_gpio 
+04c4 204055b1 call mouse_gpio_config_input_pd 
+04c5 6848c65a fetcht 1 ,mem_device_switch_gpio 
+04c6 20406ee6 call gpio_get_bit 
+04c7 2420dec2 nbranch mouse_check_select_24g_device ,true 
+04c8 20205ebe branch mouse_select_btdevice 
 
 p_mouse_init_sensor:
-0473 20405958 call mouse_read_sensor_id 
-0474 c018595f beq p32xx_id1 ,mouse_init_p32xx_id2_judge 
-0475 c018d9c6 beq p3065_id1 ,mouse_init_p3065 
-0476 c02c0478 beq pka8g2_id1 ,p_mouse_ka8g2_id2_judge 
-0477 20205952 branch mouse_init_sensor + 5 
+04c9 20405958 call mouse_read_sensor_id 
+04ca c018595f beq p32xx_id1 ,mouse_init_p32xx_id2_judge 
+04cb c018d9c6 beq p3065_id1 ,mouse_init_p3065 
+04cc c02c04ce beq pka8g2_id1 ,p_mouse_ka8g2_id2_judge 
+04cd 20205952 branch mouse_init_sensor + 5 
 
 p_mouse_ka8g2_id2_judge:
-0478 204059e7 call mouse_sensor_poweron 
-0479 6fe0c85a fetch 1 ,mem_sensor_id2 
-047a c02c847c beq pka8g2_id2 ,p_mouse_ka8g2_init_param 
-047b 2020595f branch mouse_init_p32xx_id2_judge 
+04ce 204059e7 call mouse_sensor_poweron 
+04cf 6fe0c85a fetch 1 ,mem_sensor_id2 
+04d0 c02c84d2 beq pka8g2_id2 ,p_mouse_ka8g2_init_param 
+04d1 2020595f branch mouse_init_p32xx_id2_judge 
 
 p_mouse_ka8g2_init_param:
-047c 7049570b jam ka8g2 ,mem_config_sensor_type 
-047d da604a0b arg mem_sensor_ka8g2_init_new ,regc 
-047e 20205995 branch mouse_sensor_wr_seq 
+04d2 7049570b jam ka8g2 ,mem_config_sensor_type 
+04d3 da604a0b arg mem_sensor_ka8g2_init_new ,regc 
+04d4 20205995 branch mouse_sensor_wr_seq 
 
 p_mouse_motion:
-047f 78547c00 disable user 
-0480 58000000 setarg 0 
-0481 67e34847 store 6 ,mem_mouse_x 
-0482 20400484 call p_mouse_check_sensor_data 
-0483 20205606 branch mouse_motion + 5 
+04d5 78547c00 disable user 
+04d6 58000000 setarg 0 
+04d7 67e34847 store 6 ,mem_mouse_x 
+04d8 204004da call p_mouse_check_sensor_data 
+04d9 20205606 branch mouse_motion + 5 
 
 p_mouse_check_sensor_data:
-0484 6fe0c420 fetch 1 ,mem_spi_write_flash_sm 
-0485 c1800000 rtnne flash_sm_no_buys 
-0486 6fe0c957 fetch 1 ,mem_config_sensor_type 
-0487 c0058489 beq ka8g2 ,p_mouse_pka8g2_sensor_motion 
-0488 202059f8 branch mouse_check_sensor_data + 2 
+04da 6fe0c420 fetch 1 ,mem_spi_write_flash_sm 
+04db c1800000 rtnne flash_sm_no_buys 
+04dc 6fe0c957 fetch 1 ,mem_config_sensor_type 
+04dd c00584df beq ka8g2 ,p_mouse_pka8g2_sensor_motion 
+04de 202059f8 branch mouse_check_sensor_data + 2 
 
 p_mouse_pka8g2_sensor_motion:
-0489 20405a6d call mouse_clear_sensor_data 
-048a 6fe0c659 fetch 1 ,mem_sensor_motion_gpio 
-048b c07f848f beq gpio_disable ,p_mouse_pka8g2_sensor_motion_1 
-048c 6848c659 fetcht 1 ,mem_sensor_motion_gpio 
-048d 20406ee6 call gpio_get_bit 
-048e 24608000 nrtn true 
+04df 20405a6d call mouse_clear_sensor_data 
+04e0 6fe0c659 fetch 1 ,mem_sensor_motion_gpio 
+04e1 c07f84e5 beq gpio_disable ,p_mouse_pka8g2_sensor_motion_1 
+04e2 6848c659 fetcht 1 ,mem_sensor_motion_gpio 
+04e3 20406ee6 call gpio_get_bit 
+04e4 24608000 nrtn true 
 
 p_mouse_pka8g2_sensor_motion_1:
-048f 58000000 setarg pan_reg_pid_l 
-0490 204069e5 call twspi_read 
-0491 c0ac5955 bne pka8g2_id1 ,mouse_twspi_reset 
-0492 20205a2f branch mouse_p3212_sensor_motion_2 
+04e5 58000000 setarg pan_reg_pid_l 
+04e6 204069e5 call twspi_read 
+04e7 c0ac5955 bne pka8g2_id1 ,mouse_twspi_reset 
+04e8 20205a2f branch mouse_p3212_sensor_motion_2 
               org 0x2000
 
 start:
@@ -19481,6 +19603,8 @@
 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: program/app_mouse.prog
===================================================================
--- /1121s/branch/mouse/mouse_public_2M/program/app_mouse.prog	(revision 1444)
+++ /1121s/branch/mouse/mouse_public_2M/program/app_mouse.prog	(working copy)
@@ -345,6 +345,7 @@
 	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
@@ -641,7 +642,7 @@
 	isolate1 0,pdata
 	call gpio_set_high_impedance,true
 	fetch 3,mem_pdatatemp
-	lshift pdata,pdata
+	lshift pdata,pdata		//-->rshift
 	store 3,mem_pdatatemp
 	increase 1,temp
 	loop mouse_gpio_set_high_impedance_bit_loop
Index: program/ble_protocol_stack/le.prog
===================================================================
--- /1121s/branch/mouse/mouse_public_2M/program/ble_protocol_stack/le.prog	(revision 1444)
+++ /1121s/branch/mouse/mouse_public_2M/program/ble_protocol_stack/le.prog	(working copy)
@@ -1331,7 +1331,7 @@
 	fetch 2,mem_le_payload_ptr
 	add pdata,2,contr	//l2cap length
 	bpatchx patch27_2,mem_patch27
-le_parse_l2cap_next:		
+le_parse_l2cap_next:	
 	ifetch 2,contr
 	beq LE_L2CAP_CID_ATT,le_parse_att
 	beq LE_L2CAP_CID_SMP,le_parse_smp
Index: program/patch.prog
===================================================================
--- /1121s/branch/mouse/mouse_public_2M/program/patch.prog	(revision 1444)
+++ /1121s/branch/mouse/mouse_public_2M/program/patch.prog	(working copy)
@@ -6,6 +6,7 @@
 	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
 	beq patch02_5,p_rf_rx_enable
@@ -18,7 +19,9 @@
 	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_4,p_mouse_lpm_before_common
 ifdef AUTO_TEST
 	beq patch0f_2,p_mouse_motion
 else
@@ -31,14 +34,16 @@
 	beq patch10_6,p_mouse_le
 	beq patch10_7,p_mouse_bb_event_timer
 	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 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
 	beq patch1b_4,p_enable_adc
 	branch assert
@@ -48,6 +53,7 @@
 	beq patch24_6,p_le_rx_nopayload
 	beq patch27_1,p_le_parse
 	beq patch27_2,p_le_parse_l2cap
+	beq patch29_4,p_le_adv_not_match
 	beq patch29_5,p_le_init_adv
 	beq patch32_0,p_g24_reconn_dispatch
 ifdef MOUSE_2M	
@@ -74,7 +80,10 @@
 	call g24_dispatch
 	call lpm_dispatch
 	branch p_main_loop
-
+	
+p_shutdown_radio:
+	jam 0,0x8900
+	branch shutdown_radio+1
 p_set_sync_on:
 	jam 0x60,0x8a0f 
 	jam 0xaa,0x8a10 
@@ -107,11 +116,14 @@
 	jam 0xfe,0x8a16
 	call p_set_otp_config
 //	branch initialize_radio_cont+1
-	fetch 1,mem_wdt_always_work
-	call wdt_set_disable,blank
+	//fetch 1,mem_wdt_always_work
+	call wdt_set_disable
 
 	until null,lpo_edge
 	jam 0x5f,0x813b 
+	until null,lpo_edge
+	jam 0x88,0x813c 
+	until null,lpo_edge
 	fetch 1,mem_fcomp_div
 	beq XTAL_16M,p_initialize_radio_16m
 	fetch 1,mem_ring_ibias_trim
@@ -135,8 +147,8 @@
 	call p_rfpll_aac_ghpc
 	call p_set_xtal_cap
 	jam SYSTEM_CLK_12M,mem_system_clk
-	call sadc_calibration
-	branch p_dpll_ring_ibias_calc
+	branch sadc_calibration
+//	branch p_dpll_ring_ibias_calc
 	
 p_set_xtal_cap:
 	rtn wake
@@ -185,6 +197,7 @@
 	and pdata,0xf0,pdata
 	fetcht 1,mem_otp_core_ldo
 	ior temp,pdata
+	increase -3,pdata
 	store 1,0x8136 
 	until null,lpo_edge
 
@@ -245,6 +258,17 @@
 	jam 0xfe,0x8a16
 	branch rf_rx_enable+14
 
+p_mouse_g24_retransmit:
+	fetch 1,mem_mouse_need_soft_reset
+	nrtn blank
+	call p_mouse_retransmit_select_device_by_pb_button
+	branch mouse_g24_retransmit+3
+
+p_mouse_retransmit_select_device_by_pb_button:
+	fetch 1,mem_config_select_device_button_gpio
+	rtneq GPIO_DISABLE
+	branch mouse_retransmit_select_device_by_pb_button
+
 p_g24_transmit_hop_process:
 	fetcht 1,mem_24g_retry
 	fetch 1,mem_24g_fast_hop_count			// 125Hz=11  250Hz=5
@@ -273,8 +297,8 @@
 	beq TX_POWER_6DB,set_tx_power_7db
 	beq TX_POWER_10DB,p_set_tx_power_10db
 	beq TX_POWER_F30DB,p_set_tx_power_f30db
-	beq TX_POWER_F35DB,p_set_tx_power_f35db
-	beq TX_POWER_F40DB,p_set_tx_power_f40db
+	//beq TX_POWER_F35DB,p_set_tx_power_f35db
+	//beq TX_POWER_F40DB,p_set_tx_power_f40db
 	beq TX_POWER_FACTORY,p_set_tx_power_factory
 	branch set_tx_power+2
 	
@@ -296,7 +320,7 @@
 	setarg 0x250300
 	store 3,0x8a60
 	branch set_tx_power_8a63_28
-
+/*
 p_set_tx_power_f35db:
 	jam 0x17,0x8a14 
 	setarg 0x250100
@@ -308,7 +332,7 @@
 	setarg 0x250000
 	store 3,0x8a60
 	branch set_tx_power_8a63_28	
-/*
+
 p_set_tx_power_f45db:
 	jam 0x17,0x8a14
 	setarg 0x000000
@@ -397,8 +421,8 @@
 	rtn wake
 	branch rfpll_aac_ghpc+1
 	
-p_dpll_ring_ibias_calc:
-	rtn
+//p_dpll_ring_ibias_calc:
+//	rtn
 
 p_sadc_calibration:
 	rtn wake
@@ -531,6 +555,12 @@
 	set0 mark_ble_crc_fail,mark	
 	branch le_init_adv+1
 
+p_le_adv_not_match:
+	call shutdown_radio
+	jam 0,0x8900
+	set0 mark_ble_crc_fail,mark
+	branch le_adv_not_match+1
+
 p_le_parse_l2cap:
 	ifetch 2,contr
 	beq LE_L2CAP_CID_ATT,p_le_parse_att
@@ -580,6 +610,7 @@
 	nbranch le_send_att_write_response_check_auth,zero
 	branch le_send_att_read_response_error_insufficient_auth
 
+
 p_mouse_le:
 	call le_fifo_check_nearly_full
 	nrtn blank
@@ -603,6 +634,58 @@
 	call p_mouse_data_xy_release
 	branch mouse_le_next+12
 
+p_gpio_set_wake:
+	sub temp,UI_BUTTON_GPIO_DISABLE,null
+	rtn zero
+	arg 4,debug
+	isolate1 GPIO_ACTIVE_BIT,temp
+	branch gpio_set_wake_high,true
+	arg 3,debug
+	branch gpio_set_wake_high
+
+p_gpio_set_wake_by_current_state:
+	sub temp,GPIO_DISABLE,null
+	rtn zero
+	storet 1,mem_mouse_wheel_temp_gpio
+	call gpio_get_bit
+	branch p_gpio_set_qdec_mode,true
+p_gpio_set_low_wake_disable_qdec:
+	fetcht 1,mem_mouse_wheel_temp_gpio
+	call gpio_set_high_impedance
+	fetcht 1,mem_mouse_wheel_temp_gpio
+	branch p_gpio_set_low_wake
+	
+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
+	branch p_mouse_qdec_lpm_cfg
+
+p_mouse_qdec_lpm_cfg:
+	arg 6,debug
+	branch gpio_set_wake_high
+
+p_gpio_set_low_wake:
+	arg 3,debug
+	branch gpio_set_wake_high
+
+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
+	until null,lpo_edge
+	rtn
+
+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
 	fetch 2,mem_cb_before_lpm_sleep
@@ -612,8 +695,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
@@ -709,7 +798,7 @@
 	setarg mouse_24g_short_sleep
 endif
 	store 2,mem_cb_24g_transmit_short_sleep
-	setarg p_mouse_24g_long_sleep
+	setarg mouse_24g_long_sleep
 	store 2,mem_cb_24g_transmit_long_sleep
 	setarg p_mouse_24g_before_lpm_sleep
 	store 2,mem_cb_before_lpm_sleep
@@ -717,52 +806,24 @@
 
 p_soft_reset:
 	clear_stack
-	call mouse_wheel_gpio_init,wake
+	call p_mouse_wheel_init_set,wake
 	branch soft_reset+2
 
-p_mouse_g24_retransmit:
-	fetch 1,mem_mouse_need_soft_reset
-	nrtn blank
-	call p_mouse_retransmit_select_device_by_pb_button
-	branch mouse_g24_retransmit+3
-
-p_mouse_retransmit_select_device_by_pb_button:
-	fetch 1,mem_config_select_device_button_gpio
-	rtneq GPIO_DISABLE
-	branch mouse_retransmit_select_device_by_pb_button
+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
+	branch gpio_config_input
 	
 p_mouse_24g_before_lpm_sleep:
 	fetch 1,mem_device_flag
 	rtneq MODE_24G_DEVICE		//2M can not close clock
 	branch mouse_24g_before_lpm_sleep+2	
 
-p_mouse_24g_long_sleep:
-	call g24_lpm_wait
-	nrtn user
-	jam 1,mem_mouse_24g_long_sleep_flag
-	call g24_setgpio_lpm_before
-	jam 0,mem_mouse_24g_sleep_miss
-	call mouse_24g_send_time_long_wake
-	fetch 1,mem_sensor_shutdown_flag
-	ncall mouse_setgpio_hibernate,blank
-
-	call p_mouse_wheel_set_low_pullup
 
-	fetch 4,mem_24g_enter_hibernate
-	branch g24_long_seep2
-
-p_mouse_wheel_set_low_pullup:
-	fetch 1,mem_sensor_shutdown_flag
-	nrtn blank
-	fetcht 1,mem_whee_a_data_gpio
-	call gpio_set_high_impedance
-	fetcht 1,mem_whee_a_data_gpio
-	call gpio_set_low_pullup
 
-	fetcht 1,mem_whee_b_data_gpio
-	call gpio_set_high_impedance
-	fetcht 1,mem_whee_b_data_gpio
-	branch gpio_set_low_pullup
+	
 	
 ifdef MOUSE_2M
 
@@ -982,6 +1043,155 @@
 	jam MODE_24G_DEVICE,mem_device_flag
 	rtn
 
+p_mouse_read_otp_le_addr_increase_count_info:
+	fetch 1,mem_device_flag
+	rtneq MODE_24G_DEVICE
+	fetchr regb,2,mem_otp_offset_le_addr_increase_count
+	copy regb,regc
+p_mouse_read_otp_le_addr_increase_count_loop:
+	call mouse_read_otp_le_addr_increase_count_common
+	fetch 2,mem_random_addr_increase_count_temp
+	branch p_mouse_le_addr_increase_count_load,blank	
+	store 2,mem_random_addr_increase_count_last
+	increase 2,regc
+	fetch 2,mem_otp_offset_le_addr_increase_count_end
+	isub regc,null
+	nbranch p_mouse_le_addr_increase_count_load,positive	//if read end,retention last value
+	copy regc,regb
+	branch p_mouse_read_otp_le_addr_increase_count_loop
+
+p_mouse_le_addr_increase_count_load:
+	fetch 2,mem_random_addr_increase_count_last
+	store 2,mem_random_addr_increase_count
+	rtn
+
+
+p_mouse_store_device_info:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_EEPROM,mouse_store_eeprom_device_info
+	bbit1 MOUSE_ENABLE_FLASH,mouse_store_flash_device_info
+	bbit1 MOUSE_ENABLE_OTP,p_mouse_store_otp_device_info
+	rtn
+
+p_mouse_store_otp_device_info:
+	call p_mouse_write_otp_locall_addr
+	call p_mouse_write_otp_device_flag
+	branch mouse_store_otp_device_info+1
+
+p_mouse_write_otp_locall_addr:
+	fetch 1,mem_device_flag
+	rtneq MODE_24G_DEVICE
+	beq MODE_BT_DEVICE1,p_mouse_write_otp_le_locall_addr1
+	beq MODE_BT_DEVICE2,p_mouse_write_otp_le_locall_addr2
+	rtn
+
+p_mouse_write_otp_device_flag:
+	fetchr regb,2,mem_otp_offset_device_flag
+	copy regb,regc
+p_mouse_write_otp_device_flag_loop:
+	call mouse_read_otp_device_flag_common
+	fetch 1,mem_device_flag_temp
+	branch p_mouse_device_flag_store,blank
+	store 1,mem_device_flag_last
+	increase 1,regc
+	fetch 2,mem_otp_offset_device_flag_end
+	isub regc,null
+	nrtn positive
+	copy regc,regb
+	branch p_mouse_write_otp_device_flag_loop
+
+p_mouse_device_flag_store:
+	fetch 1,mem_device_flag_last
+	and pdata,0xf0,pdata
+	branch p_mouse_device_flag_store_check,blank
+	fetch 1,mem_device_flag
+	
+	call p_mouse_device_flag_otp_store_judge			// add device_flag check
+	
+	store 1,mem_device_flag_value
+p_mouse_device_flag_store_end:	
+	arg 1,loopcnt
+	copy regc,regb
+	arg mem_device_flag_value,rega
+	branch otp_write			/* regb = otp address, rega pointers data, loopcnt is count */
+
+p_mouse_device_flag_store_check:
+	fetcht 1,mem_device_flag_last
+	fetch 1,mem_device_flag
+	call p_mouse_device_flag_otp_store_judge
+	isub temp,null
+	rtn zero
+	lshift4 pdata,pdata
+	iadd temp,pdata
+	store 1,mem_device_flag_value
+	
+	copy regc,pdata
+	fetcht 2,mem_otp_offset_device_flag
+	isub temp,null
+	branch p_mouse_device_flag_store_end,zero
+	
+	increase -1,regc
+	branch p_mouse_device_flag_store_end
+
+p_mouse_device_flag_otp_store_judge:
+	rtnne MODE_24G_DEVICE
+	increase 4,pdata
+	rtn
+
+/**************store le local addr start**********/
+
+p_mouse_write_otp_le_locall_addr1:
+	fetchr regb,2,mem_otp_offset_le_locall_addr1
+	copy regb,regc
+p_mouse_write_otp_le_locall_addr1_loop:
+	call mouse_read_otp_le_locall_addr1_common
+	fetch 6,mem_mouse_le_locall_addr1_temp
+	branch p_mouse_le_local_addr1_store,blank	
+	store 6,mem_mouse_le_locall_addr1_last
+	increase 6,regc
+	fetch 2,mem_otp_offset_le_locall_addr1_end
+	isub regc,null
+	nrtn positive	//if read end,retention last value
+	copy regc,regb
+	branch p_mouse_write_otp_le_locall_addr1_loop
+
+p_mouse_le_local_addr1_store:
+	fetch 6,mem_mouse_le_locall_addr1_last
+	fetcht 6,mem_device1_locall_addr
+	isub temp,null
+	rtn zero
+	arg 6,loopcnt
+	arg mem_device1_locall_addr,rega
+	copy regc,regb
+	branch otp_write			/* regb = otp address, rega pointers data, loopcnt is count */
+
+p_mouse_write_otp_le_locall_addr2:
+	fetchr regb,2,mem_otp_offset_le_locall_addr2
+	copy regb,regc
+p_mouse_write_otp_le_locall_addr2_loop:
+	call mouse_read_otp_le_locall_addr2_common
+	fetch 6,mem_mouse_le_locall_addr2_temp
+	branch p_mouse_le_local_addr2_store,blank	
+	store 6,mem_mouse_le_locall_addr2_last
+	increase 6,regc
+	fetch 2,mem_otp_offset_le_locall_addr2_end
+	isub regc,null
+	nrtn positive	//if read end,retention last value
+	copy regc,regb
+	branch p_mouse_write_otp_le_locall_addr2_loop
+
+p_mouse_le_local_addr2_store:
+	fetch 6,mem_mouse_le_locall_addr2_last
+	fetcht 6,mem_device2_locall_addr
+	isub temp,null
+	rtn zero
+	arg 6,loopcnt
+	arg mem_device2_locall_addr,rega
+	copy regc,regb
+	branch otp_write			/* regb = otp address, rega pointers data, loopcnt is count */
+
+/**************store le local addr end**********/
+
 p_mouse_load_device_info:
 	call p_mouse_le_locall_addr_init_check
 	call p_mouse_select_reconn_device
@@ -1122,162 +1332,6 @@
 	store 6,mem_le_lap
 	rtn
 
-/**********read increase count**********/
-
-p_mouse_read_otp_le_addr_increase_count_info:
-	fetch 1,mem_device_flag
-	rtneq MODE_24G_DEVICE
-	fetchr regb,2,mem_otp_offset_le_addr_increase_count
-	copy regb,regc
-p_mouse_read_otp_le_addr_increase_count_loop:
-	call mouse_read_otp_le_addr_increase_count_common
-	fetch 2,mem_random_addr_increase_count_temp
-	branch p_mouse_le_addr_increase_count_load,blank	
-	store 2,mem_random_addr_increase_count_last
-	increase 2,regc
-	fetch 2,mem_otp_offset_le_addr_increase_count_end
-	isub regc,null
-	nbranch p_mouse_le_addr_increase_count_load,positive	//if read end,retention last value
-	copy regc,regb
-	branch p_mouse_read_otp_le_addr_increase_count_loop
-
-p_mouse_le_addr_increase_count_load:
-	fetch 2,mem_random_addr_increase_count_last
-	store 2,mem_random_addr_increase_count
-	rtn
-	
-/*****************************load info end******************************/
-
-/*****************************store info******************************/
-p_mouse_store_device_info:
-	fetch MOUSE_FLAG_LEN,mem_mouse_flag
-	bbit1 MOUSE_ENABLE_EEPROM,mouse_store_eeprom_device_info
-	bbit1 MOUSE_ENABLE_FLASH,mouse_store_flash_device_info
-	bbit1 MOUSE_ENABLE_OTP,p_mouse_store_otp_device_info
-	rtn
-
-p_mouse_store_otp_device_info:
-	call p_mouse_write_otp_locall_addr
-	call p_mouse_write_otp_device_flag
-	branch mouse_store_otp_device_info+1
-
-p_mouse_write_otp_locall_addr:
-	fetch 1,mem_device_flag
-	rtneq MODE_24G_DEVICE
-	beq MODE_BT_DEVICE1,p_mouse_write_otp_le_locall_addr1
-	beq MODE_BT_DEVICE2,p_mouse_write_otp_le_locall_addr2
-	rtn
-
-/**************store le local addr start**********/
-
-p_mouse_write_otp_le_locall_addr1:
-	fetchr regb,2,mem_otp_offset_le_locall_addr1
-	copy regb,regc
-p_mouse_write_otp_le_locall_addr1_loop:
-	call mouse_read_otp_le_locall_addr1_common
-	fetch 6,mem_mouse_le_locall_addr1_temp
-	branch p_mouse_le_local_addr1_store,blank	
-	store 6,mem_mouse_le_locall_addr1_last
-	increase 6,regc
-	fetch 2,mem_otp_offset_le_locall_addr1_end
-	isub regc,null
-	nrtn positive	//if read end,retention last value
-	copy regc,regb
-	branch p_mouse_write_otp_le_locall_addr1_loop
-
-p_mouse_le_local_addr1_store:
-	fetch 6,mem_mouse_le_locall_addr1_last
-	fetcht 6,mem_device1_locall_addr
-	isub temp,null
-	rtn zero
-	arg 6,loopcnt
-	arg mem_device1_locall_addr,rega
-	copy regc,regb
-	branch otp_write			/* regb = otp address, rega pointers data, loopcnt is count */
-
-p_mouse_write_otp_le_locall_addr2:
-	fetchr regb,2,mem_otp_offset_le_locall_addr2
-	copy regb,regc
-p_mouse_write_otp_le_locall_addr2_loop:
-	call mouse_read_otp_le_locall_addr2_common
-	fetch 6,mem_mouse_le_locall_addr2_temp
-	branch p_mouse_le_local_addr2_store,blank	
-	store 6,mem_mouse_le_locall_addr2_last
-	increase 6,regc
-	fetch 2,mem_otp_offset_le_locall_addr2_end
-	isub regc,null
-	nrtn positive	//if read end,retention last value
-	copy regc,regb
-	branch p_mouse_write_otp_le_locall_addr2_loop
-
-p_mouse_le_local_addr2_store:
-	fetch 6,mem_mouse_le_locall_addr2_last
-	fetcht 6,mem_device2_locall_addr
-	isub temp,null
-	rtn zero
-	arg 6,loopcnt
-	arg mem_device2_locall_addr,rega
-	copy regc,regb
-	branch otp_write			/* regb = otp address, rega pointers data, loopcnt is count */
-
-/**************store le local addr end**********/
-
-/**************store device flag**********/
-p_mouse_write_otp_device_flag:
-	fetchr regb,2,mem_otp_offset_device_flag
-	copy regb,regc
-p_mouse_write_otp_device_flag_loop:
-	call mouse_read_otp_device_flag_common
-	fetch 1,mem_device_flag_temp
-	branch p_mouse_device_flag_store,blank
-	store 1,mem_device_flag_last
-	increase 1,regc
-	fetch 2,mem_otp_offset_device_flag_end
-	isub regc,null
-	nrtn positive
-	copy regc,regb
-	branch p_mouse_write_otp_device_flag_loop
-
-p_mouse_device_flag_store:
-	fetch 1,mem_device_flag_last
-	and pdata,0xf0,pdata
-	branch p_mouse_device_flag_store_check,blank
-	fetch 1,mem_device_flag
-	
-	call p_mouse_device_flag_otp_store_judge			// add device_flag check
-	
-	store 1,mem_device_flag_value
-p_mouse_devoce_flag_store_end:	
-	arg 1,loopcnt
-	copy regc,regb
-	arg mem_device_flag_value,rega
-	branch otp_write			/* regb = otp address, rega pointers data, loopcnt is count */
-
-p_mouse_device_flag_store_check:
-	fetcht 1,mem_device_flag_last
-	fetch 1,mem_device_flag
-	call p_mouse_device_flag_otp_store_judge
-	isub temp,null
-	rtn zero
-	lshift4 pdata,pdata
-	iadd temp,pdata
-	store 1,mem_device_flag_value
-	
-	copy regc,pdata
-	fetcht 2,mem_otp_offset_device_flag
-	isub temp,null
-	branch p_mouse_devoce_flag_store_end,zero
-	
-	increase -1,regc
-	branch p_mouse_devoce_flag_store_end
-
-p_mouse_device_flag_otp_store_judge:
-	rtnne MODE_24G_DEVICE
-	increase 4,pdata
-	rtn
-
-/**************store device flag end**********/
-
 p_mouse_store_remote_bdaddr:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 	rtnbit0 MOUSE_STORE_EEPROM_FLAG
@@ -1409,6 +1463,8 @@
 	nbranch mouse_24g_hibernate_set,blank
 	fetch 1,mem_24g_reconn_type
 	beq PAIR_AND_3_0_ADDR,p_mouse_24g_auto_pair_attempt_fail
+	beq FAST_CONN_AND_RECEIVER,mouse_24g_fast_conn_attempt_fail
+	beq RECEIVER_AND_3_0_ADDR,p_mouse_reconn_dongle_attempt_fail
 	branch mouse_24g_attempt_fail+2
 
 p_mouse_24g_auto_pair_attempt_fail:
@@ -1421,6 +1477,49 @@
 	jam MODE_BT_DEVICE1,mem_device_flag
 	branch mouse_start_reconnect_device
 
+p_mouse_reconn_dongle_attempt_fail:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,mouse_24g_attempt_fail_enter_hibernate
+	bbit1 MOUSE_ENABLE_EEPROM,mouse_24g_attempt_fail_enter_hibernate
+	bbit1 MOUSE_ENABLE_OTP,mouse_24g_attempt_fail_enter_hibernate
+	bbit1 MOUSE_ENABLE_FLASH,mouse_24g_attempt_fail_enter_hibernate
+	branch mouse_24g_start_auto_pair
+
+p_mouse_start_work:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,p_mouse_24g_first_start_auto_pair_mode
+	fetch 1,mem_device_flag
+	beq MODE_24G_DEVICE,p_mouse_24g_start_mode
+	branch mouse_le_fast_conn_judge
+
+p_mouse_24g_first_start_auto_pair_mode:	
+	call mouse_wakeup_from_power_check
+	branch p_mouse_24g_first_start_reconn,user 
+	branch mouse_24g_reconn_general_dongle
+
+p_mouse_24g_first_start_reconn:
+	fetch 1,mem_device_flag
+	beq MODE_24G_DEVICE,mouse_24g_reconn_dongle_start
+	call mouse_bluetooth_fast_conn_disable
+	branch p_mouse_24g_first_bluetooth_reconnect
+
+p_mouse_24g_start_mode:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_24G,mouse_24g_mode_setup_error
+	call mouse_device_24g_pair_led_config
+	call mouse_wakeup_from_power_check	// wake from hibernate :enble user
+	branch mouse_24g_reconn_dongle_start,user
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_AUTO_24G_PARING,p_mouse_24g_reconn_general_dongle
+	branch mouse_24g_start_mode+7
+
+p_mouse_24g_reconn_general_dongle:
+	jam MODE_24G_DEVICE,mem_device_flag
+	fetch 2,mem_mouse_24g_power_on_fast_conn_timer
+	store 2,mem_24g_reconn_timeout
+	jam FAST_CONN_AND_RECEIVER,mem_24g_reconn_type
+	branch g24_reconn_start
+	
 p_mouse_store_normal_tx_power:
 	fetch 1,mem_tx_power
 	store 1,mem_normal_tx_power
@@ -1501,7 +1600,7 @@
 	jam 1,mem_sensor_shutdown_flag
 	call mouse_sensor_powerdown
 //	call mouse_setgpio_hibernate
-	branch p_mouse_24g_long_sleep
+	branch mouse_24g_long_sleep
 
 p_mouse_setgpio_hibernate:
 	call mouse_set_sdio_high
@@ -1513,9 +1612,44 @@
 	call gpio_clr_wake
 	fetch 1,mem_mouse_sensor_sdio_gpio
 	call mouse_gpio_config_output_high
+	
+	fetcht 1,mem_device_switch_gpio
+	call mouse_gpio_set_pupd_by_input
 	arg 21,temp	//ice band gpio			
 	call mouse_gpio_config_input_pu
-	branch mouse_setgpio_hibernate+3
+	
+	call mouse_logo_led_off
+	call mouse_lpm_before_common
+	call mouse_gpio_pd_idle
+	fetcht 1,mem_whee_a_data_gpio
+	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
+	branch mouse_setgpio_hibernate_next
+
+p_mouse_gpio_set_high_impedance:
+	fetch 3,mem_mouse_set_high_impedance_bit_set
+	store 3,mem_pdatatemp
+	arg 24,loopcnt
+	arg 0,temp
+p_mouse_gpio_set_high_impedance_bit_loop:	
+	fetch 3,mem_pdatatemp
+	isolate1 0,pdata
+	call p_gpio_set_analog,true
+	fetch 3,mem_pdatatemp
+	rshift pdata,pdata
+	store 3,mem_pdatatemp
+	increase 1,temp
+	loop p_mouse_gpio_set_high_impedance_bit_loop
+	rtn
+
+p_gpio_set_analog:
+	sub temp,UI_BUTTON_GPIO_DISABLE,null
+	rtn zero
+	branch gpio_set_analog
 
 p_mouse_24g_package_data:
 	rtnmark0 mark_24g
@@ -1524,6 +1658,7 @@
 	fetch 1,mem_mouse_24g_long_sleep_flag
 	jam 0,mem_mouse_24g_long_sleep_flag
 	ncall p_mouse_24g_short_sleep_clear_wake,blank
+
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 	bbit0 MOUSE_ENABLE_KEYBOARD,p_mouse_24g_mouse_package_data
 	fetch 1,mem_customer_key
Index: sched/1305.dat
===================================================================
--- /1121s/branch/mouse/mouse_public_2M/sched/1305.dat	(revision 1444)
+++ /1121s/branch/mouse/mouse_public_2M/sched/1305.dat	(working copy)
@@ -9,7 +9,7 @@
 mem_lpm_hv_sel:b4
 
 mem_fcomp_div:18
-mem_xtal_c_sel:64
+mem_xtal_c_sel:3e
 mem_gpio_wakeup_cfg:00 00 20 00 00 00 00 00 00 00 00 00
 
 mem_version:08 0e 05 03 00
@@ -22,28 +22,6 @@
 mem_gain_second_agc_en:08	#hw agc: 0:second agc disable
 mem_otp_load_check_sum:5a
 
-#adc config
-mem_adc_config_flag:01
-#01 ADC_CONFIG_HVIN
-#02 ADC_CONFIG_GPIO
-mem_adc_clkdiv:0a
-mem_adc_channel:00
-#00 ADC_CH_VBAT
-#01 ADC_CH_VDCDC5V
-#06 ADC_CH_GPIO18
-#07 ADC_CH_GPIO10
-#08 ADC_CH_GPIO9
-#09 ADC_CH_GPIO12
-#0a ADC_CH_GPIO6
-#0b ADC_CH_GPIO20
-#0c ADC_CH_GPIO21
-#0d ADC_CH_GPIO22
-#0e ADC_CH_GPIO13
-
-mem_adc_dma_enable:00
-mem_adc_saddr_ptr:00 07
-mem_adc_eaddr_ptr:ff 07
-
 mem_ring_ibias_trim:a0
 mem_ring_ibias_vtune_high:bc 02 #700mv
 mem_ring_ibias_vtune_low:90 01 #400mv
Index: sched/mouse.dat
===================================================================
--- /1121s/branch/mouse/mouse_public_2M/sched/mouse.dat	(revision 1444)
+++ /1121s/branch/mouse/mouse_public_2M/sched/mouse.dat	(working copy)
@@ -29,7 +29,7 @@
 #bit5 MOUSE_ENABLE_ADC
 #bit6 MOUSE_ENABLE_KEYBOARD
 #bit7 MOUSE_ENABLE_DOUBLE_DPI_KEY
-0a
+12
 
 #mouse flag byte4
 #bit0 MOUSE_ENABLE_24G_250Hz
@@ -72,7 +72,7 @@
 #bit5 MOUSE_ENABLE_COMMBINATION_KEY_BY_BT_DISCOVERY
 #bit6 MOUSE_ENABLE_DPI_KEY_LONG_PRESS_DISCONVERY
 #bit7 MOUSE_ENABLE_PB_BUTTON_LONG_PRESS_DISCONVERY
-03
+01
 
 #mouse flag byte8
 #bit0 MOUSE_ENABLE_SMOOTHER
@@ -158,6 +158,7 @@
 mem_lpm_mode:01
 mem_lpm_mult:20
 mem_lpm_mult_init:20
+mem_mouse_set_high_impedance_bit_set:00 00 00
 
 mem_device_flag:
 00		#00--24g 01--bt
@@ -276,31 +277,31 @@
 mem_eeprom_block_size:80
 
 #otp write info offset
-mem_otp_offset_dpi:39 18										#6201 begin		3level:99count	----------info begin	
-mem_otp_offset_dpi_end:6a 18								#6250 end
+mem_otp_offset_dpi:b9 1a										#6841 begin		3level:99count	----------info begin	
+mem_otp_offset_dpi_end:ea 1a								#6890 end
 
-mem_otp_offset_device_flag:6b 18							#6251 begin		400 count
-mem_otp_offset_device_flag_end:32 19						#6450 end
+mem_otp_offset_device_flag:eb 1a							#6891 begin		400 count
+mem_otp_offset_device_flag_end:b2 1b						#7090 end
 
-mem_otp_offset_24g_addr:33 19								#6451 begin		50 count
-mem_otp_offset_24g_addr_end:fa 19						#6650 end
+mem_otp_offset_24g_addr:b3 1b								#7091 begin		30 count
+mem_otp_offset_24g_addr_end:2a 1c						#7210 end
 
-mem_otp_offset_le_addr1:fb 19								#6651 begin		50 count
-mem_otp_offset_le_addr1_end:26 1b						#6950 end
+mem_otp_offset_le_addr1:2b 1c								#7211 begin		30 count
+mem_otp_offset_le_addr1_end:de 1c							#7390 end
 
-mem_otp_offset_le_locall_addr1:27 1b						#6951 begin		50 count
-mem_otp_offset_le_locall_addr1_end:52 1c				#7250 end
+mem_otp_offset_le_locall_addr1:df 1c						#7391 begin		30 count
+mem_otp_offset_le_locall_addr1_end:92 1d				#7570 end
 
-mem_otp_offset_le_addr2:53 1c								#7251 begin		50 count
-mem_otp_offset_le_addr2_end:7e 1d						#7550 end
+mem_otp_offset_le_addr2:93 1d								#7571 begin		30 count
+mem_otp_offset_le_addr2_end:46 1e						#7750 end
 
-mem_otp_offset_le_locall_addr2:7f 1d						#7551 begin		50 count
-mem_otp_offset_le_locall_addr2_end:aa 1e				#7850  end
+mem_otp_offset_le_locall_addr2:47 1e						#7751 begin		30 count
+mem_otp_offset_le_locall_addr2_end:fa 1e					#7930  end
 
-mem_otp_offset_le_addr_increase_count:ab 1e			#7851 begin		140 count
-mem_otp_offset_le_addr_increase_count_end:c2 1f		#8130 end					----------info over	
+mem_otp_offset_le_addr_increase_count:fb 1e			#7931 begin		100 count
+mem_otp_offset_le_addr_increase_count_end:ac 1f		#8108 end					----------info over	
 
-mem_otp_offset_app_initflag:c4 1f		#8132 end
+mem_otp_offset_app_initflag:ae 1f		#8110 end
 
 #ui
 mem_ui_button_gpio:ff
@@ -402,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
 
@@ -439,6 +438,29 @@
 09 00
 ff ff
 
+
+#adc config
+mem_adc_config_flag:01
+#01 ADC_CONFIG_HVIN
+#02 ADC_CONFIG_GPIO
+mem_adc_clkdiv:0a
+mem_adc_channel:09
+#00 ADC_CH_VBAT
+#01 ADC_CH_VDCDC5V
+#06 ADC_CH_GPIO18
+#07 ADC_CH_GPIO10
+#08 ADC_CH_GPIO9
+#09 ADC_CH_GPIO12
+#0a ADC_CH_GPIO6
+#0b ADC_CH_GPIO20
+#0c ADC_CH_GPIO21
+#0d ADC_CH_GPIO22
+#0e ADC_CH_GPIO13
+
+mem_mouse_vdd_full_vol:a4 01		#4.2V
+18 01#mem_mouse_vdd_empty_vol  :2.8V
+2c 01#mem_mouse_vdd_low_vol   :3.0V
+
 # rf debug
 #bit7:0 means disable rf debug function
 #mem_rf_debug_rx_gpio:86
