Index: format/app_mouse.format
===================================================================
--- /branch/flip_pen/flip_pen_2.4G/format/app_mouse.format	(revision 3103)
+++ /branch/flip_pen/flip_pen_2.4G/format/app_mouse.format	(working copy)
@@ -364,12 +364,24 @@
 
 
 1 mem_hibernate_flag
-1 mem_not_show_device_led
 1 mem_connect_staus
-2 mem_g24_int_g24_mode_timeout
+1 mem_not_show_device_led
+
 
 1 mem_package_id
 1 mem_packet_count
+
+2 mem_g24_int_g24_mode_timeout
+2 mem_timer_key
+1 mem_g24_pair
+1 mem_g24_pair_fail
+1 mem_g24_pair_fail_cunt
+1 mem_adc_read_once
+
+1 mem_short_press
+32 mem_test
+32 mem_test_1
+
 )
 
 (
Index: output/eeprom.dat
===================================================================
--- /branch/flip_pen/flip_pen_2.4G/output/eeprom.dat	(revision 3103)
+++ /branch/flip_pen/flip_pen_2.4G/output/eeprom.dat	(working copy)
@@ -2,8 +2,8 @@
 02
 aa
 55
-e2
-12
+e6
+13
 c2
 84
 00
@@ -23,11 +23,11 @@
 c0
 42
 84
-b6
+f7
 c0
 44
 84
-89
+ca
 c0
 50
 80
@@ -46,28 +46,28 @@
 dd
 c0
 73
-03
-cd
+04
+14
 c0
 75
 04
-55
+96
 c0
 75
 84
-5d
+9e
 c0
 76
 04
-75
+b6
 20
 20
 2a
 8e
 c0
 1f
-81
-06
+80
+fa
 20
 20
 2a
@@ -199,43 +199,43 @@
 68
 00
 cd
-1a
+61
 c2
 80
 80
-96
+8a
 c2
 81
 00
-b2
+a6
 68
 00
 cd
-0b
+52
 c0
 00
 80
-bf
+b3
 20
 40
 01
-61
+55
 24
 34
 00
-da
+ce
 20
 40
 01
-48
+3c
 20
 40
 01
-6d
+66
 68
 00
-cb
-db
+cc
+22
 c1
 ff
 80
@@ -249,13 +249,13 @@
 ca
 fc
 c0
+01
 00
-80
 43
 20
 40
 00
-e2
+d6
 24
 74
 00
@@ -272,26 +272,66 @@
 20
 2b
 93
+68
+00
+ca
+fc
+c0
+01
+00
+49
 20
 40
 00
-bb
+af
 20
 40
 00
-47
+4b
 20
 40
 01
-64
+58
 20
 20
 01
-6d
+66
+70
+4a
+fc
+00
+20
+20
+00
+45
+68
+00
+cb
+41
+60
+00
+ca
+f0
+60
+00
+ca
+fa
+1f
+e0
+fe
+01
+c0
+7f
+80
+5d
+60
+00
+cb
+41
 da
 20
 00
-0a
+0b
 da
 40
 4a
@@ -303,10 +343,10 @@
 24
 5a
 00
-53
+5f
 70
-4b
-f7
+4c
+3e
 00
 1a
 20
@@ -314,16 +354,16 @@
 01
 60
 00
-cb
-cb
+cc
+12
 20
 40
 01
-13
+07
 60
 00
 cb
-67
+ae
 1a
 42
 0c
@@ -336,10 +376,18 @@
 20
 7f
 01
+70
+4b
+41
+01
+20
+20
+00
+51
 20
 40
 00
-56
+62
 da
 40
 4a
@@ -359,15 +407,11 @@
 20
 40
 00
-8a
+7e
 70
 4b
 02
 00
-70
-4b
-01
-03
 68
 00
 cb
@@ -377,14 +421,6 @@
 ca
 e8
 68
-00
-cb
-43
-60
-00
-ca
-f0
-68
 01
 4b
 15
@@ -392,14 +428,10 @@
 01
 4a
 ff
-df
-20
-00
-0d
 c2
 80
 00
-7b
+72
 68
 00
 cb
@@ -424,49 +456,37 @@
 01
 4a
 ff
-c2
-00
+20
+20
 00
-62
+6a
 68
 00
 cb
-44
-1f
-e0
-fe
-01
-60
-00
-cb
-44
-1f
-e6
-7c
-08
-24
-62
-80
-00
-68
+02
+d8
+c0
+4b
+03
+98
+c0
+8c
 00
-cb
-43
-1f
-e0
-fe
-01
+e8
 c0
-7f
 80
-79
+00
 60
 00
+ca
+ea
+68
+00
 cb
-43
+41
 70
 4b
-44
+42
 00
 70
 4b
@@ -488,103 +508,35 @@
 60
 00
 00
-70
-4b
-43
-01
-20
-20
-00
-73
 68
-00
-cb
 01
+4b
+15
 68
 08
 cb
-02
-d8
-c0
-4b
-03
-d8
-a0
-4a
-e7
-98
-a0
-8a
-00
-18
-42
-7e
-00
-98
-c0
-8c
 00
-e8
-c0
+2f
+ef
+fe
+04
+20
+40
 80
-00
-e0
-a0
+86
+2f
+ef
+fe
+08
+20
+40
 80
-00
-68
-00
+88
+60
+08
 cb
-01
-1f
-e0
-fe
-01
-60
-00
-cb
-01
-1f
-e6
-7c
-09
-24
-21
-00
-6a
-20
-20
-00
-63
-68
-01
-4b
-15
-68
-08
-cb
-00
-2f
-ef
-fe
-04
-20
-40
-80
-92
-2f
-ef
-fe
-08
-20
-40
-80
-94
-60
-08
-cb
-00
-20
+00
+20
 60
 00
 00
@@ -627,7 +579,7 @@
 20
 40
 01
-87
+85
 24
 2c
 02
@@ -639,15 +591,15 @@
 20
 40
 01
-b1
+b3
 68
 02
-4b
-f3
+4c
+3a
 68
 0a
 4d
-10
+57
 98
 46
 7c
@@ -655,18 +607,18 @@
 20
 22
 80
-a5
+99
 68
 00
-cb
-c9
+cc
+10
 c1
 84
 00
 00
 70
 4d
-1a
+61
 00
 20
 40
@@ -674,12 +626,12 @@
 f0
 68
 02
-4b
-f3
+4c
+3a
 68
 0a
-4b
-d7
+4c
+1e
 98
 46
 7c
@@ -690,12 +642,12 @@
 ff
 68
 02
-4b
-f3
+4c
+3a
 68
 0a
 4c
-02
+49
 98
 46
 7c
@@ -703,19 +655,19 @@
 20
 42
 80
-b0
+a4
 20
 20
 00
-b9
+ad
 68
 02
 4b
-ab
+f2
 20
 20
 01
-c7
+c9
 68
 00
 ca
@@ -731,18 +683,18 @@
 20
 40
 01
-87
+85
 24
 2c
 01
-22
+16
 24
 37
 81
-22
+16
 70
 4d
-1a
+61
 00
 20
 40
@@ -751,10 +703,10 @@
 20
 40
 01
-84
+82
 70
 4d
-0b
+52
 01
 58
 00
@@ -763,7 +715,7 @@
 60
 01
 4d
-0c
+53
 20
 60
 00
@@ -779,11 +731,11 @@
 20
 40
 00
-d4
+c8
 68
 01
 4d
-0c
+53
 1f
 e0
 fe
@@ -791,11 +743,11 @@
 60
 01
 4d
-0c
+53
 68
 09
 4d
-0e
+55
 98
 46
 7c
@@ -803,14 +755,14 @@
 20
 42
 80
-c9
+bd
 20
 20
 00
 35
 70
 4d
-0b
+52
 00
 58
 00
@@ -819,7 +771,7 @@
 60
 01
 4d
-0c
+53
 58
 00
 00
@@ -827,35 +779,35 @@
 60
 01
 4d
-0e
+55
 70
 4c
-06
+4d
 00
 68
 00
-cb
-f1
+cc
+38
 60
 00
-cb
-f0
+cc
+37
 20
 60
 00
 00
 68
 00
-cb
-f2
+cc
+39
 20
 20
 00
-d0
+c4
 68
 00
 cc
-06
+4d
 1f
 e0
 fe
@@ -863,31 +815,31 @@
 60
 00
 cc
-06
+4d
 c0
 02
 00
-d2
+c6
 c0
 02
 80
-ce
+c2
 20
 60
 00
 00
 68
 00
-cb
-f7
+cc
+3e
 20
 5a
 00
-f8
+ec
 68
 00
 cd
-0b
+52
 c1
 00
 80
@@ -895,15 +847,15 @@
 20
 40
 00
-e2
+d6
 24
 74
 00
 00
 68
 01
-cb
-fa
+cc
+41
 20
 20
 2d
@@ -935,7 +887,7 @@
 68
 00
 cd
-0b
+52
 c0
 00
 ff
@@ -997,21 +949,21 @@
 00
 00
 70
-4b
-f7
+4c
+3e
 01
 70
 4d
-00
+47
 00
 20
 40
 01
-13
+07
 60
 00
 cb
-67
+ae
 58
 00
 00
@@ -1019,35 +971,35 @@
 60
 03
 cb
-68
+af
 68
 02
 4c
-02
+49
 60
 02
 4b
-6f
+b6
 70
-4b
-cb
+4c
+12
 0c
 68
 00
-cb
 cc
+13
 79
 20
 7e
 03
 60
 00
-cb
 cc
+13
 20
 40
 01
-64
+58
 20
 20
 00
@@ -1071,7 +1023,7 @@
 20
 40
 01
-0e
+02
 68
 00
 c1
@@ -1098,60 +1050,60 @@
 00
 70
 4d
-01
+48
 01
 70
 4d
-03
+4a
 00
 68
 00
-cb
 cc
+13
 1f
 e1
 7e
 07
 60
 00
-cb
 cc
+13
 20
 60
 00
 00
 68
 00
-cb
 cc
+13
 79
 20
 7e
 04
 60
 00
-cb
 cc
+13
 60
 00
 cb
-87
+ce
 20
 60
 00
 00
 68
 00
-cb
 cc
+13
 c4
 02
 00
 00
 68
 00
-cb
 cc
+13
 79
 3f
 fe
@@ -1159,19 +1111,19 @@
 20
 40
 01
-19
+0d
 20
 40
 04
-79
+ba
 68
 08
-cb
-d6
+cc
+1d
 68
 00
-cb
-f3
+cc
+3a
 1f
 e1
 7e
@@ -1182,8 +1134,8 @@
 04
 58
 00
-4b
-dc
+4c
+23
 9a
 20
 fe
@@ -1198,8 +1150,8 @@
 00
 60
 00
-cb
-d5
+cc
+1c
 18
 40
 84
@@ -1210,8 +1162,8 @@
 03
 60
 08
-cb
-d6
+cc
+1d
 20
 60
 00
@@ -1219,79 +1171,79 @@
 68
 00
 cd
-00
+47
 c0
 80
 81
-13
+07
 68
 00
-cc
-fe
+cd
+45
 1f
 e0
 fe
 01
 60
 00
-cc
-fe
+cd
+45
 c0
 02
 01
-38
+2c
 20
 40
 01
-22
+16
 70
 4c
-10
+57
 02
 20
 20
 01
-6d
+66
 20
 40
 04
-79
+ba
 70
-4c
-fe
+4d
+45
 00
 20
 20
 01
-13
+07
 70
 4d
-03
+4a
 02
 70
 4d
-01
+48
 01
 70
 4d
-00
+47
 00
 20
 20
 01
-13
+07
 68
 00
 cd
-02
+49
 c0
 01
 81
-3c
+30
 68
 00
-cb
 cc
+13
 2f
 ec
 00
@@ -1299,27 +1251,27 @@
 20
 20
 81
-11
+05
 68
 00
 cd
-02
+49
 c0
 00
 81
-3b
+2f
 c0
 01
 01
-3c
+30
 20
 60
 00
 00
 68
 00
-cb
-db
+cc
+22
 c1
 ff
 80
@@ -1327,11 +1279,11 @@
 20
 40
 01
-4d
+41
 24
 56
 01
-55
+49
 20
 60
 00
@@ -1343,7 +1295,7 @@
 68
 00
 cd
-01
+48
 c1
 80
 80
@@ -1351,18 +1303,18 @@
 68
 00
 cd
-03
+4a
 c1
 80
 00
 00
 70
 4d
-02
+49
 01
 70
 4c
-10
+57
 04
 20
 20
@@ -1371,11 +1323,11 @@
 68
 00
 cd
-03
+4a
 20
 3a
 01
-5c
+50
 1f
 e0
 ff
@@ -1383,58 +1335,58 @@
 60
 00
 cd
-03
+4a
 70
 4d
-02
+49
 02
 70
 4c
-10
+57
 04
 20
 20
 01
-22
+16
 70
 4d
-02
+49
 03
 68
 00
 cd
-00
+47
 24
 3a
 01
-2f
+23
 70
 4c
-10
+57
 02
 20
 20
 01
-22
+16
 68
 00
-cb
-db
+cc
+22
 c0
 ff
 81
-d5
+d7
 20
 40
 01
-67
+5b
 20
 40
 02
 38
 70
-4b
-d0
+4c
+17
 01
 20
 60
@@ -1442,20 +1394,20 @@
 00
 68
 01
-4c
-fc
+4d
+43
 20
 40
 7f
 9c
 20
 34
-00
-47
+01
+61
 68
 03
 cb
-68
+af
 20
 7a
 00
@@ -1464,9 +1416,37 @@
 20
 7f
 e7
+68
+00
+ca
+fc
+c0
+00
+81
+64
+20
+60
+00
+00
 70
+4a
+fc
+02
+20
+20
+00
 4b
-d4
+68
+04
+4b
+ae
+20
+7a
+00
+00
+70
+4c
+1b
 00
 d9
 60
@@ -1479,83 +1459,95 @@
 20
 40
 01
-87
+85
 68
 00
 cc
-07
-c1
-00
-80
-00
+22
+c0
+7f
+81
+7f
 24
 2c
 01
-96
+94
 24
 37
 81
-96
+94
 20
 40
 01
-84
+82
 20
 40
 01
-b1
+b3
 20
 40
 04
-83
+c4
 68
 00
-cb
-ca
+cc
+11
 1f
 e0
 fe
 01
 60
 00
-cb
-ca
+cc
+11
 20
 40
 01
-1c
+10
 68
 00
-cb
-db
+cc
+22
 c0
 ff
 81
-ef
+f1
 20
 40
 01
-3f
+33
 58
 00
 00
 00
 60
 02
-4b
-d0
+4c
+17
 60
 00
-cb
-d3
+cc
+1a
 60
 00
-cc
-ff
+cd
+46
 20
 60
 00
 00
+68
+00
+cc
+18
+c0
+04
+81
+70
+20
+20
+01
+94
 df
 20
 00
@@ -1563,7 +1555,7 @@
 d8
 a0
 4b
-67
+ae
 20
 20
 7e
@@ -1579,19 +1571,19 @@
 68
 00
 cc
-07
+4e
 c0
 00
 81
-94
+92
 18
 00
 2a
 00
 68
 02
-4b
-f3
+4c
+3a
 98
 00
 12
@@ -1627,55 +1619,71 @@
 20
 20
 01
-78
+73
 68
 00
-cb
-f7
+cc
+3e
 24
 7a
 00
 00
 68
 01
-4b
-d1
+4c
+18
 1f
 e0
 fe
 01
 60
 01
-4b
-d1
+4c
+18
 68
 00
-cb
-d2
+cc
+19
 c2
 82
-2d
-d4
+01
+9f
 68
 00
-cb
-db
+cc
+22
 c0
 ff
 81
-a1
+a3
 20
 40
 01
-a7
+a9
 20
 20
 01
-6e
+69
+70
+4b
+3a
+00
+20
+40
+04
+8c
+20
+40
+04
+7e
+20
+20
+01
+a5
 68
 00
-cb
-d1
+cc
+18
 c1
 ff
 80
@@ -1686,8 +1694,8 @@
 00
 60
 01
-4b
-d1
+4c
+18
 20
 20
 2d
@@ -1695,11 +1703,11 @@
 20
 20
 01
-22
+16
 68
 00
-cb
-d4
+cc
+1b
 1f
 e6
 7c
@@ -1707,31 +1715,31 @@
 24
 21
 01
-a6
+a8
 1f
 e0
 fe
 01
 60
 00
-cb
-d4
+cc
+1b
 c0
 01
 01
-17
+0b
 c0
 03
 01
-1e
+12
 c0
 04
 01
-17
+0b
 c0
 06
 01
-1e
+12
 20
 60
 00
@@ -1739,23 +1747,23 @@
 68
 00
 cb
-46
+8d
 1f
 e9
 7e
 00
 60
 00
-cb
-c9
-1f
+cc
+10
+1f
 e0
 fe
 01
 d8
 c0
 4b
-46
+8d
 98
 c0
 8c
@@ -1767,11 +1775,11 @@
 60
 01
 cc
-08
+4f
 68
 00
 cb
-46
+8d
 1f
 e3
 7e
@@ -1783,11 +1791,11 @@
 60
 00
 cc
-0e
+55
 68
 00
-cb
-c9
+cc
+10
 20
 7a
 00
@@ -1799,11 +1807,11 @@
 d8
 c0
 4b
-47
+8e
 d8
 a0
 4b
-a9
+f0
 20
 20
 7f
@@ -1813,21 +1821,21 @@
 de
 04
 70
-4b
-ca
+4c
+11
 00
 70
-4b
-d5
+4c
+1c
 4e
 68
 02
-4b
-d7
+4c
+1e
 60
 02
-4b
-f3
+4c
+3a
 da
 20
 00
@@ -1838,8 +1846,8 @@
 04
 d8
 c0
-4b
-f3
+4c
+3a
 e8
 c0
 80
@@ -1851,7 +1859,7 @@
 c2
 00
 01
-cb
+cd
 1a
 22
 7e
@@ -1859,15 +1867,15 @@
 60
 01
 4c
-7c
+c3
 68
 00
 cc
-7c
+c3
 68
 08
 cc
-7d
+c4
 98
 40
 fe
@@ -1875,42 +1883,42 @@
 60
 00
 cc
-7e
+c5
 20
 60
 00
 00
 68
 00
-cb
-d0
+cc
+17
 c0
 00
 ff
 e7
 68
 00
-cb
-db
+cc
+22
 c0
 00
 81
-dc
+de
 c0
 01
 01
-df
+e1
 c0
 01
 81
-e2
+e4
 20
 20
 2a
 8c
 70
-4b
-db
+4c
+22
 11
 70
 11
@@ -1919,10 +1927,10 @@
 20
 20
 01
-e4
+e6
 70
-4b
-db
+4c
+22
 12
 70
 11
@@ -1931,10 +1939,10 @@
 20
 20
 01
-e4
+e6
 70
-4b
-db
+4c
+22
 13
 70
 11
@@ -1942,8 +1950,8 @@
 22
 68
 00
-cb
 cc
+13
 1f
 e1
 7e
@@ -1955,7 +1963,7 @@
 68
 02
 4c
-02
+49
 60
 02
 11
@@ -1979,7 +1987,7 @@
 20
 40
 01
-64
+58
 20
 20
 7f
@@ -1987,11 +1995,11 @@
 20
 40
 04
-80
+c1
 68
 00
-cb
-db
+cc
+22
 c1
 7f
 80
@@ -1999,38 +2007,38 @@
 c0
 08
 81
-f6
+f8
 c0
 09
 01
-f8
+fa
 c0
 09
 81
-fa
+fc
 20
 60
 00
 00
 70
-4b
-db
+4c
+22
 02
 20
 20
 01
-7f
+7a
 70
-4b
-db
+4c
+22
 03
 20
 20
 01
-7f
+7a
 70
-4b
-db
+4c
+22
 ff
 70
 0a
@@ -2043,19 +2051,11 @@
 20
 40
 00
-b0
+a4
 20
 20
 01
-7f
-20
-40
-03
-33
-20
-34
-03
-2a
+7a
 79
 20
 00
@@ -2063,7 +2063,7 @@
 68
 00
 cd
-1a
+61
 79
 20
 7e
@@ -2071,7 +2071,7 @@
 60
 00
 cd
-1a
+61
 20
 40
 02
@@ -2094,8 +2094,8 @@
 ff
 68
 00
-cb
 cc
+13
 60
 00
 91
@@ -2103,7 +2103,7 @@
 68
 02
 4c
-02
+49
 60
 02
 11
@@ -2143,7 +2143,7 @@
 68
 00
 cd
-09
+50
 1f
 e0
 fe
@@ -2155,7 +2155,7 @@
 60
 00
 cd
-09
+50
 c0
 00
 02
@@ -2167,7 +2167,7 @@
 20
 20
 01
-c3
+c5
 20
 40
 02
@@ -2175,19 +2175,19 @@
 68
 02
 4c
-02
+49
 60
 02
-4b
-f3
+4c
+3a
 68
 00
 ca
 a4
 60
 00
-cb
-d6
+cc
+1d
 20
 40
 02
@@ -2203,11 +2203,11 @@
 20
 40
 01
-c8
+ca
 20
 20
 01
-22
+16
 70
 41
 de
@@ -2215,19 +2215,19 @@
 68
 02
 4d
-10
+57
 60
 02
-4b
-f3
+4c
+3a
 68
 00
 ca
 a5
 60
 00
-cb
-d6
+cc
+1d
 20
 40
 02
@@ -2246,7 +2246,7 @@
 26
 70
 4d
-1a
+61
 00
 20
 40
@@ -2262,8 +2262,8 @@
 d2
 60
 08
-cb
-cb
+cc
+12
 18
 42
 72
@@ -2271,43 +2271,43 @@
 d8
 a0
 4b
-67
+ae
 20
 20
 2d
 51
 68
 00
-cb
-cb
+cc
+12
 1f
 e0
 fe
 02
 60
 00
-cb
-cd
+cc
+14
 68
 00
-cb
 cc
+13
 60
 00
 cb
-87
+ce
 68
 00
-cb
-cb
+cc
+12
 1f
 e9
 fe
 00
 68
 08
-cb
-ca
+cc
+11
 18
 41
 04
@@ -2323,7 +2323,7 @@
 68
 08
 cc
-07
+4e
 98
 40
 fe
@@ -2334,8 +2334,8 @@
 00
 68
 00
-cb
-cb
+cc
+12
 98
 00
 72
@@ -2343,7 +2343,7 @@
 d8
 c0
 4b
-67
+ae
 20
 20
 7f
@@ -2366,8 +2366,8 @@
 00
 68
 00
-cb
-d5
+cc
+1c
 20
 20
 53
@@ -2398,8 +2398,8 @@
 00
 68
 01
-4b
-ce
+4c
+15
 98
 00
 36
@@ -2435,11 +2435,11 @@
 60
 00
 cc
-7f
+c6
 68
 08
 cc
-7e
+c5
 98
 46
 7c
@@ -2455,15 +2455,15 @@
 60
 00
 cb
-45
+8c
 68
 00
 cb
-45
+8c
 68
 08
-cb
 cc
+13
 a8
 40
 0e
@@ -2515,7 +2515,7 @@
 60
 00
 cd
-06
+4d
 1a
 22
 0a
@@ -2579,7 +2579,7 @@
 68
 00
 cd
-06
+4d
 1f
 e2
 22
@@ -2587,11 +2587,11 @@
 68
 08
 cc
-86
+cd
 58
 00
 4c
-8d
+d4
 98
 40
 8a
@@ -2615,7 +2615,7 @@
 60
 08
 cc
-86
+cd
 20
 60
 00
@@ -2650,8 +2650,8 @@
 c4
 68
 02
-4b
-f3
+4c
+3a
 98
 00
 12
@@ -2666,8 +2666,8 @@
 18
 68
 08
-cb
-d5
+cc
+1c
 20
 40
 29
@@ -2723,15 +2723,15 @@
 68
 00
 cc
-7e
+c5
 08
 00
 86
 08
 68
 00
-cb
-cd
+cc
+14
 98
 00
 72
@@ -2739,7 +2739,7 @@
 d8
 c0
 4b
-87
+ce
 e8
 c0
 80
@@ -2790,8 +2790,8 @@
 e9
 68
 0a
-4b
-ec
+4c
+33
 1c
 42
 7e
@@ -2810,12 +2810,12 @@
 00
 68
 02
-4b
-ec
+4c
+33
 68
 08
-cb
-f0
+cc
+37
 98
 40
 84
@@ -2838,8 +2838,8 @@
 1c
 60
 02
-4b
-ec
+4c
+33
 20
 20
 7f
@@ -2907,7 +2907,7 @@
 20
 40
 00
-ec
+e0
 68
 00
 c0
@@ -2959,11 +2959,11 @@
 60
 00
 cc
-82
+c9
 20
 40
 04
-80
+c1
 20
 40
 02
@@ -3002,8 +3002,8 @@
 20
 c0
 01
+02
 01
-ff
 68
 00
 c2
@@ -3015,7 +3015,7 @@
 68
 00
 cc
-82
+c9
 60
 00
 c1
@@ -3075,10 +3075,10 @@
 20
 40
 01
-c3
+c5
 70
-4b
-db
+4c
+22
 01
 20
 60
@@ -3091,7 +3091,7 @@
 60
 02
 4c
-02
+49
 20
 40
 3e
@@ -3099,11 +3099,11 @@
 20
 40
 04
-3d
+7e
 20
 40
 04
-4d
+8e
 20
 40
 3e
@@ -3199,7 +3199,7 @@
 60
 01
 4d
-0e
+55
 20
 60
 00
@@ -3211,7 +3211,7 @@
 60
 01
 4d
-0e
+55
 24
 55
 83
@@ -3230,16 +3230,16 @@
 93
 c2
 81
+02
 01
-ff
 58
 00
 ff
 ff
 60
 01
-4b
-f3
+4c
+3a
 e0
 a1
 00
@@ -3251,7 +3251,7 @@
 68
 00
 cd
-1a
+61
 79
 20
 7e
@@ -3259,7 +3259,7 @@
 60
 00
 cd
-1a
+61
 70
 4b
 39
@@ -3286,8 +3286,8 @@
 02
 d8
 c0
-4b
-f3
+4c
+3a
 20
 40
 7f
@@ -3322,8 +3322,8 @@
 47
 60
 01
-4c
-fc
+4d
+43
 58
 00
 02
@@ -3343,7 +3343,7 @@
 58
 00
 03
-6d
+6e
 60
 01
 41
@@ -3351,7 +3351,7 @@
 58
 00
 03
-79
+7a
 60
 01
 41
@@ -3375,7 +3375,7 @@
 20
 20
 00
-bb
+af
 1a
 62
 7e
@@ -3391,7 +3391,7 @@
 c0
 1e
 03
-61
+63
 20
 20
 41
@@ -3403,7 +3403,7 @@
 20
 40
 03
-62
+63
 d8
 e0
 00
@@ -3414,8 +3414,8 @@
 d2
 da
 20
-4b
-f3
+4c
+3a
 da
 40
 00
@@ -3430,7 +3430,7 @@
 00
 70
 4d
-0b
+52
 00
 20
 40
@@ -3440,10 +3440,18 @@
 40
 02
 2f
+68
+00
+cb
+48
+24
+7a
+00
+00
 20
 40
 00
-ed
+e1
 d8
 5f
 ff
@@ -3465,10 +3473,6 @@
 02
 ea
 70
-4c
-07
-01
-70
 4a
 a9
 00
@@ -3535,11 +3539,11 @@
 20
 40
 04
-3d
+7e
 20
 40
 04
-4d
+8e
 d8
 40
 00
@@ -3559,7 +3563,7 @@
 20
 20
 00
-ed
+e1
 20
 40
 42
@@ -3567,15 +3571,15 @@
 20
 40
 03
-87
+a9
 20
 40
 03
-a0
+c2
 20
 40
 03
-c4
+f8
 20
 40
 42
@@ -3583,19 +3587,51 @@
 20
 40
 03
-9b
+bd
 20
 20
 03
-80
+81
+68
+00
+cb
+3a
+c0
+00
+83
+9a
 20
 40
 40
 83
-20
-7a
+68
+09
+4b
+45
+98
+46
+7c
 00
+24
+42
+84
+33
+1a
+22
+7e
 00
+60
+01
+4b
+45
+20
+3a
+03
+9c
+70
+4b
+43
+0a
 68
 01
 4b
@@ -3608,10 +3644,110 @@
 01
 4b
 21
+1f
+e6
+7c
+06
+20
+21
+03
+95
+20
+7a
+00
+00
+68
+00
+cb
+34
+24
+7a
+00
+00
 70
 4b
-41
-0a
+4b
+02
+20
+60
+00
+00
+20
+7a
+00
+00
+68
+00
+cb
+34
+24
+7a
+00
+00
+70
+4b
+4b
+01
+20
+60
+00
+00
+68
+01
+4a
+e4
+20
+20
+03
+88
+70
+4b
+48
+00
+70
+4b
+49
+00
+20
+40
+04
+33
+68
+00
+cb
+47
+20
+7a
+00
+00
+20
+40
+04
+0d
+68
+00
+cb
+3a
+c0
+80
+83
+a5
+20
+60
+00
+00
+20
+40
+03
+54
+20
+40
+65
+df
+20
+40
+02
+01
 20
 60
 00
@@ -3631,7 +3767,7 @@
 da
 40
 03
-8c
+ae
 20
 20
 33
@@ -3643,7 +3779,7 @@
 c2
 81
 03
-99
+bb
 68
 00
 cb
@@ -3663,7 +3799,7 @@
 20
 22
 83
-99
+bb
 70
 4b
 1b
@@ -3671,7 +3807,7 @@
 c0
 00
 84
-4b
+8c
 68
 00
 cb
@@ -3679,11 +3815,11 @@
 c0
 00
 84
-4b
+8c
 c0
 00
 04
-48
+89
 20
 60
 00
@@ -3707,7 +3843,7 @@
 da
 60
 4b
-41
+43
 da
 40
 03
@@ -3739,7 +3875,11 @@
 20
 3a
 03
-ad
+e0
+c0
+02
+83
+d0
 1f
 e1
 7e
@@ -3747,7 +3887,7 @@
 20
 40
 04
-3f
+80
 68
 00
 cb
@@ -3763,27 +3903,87 @@
 20
 5a
 04
-48
+89
 20
 60
 00
 00
-70
-4b
-2f
+20
+40
+04
+7e
+68
+00
+cb
+48
+24
+3a
+03
+d6
+68
 00
+cd
+61
+c2
+80
+84
+89
+20
+20
+03
+e1
 68
 00
 cb
-2e
+49
+1f
+e0
+fe
+01
+c0
+04
+03
+e1
+60
+00
+cb
+49
 20
-5a
+20
+03
+db
+70
+4b
+2a
+0a
+68
+00
+cb
+12
+c0
+00
+84
+8c
+c0
+00
 04
+89
+20
+60
+00
+00
+70
 4b
+2f
+00
+20
+40
+04
+8c
 20
 20
 04
-3d
+7e
 70
 4b
 31
@@ -3791,7 +3991,7 @@
 20
 40
 04
-48
+89
 20
 60
 00
@@ -3811,7 +4011,7 @@
 da
 40
 03
-5e
+60
 20
 20
 33
@@ -3823,7 +4023,7 @@
 da
 40
 03
-bc
+ee
 20
 20
 33
@@ -3850,40 +4050,124 @@
 ff
 20
 42
-83
-cb
+84
+12
 20
 40
 04
-6b
+ac
 20
 20
 43
 b8
-da
+c0
+08
+83
+fa
+20
 60
-4a
-a2
-da
+00
+00
+68
+00
+cb
+45
+c0
+82
+83
+f6
+58
+00
+00
+00
+60
+02
+4b
+15
+20
 40
 03
-c7
+e6
+68
+01
+4b
+21
+1f
+e6
+7c
+0a
 20
+61
+00
+00
+1f
+e6
+7c
+60
+24
+41
+04
+0b
+1f
+e6
+7c
+68
+24
+21
+04
+0d
+70
+4c
+17
+00
 20
-33
-74
+40
+7f
+e7
 68
 00
 cb
-39
-c0
+47
+24
+7a
 00
-83
+00
+70
+4b
+3a
+00
+70
+4b
+47
+01
+20
+20
+03
 2a
 70
-4a
-a1
+4b
+48
+01
+20
+60
+00
+00
+68
+00
+cd
+61
+79
+3f
+fe
 01
+60
+00
+cd
+61
+70
+4b
+47
+00
 20
 60
 00
@@ -3906,8 +4190,8 @@
 00
 20
 40
-03
-d9
+04
+27
 20
 40
 40
@@ -3915,7 +4199,7 @@
 20
 40
 04
-50
+91
 1a
 22
 7e
@@ -3924,6 +4208,10 @@
 01
 4a
 e4
+20
+40
+04
+21
 68
 01
 4b
@@ -3945,33 +4233,29 @@
 7f
 e7
 68
-00
-cb
-2e
-24
-7a
-00
-00
-68
 01
 4a
 e4
 24
 5a
-03
-e3
+04
+2a
+68
+01
+4a
+e4
 20
 5a
-03
-e9
+04
+30
 20
 40
-03
-e0
-20
-20
 04
-15
+59
+20
+60
+00
+00
 da
 20
 00
@@ -3979,7 +4263,7 @@
 20
 40
 04
-05
+49
 20
 20
 40
@@ -3991,18 +4275,18 @@
 c2
 82
 03
-b4
+e6
 c0
 01
 83
-b4
+e6
 60
 01
 4b
 17
 70
 4b
-40
+3f
 01
 20
 60
@@ -4016,18 +4300,6 @@
 03
 cb
 31
-68
-01
-4b
-21
-1f
-e6
-7c
-06
-24
-41
-03
-ef
 20
 60
 00
@@ -4095,11 +4367,11 @@
 c0
 03
 84
-01
+45
 c0
 00
 04
-03
+47
 20
 60
 00
@@ -4134,8 +4406,8 @@
 da
 20
 40
-03
-f2
+04
+36
 60
 00
 ca
@@ -4154,8 +4426,8 @@
 db
 20
 40
-03
-f2
+04
+36
 60
 00
 ca
@@ -4174,8 +4446,8 @@
 de
 20
 40
-03
-f2
+04
+36
 60
 00
 ca
@@ -4185,21 +4457,17 @@
 00
 00
 68
-01
+00
+cb
 4b
-21
 20
 7a
 00
 00
-1f
-e6
-7c
-06
-24
-21
+c0
+01
 04
-29
+6a
 68
 01
 4a
@@ -4216,18 +4484,10 @@
 01
 4b
 15
-68
-01
+70
 4b
-21
-1f
-e6
-7c
-06
-20
-41
-03
-ef
+4b
+00
 68
 00
 cb
@@ -4235,7 +4495,7 @@
 c0
 00
 84
-26
+67
 68
 00
 cb
@@ -4243,7 +4503,7 @@
 c0
 00
 84
-26
+67
 70
 4b
 17
@@ -4263,7 +4523,7 @@
 20
 20
 04
-24
+65
 68
 01
 4b
@@ -4271,7 +4531,7 @@
 c0
 00
 84
-2f
+70
 68
 01
 4b
@@ -4287,7 +4547,7 @@
 20
 20
 04
-1c
+5f
 68
 00
 cb
@@ -4295,7 +4555,7 @@
 20
 5a
 04
-36
+77
 68
 00
 cb
@@ -4303,7 +4563,7 @@
 c0
 00
 04
-2b
+6c
 68
 01
 4b
@@ -4315,7 +4575,7 @@
 20
 20
 04
-1c
+5f
 70
 4b
 32
@@ -4347,7 +4607,7 @@
 20
 40
 04
-3b
+7c
 20
 20
 68
@@ -4355,7 +4615,7 @@
 c0
 82
 04
-3d
+7e
 68
 01
 4b
@@ -4371,11 +4631,11 @@
 20
 21
 04
-3d
+7e
 20
 40
 04
-3b
+7c
 20
 20
 68
@@ -4395,7 +4655,7 @@
 20
 40
 04
-46
+87
 20
 20
 68
@@ -4415,7 +4675,7 @@
 20
 40
 04
-46
+87
 20
 20
 68
@@ -4523,7 +4783,7 @@
 20
 40
 04
-73
+b4
 20
 20
 42
@@ -4539,7 +4799,7 @@
 20
 40
 04
-73
+b4
 d8
 c0
 4a
@@ -4587,7 +4847,7 @@
 68
 00
 cd
-04
+4b
 1f
 e6
 7c
@@ -4595,11 +4855,11 @@
 24
 41
 04
-87
+c8
 68
 00
 cd
-04
+4b
 c1
 00
 00
@@ -4611,14 +4871,14 @@
 20
 20
 04
-85
+c6
 70
 4d
-07
+4e
 01
 70
 4d
-04
+4b
 00
 20
 60
@@ -4627,7 +4887,7 @@
 68
 00
 cd
-04
+4b
 1f
 e0
 fe
@@ -4635,14 +4895,14 @@
 60
 00
 cd
-04
+4b
 20
 60
 00
 00
 70
 4d
-04
+4b
 03
 20
 60
@@ -4715,19 +4975,19 @@
 c0
 01
 04
-a1
+e2
 c0
 02
 04
-a9
+ea
 c0
 10
 04
-b3
+f4
 20
 40
 04
-ae
+ef
 70
 89
 55
@@ -4779,7 +5039,7 @@
 20
 40
 04
-ae
+ef
 70
 89
 55
@@ -4836,8 +5096,8 @@
 20
 28
 fa
-a9
-23
+cc
+87
 aa
 55
 08
@@ -5606,524 +5866,264 @@
 05
 75
 01
-05
-08
-19
-01
-29
-05
-91
-02
-95
-01
-75
-03
-91
-03
-95
-06
-75
-08
-15
-00
-26
-ff
-00
-05
-07
-19
-00
-29
-ff
-81
-00
-c0
-05
-0c
-09
-01
-a1
-01
-85
-03
-19
-00
-2a
-ff
-03
-15
-00
-26
-ff
-03
-95
-01
-75
-10
-81
-00
-c0
-21
-00
-02
-03
-28
-01
-02
-22
-00
-02
-4a
-2a
-04
-01
-01
-00
-03
-23
-00
-02
-03
-28
-01
-04
-24
-00
-02
-4c
-2a
-00
-00
-00
-aa
-55
-01
-00
-50
-4a
-14
-aa
-55
-11
-00
-71
-4a
-06
-ff
-06
-00
-03
-00
-80
-09
-09
-46
-4c
-49
-50
-20
-50
-45
-4e
-aa
-55
-02
-00
-e2
-4a
-07
-00
-aa
-55
-12
-00
-03
-4b
-4b
-4e
-2b
-28
-3e
-29
-05
-2b
-3d
-52
-51
-50
-4f
-08
-06
-00
-08
-07
-aa
-55
-01
-00
-1b
-4b
-01
-aa
-55
-03
-00
-29
-4b
-1c
-02
-00
-aa
-55
-01
-00
-3b
-4b
-05
-aa
-55
-01
-00
-43
-4b
-01
-aa
-55
-04
-00
-cc
-4b
-02
-00
-70
-18
-aa
-55
-15
-00
-d7
-4b
-20
-15
-10
-05
-ff
-13
-13
-13
-13
-13
-13
-13
-13
-13
-13
-13
-13
-13
-13
-13
-13
-aa
-55
-03
-00
-f0
-4b
-19
-19
-1c
-aa
-55
-03
-00
-fa
-4b
-80
-4f
-12
-aa
-55
-02
-00
-10
-4c
-04
-01
-aa
-55
-06
-00
-10
-4d
-0f
-0f
-0f
-0f
-0f
-0f
-82
-4a
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+05
+08
+19
+01
+29
+05
+91
+02
+95
+01
+75
+03
+91
+03
+95
+06
+75
+08
+15
+00
+26
 ff
+00
+05
+07
+19
+00
+29
 ff
+81
+00
+c0
+05
+0c
+09
+01
+a1
+01
+85
+03
+19
+00
+2a
 ff
+03
+15
+00
+26
 ff
+03
+95
+01
+75
+10
+81
+00
+c0
+21
+00
+02
+03
+28
+01
+02
+22
+00
+02
+4a
+2a
+04
+01
+01
+00
+03
+23
+00
+02
+03
+28
+01
+04
+24
+00
+02
+4c
+2a
+00
+00
+00
+aa
+55
+01
+00
+50
+4a
+14
+aa
+55
+11
+00
+71
+4a
+06
 ff
+06
+00
+03
+00
+80
+09
+09
+46
+4c
+49
+50
+20
+50
+45
+4e
+aa
+55
+02
+00
+e2
+4a
+07
+00
+aa
+55
+12
+00
+03
+4b
+4b
+4e
+2b
+28
+3e
+29
+05
+2b
+3d
+52
+51
+50
+4f
+08
+06
+00
+08
+07
+aa
+55
+01
+00
+1b
+4b
+01
+aa
+55
+03
+00
+29
+4b
+1c
+02
+00
+aa
+55
+01
+00
+3b
+4b
+05
+aa
+55
+01
+00
+41
+4b
+01
+aa
+55
+04
+00
+13
+4c
+02
+00
+70
+18
+aa
+55
+15
+00
+1e
+4c
+20
+15
+10
+05
 ff
+13
+13
+13
+13
+13
+13
+13
+13
+13
+13
+13
+13
+13
+13
+13
+13
+aa
+55
+03
+00
+37
+4c
+19
+19
+1c
+aa
+55
+03
+00
+41
+4c
+00
+77
+01
+aa
+55
+02
+00
+57
+4c
+04
+01
+aa
+55
+06
+00
+57
+4d
+0f
+0f
+0f
+0f
+0f
+0f
+28
+92
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-a4
-92
+a6
+1b
Index: output/memmap.format
===================================================================
--- /branch/flip_pen/flip_pen_2.4G/output/memmap.format	(revision 3103)
+++ /branch/flip_pen/flip_pen_2.4G/output/memmap.format	(working copy)
@@ -1869,131 +1869,139 @@
 0x4b3c mem_device_led_timer
 0x4b3d mem_device_led_flag
 0x4b3e mem_hibernate_flag
-0x4b3f mem_not_show_device_led
-0x4b40 mem_connect_staus
-0x4b41 mem_g24_int_g24_mode_timeout
-0x4b43 mem_package_id
-0x4b44 mem_packet_count
-0x4b45 mem_24g_rxbuf
-0x4b67 mem_24g_txbuf
-0x4b87 mem_24g_txpayload
-0x4ba9 mem_24g_rxpayload
-0x4bc9 mem_24g_rxdata_length
-0x4bca mem_24g_pid
-0x4bcb mem_24g_datalen
-0x4bcc mem_24g_data_type
-0x4bcd mem_24g_txlen
-0x4bce mem_24g_rx_window
-0x4bd0 mem_24g_ensure
-0x4bd1 mem_24g_txfail_cnt
-0x4bd3 mem_24g_get_ack_fail
-0x4bd4 mem_24g_retry
-0x4bd5 mem_24g_ch
-0x4bd6 mem_24g_current_ch_number
-0x4bd7 mem_24g_paring_addr
-0x4bdb mem_24g_pairing_sm
-0x4bdc mem_24g_ch_map1
-0x4be0 mem_24g_ch_map2
-0x4be4 mem_24g_ch_map3
-0x4be8 mem_24g_ch_map4
-0x4bec mem_24g_tx_btclk
-0x4bf0 mem_24g_interval
-0x4bf1 mem_24g_interval_min
-0x4bf2 mem_24g_interval_max
-0x4bf3 mem_24g_addr
-0x4bf7 mem_24g_abort_pac
-0x4bf8 mem_24g_check_dongle_times
-0x4bfa mem_24g_enter_hibernate
-0x4c02 mem_24g_device_addr
-0x4c06 mem_24g_pac_index
-0x4c07 mem_24g_no_ack
-0x4c08 mem_24g_sta_crc
-0x4c0b mem_24g_last_crc
-0x4c0e mem_24g_sta_pid
-0x4c0f mem_24g_last_pid
-0x4c10 mem_24g_max_retry
-0x4c11 mem_24g_mode
-0x4c12 mem_24g_rxdata_temp
-0x4c34 mem_24g_rx_addr
-0x4c38 mem_dongle_mode_init
-0x4c39 mem_dongle_work_mode
-0x4c3a mem_dongle_ms_bind_step
-0x4c3b mem_dongle_kb_bind_step
-0x4c3c mem_dongle_bind_device_status
-0x4c3d mem_24g_bind_payload
-0x4c45 mem_24g_abort_packet
-0x4c46 mem_24g_rf_laststa
-0x4c47 mem_24g_hop_btclk
-0x4c4b mem_24g_hop_interval
-0x4c4c mem_24g_mode_switch
-0x4c4d mem_24g_ackpayload_enable
-0x4c4e mem_24g_hop_packet
-0x4c4f mem_24g_pair_mode
-0x4c50 mem_24g_nodata_timer_enable
-0x4c51 mem_24g_time_slice
-0x4c52 mem_24g_kb_data_sta_data
-0x4c5a mem_24g_kb_data_last_data
-0x4c62 mem_24g_kb_multikey_sta_data
-0x4c65 mem_24g_kb_multikey_last_data
-0x4c68 mem_24g_kb_blank_data_enable
-0x4c69 mem_24g_kb_mul_blank_data_enable
-0x4c6a mem_24g_ms_blank_data_enable
-0x4c6b mem_24g_kb_addr
-0x4c6f mem_24g_ms_addr
-0x4c73 mem_24g_dg_last_ch
-0x4c74 mem_24g_dg_ch_number
-0x4c75 mem_24g_dg_config_ch_once
-0x4c76 mem_24g_kb_last_ch
-0x4c77 mem_24g_kb_ch_number
-0x4c78 mem_24g_kb_config_ch_once
-0x4c79 mem_24g_ms_last_ch
-0x4c7a mem_24g_ms_ch_number
-0x4c7b mem_24g_ms_config_ch_once
-0x4c7c mem_24g_syncword
-0x4c7e mem_24g_syncword_crc8
-0x4c7f mem_24g_get_syncword_crc8
-0x4c80 mem_24g_ota_sta_pid
-0x4c82 mem_tx_power_temp
-0x4c83 mem_rssi_hex
-0x4c84 mem_rssi_noise_avg
-0x4c85 mem_rssi_noise_index
-0x4c86 mem_rssi_signal_index
-0x4c87 mem_rssi_noise_dg_avg
-0x4c88 mem_rssi_noise_kb_avg
-0x4c89 mem_rssi_noise_ms_avg
-0x4c8a mem_rssi_noise_dg_index
-0x4c8b mem_rssi_noise_kb_index
-0x4c8c mem_rssi_noise_ms_index
-0x4c8d mem_rssi_signal_buf
-0x4c95 mem_queue_ele_num
-0x4c96 mem_queue_read
-0x4c98 mem_queue_write
-0x4c9a mem_queue_start
-0x4c9a mem_data_ele0
-0x4cba mem_data_ele1
-0x4cda mem_data_ele2
-0x4cfa mem_queue_end
-0x4cfa mem_queue_temp
-0x4cfc mem_cb_24g_data
-0x4cfe mem_24g_hop_fastly_cnt
-0x4cff mem_24g_hop_pac_retry
-0x4d00 mem_24g_rf_hop_ch
-0x4d01 mem_24g_rf_last_sta
-0x4d02 mem_24g_rf_work_stage
-0x4d03 mem_24g_sync_cnt
-0x4d04 mem_power_ctrl_pac_succ_cnt
-0x4d05 mem_rssi_avg_received
-0x4d06 mem_rssi_hex_received
-0x4d07 mem_power_ctrl_level
-0x4d08 mem_seqi
-0x4d09 mem_24g_auto_paring_switch
-0x4d0a mem_24g_paccnt
-0x4d0b mem_24g_transmit_by_interrupt
-0x4d0c mem_24g_transmit_by_interrupt_exit_count
-0x4d0e mem_24g_transmit_by_interrupt_exit_count_init
-0x4d10 mem_24g_allpowerful_addr
-0x4d16 mem_24g_search_dongle_action
-0x4d17 mem_24g_search_dongle_count
-0x4d18 mem_24g_search_dongle_ch
-0x4d19 mem_24g_search_dongle_wait
-0x4d1a mem_g24_conn_sm
+0x4b3f mem_connect_staus
+0x4b40 mem_not_show_device_led
+0x4b41 mem_package_id
+0x4b42 mem_packet_count
+0x4b43 mem_g24_int_g24_mode_timeout
+0x4b45 mem_timer_key
+0x4b47 mem_g24_pair
+0x4b48 mem_g24_pair_fail
+0x4b49 mem_g24_pair_fail_cunt
+0x4b4a mem_adc_read_once
+0x4b4b mem_short_press
+0x4b4c mem_test
+0x4b6c mem_test_1
+0x4b8c mem_24g_rxbuf
+0x4bae mem_24g_txbuf
+0x4bce mem_24g_txpayload
+0x4bf0 mem_24g_rxpayload
+0x4c10 mem_24g_rxdata_length
+0x4c11 mem_24g_pid
+0x4c12 mem_24g_datalen
+0x4c13 mem_24g_data_type
+0x4c14 mem_24g_txlen
+0x4c15 mem_24g_rx_window
+0x4c17 mem_24g_ensure
+0x4c18 mem_24g_txfail_cnt
+0x4c1a mem_24g_get_ack_fail
+0x4c1b mem_24g_retry
+0x4c1c mem_24g_ch
+0x4c1d mem_24g_current_ch_number
+0x4c1e mem_24g_paring_addr
+0x4c22 mem_24g_pairing_sm
+0x4c23 mem_24g_ch_map1
+0x4c27 mem_24g_ch_map2
+0x4c2b mem_24g_ch_map3
+0x4c2f mem_24g_ch_map4
+0x4c33 mem_24g_tx_btclk
+0x4c37 mem_24g_interval
+0x4c38 mem_24g_interval_min
+0x4c39 mem_24g_interval_max
+0x4c3a mem_24g_addr
+0x4c3e mem_24g_abort_pac
+0x4c3f mem_24g_check_dongle_times
+0x4c41 mem_24g_enter_hibernate
+0x4c49 mem_24g_device_addr
+0x4c4d mem_24g_pac_index
+0x4c4e mem_24g_no_ack
+0x4c4f mem_24g_sta_crc
+0x4c52 mem_24g_last_crc
+0x4c55 mem_24g_sta_pid
+0x4c56 mem_24g_last_pid
+0x4c57 mem_24g_max_retry
+0x4c58 mem_24g_mode
+0x4c59 mem_24g_rxdata_temp
+0x4c7b mem_24g_rx_addr
+0x4c7f mem_dongle_mode_init
+0x4c80 mem_dongle_work_mode
+0x4c81 mem_dongle_ms_bind_step
+0x4c82 mem_dongle_kb_bind_step
+0x4c83 mem_dongle_bind_device_status
+0x4c84 mem_24g_bind_payload
+0x4c8c mem_24g_abort_packet
+0x4c8d mem_24g_rf_laststa
+0x4c8e mem_24g_hop_btclk
+0x4c92 mem_24g_hop_interval
+0x4c93 mem_24g_mode_switch
+0x4c94 mem_24g_ackpayload_enable
+0x4c95 mem_24g_hop_packet
+0x4c96 mem_24g_pair_mode
+0x4c97 mem_24g_nodata_timer_enable
+0x4c98 mem_24g_time_slice
+0x4c99 mem_24g_kb_data_sta_data
+0x4ca1 mem_24g_kb_data_last_data
+0x4ca9 mem_24g_kb_multikey_sta_data
+0x4cac mem_24g_kb_multikey_last_data
+0x4caf mem_24g_kb_blank_data_enable
+0x4cb0 mem_24g_kb_mul_blank_data_enable
+0x4cb1 mem_24g_ms_blank_data_enable
+0x4cb2 mem_24g_kb_addr
+0x4cb6 mem_24g_ms_addr
+0x4cba mem_24g_dg_last_ch
+0x4cbb mem_24g_dg_ch_number
+0x4cbc mem_24g_dg_config_ch_once
+0x4cbd mem_24g_kb_last_ch
+0x4cbe mem_24g_kb_ch_number
+0x4cbf mem_24g_kb_config_ch_once
+0x4cc0 mem_24g_ms_last_ch
+0x4cc1 mem_24g_ms_ch_number
+0x4cc2 mem_24g_ms_config_ch_once
+0x4cc3 mem_24g_syncword
+0x4cc5 mem_24g_syncword_crc8
+0x4cc6 mem_24g_get_syncword_crc8
+0x4cc7 mem_24g_ota_sta_pid
+0x4cc9 mem_tx_power_temp
+0x4cca mem_rssi_hex
+0x4ccb mem_rssi_noise_avg
+0x4ccc mem_rssi_noise_index
+0x4ccd mem_rssi_signal_index
+0x4cce mem_rssi_noise_dg_avg
+0x4ccf mem_rssi_noise_kb_avg
+0x4cd0 mem_rssi_noise_ms_avg
+0x4cd1 mem_rssi_noise_dg_index
+0x4cd2 mem_rssi_noise_kb_index
+0x4cd3 mem_rssi_noise_ms_index
+0x4cd4 mem_rssi_signal_buf
+0x4cdc mem_queue_ele_num
+0x4cdd mem_queue_read
+0x4cdf mem_queue_write
+0x4ce1 mem_queue_start
+0x4ce1 mem_data_ele0
+0x4d01 mem_data_ele1
+0x4d21 mem_data_ele2
+0x4d41 mem_queue_end
+0x4d41 mem_queue_temp
+0x4d43 mem_cb_24g_data
+0x4d45 mem_24g_hop_fastly_cnt
+0x4d46 mem_24g_hop_pac_retry
+0x4d47 mem_24g_rf_hop_ch
+0x4d48 mem_24g_rf_last_sta
+0x4d49 mem_24g_rf_work_stage
+0x4d4a mem_24g_sync_cnt
+0x4d4b mem_power_ctrl_pac_succ_cnt
+0x4d4c mem_rssi_avg_received
+0x4d4d mem_rssi_hex_received
+0x4d4e mem_power_ctrl_level
+0x4d4f mem_seqi
+0x4d50 mem_24g_auto_paring_switch
+0x4d51 mem_24g_paccnt
+0x4d52 mem_24g_transmit_by_interrupt
+0x4d53 mem_24g_transmit_by_interrupt_exit_count
+0x4d55 mem_24g_transmit_by_interrupt_exit_count_init
+0x4d57 mem_24g_allpowerful_addr
+0x4d5d mem_24g_search_dongle_action
+0x4d5e mem_24g_search_dongle_count
+0x4d5f mem_24g_search_dongle_ch
+0x4d60 mem_24g_search_dongle_wait
+0x4d61 mem_g24_conn_sm
Index: output/program.lis
===================================================================
--- /branch/flip_pen/flip_pen_2.4G/output/program.lis	(revision 3103)
+++ /branch/flip_pen/flip_pen_2.4G/output/program.lis	(working copy)
@@ -4,20 +4,20 @@
 0001 c0000011 beq patch00_0 ,p_soft_reset 
 0002 c0008014 beq patch00_1 ,p_soft_reset_1 
 0003 c001001c beq patch00_2 ,p_soft_reset_2 
-0004 c04284b6 beq patch10_5 ,p_shutdown_radio 
-0005 c0448489 beq patch11_1 ,p_set_freq_tx 
+0004 c04284f7 beq patch10_5 ,p_shutdown_radio 
+0005 c04484ca beq patch11_1 ,p_set_freq_tx 
 0006 c0508025 beq patch14_1 ,p_init_param 
 0007 c058802a beq patch16_1 ,p_lpm_check_wake_lock 
 0008 c059002e beq patch16_2 ,p_g24_dispatch 
 0009 c06202dd beq patch18_4 ,p_device_init 
-000a c07303cd beq patch1c_6 ,p_mouse_motion 
-000b c0750455 beq patch1d_2 ,p_mouse_bb_event_discovery_btn 
-000c c075845d beq patch1d_3 ,p_mouse_start_discovery 
-000d c0760475 beq patch1d_4 ,p_mouse_stop_discovery 
+000a c0730414 beq patch1c_6 ,p_mouse_motion 
+000b c0750496 beq patch1d_2 ,p_mouse_bb_event_discovery_btn 
+000c c075849e beq patch1d_3 ,p_mouse_start_discovery 
+000d c07604b6 beq patch1d_4 ,p_mouse_stop_discovery 
 000e 20202a8e branch loop 
 
 pf_patch_ext:
-000f c01f8106 beq patch27_7 ,p_le_enable 
+000f c01f80fa beq patch27_7 ,p_le_enable 
 0010 20202a8e branch loop 
 
 p_soft_reset:
@@ -64,651 +64,667 @@
 p_g24_dispatch:
 002e c6930000 rtnmark0 mark_24g 
 002f 204002f3 call p_g24_250k_enable 
-0030 6800cd1a fetch 1 ,mem_g24_conn_sm 
-0031 c2808096 bbit1 state_24g_pair ,p_g24_pair_dispatch 
-0032 c28100b2 bbit1 state_24g_reconn ,p_g24_reconn_dispatch 
-0033 6800cd0b fetch 1 ,mem_24g_transmit_by_interrupt 
-0034 c00080bf beq g24_tx_timer_int_enable ,p_g24_transmit_by_interrupt 
+0030 6800cd61 fetch 1 ,mem_g24_conn_sm 
+0031 c280808a bbit1 state_24g_pair ,p_g24_pair_dispatch 
+0032 c28100a6 bbit1 state_24g_reconn ,p_g24_reconn_dispatch 
+0033 6800cd52 fetch 1 ,mem_24g_transmit_by_interrupt 
+0034 c00080b3 beq g24_tx_timer_int_enable ,p_g24_transmit_by_interrupt 
 
 p_g24_transmit_process:
-0035 20400161 call p_g24_txdata_prep 
-0036 243400da nbranch p_g24_nodata_transmit ,user 
-0037 20400148 call p_g24_rf_sta_check 
+0035 20400155 call p_g24_txdata_prep 
+0036 243400ce nbranch p_g24_nodata_transmit ,user 
+0037 2040013c call p_g24_rf_sta_check 
 
 p_g24_transmit_start:
-0038 2040016d call p_g24_transmit_packet 
-0039 6800cbdb fetch 1 ,mem_24g_pairing_sm 
+0038 20400166 call p_g24_transmit_packet 
+0039 6800cc22 fetch 1 ,mem_24g_pairing_sm 
 003a c1ff8000 rtnne state_24g_pairing_success 
 003b 7041de02 jam tx_power_5db ,mem_tx_power 
 003c 6800cafc fetch 1 ,mem_customer_data_trigger 
-003d c0008043 beq 1 ,p_g24_transmit_customer_data 
+003d c0010043 beq 2 ,p_g24_transmit_customer_data 
 
 p_g24_short_sleep:
-003e 204000e2 call p_g24_lpm_wait 
+003e 204000d6 call p_g24_lpm_wait 
 003f 24740000 nrtn user 
 0040 204002da call p_clear_wake 
 0041 5800ea60 setarg 60000 
 0042 20202b93 branch lpm_dispatch_sleep 
 
 p_g24_transmit_customer_data:
-0043 204000bb call p_g24_transmit_by_interrupt_enable 
-0044 20400047 call p_g24_accumulate_customer_data 
-0045 20400164 call p_g24_txdata_enable_tx 
-0046 2020016d branch p_g24_transmit_packet 
+0043 6800cafc fetch 1 ,mem_customer_data_trigger 
+0044 c0010049 beq 2 ,p_customer_data_trigger_reset 
+
+p_g24_transmit_customer_data_start:
+0045 204000af call p_g24_transmit_by_interrupt_enable 
+0046 2040004b call p_g24_accumulate_customer_data 
+0047 20400158 call p_g24_txdata_enable_tx 
+0048 20200166 branch p_g24_transmit_packet 
+
+p_customer_data_trigger_reset:
+0049 704afc00 jam 0 ,mem_customer_data_trigger 
+004a 20200045 branch p_g24_transmit_customer_data_start 
 
 p_g24_accumulate_customer_data:
-0047 da20000a arg 10 ,rega 
-0048 da404af1 arg mem_customer_key_release ,regb 
-0049 68014b15 fetch 2 ,key_key_staus 
-004a 245a0053 ncall p_mouse_customer_key_press ,blank 
-004b 704bf700 jam 0 ,mem_24g_abort_pac 
-004c 1a20fe01 add rega ,1 ,pdata 
-004d 6000cbcb store 1 ,mem_24g_datalen 
-004e 20400113 call p_g24_transmit_rf_ctrl_clear 
-004f 6000cb67 store 1 ,mem_24g_txbuf 
-0050 1a420c00 copy regb ,contr 
-0051 1a227200 copy rega ,loopcnt 
-0052 20207f01 branch memcpy 
+004b 6800cb41 fetch 1 ,mem_package_id 
+004c 6000caf0 store 1 ,mem_customer_key_press + 9 
+004d 6000cafa store 1 ,mem_customer_key_release + 9 
+004e 1fe0fe01 increase 1 ,pdata 
+004f c07f805d beq 0xff ,p_packet_id_resect 
+0050 6000cb41 store 1 ,mem_package_id 
+
+p_g24_accumulate_customer_data_next:
+0051 da20000b arg 11 ,rega 
+0052 da404af1 arg mem_customer_key_release ,regb 
+0053 68014b15 fetch 2 ,key_key_staus 
+0054 245a005f ncall p_mouse_customer_key_press ,blank 
+0055 704c3e00 jam 0 ,mem_24g_abort_pac 
+0056 1a20fe01 add rega ,1 ,pdata 
+0057 6000cc12 store 1 ,mem_24g_datalen 
+0058 20400107 call p_g24_transmit_rf_ctrl_clear 
+0059 6000cbae store 1 ,mem_24g_txbuf 
+005a 1a420c00 copy regb ,contr 
+005b 1a227200 copy rega ,loopcnt 
+005c 20207f01 branch memcpy 
+
+p_packet_id_resect:
+005d 704b4101 jam 1 ,mem_package_id 
+005e 20200051 branch p_g24_accumulate_customer_data_next 
 
 p_mouse_customer_key_press:
-0053 20400056 call p_mouse_customer_enter_packet 
-0054 da404ae7 arg mem_customer_key_press ,regb 
-0055 20600000 rtn 
+005f 20400062 call p_mouse_customer_enter_packet 
+0060 da404ae7 arg mem_customer_key_press ,regb 
+0061 20600000 rtn 
 
 p_mouse_customer_enter_packet:
-0056 680ccaf1 fetcht 9 ,mem_customer_key_release 
-0057 600ccae7 storet 9 ,mem_customer_key_press 
-0058 2040008a call p_mouse_set_key 
-0059 704b0200 jam 0 ,mem_customer_key_num1 
-005a 704b0103 jam 3 ,mem_customer_key_num 
-005b 6800cb00 fetch 1 ,mem_customer_key_status 
-005c 6000cae8 store 1 ,mem_customer_key_press + 1 
-005d 6800cb43 fetch 1 ,mem_package_id 
-005e 6000caf0 store 1 ,mem_customer_key_press + 9 
-005f 68014b15 fetch 2 ,key_key_staus 
-0060 60014aff store 2 ,mem_customer_key_temp 
-0061 df20000d arg 13 ,loopcnt 
+0062 680ccaf1 fetcht 9 ,mem_customer_key_release 
+0063 600ccae7 storet 9 ,mem_customer_key_press 
+0064 2040007e call p_mouse_set_key 
+0065 704b0200 jam 0 ,mem_customer_key_num1 
+0066 6800cb00 fetch 1 ,mem_customer_key_status 
+0067 6000cae8 store 1 ,mem_customer_key_press + 1 
+0068 68014b15 fetch 2 ,key_key_staus 
+0069 60014aff store 2 ,mem_customer_key_temp 
 
-p_mouse_customer_enter_packet_loop:
-0062 c280007b bbit1 0 ,p_mouse_customer_enter_packet2 
+p_mouse_customer_enter_packet_continue:
+006a c2800072 bbit1 0 ,p_mouse_customer_enter_packet2 
 
 p_mouse_customer_enter_packet_next:
-0063 6800cb02 fetch 1 ,mem_customer_key_num1 
-0064 1fe0fe01 increase 1 ,pdata 
-0065 6000cb02 store 1 ,mem_customer_key_num1 
-0066 68014aff fetch 2 ,mem_customer_key_temp 
-0067 1fe37e00 rshift pdata ,pdata 
-0068 60014aff store 2 ,mem_customer_key_temp 
-0069 c2000062 loop p_mouse_customer_enter_packet_loop 
+006b 6800cb02 fetch 1 ,mem_customer_key_num1 
+006c 1fe0fe01 increase 1 ,pdata 
+006d 6000cb02 store 1 ,mem_customer_key_num1 
+006e 68014aff fetch 2 ,mem_customer_key_temp 
+006f 1fe37e00 rshift pdata ,pdata 
+0070 60014aff store 2 ,mem_customer_key_temp 
+0071 2020006a branch p_mouse_customer_enter_packet_continue 
+
+p_mouse_customer_enter_packet2:
+0072 6800cb02 fetch 1 ,mem_customer_key_num1 
+0073 d8c04b03 arg mem_keyboard_value ,contr 
+0074 98c08c00 iadd contr ,contr 
+0075 e8c08000 ifetch 1 ,contr 
+0076 6000caea store 1 ,mem_customer_key_press + 3 
 
 p_mouse_customer_epacket_send_finish:
-006a 6800cb44 fetch 1 ,mem_packet_count 
-006b 1fe0fe01 increase 1 ,pdata 
-006c 6000cb44 store 1 ,mem_packet_count 
-006d 1fe67c08 sub pdata ,0x08 ,null 
-006e 24628000 nrtn zero 
-006f 6800cb43 fetch 1 ,mem_package_id 
-0070 1fe0fe01 increase 1 ,pdata 
-0071 c07f8079 beq 0xff ,p_packet_id_resect 
-0072 6000cb43 store 1 ,mem_package_id 
+0077 6800cb41 fetch 1 ,mem_package_id 
 
 p_epacket_send_finish_next:
-0073 704b4400 jam 0 ,mem_packet_count 
-0074 704b3401 jam 1 ,mem_packet_send_finish 
-0075 dfe00000 arg 0 ,pdata 
-0076 60014b15 store 2 ,key_key_staus 
+0078 704b4200 jam 0 ,mem_packet_count 
+0079 704b3401 jam 1 ,mem_packet_send_finish 
+007a dfe00000 arg 0 ,pdata 
+007b 60014b15 store 2 ,key_key_staus 
 
 p_ble_mouse_customer_epacket_send_finish:
-0077 704afd01 jam 1 ,mem_customer_bt_start_send_empty_packet 
-0078 20600000 rtn 
-
-p_packet_id_resect:
-0079 704b4301 jam 1 ,mem_package_id 
-007a 20200073 branch p_epacket_send_finish_next 
-
-p_mouse_customer_enter_packet2:
-007b 6800cb01 fetch 1 ,mem_customer_key_num 
-007c 6808cb02 fetcht 1 ,mem_customer_key_num1 
-007d d8c04b03 arg mem_keyboard_value ,contr 
-007e d8a04ae7 arg mem_customer_key_press ,contw 
-007f 98a08a00 iadd contw ,contw 
-0080 18427e00 copy temp ,pdata 
-0081 98c08c00 iadd contr ,contr 
-0082 e8c08000 ifetch 1 ,contr 
-0083 e0a08000 istore 1 ,contw 
-0084 6800cb01 fetch 1 ,mem_customer_key_num 
-0085 1fe0fe01 increase 1 ,pdata 
-0086 6000cb01 store 1 ,mem_customer_key_num 
-0087 1fe67c09 sub pdata ,0x09 ,null 
-0088 2421006a nbranch p_mouse_customer_epacket_send_finish ,positive 
-0089 20200063 branch p_mouse_customer_enter_packet_next 
+007c 704afd01 jam 1 ,mem_customer_bt_start_send_empty_packet 
+007d 20600000 rtn 
 
 p_mouse_set_key:
-008a 68014b15 fetch 2 ,key_key_staus 
-008b 6808cb00 fetcht 1 ,mem_customer_key_status 
-008c 2feffe04 isolate1 4 ,pdata 
-008d 20408092 call p_mouse_set_shift_key ,true 
-008e 2feffe08 isolate1 8 ,pdata 
-008f 20408094 call p_mouse_set_alt_key ,true 
-0090 6008cb00 storet 1 ,mem_customer_key_status 
-0091 20600000 rtn 
+007e 68014b15 fetch 2 ,key_key_staus 
+007f 6808cb00 fetcht 1 ,mem_customer_key_status 
+0080 2feffe04 isolate1 4 ,pdata 
+0081 20408086 call p_mouse_set_shift_key ,true 
+0082 2feffe08 isolate1 8 ,pdata 
+0083 20408088 call p_mouse_set_alt_key ,true 
+0084 6008cb00 storet 1 ,mem_customer_key_status 
+0085 20600000 rtn 
 
 p_mouse_set_shift_key:
-0092 79200401 set1 1 ,temp 
-0093 20600000 rtn 
+0086 79200401 set1 1 ,temp 
+0087 20600000 rtn 
 
 p_mouse_set_alt_key:
-0094 79200402 set1 2 ,temp 
-0095 20600000 rtn 
+0088 79200402 set1 2 ,temp 
+0089 20600000 rtn 
 
 p_g24_pair_dispatch:
-0096 6800cb1d fetch 1 ,mem_switch_led_finish 
-0097 207a0000 rtn blank 
-0098 6800caa1 fetch 1 ,mem_g24_stop_g24_mode 
-0099 c000add4 beq 1 ,g24_stop_24g_mode 
-009a 20400209 call p_g24_tx_attemp_data_prep 
-009b 20400187 call p_g24_transmit_receive_ack 
-009c 242c0216 nbranch p_g24_pair_txdata_retry ,sync 
-009d 24378216 nbranch p_g24_pair_txdata_retry ,user3 
-009e 204001b1 call p_g24_ackpayload_parse 
-009f 68024bf3 fetch 4 ,mem_24g_addr 
-00a0 680a4d10 fetcht 4 ,mem_24g_allpowerful_addr 
-00a1 98467c00 isub temp ,null 
-00a2 202280a5 branch p_g24_auto_pair_skip_rx_length ,zero 
-00a3 6800cbc9 fetch 1 ,mem_24g_rxdata_length 
-00a4 c1840000 rtnne bind_ackpayload_length 
+008a 6800cb1d fetch 1 ,mem_switch_led_finish 
+008b 207a0000 rtn blank 
+008c 6800caa1 fetch 1 ,mem_g24_stop_g24_mode 
+008d c000add4 beq 1 ,g24_stop_24g_mode 
+008e 20400209 call p_g24_tx_attemp_data_prep 
+008f 20400185 call p_g24_transmit_receive_ack 
+0090 242c0216 nbranch p_g24_pair_txdata_retry ,sync 
+0091 24378216 nbranch p_g24_pair_txdata_retry ,user3 
+0092 204001b3 call p_g24_ackpayload_parse 
+0093 68024c3a fetch 4 ,mem_24g_addr 
+0094 680a4d57 fetcht 4 ,mem_24g_allpowerful_addr 
+0095 98467c00 isub temp ,null 
+0096 20228099 branch p_g24_auto_pair_skip_rx_length ,zero 
+0097 6800cc10 fetch 1 ,mem_24g_rxdata_length 
+0098 c1840000 rtnne bind_ackpayload_length 
 
 p_g24_auto_pair_skip_rx_length:
-00a5 704d1a00 jam 0 ,mem_g24_conn_sm 
-00a6 204002f0 call p_mouse_tx_power_init 
-00a7 68024bf3 fetch 4 ,mem_24g_addr 
-00a8 680a4bd7 fetcht 4 ,mem_24g_paring_addr 
-00a9 98467c00 isub temp ,null 
-00aa 202282ff branch p_g24_start_pairing_sm1 ,zero 
-00ab 68024bf3 fetch 4 ,mem_24g_addr 
-00ac 680a4c02 fetcht 4 ,mem_24g_device_addr 
-00ad 98467c00 isub temp ,null 
-00ae 204280b0 call p_g24_store_dongle_addr ,zero 
-00af 202000b9 branch p_g24_tx_attemp_dongle_succ 
+0099 704d6100 jam 0 ,mem_g24_conn_sm 
+009a 204002f0 call p_mouse_tx_power_init 
+009b 68024c3a fetch 4 ,mem_24g_addr 
+009c 680a4c1e fetcht 4 ,mem_24g_paring_addr 
+009d 98467c00 isub temp ,null 
+009e 202282ff branch p_g24_start_pairing_sm1 ,zero 
+009f 68024c3a fetch 4 ,mem_24g_addr 
+00a0 680a4c49 fetcht 4 ,mem_24g_device_addr 
+00a1 98467c00 isub temp ,null 
+00a2 204280a4 call p_g24_store_dongle_addr ,zero 
+00a3 202000ad branch p_g24_tx_attemp_dongle_succ 
 
 p_g24_store_dongle_addr:
-00b0 68024bab fetch 4 ,mem_24g_rxpayload + 2 
-00b1 202001c7 branch p_g24_update_addr_and_synccrc8 
+00a4 68024bf2 fetch 4 ,mem_24g_rxpayload + 2 
+00a5 202001c9 branch p_g24_update_addr_and_synccrc8 
 
 p_g24_reconn_dispatch:
-00b2 6800caa1 fetch 1 ,mem_g24_stop_g24_mode 
-00b3 c000add4 beq 1 ,g24_stop_24g_mode 
-00b4 20400209 call p_g24_tx_attemp_data_prep 
-00b5 20400187 call p_g24_transmit_receive_ack 
-00b6 242c0122 nbranch p_g24_ch ,sync 
-00b7 24378122 nbranch p_g24_ch ,user3 
-00b8 704d1a00 jam 0 ,mem_g24_conn_sm 
+00a6 6800caa1 fetch 1 ,mem_g24_stop_g24_mode 
+00a7 c000add4 beq 1 ,g24_stop_24g_mode 
+00a8 20400209 call p_g24_tx_attemp_data_prep 
+00a9 20400185 call p_g24_transmit_receive_ack 
+00aa 242c0116 nbranch p_g24_ch ,sync 
+00ab 24378116 nbranch p_g24_ch ,user3 
+00ac 704d6100 jam 0 ,mem_g24_conn_sm 
 
 p_g24_tx_attemp_dongle_succ:
-00b9 20402f20 call g24_app_tx_attemp_succ 
-00ba 20400184 call p_g24_txbuf_clear 
+00ad 20402f20 call g24_app_tx_attemp_succ 
+00ae 20400182 call p_g24_txbuf_clear 
 
 p_g24_transmit_by_interrupt_enable:
-00bb 704d0b01 jam g24_tx_timer_int_enable ,mem_24g_transmit_by_interrupt 
-00bc 58000000 setarg 0 
-00bd 60014d0c store 2 ,mem_24g_transmit_by_interrupt_exit_count 
-00be 20600000 rtn 
+00af 704d5201 jam g24_tx_timer_int_enable ,mem_24g_transmit_by_interrupt 
+00b0 58000000 setarg 0 
+00b1 60014d53 store 2 ,mem_24g_transmit_by_interrupt_exit_count 
+00b2 20600000 rtn 
 
 p_g24_transmit_by_interrupt:
-00bf 204002b7 call p_g24_timer_check 
-00c0 24740000 nrtn user 
-00c1 204000d4 call p_g24_interval_calibrate 
-00c2 68014d0c fetch 2 ,mem_24g_transmit_by_interrupt_exit_count 
-00c3 1fe0fe01 increase 1 ,pdata 
-00c4 60014d0c store 2 ,mem_24g_transmit_by_interrupt_exit_count 
-00c5 68094d0e fetcht 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
-00c6 98467c00 isub temp ,null 
-00c7 204280c9 call p_g24_transmit_by_interrupt_exit ,zero 
-00c8 20200035 branch p_g24_transmit_process 
+00b3 204002b7 call p_g24_timer_check 
+00b4 24740000 nrtn user 
+00b5 204000c8 call p_g24_interval_calibrate 
+00b6 68014d53 fetch 2 ,mem_24g_transmit_by_interrupt_exit_count 
+00b7 1fe0fe01 increase 1 ,pdata 
+00b8 60014d53 store 2 ,mem_24g_transmit_by_interrupt_exit_count 
+00b9 68094d55 fetcht 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+00ba 98467c00 isub temp ,null 
+00bb 204280bd call p_g24_transmit_by_interrupt_exit ,zero 
+00bc 20200035 branch p_g24_transmit_process 
 
 p_g24_transmit_by_interrupt_exit:
-00c9 704d0b00 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
-00ca 58000000 setarg 0 
-00cb 60014d0c store 2 ,mem_24g_transmit_by_interrupt_exit_count 
-00cc 58000064 setarg 100 
-00cd 60014d0e store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+00bd 704d5200 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
+00be 58000000 setarg 0 
+00bf 60014d53 store 2 ,mem_24g_transmit_by_interrupt_exit_count 
+00c0 58000064 setarg 100 
+00c1 60014d55 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
 
 p_g24_interval_min:
-00ce 704c0600 jam 0 ,mem_24g_pac_index 
-00cf 6800cbf1 fetch 1 ,mem_24g_interval_min 
+00c2 704c4d00 jam 0 ,mem_24g_pac_index 
+00c3 6800cc38 fetch 1 ,mem_24g_interval_min 
 
 p_g24_interval_store:
-00d0 6000cbf0 store 1 ,mem_24g_interval 
-00d1 20600000 rtn 
+00c4 6000cc37 store 1 ,mem_24g_interval 
+00c5 20600000 rtn 
 
 p_g24_interval_max:
-00d2 6800cbf2 fetch 1 ,mem_24g_interval_max 
-00d3 202000d0 branch p_g24_interval_store 
+00c6 6800cc39 fetch 1 ,mem_24g_interval_max 
+00c7 202000c4 branch p_g24_interval_store 
 
 p_g24_interval_calibrate:
-00d4 6800cc06 fetch 1 ,mem_24g_pac_index 
-00d5 1fe0fe01 increase 1 ,pdata 
-00d6 6000cc06 store 1 ,mem_24g_pac_index 
-00d7 c00200d2 beq 4 ,p_g24_interval_max 
-00d8 c00280ce beq 5 ,p_g24_interval_min 
-00d9 20600000 rtn 
+00c8 6800cc4d fetch 1 ,mem_24g_pac_index 
+00c9 1fe0fe01 increase 1 ,pdata 
+00ca 6000cc4d store 1 ,mem_24g_pac_index 
+00cb c00200c6 beq 4 ,p_g24_interval_max 
+00cc c00280c2 beq 5 ,p_g24_interval_min 
+00cd 20600000 rtn 
 
 p_g24_nodata_transmit:
-00da 6800cbf7 fetch 1 ,mem_24g_abort_pac 
-00db 205a00f8 call p_g24_send_abort_packet ,blank 
-00dc 6800cd0b fetch 1 ,mem_24g_transmit_by_interrupt 
-00dd c1008000 rtneq g24_tx_timer_int_enable 
+00ce 6800cc3e fetch 1 ,mem_24g_abort_pac 
+00cf 205a00ec call p_g24_send_abort_packet ,blank 
+00d0 6800cd52 fetch 1 ,mem_24g_transmit_by_interrupt 
+00d1 c1008000 rtneq g24_tx_timer_int_enable 
 
 p_g24_long_sleep:
-00de 204000e2 call p_g24_lpm_wait 
-00df 24740000 nrtn user 
-00e0 6801cbfa fetch 3 ,mem_24g_enter_hibernate 
-00e1 20202d8c branch g24_lpm_long_sleep2 
+00d2 204000d6 call p_g24_lpm_wait 
+00d3 24740000 nrtn user 
+00d4 6801cc41 fetch 3 ,mem_24g_enter_hibernate 
+00d5 20202d8c branch g24_lpm_long_sleep2 
 
 p_g24_lpm_wait:
-00e2 78347c00 enable user 
-00e3 20402afa call lpo_calibration 
-00e4 6801c16f fetch 3 ,mem_clks_per_lpo 
-00e5 203a7fe9 branch disable_user ,blank 
-00e6 6800c091 fetch 1 ,mem_lpm_mode 
-00e7 203a7fe9 branch disable_user ,blank 
-00e8 6800cd0b fetch 1 ,mem_24g_transmit_by_interrupt 
-00e9 c000ffe9 beq g24_tx_timer_int_enable ,disable_user 
-00ea 6800ca5e fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
-00eb c000ffe9 beq on ,disable_user 
+00d6 78347c00 enable user 
+00d7 20402afa call lpo_calibration 
+00d8 6801c16f fetch 3 ,mem_clks_per_lpo 
+00d9 203a7fe9 branch disable_user ,blank 
+00da 6800c091 fetch 1 ,mem_lpm_mode 
+00db 203a7fe9 branch disable_user ,blank 
+00dc 6800cd52 fetch 1 ,mem_24g_transmit_by_interrupt 
+00dd c000ffe9 beq g24_tx_timer_int_enable ,disable_user 
+00de 6800ca5e fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
+00df c000ffe9 beq on ,disable_user 
 
 p_mouse_setgpio_lpm:
-00ec 204002da call p_clear_wake 
+00e0 204002da call p_clear_wake 
 
 p_mouse_setgpio_lpm_before:
-00ed 20403ec6 call mouse_lpm_before_common + 7 
-00ee 68120070 hfetch 4 ,core_gpio_oe0 
-00ef 681a0078 hfetcht 4 ,core_gpio_pu0 
-00f0 98418400 ior temp ,temp 
-00f1 18440400 invert temp ,temp 
-00f2 601a007c hstoret 4 ,core_gpio_pd0 
-00f3 d840001d arg 29 ,temp 
-00f4 204067fb call gpio_config_input 
-00f5 d8400005 arg 05 ,temp 
-00f6 204067fb call gpio_config_input 
-00f7 20600000 rtn 
+00e1 20403ec6 call mouse_lpm_before_common + 7 
+00e2 68120070 hfetch 4 ,core_gpio_oe0 
+00e3 681a0078 hfetcht 4 ,core_gpio_pu0 
+00e4 98418400 ior temp ,temp 
+00e5 18440400 invert temp ,temp 
+00e6 601a007c hstoret 4 ,core_gpio_pd0 
+00e7 d840001d arg 29 ,temp 
+00e8 204067fb call gpio_config_input 
+00e9 d8400005 arg 05 ,temp 
+00ea 204067fb call gpio_config_input 
+00eb 20600000 rtn 
 
 p_g24_send_abort_packet:
-00f8 704bf701 jam 1 ,mem_24g_abort_pac 
-00f9 704d0000 jam 0 ,mem_24g_rf_hop_ch 
-00fa 20400113 call p_g24_transmit_rf_ctrl_clear 
-00fb 6000cb67 store 1 ,mem_24g_txbuf 
-00fc 58000000 setarg 0 
-00fd 6003cb68 store 7 ,mem_24g_txbuf + 1 
-00fe 68024c02 fetch 4 ,mem_24g_device_addr 
-00ff 60024b6f store 4 ,mem_24g_txbuf + 8 
-0100 704bcb0c jam 12 ,mem_24g_datalen 
-0101 6800cbcc fetch 1 ,mem_24g_data_type 
-0102 79207e03 set1 bit_abort ,pdata 
-0103 6000cbcc store 1 ,mem_24g_data_type 
-0104 20400164 call p_g24_txdata_enable_tx 
-0105 20200038 branch p_g24_transmit_start 
+00ec 704c3e01 jam 1 ,mem_24g_abort_pac 
+00ed 704d4700 jam 0 ,mem_24g_rf_hop_ch 
+00ee 20400107 call p_g24_transmit_rf_ctrl_clear 
+00ef 6000cbae store 1 ,mem_24g_txbuf 
+00f0 58000000 setarg 0 
+00f1 6003cbaf store 7 ,mem_24g_txbuf + 1 
+00f2 68024c49 fetch 4 ,mem_24g_device_addr 
+00f3 60024bb6 store 4 ,mem_24g_txbuf + 8 
+00f4 704c120c jam 12 ,mem_24g_datalen 
+00f5 6800cc13 fetch 1 ,mem_24g_data_type 
+00f6 79207e03 set1 bit_abort ,pdata 
+00f7 6000cc13 store 1 ,mem_24g_data_type 
+00f8 20400158 call p_g24_txdata_enable_tx 
+00f9 20200038 branch p_g24_transmit_start 
 
 p_le_enable:
 
 p_g24_enable:
-0106 70890f36 jam 0x36 ,rf_adc_goff 
-0107 70890b5f jam 0x5f ,rf_agc_nsat 
-0108 783b7c00 enable le 
-0109 70891407 jam 7 ,rfen_ulp 
-010a 2040010e call check_g24_disabled 
-010b 6800c1e0 fetch 1 ,mem_250k_freq_enable 
-010c 207a0000 rtn blank 
-010d 70890ab8 jam 0xb8 ,rf_iq_gain 
+00fa 70890f36 jam 0x36 ,rf_adc_goff 
+00fb 70890b5f jam 0x5f ,rf_agc_nsat 
+00fc 783b7c00 enable le 
+00fd 70891407 jam 7 ,rfen_ulp 
+00fe 20400102 call check_g24_disabled 
+00ff 6800c1e0 fetch 1 ,mem_250k_freq_enable 
+0100 207a0000 rtn blank 
+0101 70890ab8 jam 0xb8 ,rf_iq_gain 
 
 check_g24_disabled:
-010e 68014150 fetch 2 ,mem_chip_functions 
-010f c281aa8c bbit1 g24_disabled ,assert 
-0110 20600000 rtn 
+0102 68014150 fetch 2 ,mem_chip_functions 
+0103 c281aa8c bbit1 g24_disabled ,assert 
+0104 20600000 rtn 
 
 p_g24_transmit_rf_sta_init:
-0111 704d0101 jam 1 ,mem_24g_rf_last_sta 
-0112 704d0300 jam 0 ,mem_24g_sync_cnt 
+0105 704d4801 jam 1 ,mem_24g_rf_last_sta 
+0106 704d4a00 jam 0 ,mem_24g_sync_cnt 
 
 p_g24_transmit_rf_ctrl_clear:
-0113 6800cbcc fetch 1 ,mem_24g_data_type 
-0114 1fe17e07 and_into bits_data ,pdata 
-0115 6000cbcc store 1 ,mem_24g_data_type 
-0116 20600000 rtn 
+0107 6800cc13 fetch 1 ,mem_24g_data_type 
+0108 1fe17e07 and_into bits_data ,pdata 
+0109 6000cc13 store 1 ,mem_24g_data_type 
+010a 20600000 rtn 
 
 p_g24_hop_ch_enable:
-0117 6800cbcc fetch 1 ,mem_24g_data_type 
-0118 79207e04 set1 bit_hop ,pdata 
+010b 6800cc13 fetch 1 ,mem_24g_data_type 
+010c 79207e04 set1 bit_hop ,pdata 
 
 p_g24_hop_ch_store:
-0119 6000cbcc store 1 ,mem_24g_data_type 
-011a 6000cb87 store 1 ,mem_24g_txpayload 
-011b 20600000 rtn 
+010d 6000cc13 store 1 ,mem_24g_data_type 
+010e 6000cbce store 1 ,mem_24g_txpayload 
+010f 20600000 rtn 
 
 p_g24_hop_enable_packet:
-011c 6800cbcc fetch 1 ,mem_24g_data_type 
-011d c4020000 rtnbit0 bit_hop 
+0110 6800cc13 fetch 1 ,mem_24g_data_type 
+0111 c4020000 rtnbit0 bit_hop 
 
 p_g24_hop_ch_disable:
-011e 6800cbcc fetch 1 ,mem_24g_data_type 
-011f 793ffe04 set0 bit_hop ,pdata 
-0120 20400119 call p_g24_hop_ch_store 
-0121 20400479 call power_ctrl_pac_succ_decrs 
+0112 6800cc13 fetch 1 ,mem_24g_data_type 
+0113 793ffe04 set0 bit_hop ,pdata 
+0114 2040010d call p_g24_hop_ch_store 
+0115 204004ba call power_ctrl_pac_succ_decrs 
 
 p_g24_ch:
-0122 6808cbd6 fetcht 1 ,mem_24g_current_ch_number 
-0123 6800cbf3 fetch 1 ,mem_24g_addr 
-0124 1fe17e03 and_into 0x03 ,pdata 
-0125 1fefa204 mul32 pdata ,4 ,rega 
-0126 58004bdc setarg mem_24g_ch_map1 
-0127 9a20fe00 iadd rega ,pdata 
-0128 98408c00 iadd temp ,contr 
-0129 e8c08000 ifetch 1 ,contr 
-012a 6000cbd5 store 1 ,mem_24g_ch 
-012b 18408401 increase 1 ,temp 
-012c 18410403 and_into 3 ,temp 
-012d 6008cbd6 storet 1 ,mem_24g_current_ch_number 
-012e 20600000 rtn 
+0116 6808cc1d fetcht 1 ,mem_24g_current_ch_number 
+0117 6800cc3a fetch 1 ,mem_24g_addr 
+0118 1fe17e03 and_into 0x03 ,pdata 
+0119 1fefa204 mul32 pdata ,4 ,rega 
+011a 58004c23 setarg mem_24g_ch_map1 
+011b 9a20fe00 iadd rega ,pdata 
+011c 98408c00 iadd temp ,contr 
+011d e8c08000 ifetch 1 ,contr 
+011e 6000cc1c store 1 ,mem_24g_ch 
+011f 18408401 increase 1 ,temp 
+0120 18410403 and_into 3 ,temp 
+0121 6008cc1d storet 1 ,mem_24g_current_ch_number 
+0122 20600000 rtn 
 
 p_g24_rf_hop_attemp_again:
-012f 6800cd00 fetch 1 ,mem_24g_rf_hop_ch 
-0130 c0808113 bne 1 ,p_g24_transmit_rf_ctrl_clear 
+0123 6800cd47 fetch 1 ,mem_24g_rf_hop_ch 
+0124 c0808107 bne 1 ,p_g24_transmit_rf_ctrl_clear 
 
 p_g24_rf_hop_fastly:
-0131 6800ccfe fetch 1 ,mem_24g_hop_fastly_cnt 
-0132 1fe0fe01 increase 1 ,pdata 
-0133 6000ccfe store 1 ,mem_24g_hop_fastly_cnt 
-0134 c0020138 beq 4 ,p_g24_rf_hop_fastly_exit 
-0135 20400122 call p_g24_ch 
-0136 704c1002 jam 2 ,mem_24g_max_retry 
-0137 2020016d branch p_g24_transmit_packet 
+0125 6800cd45 fetch 1 ,mem_24g_hop_fastly_cnt 
+0126 1fe0fe01 increase 1 ,pdata 
+0127 6000cd45 store 1 ,mem_24g_hop_fastly_cnt 
+0128 c002012c beq 4 ,p_g24_rf_hop_fastly_exit 
+0129 20400116 call p_g24_ch 
+012a 704c5702 jam 2 ,mem_24g_max_retry 
+012b 20200166 branch p_g24_transmit_packet 
 
 p_g24_rf_hop_fastly_exit:
-0138 20400479 call power_ctrl_pac_succ_decrs 
-0139 704cfe00 jam 0 ,mem_24g_hop_fastly_cnt 
-013a 20200113 branch p_g24_transmit_rf_ctrl_clear 
+012c 204004ba call power_ctrl_pac_succ_decrs 
+012d 704d4500 jam 0 ,mem_24g_hop_fastly_cnt 
+012e 20200107 branch p_g24_transmit_rf_ctrl_clear 
 
 p_g24_transmit_hop_pac_succ_wo_hop:
-013b 704d0302 jam 2 ,mem_24g_sync_cnt 
+012f 704d4a02 jam 2 ,mem_24g_sync_cnt 
 
 p_g24_transmit_hop_pac_succ:
-013c 704d0101 jam 1 ,mem_24g_rf_last_sta 
-013d 704d0000 jam 0 ,mem_24g_rf_hop_ch 
-013e 20200113 branch p_g24_transmit_rf_ctrl_clear 
+0130 704d4801 jam 1 ,mem_24g_rf_last_sta 
+0131 704d4700 jam 0 ,mem_24g_rf_hop_ch 
+0132 20200107 branch p_g24_transmit_rf_ctrl_clear 
 
 p_g24_transmit_succ_rf_config:
-013f 6800cd02 fetch 1 ,mem_24g_rf_work_stage 
-0140 c001813c beq 3 ,p_g24_transmit_hop_pac_succ 
-0141 6800cbcc fetch 1 ,mem_24g_data_type 
-0142 2fec0004 isolate0 bit_hop ,pdata 
-0143 20208111 branch p_g24_transmit_rf_sta_init ,true 
-0144 6800cd02 fetch 1 ,mem_24g_rf_work_stage 
-0145 c000813b beq 1 ,p_g24_transmit_hop_pac_succ_wo_hop 
-0146 c001013c beq 2 ,p_g24_transmit_hop_pac_succ 
-0147 20600000 rtn 
+0133 6800cd49 fetch 1 ,mem_24g_rf_work_stage 
+0134 c0018130 beq 3 ,p_g24_transmit_hop_pac_succ 
+0135 6800cc13 fetch 1 ,mem_24g_data_type 
+0136 2fec0004 isolate0 bit_hop ,pdata 
+0137 20208105 branch p_g24_transmit_rf_sta_init ,true 
+0138 6800cd49 fetch 1 ,mem_24g_rf_work_stage 
+0139 c000812f beq 1 ,p_g24_transmit_hop_pac_succ_wo_hop 
+013a c0010130 beq 2 ,p_g24_transmit_hop_pac_succ 
+013b 20600000 rtn 
 
 p_g24_rf_sta_check:
-0148 6800cbdb fetch 1 ,mem_24g_pairing_sm 
-0149 c1ff8000 rtnne state_24g_pairing_success 
-014a 2040014d call p_g24_rf_laststa_synccnt_check 
-014b 24560155 ncall p_g24_rf_sync_cnt_check ,user2 
-014c 20600000 rtn 
+013c 6800cc22 fetch 1 ,mem_24g_pairing_sm 
+013d c1ff8000 rtnne state_24g_pairing_success 
+013e 20400141 call p_g24_rf_laststa_synccnt_check 
+013f 24560149 ncall p_g24_rf_sync_cnt_check ,user2 
+0140 20600000 rtn 
 
 p_g24_rf_laststa_synccnt_check:
-014d 78567c00 disable user2 
-014e 6800cd01 fetch 1 ,mem_24g_rf_last_sta 
-014f c1808000 rtnne 1 
-0150 6800cd03 fetch 1 ,mem_24g_sync_cnt 
-0151 c1800000 rtnne 0 
-0152 704d0201 jam 1 ,mem_24g_rf_work_stage 
-0153 704c1004 jam 4 ,mem_24g_max_retry 
-0154 20207feb branch enable_user2 
+0141 78567c00 disable user2 
+0142 6800cd48 fetch 1 ,mem_24g_rf_last_sta 
+0143 c1808000 rtnne 1 
+0144 6800cd4a fetch 1 ,mem_24g_sync_cnt 
+0145 c1800000 rtnne 0 
+0146 704d4901 jam 1 ,mem_24g_rf_work_stage 
+0147 704c5704 jam 4 ,mem_24g_max_retry 
+0148 20207feb branch enable_user2 
 
 p_g24_rf_sync_cnt_check:
-0155 6800cd03 fetch 1 ,mem_24g_sync_cnt 
-0156 203a015c branch p_g24_rf_hop_attemp ,blank 
-0157 1fe0ffff increase -1 ,pdata 
-0158 6000cd03 store 1 ,mem_24g_sync_cnt 
-0159 704d0202 jam 2 ,mem_24g_rf_work_stage 
-015a 704c1004 jam 4 ,mem_24g_max_retry 
-015b 20200122 branch p_g24_ch 
+0149 6800cd4a fetch 1 ,mem_24g_sync_cnt 
+014a 203a0150 branch p_g24_rf_hop_attemp ,blank 
+014b 1fe0ffff increase -1 ,pdata 
+014c 6000cd4a store 1 ,mem_24g_sync_cnt 
+014d 704d4902 jam 2 ,mem_24g_rf_work_stage 
+014e 704c5704 jam 4 ,mem_24g_max_retry 
+014f 20200116 branch p_g24_ch 
 
 p_g24_rf_hop_attemp:
-015c 704d0203 jam 3 ,mem_24g_rf_work_stage 
-015d 6800cd00 fetch 1 ,mem_24g_rf_hop_ch 
-015e 243a012f nbranch p_g24_rf_hop_attemp_again ,blank 
-015f 704c1002 jam 2 ,mem_24g_max_retry 
-0160 20200122 branch p_g24_ch 
+0150 704d4903 jam 3 ,mem_24g_rf_work_stage 
+0151 6800cd47 fetch 1 ,mem_24g_rf_hop_ch 
+0152 243a0123 nbranch p_g24_rf_hop_attemp_again ,blank 
+0153 704c5702 jam 2 ,mem_24g_max_retry 
+0154 20200116 branch p_g24_ch 
 
 p_g24_txdata_prep:
-0161 6800cbdb fetch 1 ,mem_24g_pairing_sm 
-0162 c0ff81d5 bne state_24g_pairing_success ,p_g24_pairing_sm 
+0155 6800cc22 fetch 1 ,mem_24g_pairing_sm 
+0156 c0ff81d7 bne state_24g_pairing_success ,p_g24_pairing_sm 
 
 p_g24_txdata_prep_packeage_data:
-0163 20400167 call p_g24_package_data 
+0157 2040015b call p_g24_package_data 
 
 p_g24_txdata_enable_tx:
-0164 20400238 call p_g24_transmit_prep 
-0165 704bd001 jam ensure_on_24g ,mem_24g_ensure 
-0166 20600000 rtn 
+0158 20400238 call p_g24_transmit_prep 
+0159 704c1701 jam ensure_on_24g ,mem_24g_ensure 
+015a 20600000 rtn 
 
 p_g24_package_data:
-0167 68014cfc fetch 2 ,mem_cb_24g_data 
-0168 20407f9c call callback_func 
-0169 20340047 branch p_g24_accumulate_customer_data ,user 
-016a 6803cb68 fetch 7 ,mem_24g_txbuf + 1 
-016b 207a0000 rtn blank 
-016c 20207fe7 branch enable_user 
+015b 68014d43 fetch 2 ,mem_cb_24g_data 
+015c 20407f9c call callback_func 
+015d 20340161 branch p_g24_customer_data ,user 
+015e 6803cbaf fetch 7 ,mem_24g_txbuf + 1 
+015f 207a0000 rtn blank 
+0160 20207fe7 branch enable_user 
+
+p_g24_customer_data:
+0161 6800cafc fetch 1 ,mem_customer_data_trigger 
+0162 c0008164 beq 1 ,p_g24_accumulate_customer_next 
+0163 20600000 rtn 
+
+p_g24_accumulate_customer_next:
+0164 704afc02 jam 2 ,mem_customer_data_trigger 
+0165 2020004b branch p_g24_accumulate_customer_data 
 
 p_g24_transmit_packet:
-016d 704bd400 jam 0 ,mem_24g_retry 
+0166 68044bae fetch 8 ,mem_24g_txbuf 
+0167 207a0000 rtn blank 
+0168 704c1b00 jam 0 ,mem_24g_retry 
 
 p_g24_transmit_loop:
-016e d9600d00 arg param_rx_setup ,timeup 
-016f 34730200 until clkn_rt ,meet 
-0170 20400187 call p_g24_transmit_receive_ack 
-0171 6800cc07 fetch 1 ,mem_24g_no_ack 
-0172 c1008000 rtneq no_ack_24g 
-0173 242c0196 nbranch p_g24_retransmit ,sync 
-0174 24378196 nbranch p_g24_retransmit ,user3 
-0175 20400184 call p_g24_txbuf_clear 
-0176 204001b1 call p_g24_ackpayload_parse 
-0177 20400483 call power_ctrl_pac_succ_incrs 
+0169 d9600d00 arg param_rx_setup ,timeup 
+016a 34730200 until clkn_rt ,meet 
+016b 20400185 call p_g24_transmit_receive_ack 
+016c 6800cc22 fetch 1 ,mem_24g_pairing_sm 
+016d c07f817f beq state_24g_pairing_success ,p_g24_retransimt_prep 
+016e 242c0194 nbranch p_g24_retransmit ,sync 
+016f 24378194 nbranch p_g24_retransmit ,user3 
+
+p_g24_transmit_next:
+0170 20400182 call p_g24_txbuf_clear 
+0171 204001b3 call p_g24_ackpayload_parse 
+0172 204004c4 call power_ctrl_pac_succ_incrs 
 
 p_g24_transmit_next_packet:
-0178 6800cbca fetch 1 ,mem_24g_pid 
-0179 1fe0fe01 increase 1 ,pdata 
-017a 6000cbca store 1 ,mem_24g_pid 
-017b 2040011c call p_g24_hop_enable_packet 
-017c 6800cbdb fetch 1 ,mem_24g_pairing_sm 
-017d c0ff81ef bne state_24g_pairing_success ,p_g24_paring_mode_start 
-017e 2040013f call p_g24_transmit_succ_rf_config 
+0173 6800cc11 fetch 1 ,mem_24g_pid 
+0174 1fe0fe01 increase 1 ,pdata 
+0175 6000cc11 store 1 ,mem_24g_pid 
+0176 20400110 call p_g24_hop_enable_packet 
+0177 6800cc22 fetch 1 ,mem_24g_pairing_sm 
+0178 c0ff81f1 bne state_24g_pairing_success ,p_g24_paring_mode_start 
+0179 20400133 call p_g24_transmit_succ_rf_config 
 
 p_g24_transmit_abandon:
-017f 58000000 setarg 0 
-0180 60024bd0 store 4 ,mem_24g_ensure 
-0181 6000cbd3 store 1 ,mem_24g_get_ack_fail 
-0182 6000ccff store 1 ,mem_24g_hop_pac_retry 
-0183 20600000 rtn 
+017a 58000000 setarg 0 
+017b 60024c17 store 4 ,mem_24g_ensure 
+017c 6000cc1a store 1 ,mem_24g_get_ack_fail 
+017d 6000cd46 store 1 ,mem_24g_hop_pac_retry 
+017e 20600000 rtn 
+
+p_g24_retransimt_prep:
+017f 6800cc18 fetch 1 ,mem_24g_txfail_cnt 
+0180 c0048170 beq 0x09 ,p_g24_transmit_next 
+0181 20200194 branch p_g24_retransmit 
 
 p_g24_txbuf_clear:
-0184 df200004 arg 4 ,loopcnt 
-0185 d8a04b67 arg mem_24g_txbuf ,contw 
-0186 20207ec6 branch memset0 
+0182 df200004 arg 4 ,loopcnt 
+0183 d8a04bae arg mem_24g_txbuf ,contw 
+0184 20207ec6 branch memset0 
 
 p_g24_transmit_receive_ack:
-0187 7857fc00 disable user3 
-0188 20400294 call p_g24_transmit 
-0189 6800cc07 fetch 1 ,mem_24g_no_ack 
-018a c0008194 beq no_ack_24g ,p_g24_transmit_no_ack 
-018b 18002a00 force 0 ,radio_ctrl 
-018c 68024bf3 fetch 4 ,mem_24g_addr 
-018d 98001200 iforce access 
-018e 68088017 fetcht 1 ,mem_last_freq 
-018f 2040291f call set_freq_rx 
-0190 20402924 call rf_rx_enable 
-0191 20400250 call p_g24_receive_rxon 
-0192 20578291 call p_g24_end_of_packet ,user3 
-0193 20600000 rtn 
+0185 7857fc00 disable user3 
+0186 20400294 call p_g24_transmit 
+0187 6800cc4e fetch 1 ,mem_24g_no_ack 
+0188 c0008192 beq no_ack_24g ,p_g24_transmit_no_ack 
+0189 18002a00 force 0 ,radio_ctrl 
+018a 68024c3a fetch 4 ,mem_24g_addr 
+018b 98001200 iforce access 
+018c 68088017 fetcht 1 ,mem_last_freq 
+018d 2040291f call set_freq_rx 
+018e 20402924 call rf_rx_enable 
+018f 20400250 call p_g24_receive_rxon 
+0190 20578291 call p_g24_end_of_packet ,user3 
+0191 20600000 rtn 
 
 p_g24_transmit_no_ack:
-0194 20400291 call p_g24_end_of_packet 
-0195 20200178 branch p_g24_transmit_next_packet 
+0192 20400291 call p_g24_end_of_packet 
+0193 20200173 branch p_g24_transmit_next_packet 
 
 p_g24_retransmit:
-0196 6800cbf7 fetch 1 ,mem_24g_abort_pac 
-0197 247a0000 nrtn blank 
-0198 68014bd1 fetch 2 ,mem_24g_txfail_cnt 
-0199 1fe0fe01 increase 1 ,pdata 
-019a 60014bd1 store 2 ,mem_24g_txfail_cnt 
-019b 6800cbd2 fetch 1 ,mem_24g_txfail_cnt + 1 
-019c c2822dd4 bbit1 4 ,g24_stop_24g_mode 
-019d 6800cbdb fetch 1 ,mem_24g_pairing_sm 
-019e c0ff81a1 bne state_24g_pairing_success ,p_g24_tx_paring_retry 
-019f 204001a7 call p_g24_tx_hop_ch_process 
-01a0 2020016e branch p_g24_transmit_loop 
+0194 6800cc3e fetch 1 ,mem_24g_abort_pac 
+0195 247a0000 nrtn blank 
+0196 68014c18 fetch 2 ,mem_24g_txfail_cnt 
+0197 1fe0fe01 increase 1 ,pdata 
+0198 60014c18 store 2 ,mem_24g_txfail_cnt 
+0199 6800cc19 fetch 1 ,mem_24g_txfail_cnt + 1 
+019a c282019f bbit1 4 ,p_g24_stop_24g_mode 
+019b 6800cc22 fetch 1 ,mem_24g_pairing_sm 
+019c c0ff81a3 bne state_24g_pairing_success ,p_g24_tx_paring_retry 
+019d 204001a9 call p_g24_tx_hop_ch_process 
+019e 20200169 branch p_g24_transmit_loop 
+
+p_g24_stop_24g_mode:
+019f 704b3a00 jam 0 ,mem_mouse_connect_success 
+01a0 2040048c call p_blue_led_off 
+01a1 2040047e call p_laser_off 
+01a2 202001a5 branch p_g24_tx_attempt_fail 
 
 p_g24_tx_paring_retry:
-01a1 6800cbd1 fetch 1 ,mem_24g_txfail_cnt 
-01a2 c1ff8000 rtnne 0xff 
+01a3 6800cc18 fetch 1 ,mem_24g_txfail_cnt 
+01a4 c1ff8000 rtnne 0xff 
 
 p_g24_tx_attempt_fail:
-01a3 58000000 setarg 0 
-01a4 60014bd1 store 2 ,mem_24g_txfail_cnt 
-01a5 20202dd4 branch g24_stop_24g_mode 
+01a5 58000000 setarg 0 
+01a6 60014c18 store 2 ,mem_24g_txfail_cnt 
+01a7 20202dd4 branch g24_stop_24g_mode 
 
 p_g24_tx_fast_hop:
-01a6 20200122 branch p_g24_ch 
+01a8 20200116 branch p_g24_ch 
 
 p_g24_tx_hop_ch_process:
-01a7 6800cbd4 fetch 1 ,mem_24g_retry 
-01a8 1fe67c0b sub pdata ,11 ,null 
-01a9 242101a6 nbranch p_g24_tx_fast_hop ,positive 
-01aa 1fe0fe01 increase 1 ,pdata 
-01ab 6000cbd4 store 1 ,mem_24g_retry 
-01ac c0010117 beq 2 ,p_g24_hop_ch_enable 
-01ad c003011e beq 6 ,p_g24_hop_ch_disable 
-01ae c0040117 beq 8 ,p_g24_hop_ch_enable 
-01af c006011e beq 12 ,p_g24_hop_ch_disable 
-01b0 20600000 rtn 
+01a9 6800cc1b fetch 1 ,mem_24g_retry 
+01aa 1fe67c0b sub pdata ,11 ,null 
+01ab 242101a8 nbranch p_g24_tx_fast_hop ,positive 
+01ac 1fe0fe01 increase 1 ,pdata 
+01ad 6000cc1b store 1 ,mem_24g_retry 
+01ae c001010b beq 2 ,p_g24_hop_ch_enable 
+01af c0030112 beq 6 ,p_g24_hop_ch_disable 
+01b0 c004010b beq 8 ,p_g24_hop_ch_enable 
+01b1 c0060112 beq 12 ,p_g24_hop_ch_disable 
+01b2 20600000 rtn 
 
 p_g24_ackpayload_parse:
-01b1 6800cb46 fetch 1 ,mem_24g_rxbuf + 1 
-01b2 1fe97e00 rshift3 pdata ,pdata 
-01b3 6000cbc9 store 1 ,mem_24g_rxdata_length 
-01b4 1fe0fe01 increase 1 ,pdata 
-01b5 d8c04b46 arg mem_24g_rxbuf + 1 ,contr 
-01b6 98c08c00 iadd contr ,contr 
-01b7 e8c18000 ifetch 3 ,contr 
-01b8 6001cc08 store 3 ,mem_24g_sta_crc 
-01b9 6800cb46 fetch 1 ,mem_24g_rxbuf + 1 
-01ba 1fe37e00 rshift pdata ,pdata 
-01bb 1fe17e03 and pdata ,0x03 ,pdata 
-01bc 6000cc0e store 1 ,mem_24g_sta_pid 
-01bd 6800cbc9 fetch 1 ,mem_24g_rxdata_length 
-01be 207a0000 rtn blank 
-01bf 98007200 iforce loopcnt 
-01c0 d8c04b47 arg mem_24g_rxbuf + 2 ,contr 
-01c1 d8a04ba9 arg mem_24g_rxpayload ,contw 
-01c2 20207f01 branch memcpy 
+01b3 6800cb8d fetch 1 ,mem_24g_rxbuf + 1 
+01b4 1fe97e00 rshift3 pdata ,pdata 
+01b5 6000cc10 store 1 ,mem_24g_rxdata_length 
+01b6 1fe0fe01 increase 1 ,pdata 
+01b7 d8c04b8d arg mem_24g_rxbuf + 1 ,contr 
+01b8 98c08c00 iadd contr ,contr 
+01b9 e8c18000 ifetch 3 ,contr 
+01ba 6001cc4f store 3 ,mem_24g_sta_crc 
+01bb 6800cb8d fetch 1 ,mem_24g_rxbuf + 1 
+01bc 1fe37e00 rshift pdata ,pdata 
+01bd 1fe17e03 and pdata ,0x03 ,pdata 
+01be 6000cc55 store 1 ,mem_24g_sta_pid 
+01bf 6800cc10 fetch 1 ,mem_24g_rxdata_length 
+01c0 207a0000 rtn blank 
+01c1 98007200 iforce loopcnt 
+01c2 d8c04b8e arg mem_24g_rxbuf + 2 ,contr 
+01c3 d8a04bf0 arg mem_24g_rxpayload ,contw 
+01c4 20207f01 branch memcpy 
 
 p_g24_pair_init:
-01c3 7041de04 jam tx_power_f5db ,mem_tx_power 
-01c4 704bca00 jam 0 ,mem_24g_pid 
-01c5 704bd54e jam g24_pair_ch ,mem_24g_ch 
-01c6 68024bd7 fetch 4 ,mem_24g_paring_addr 
+01c5 7041de04 jam tx_power_f5db ,mem_tx_power 
+01c6 704c1100 jam 0 ,mem_24g_pid 
+01c7 704c1c4e jam g24_pair_ch ,mem_24g_ch 
+01c8 68024c1e fetch 4 ,mem_24g_paring_addr 
 
 p_g24_update_addr_and_synccrc8:
-01c7 60024bf3 store 4 ,mem_24g_addr 
+01c9 60024c3a store 4 ,mem_24g_addr 
 
 p_g24_syncword_crc8:
-01c8 da200000 arg 0 ,rega 
-01c9 df200004 arg 4 ,loopcnt 
-01ca d8c04bf3 arg mem_24g_addr ,contr 
+01ca da200000 arg 0 ,rega 
+01cb df200004 arg 4 ,loopcnt 
+01cc d8c04c3a arg mem_24g_addr ,contr 
 
 p_g24_syncword_crc8_loop:
-01cb e8c08000 ifetch 1 ,contr 
-01cc 9a20a200 iadd rega ,rega 
-01cd c20001cb loop p_g24_syncword_crc8_loop 
-01ce 1a227e00 copy rega ,pdata 
-01cf 60014c7c store 2 ,mem_24g_syncword 
-01d0 6800cc7c fetch 1 ,mem_24g_syncword 
-01d1 6808cc7d fetcht 1 ,mem_24g_syncword + 1 
-01d2 9840fe00 iadd temp ,pdata 
-01d3 6000cc7e store 1 ,mem_24g_syncword_crc8 
-01d4 20600000 rtn 
+01cd e8c08000 ifetch 1 ,contr 
+01ce 9a20a200 iadd rega ,rega 
+01cf c20001cd loop p_g24_syncword_crc8_loop 
+01d0 1a227e00 copy rega ,pdata 
+01d1 60014cc3 store 2 ,mem_24g_syncword 
+01d2 6800ccc3 fetch 1 ,mem_24g_syncword 
+01d3 6808ccc4 fetcht 1 ,mem_24g_syncword + 1 
+01d4 9840fe00 iadd temp ,pdata 
+01d5 6000ccc5 store 1 ,mem_24g_syncword_crc8 
+01d6 20600000 rtn 
 
 p_g24_pairing_sm:
-01d5 6800cbd0 fetch 1 ,mem_24g_ensure 
-01d6 c000ffe7 beq ensure_on_24g ,enable_user 
-01d7 6800cbdb fetch 1 ,mem_24g_pairing_sm 
-01d8 c00081dc beq state_24g_pairing_1 ,p_g24_pairing_sm_1 
-01d9 c00101df beq state_24g_pairing_2 ,p_g24_pairing_sm_2 
-01da c00181e2 beq state_24g_pairing_3 ,p_g24_pairing_sm_3 
-01db 20202a8c branch assert 
+01d7 6800cc17 fetch 1 ,mem_24g_ensure 
+01d8 c000ffe7 beq ensure_on_24g ,enable_user 
+01d9 6800cc22 fetch 1 ,mem_24g_pairing_sm 
+01da c00081de beq state_24g_pairing_1 ,p_g24_pairing_sm_1 
+01db c00101e1 beq state_24g_pairing_2 ,p_g24_pairing_sm_2 
+01dc c00181e4 beq state_24g_pairing_3 ,p_g24_pairing_sm_3 
+01dd 20202a8c branch assert 
 
 p_g24_pairing_sm_1:
-01dc 704bdb11 jam state_24g_pairing_1_waiting_ack ,mem_24g_pairing_sm 
-01dd 70119eaa jam 0xaa ,mem_24g_common_temp 
-01de 202001e4 branch p_g24_pairing_sm_common 
+01de 704c2211 jam state_24g_pairing_1_waiting_ack ,mem_24g_pairing_sm 
+01df 70119eaa jam 0xaa ,mem_24g_common_temp 
+01e0 202001e6 branch p_g24_pairing_sm_common 
 
 p_g24_pairing_sm_2:
-01df 704bdb12 jam state_24g_pairing_2_waiting_ack ,mem_24g_pairing_sm 
-01e0 70119e55 jam 0x55 ,mem_24g_common_temp 
-01e1 202001e4 branch p_g24_pairing_sm_common 
+01e1 704c2212 jam state_24g_pairing_2_waiting_ack ,mem_24g_pairing_sm 
+01e2 70119e55 jam 0x55 ,mem_24g_common_temp 
+01e3 202001e6 branch p_g24_pairing_sm_common 
 
 p_g24_pairing_sm_3:
-01e2 704bdb13 jam state_24g_pairing_3_waiting_ack ,mem_24g_pairing_sm 
-01e3 70119e22 jam 0x22 ,mem_24g_common_temp 
+01e4 704c2213 jam state_24g_pairing_3_waiting_ack ,mem_24g_pairing_sm 
+01e5 70119e22 jam 0x22 ,mem_24g_common_temp 
 
 p_g24_pairing_sm_common:
-01e4 6800cbcc fetch 1 ,mem_24g_data_type 
-01e5 1fe17e07 and_into bits_data ,pdata 
-01e6 6000919f store 1 ,mem_24g_common_temp + 1 
-01e7 68024c02 fetch 4 ,mem_24g_device_addr 
-01e8 600211a0 store 4 ,mem_24g_common_temp + 2 
+01e6 6800cc13 fetch 1 ,mem_24g_data_type 
+01e7 1fe17e07 and_into bits_data ,pdata 
+01e8 6000919f store 1 ,mem_24g_common_temp + 1 
+01e9 68024c49 fetch 4 ,mem_24g_device_addr 
+01ea 600211a0 store 4 ,mem_24g_common_temp + 2 
 
 p_g24_put_pairing_data_in_buff:
-01e9 7011a400 jam 0 ,mem_24g_common_temp + 6 
-01ea da20119e arg mem_24g_common_temp ,rega 
-01eb d8400007 arg 7 ,temp 
-01ec 20400234 call p_g24_put_data_in_buff 
-01ed 20400164 call p_g24_txdata_enable_tx 
-01ee 20207fe7 branch enable_user 
+01eb 7011a400 jam 0 ,mem_24g_common_temp + 6 
+01ec da20119e arg mem_24g_common_temp ,rega 
+01ed d8400007 arg 7 ,temp 
+01ee 20400234 call p_g24_put_data_in_buff 
+01ef 20400158 call p_g24_txdata_enable_tx 
+01f0 20207fe7 branch enable_user 
 
 p_g24_paring_mode_start:
-01ef 20400480 call power_ctrl_pac_succ_cnt_init 
+01f1 204004c1 call power_ctrl_pac_succ_cnt_init 
 
 p_g24_paring_mode:
-01f0 6800cbdb fetch 1 ,mem_24g_pairing_sm 
-01f1 c17f8000 rtneq state_24g_pairing_success 
-01f2 c00881f6 beq state_24g_pairing_1_waiting_ack ,p_g24_pairing_sm_1_waiting_ack 
-01f3 c00901f8 beq state_24g_pairing_2_waiting_ack ,p_g24_pairing_sm_2_waiting_ack 
-01f4 c00981fa beq state_24g_pairing_3_waiting_ack ,p_g24_pairing_sm_3_waiting_ack 
-01f5 20600000 rtn 
+01f2 6800cc22 fetch 1 ,mem_24g_pairing_sm 
+01f3 c17f8000 rtneq state_24g_pairing_success 
+01f4 c00881f8 beq state_24g_pairing_1_waiting_ack ,p_g24_pairing_sm_1_waiting_ack 
+01f5 c00901fa beq state_24g_pairing_2_waiting_ack ,p_g24_pairing_sm_2_waiting_ack 
+01f6 c00981fc beq state_24g_pairing_3_waiting_ack ,p_g24_pairing_sm_3_waiting_ack 
+01f7 20600000 rtn 
 
 p_g24_pairing_sm_1_waiting_ack:
-01f6 704bdb02 jam state_24g_pairing_2 ,mem_24g_pairing_sm 
-01f7 2020017f branch p_g24_transmit_abandon 
+01f8 704c2202 jam state_24g_pairing_2 ,mem_24g_pairing_sm 
+01f9 2020017a branch p_g24_transmit_abandon 
 
 p_g24_pairing_sm_2_waiting_ack:
-01f8 704bdb03 jam state_24g_pairing_3 ,mem_24g_pairing_sm 
-01f9 2020017f branch p_g24_transmit_abandon 
+01fa 704c2203 jam state_24g_pairing_3 ,mem_24g_pairing_sm 
+01fb 2020017a branch p_g24_transmit_abandon 
 
 p_g24_pairing_sm_3_waiting_ack:
-01fa 704bdbff jam state_24g_pairing_success ,mem_24g_pairing_sm 
-01fb 700a9939 jam bt_evt_24g_pairing_complete ,mem_fifo_temp 
-01fc 20407d86 call ui_ipc_send_event 
-01fd 204000b0 call p_g24_store_dongle_addr 
-01fe 2020017f branch p_g24_transmit_abandon 
+01fc 704c22ff jam state_24g_pairing_success ,mem_24g_pairing_sm 
+01fd 700a9939 jam bt_evt_24g_pairing_complete ,mem_fifo_temp 
+01fe 20407d86 call ui_ipc_send_event 
+01ff 204000a4 call p_g24_store_dongle_addr 
+0200 2020017a branch p_g24_transmit_abandon 
 
 p_g24_start_24g_mode:
-01ff 20400333 call p_g24_factory_check 
-0200 2034032a branch p_g24_auto_pair_start ,user 
 0201 79200026 set1 mark_24g ,mark 
-0202 6800cd1a fetch 1 ,mem_g24_conn_sm 
+0202 6800cd61 fetch 1 ,mem_g24_conn_sm 
 0203 79207e02 set1 state_24g_reconn ,pdata 
-0204 6000cd1a store 1 ,mem_g24_conn_sm 
+0204 6000cd61 store 1 ,mem_g24_conn_sm 
 0205 20400225 call p_g24_ch_syncword_crc8_init 
 0206 704b3901 jam 1 ,mem_24g_reconn_flag 
 0207 5800000a setarg 0x0a 
@@ -716,9 +732,9 @@
 
 p_g24_tx_attemp_data_prep:
 0209 70119eff jam 0xff ,mem_24g_common_temp 
-020a 6800cbcc fetch 1 ,mem_24g_data_type 
+020a 6800cc13 fetch 1 ,mem_24g_data_type 
 020b 6000919f store 1 ,mem_24g_common_temp + 1 
-020c 68024c02 fetch 4 ,mem_24g_device_addr 
+020c 68024c49 fetch 4 ,mem_24g_device_addr 
 020d 600211a0 store 4 ,mem_24g_common_temp + 2 
 020e d8400006 arg 6 ,temp 
 020f da20119e arg mem_24g_common_temp ,rega 
@@ -734,41 +750,41 @@
 p_g24_pair_txdata_retry:
 
 p_g24_pair_txdata_switch:
-0216 6800cd09 fetch 1 ,mem_24g_auto_paring_switch 
+0216 6800cd50 fetch 1 ,mem_24g_auto_paring_switch 
 0217 1fe0fe01 increase 1 ,pdata 
 0218 1fe17e03 and_into 3 ,pdata 
-0219 6000cd09 store 1 ,mem_24g_auto_paring_switch 
+0219 6000cd50 store 1 ,mem_24g_auto_paring_switch 
 021a c000021d beq 0 ,p_g24_auto_pair_first_attemp 
 021b c0010227 beq 2 ,p_g24_auto_pair_all_powerful 
-021c 202001c3 branch p_g24_pair_init 
+021c 202001c5 branch p_g24_pair_init 
 
 p_g24_auto_pair_first_attemp:
 021d 204002f0 call p_mouse_tx_power_init 
-021e 68024c02 fetch 4 ,mem_24g_device_addr 
-021f 60024bf3 store 4 ,mem_24g_addr 
+021e 68024c49 fetch 4 ,mem_24g_device_addr 
+021f 60024c3a store 4 ,mem_24g_addr 
 0220 6800caa4 fetch 1 ,mem_24g_pair_current_ch_num 
-0221 6000cbd6 store 1 ,mem_24g_current_ch_number 
+0221 6000cc1d store 1 ,mem_24g_current_ch_number 
 0222 20400225 call p_g24_ch_syncword_crc8_init 
 0223 6008caa4 storet 1 ,mem_24g_pair_current_ch_num 
 0224 20600000 rtn 
 
 p_g24_ch_syncword_crc8_init:
-0225 204001c8 call p_g24_syncword_crc8 
-0226 20200122 branch p_g24_ch 
+0225 204001ca call p_g24_syncword_crc8 
+0226 20200116 branch p_g24_ch 
 
 p_g24_auto_pair_all_powerful:
 0227 7041de20 jam tx_power_pair ,mem_tx_power 
-0228 68024d10 fetch 4 ,mem_24g_allpowerful_addr 
-0229 60024bf3 store 4 ,mem_24g_addr 
+0228 68024d57 fetch 4 ,mem_24g_allpowerful_addr 
+0229 60024c3a store 4 ,mem_24g_addr 
 022a 6800caa5 fetch 1 ,mem_24g_powerful_current_ch_num 
-022b 6000cbd6 store 1 ,mem_24g_current_ch_number 
+022b 6000cc1d store 1 ,mem_24g_current_ch_number 
 022c 20400225 call p_g24_ch_syncword_crc8_init 
 022d 6008caa5 storet 1 ,mem_24g_powerful_current_ch_num 
 022e 20600000 rtn 
 
 p_g24_check_51cmd_stop_24g:
 022f 793f8026 set0 mark_24g ,mark 
-0230 704d1a00 jam state_24g_stop ,mem_g24_conn_sm 
+0230 704d6100 jam state_24g_stop ,mem_g24_conn_sm 
 0231 204053ce call le_disable 
 
 p_mouse_disable_g24_pairing_flag:
@@ -776,29 +792,29 @@
 0233 202043d2 branch mouse_disable_function_flag 
 
 p_g24_put_data_in_buff:
-0234 6008cbcb storet 1 ,mem_24g_datalen 
+0234 6008cc12 storet 1 ,mem_24g_datalen 
 0235 18427200 copy temp ,loopcnt 
-0236 d8a04b67 arg mem_24g_txbuf ,contw 
+0236 d8a04bae arg mem_24g_txbuf ,contw 
 0237 20202d51 branch g24_put_data_in_buff2 
 
 p_g24_transmit_prep:
-0238 6800cbcb fetch 1 ,mem_24g_datalen 
+0238 6800cc12 fetch 1 ,mem_24g_datalen 
 0239 1fe0fe02 increase 2 ,pdata 
-023a 6000cbcd store 1 ,mem_24g_txlen 
-023b 6800cbcc fetch 1 ,mem_24g_data_type 
-023c 6000cb87 store 1 ,mem_24g_txpayload 
-023d 6800cbcb fetch 1 ,mem_24g_datalen 
+023a 6000cc14 store 1 ,mem_24g_txlen 
+023b 6800cc13 fetch 1 ,mem_24g_data_type 
+023c 6000cbce store 1 ,mem_24g_txpayload 
+023d 6800cc12 fetch 1 ,mem_24g_datalen 
 023e 1fe9fe00 lshift3 pdata ,pdata 
-023f 6808cbca fetcht 1 ,mem_24g_pid 
+023f 6808cc11 fetcht 1 ,mem_24g_pid 
 0240 18410403 and temp ,0x03 ,temp 
 0241 18438400 lshift temp ,temp 
 0242 9841fe00 ior temp ,pdata 
-0243 6808cc07 fetcht 1 ,mem_24g_no_ack 
+0243 6808cc4e fetcht 1 ,mem_24g_no_ack 
 0244 9840fe00 iadd temp ,pdata 
 0245 e0a08000 istore 1 ,contw 
-0246 6800cbcb fetch 1 ,mem_24g_datalen 
+0246 6800cc12 fetch 1 ,mem_24g_datalen 
 0247 98007200 iforce loopcnt 
-0248 d8c04b67 arg mem_24g_txbuf ,contr 
+0248 d8c04bae arg mem_24g_txbuf ,contr 
 0249 20207f01 branch memcpy 
 
 p_g24_prep:
@@ -806,7 +822,7 @@
 024b 7843fc00 disable enable_white 
 024c 58555555 setarg 0x555555 
 024d 98001e00 iforce crc24_init 
-024e 6800cbd5 fetch 1 ,mem_24g_ch 
+024e 6800cc1c fetch 1 ,mem_24g_ch 
 024f 202053da branch le_prep2 
 
 p_g24_receive_rxon:
@@ -816,7 +832,7 @@
 0253 7830fc00 enable is_rx 
 0254 78507c00 disable is_tx 
 0255 78287c00 enable swfine 
-0256 68014bce fetch 2 ,mem_24g_rx_window 
+0256 68014c15 fetch 2 ,mem_24g_rx_window 
 0257 98003600 iforce stop_watch 
 0258 37c18400 correlate null ,timeout 
 0259 242c0291 nbranch p_g24_sync_timeout ,sync 
@@ -825,14 +841,14 @@
 025c 7823fc00 enable enable_white 
 025d 7824fc00 enable enable_crc 
 025e 2040028e call p_g24_receive_byte 
-025f 6000cc7f store 1 ,mem_24g_get_syncword_crc8 
-0260 6808cc7e fetcht 1 ,mem_24g_syncword_crc8 
+025f 6000ccc6 store 1 ,mem_24g_get_syncword_crc8 
+0260 6808ccc5 fetcht 1 ,mem_24g_syncword_crc8 
 0261 98467c00 isub temp ,null 
 0262 24228291 nbranch p_g24_end_of_packet ,zero 
 0263 2040028e call p_g24_receive_byte 
-0264 6000cb45 store 1 ,mem_24g_rxbuf 
-0265 6800cb45 fetch 1 ,mem_24g_rxbuf 
-0266 6808cbcc fetcht 1 ,mem_24g_data_type 
+0264 6000cb8c store 1 ,mem_24g_rxbuf 
+0265 6800cb8c fetch 1 ,mem_24g_rxbuf 
+0266 6808cc13 fetcht 1 ,mem_24g_data_type 
 0267 a8400e00 icompare bits_data ,temp 
 0268 24208291 nbranch p_g24_end_of_packet ,true 
 
@@ -851,7 +867,7 @@
 p_g24rx_nopayload:
 0271 18a22200 copy contw ,rega 
 0272 2040028e call p_g24_receive_byte 
-0273 6000cd06 store 1 ,mem_rssi_hex_received 
+0273 6000cd4d store 1 ,mem_rssi_hex_received 
 0274 1a220a00 copy rega ,contw 
 0275 09800018 parse demod ,bucket ,24 
 0276 78287c00 enable swfine 
@@ -867,18 +883,18 @@
 0280 20402981 call rf_write_freq 
 0281 7846fc00 disable decode_fec0 
 0282 20402918 call set_sync_on 
-0283 6800cd06 fetch 1 ,mem_rssi_hex_received 
+0283 6800cd4d fetch 1 ,mem_rssi_hex_received 
 
 p_rssi_signal:
 0284 1fe22200 copy pdata ,rega 
-0285 6808cc86 fetcht 1 ,mem_rssi_signal_index 
-0286 58004c8d setarg mem_rssi_signal_buf 
+0285 6808cccd fetcht 1 ,mem_rssi_signal_index 
+0286 58004cd4 setarg mem_rssi_signal_buf 
 0287 98408a00 iadd temp ,contw 
 0288 1a227e00 copy rega ,pdata 
 0289 e0a08000 istore 1 ,contw 
 028a 18408401 increase 1 ,temp 
 028b 18410407 and_into rssi_buf_len_signal ,temp 
-028c 6008cc86 storet 1 ,mem_rssi_signal_index 
+028c 6008cccd storet 1 ,mem_rssi_signal_index 
 028d 20600000 rtn 
 
 p_g24_receive_byte:
@@ -895,11 +911,11 @@
 
 p_g24_transmit:
 0294 204053c4 call le_enable 
-0295 68024bf3 fetch 4 ,mem_24g_addr 
+0295 68024c3a fetch 4 ,mem_24g_addr 
 0296 98001200 iforce access 
 0297 2040024a call p_g24_prep 
 0298 20402918 call set_sync_on 
-0299 6808cbd5 fetcht 1 ,mem_24g_ch 
+0299 6808cc1c fetcht 1 ,mem_24g_ch 
 029a 20402933 call set_freq_tx 
 029b 79202a00 set1 txgfsk ,radio_ctrl 
 029c 782efc00 enable encode_fec0 
@@ -913,11 +929,11 @@
 02a4 782dfc00 enable encode_fec1 
 02a5 7823fc00 enable enable_white 
 02a6 7824fc00 enable enable_crc 
-02a7 6800cc7e fetch 1 ,mem_24g_syncword_crc8 
+02a7 6800ccc5 fetch 1 ,mem_24g_syncword_crc8 
 02a8 08008608 inject mod ,8 
-02a9 6800cbcd fetch 1 ,mem_24g_txlen 
+02a9 6800cc14 fetch 1 ,mem_24g_txlen 
 02aa 98007200 iforce loopcnt 
-02ab d8c04b87 arg mem_24g_txpayload ,contr 
+02ab d8c04bce arg mem_24g_txpayload ,contr 
 
 p_g24tr_loop:
 02ac e8c08000 ifetch 1 ,contr 
@@ -934,19 +950,19 @@
 
 p_g24_timer_check:
 02b7 20407fe9 call disable_user 
-02b8 680a4bec fetcht 4 ,mem_24g_tx_btclk 
+02b8 680a4c33 fetcht 4 ,mem_24g_tx_btclk 
 02b9 1c427e00 copy clkn_bt ,pdata 
 02ba 98467c00 isub temp ,null 
 02bb 24412d18 ncall g24_timer_timeout ,positive 
 02bc 1fe22400 copy pdata ,regb 
-02bd 68024bec fetch 4 ,mem_24g_tx_btclk 
-02be 6808cbf0 fetcht 1 ,mem_24g_interval 
+02bd 68024c33 fetch 4 ,mem_24g_tx_btclk 
+02be 6808cc37 fetcht 1 ,mem_24g_interval 
 02bf 98408400 iadd temp ,temp 
 02c0 1a427e00 copy regb ,pdata 
 02c1 98467c00 isub temp ,null 
 02c2 24610000 nrtn positive 
 02c3 793ffe1c set0 28 ,pdata 
-02c4 60024bec store 4 ,mem_24g_tx_btclk 
+02c4 60024c33 store 4 ,mem_24g_tx_btclk 
 02c5 20207fe7 branch enable_user 
 
 p_rssi_average:
@@ -969,7 +985,7 @@
 
 p_mouse_before_lpm:
 02d4 c6130000 rtnmark1 mark_24g 
-02d5 204000ec call p_mouse_setgpio_lpm 
+02d5 204000e0 call p_mouse_setgpio_lpm 
 02d6 6800c040 fetch 1 ,mem_context 
 02d7 c30002da bbit0 state_inconn ,p_clear_wake 
 02d8 680080a0 fetch 1 ,mem_lpm_current_mult 
@@ -986,8 +1002,8 @@
 02df 20403416 call app_lpm_mult_enable 
 02e0 203582e4 branch p_device_init_common ,wake 
 02e1 6800c1de fetch 1 ,mem_tx_power 
-02e2 6000cc82 store 1 ,mem_tx_power_temp 
-02e3 20400480 call power_ctrl_pac_succ_cnt_init 
+02e2 6000ccc9 store 1 ,mem_tx_power_temp 
+02e3 204004c1 call power_ctrl_pac_succ_cnt_init 
 
 p_device_init_common:
 02e4 204002e6 call p_mouse_init 
@@ -1003,12 +1019,12 @@
 02ea 204002f0 call p_mouse_tx_power_init 
 02eb 704b3a00 jam 0 ,mem_mouse_connect_success 
 02ec 6800c720 fetch 1 ,mem_device_flag 
-02ed c00101ff beq mode_24g_device ,p_g24_start_24g_mode 
+02ed c0010201 beq mode_24g_device ,p_g24_start_24g_mode 
 02ee 6800c210 fetch 1 ,mem_xrecord_mode 
 02ef 2020340a branch app_enter_hibernate 
 
 p_mouse_tx_power_init:
-02f0 6800cc82 fetch 1 ,mem_tx_power_temp 
+02f0 6800ccc9 fetch 1 ,mem_tx_power_temp 
 02f1 6000c1de store 1 ,mem_tx_power 
 02f2 20600000 rtn 
 
@@ -1029,18 +1045,18 @@
 02fe 20600000 rtn 
 
 p_g24_start_pairing_sm1:
-02ff 204001c3 call p_g24_pair_init 
+02ff 204001c5 call p_g24_pair_init 
 
 p_g24_set_pairing_sm_1:
-0300 704bdb01 jam state_24g_pairing_1 ,mem_24g_pairing_sm 
+0300 704c2201 jam state_24g_pairing_1 ,mem_24g_pairing_sm 
 0301 20600000 rtn 
 
 p_mouse_setting_config:
 0302 680240a0 fetch 4 ,mem_lap 
-0303 60024c02 store 4 ,mem_24g_device_addr 
+0303 60024c49 store 4 ,mem_24g_device_addr 
 0304 20403e6e call mouse_gpio_init 
-0305 2040043d call p_laser_off 
-0306 2040044d call p_blue_led_off2 
+0305 2040047e call p_laser_off 
+0306 2040048e call p_blue_led_off2 
 0307 20403e1e call mouse_param_init 
 0308 580047c6 setarg mem_mouse_le_uuid_sup 
 0309 600144bc store 2 ,mem_ui_le_uuid_table 
@@ -1070,12 +1086,12 @@
 
 p_mouse_24g_transmit_by_interrupt_exit_count_max:
 031d 58000177 setarg 375 
-031e 60014d0e store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+031e 60014d55 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
 031f 20600000 rtn 
 
 p_mouse_wakeup_from_power:
 0320 58000019 setarg 25 
-0321 60014d0e store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+0321 60014d55 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
 0322 2455831d ncall p_mouse_24g_transmit_by_interrupt_exit_count_max ,wake 
 
 p_mouse_wakeup_no_from_power:
@@ -1084,16 +1100,16 @@
 
 p_mouse_start_24g_mode:
 0325 6800ca93 fetch 1 ,mem_power_on_flag 
-0326 c28101ff bbit1 2 ,p_g24_start_24g_mode 
+0326 c2810201 bbit1 2 ,p_g24_start_24g_mode 
 0327 5800ffff setarg 0xffff 
-0328 60014bf3 store 2 ,mem_24g_addr 
+0328 60014c3a store 2 ,mem_24g_addr 
 0329 e0a10000 istore 2 ,contw 
 
 p_g24_auto_pair_start:
 032a 79200026 set1 mark_24g ,mark 
-032b 6800cd1a fetch 1 ,mem_g24_conn_sm 
+032b 6800cd61 fetch 1 ,mem_g24_conn_sm 
 032c 79207e01 set1 state_24g_pair ,pdata 
-032d 6000cd1a store 1 ,mem_g24_conn_sm 
+032d 6000cd61 store 1 ,mem_g24_conn_sm 
 032e 704b3900 jam 0 ,mem_24g_reconn_flag 
 
 p_g24_auto_pair_timeout_init:
@@ -1104,7 +1120,7 @@
 
 p_g24_factory_check:
 0333 df200002 arg 2 ,loopcnt 
-0334 d8c04bf3 arg mem_24g_addr ,contr 
+0334 d8c04c3a arg mem_24g_addr ,contr 
 
 p_pdata_0xff_check:
 0335 20407fe7 call enable_user 
@@ -1119,14 +1135,14 @@
 
 p_mouse_cb_fuction:
 033c 58000347 setarg p_mouse_g24_package_data 
-033d 60014cfc store 2 ,mem_cb_24g_data 
+033d 60014d43 store 2 ,mem_cb_24g_data 
 033e 580002d4 setarg p_mouse_before_lpm 
 033f 600141ed store 2 ,mem_cb_before_lpm 
 0340 5800034b setarg p_mouse_priority_bb_event 
 0341 600141f5 store 2 ,mem_cb_bb_event_process 
-0342 5800036d setarg p_mouse_before_hibernate 
+0342 5800036e setarg p_mouse_before_hibernate 
 0343 600141eb store 2 ,mem_cb_before_hibernate 
-0344 58000379 setarg p_mouse_bb_event_timer 
+0344 5800037a setarg p_mouse_bb_event_timer 
 0345 600141fd store 2 ,mem_cb_event_timer 
 0346 20600000 rtn 
 
@@ -1134,522 +1150,613 @@
 0347 20404401 call mouse_g24_package_data 
 0348 6801469f fetch 2 ,mem_mouse_z 
 0349 207a0000 rtn blank 
-034a 202000bb branch p_g24_transmit_by_interrupt_enable 
+034a 202000af branch p_g24_transmit_by_interrupt_enable 
 
 p_mouse_priority_bb_event:
 034b 1a627e00 copy regc ,pdata 
 034c c01c8350 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
 034d c01d0358 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-034e c01e0361 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success_init 
+034e c01e0363 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
 034f 2020417d branch mouse_priority_bb_event + 1 
 
 p_mouse_24g_pairing_complete:
 0350 204002f0 call p_mouse_tx_power_init 
-0351 20400362 call p_mouse_24g_attempt_success 
+0351 20400363 call p_mouse_24g_attempt_success 
 0352 d8e00003 arg mosue_24g_pairing_flag ,queue 
 0353 202043d2 branch mouse_disable_function_flag 
 
 p_mouse_set_24g_addr_eeprom:
-0354 da204bf3 arg mem_24g_addr ,rega 
+0354 da204c3a arg mem_24g_addr ,rega 
 0355 da40005b arg mouse_g24_addr_eeprom_offect ,regb 
 0356 d8400004 arg 4 ,temp 
 0357 20600000 rtn 
 
 p_mouse_24g_attempt_fail:
-0358 704d0b00 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
+0358 704d5200 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
 0359 204002f0 call p_mouse_tx_power_init 
 
 p_g24_long_sleep_set:
 035a 2040022f call p_g24_check_51cmd_stop_24g 
-035b 204000ed call p_mouse_setgpio_lpm_before 
-035c d85fffff arg -1 ,temp 
-035d 20202b2a branch lpm_sleep 
+035b 6800cb48 fetch 1 ,mem_g24_pair_fail 
+035c 247a0000 nrtn blank 
+035d 204000e1 call p_mouse_setgpio_lpm_before 
+035e d85fffff arg -1 ,temp 
+035f 20202b2a branch lpm_sleep 
 
 p_mouse_bt_start_reconn:
-035e 7041bd00 jam 0 ,mem_link_key_exists 
-035f 20404316 call mouse_eeprom_load_recon_info 
-0360 202002ea branch p_mouse_check_reconn_target 
-
-p_mouse_24g_attempt_success_init:
-0361 704c0701 jam 0x01 ,mem_24g_no_ack 
+0360 7041bd00 jam 0 ,mem_link_key_exists 
+0361 20404316 call mouse_eeprom_load_recon_info 
+0362 202002ea branch p_mouse_check_reconn_target 
 
 p_mouse_24g_attempt_success:
-0362 704aa900 jam 0 ,mem_mouse_poweron_bt_start_reconn_timer 
-0363 58000000 setarg 0 
-0364 6001ca9b store 3 ,mem_le_switch_adv_flag 
-0365 704b3a01 jam 1 ,mem_mouse_connect_success 
-0366 204041c6 call mouse_le_bb_event_connected + 3 
-0367 20400212 call p_g24_auto_pair_timeout_clear 
-0368 20403f8d call mouse_no_data_timer_init 
-0369 20400354 call p_mouse_set_24g_addr_eeprom 
-036a 204065d1 call iicd_write_protect_eep_data 
+0363 704aa900 jam 0 ,mem_mouse_poweron_bt_start_reconn_timer 
+0364 58000000 setarg 0 
+0365 6001ca9b store 3 ,mem_le_switch_adv_flag 
+0366 704b3a01 jam 1 ,mem_mouse_connect_success 
+0367 204041c6 call mouse_le_bb_event_connected + 3 
+0368 20400212 call p_g24_auto_pair_timeout_clear 
+0369 20403f8d call mouse_no_data_timer_init 
+036a 20400354 call p_mouse_set_24g_addr_eeprom 
+036b 204065d1 call iicd_write_protect_eep_data 
 
 p_mouse_24g_store_latest_mode_eeprom:
-036b 704aa802 jam latest_mode_24g ,mem_mouse_latest_mode 
-036c 20600000 rtn 
+036c 704aa802 jam latest_mode_24g ,mem_mouse_latest_mode 
+036d 20600000 rtn 
 
 p_mouse_before_hibernate:
-036d 68120138 hfetch 4 ,core_lpm_ctrl 
-036e 79207e1a set1 26 ,pdata 
-036f 6012004c hstore 4 ,core_lpm_reg 
-0370 20402c21 call lpm_write_ctrl 
-0371 204074bd call disable_authrom 
-0372 2040043d call p_laser_off 
-0373 2040044d call p_blue_led_off2 
-0374 d8400005 arg 0x05 ,temp 
-0375 204067ed call gpio_clr_wake 
-0376 d8400014 arg 0x14 ,temp 
-0377 204067ed call gpio_clr_wake 
-0378 202000ed branch p_mouse_setgpio_lpm_before 
+036e 68120138 hfetch 4 ,core_lpm_ctrl 
+036f 79207e1a set1 26 ,pdata 
+0370 6012004c hstore 4 ,core_lpm_reg 
+0371 20402c21 call lpm_write_ctrl 
+0372 204074bd call disable_authrom 
+0373 2040047e call p_laser_off 
+0374 2040048e call p_blue_led_off2 
+0375 d8400005 arg 0x05 ,temp 
+0376 204067ed call gpio_clr_wake 
+0377 d8400014 arg 0x14 ,temp 
+0378 204067ed call gpio_clr_wake 
+0379 202000e1 branch p_mouse_setgpio_lpm_before 
 
 p_mouse_bb_event_timer:
-0379 20404234 call mouse_check_discovery_timeout_timer 
-037a 20400387 call p_led_switch_show_timer_init 
-037b 204003a0 call p_key_led_show 
-037c 204003c4 call p_mouse_g24_stop_mode_timeout_timer 
-037d 2040423a call mouse_check_no_data_timeout_timer 
-037e 2040039b call p_g24_init_long_sleep_timer 
-037f 20200380 branch p_mouse_key_long_time_down_timer 
+037a 20404234 call mouse_check_discovery_timeout_timer 
+037b 204003a9 call p_led_switch_show_timer_init 
+037c 204003c2 call p_key_led_show 
+037d 204003f8 call p_mouse_g24_pair_mode_timer 
+037e 2040423a call mouse_check_no_data_timeout_timer 
+037f 204003bd call p_g24_init_long_sleep_timer 
+0380 20200381 branch p_mouse_key_long_time_down_timer 
 
 p_mouse_key_long_time_down_timer:
-0380 20404083 call mouse_check_key_gpio 
-0381 207a0000 rtn blank 
-0382 68014b21 fetch 2 ,key_long_press_timer 
-0383 1fe0fe01 increase 1 ,pdata 
-0384 60014b21 store 2 ,key_long_press_timer 
-0385 704b410a jam 0x0a ,mem_g24_int_g24_mode_timeout 
-0386 20600000 rtn 
+0381 6800cb3a fetch 1 ,mem_mouse_connect_success 
+0382 c000839a beq 1 ,p_connect_key_press_time 
+0383 20404083 call mouse_check_key_gpio 
+0384 68094b45 fetcht 2 ,mem_timer_key 
+0385 98467c00 isub temp ,null 
+0386 24428433 ncall p_key_timer_set0 ,zero 
+0387 1a227e00 copy rega ,pdata 
+
+p_mouse_key_press_time_compare:
+0388 60014b45 store 2 ,mem_timer_key 
+0389 203a039c branch p_mouse_key_change ,blank 
+038a 704b430a jam 0x0a ,mem_g24_int_g24_mode_timeout 
+038b 68014b21 fetch 2 ,key_long_press_timer 
+038c 1fe0fe01 increase 1 ,pdata 
+038d 60014b21 store 2 ,key_long_press_timer 
+038e 1fe67c06 sub pdata ,0x06 ,null 
+038f 20210395 branch p_short_press ,positive 
+0390 207a0000 rtn blank 
+0391 6800cb34 fetch 1 ,mem_packet_send_finish 
+0392 247a0000 nrtn blank 
+0393 704b4b02 jam 2 ,mem_short_press 
+0394 20600000 rtn 
+
+p_short_press:
+0395 207a0000 rtn blank 
+0396 6800cb34 fetch 1 ,mem_packet_send_finish 
+0397 247a0000 nrtn blank 
+0398 704b4b01 jam 1 ,mem_short_press 
+0399 20600000 rtn 
+
+p_connect_key_press_time:
+039a 68014ae4 fetch 2 ,mem_customer_key 
+039b 20200388 branch p_mouse_key_press_time_compare 
+
+p_mouse_key_change:
+039c 704b4800 jam 0 ,mem_g24_pair_fail 
+039d 704b4900 jam 0 ,mem_g24_pair_fail_cunt 
+039e 20400433 call p_key_timer_set0 
+039f 6800cb47 fetch 1 ,mem_g24_pair 
+03a0 207a0000 rtn blank 
+03a1 2040040d call p_g24_stop_pair_init 
+03a2 6800cb3a fetch 1 ,mem_mouse_connect_success 
+03a3 c08083a5 bne 0x01 ,p_reconn_start 
+03a4 20600000 rtn 
+
+p_reconn_start:
+03a5 20400354 call p_mouse_set_24g_addr_eeprom 
+03a6 204065df call iicd_read_eep_data 
+03a7 20400201 call p_g24_start_24g_mode 
+03a8 20600000 rtn 
 
 p_led_switch_show_timer_init:
-0387 6800cb1d fetch 1 ,mem_switch_led_finish 
-0388 247a0000 nrtn blank 
-0389 da604b1b arg mem_switch_led_timer ,regc 
-038a da40038c arg p_led_switch_show_timer ,regb 
-038b 2020336d branch timer_single_step 
+03a9 6800cb1d fetch 1 ,mem_switch_led_finish 
+03aa 247a0000 nrtn blank 
+03ab da604b1b arg mem_switch_led_timer ,regc 
+03ac da4003ae arg p_led_switch_show_timer ,regb 
+03ad 2020336d branch timer_single_step 
 
 p_led_switch_show_timer:
-038c 6800ca93 fetch 1 ,mem_power_on_flag 
-038d c2810399 bbit1 2 ,p_led_switch_show_timer_finish 
-038e 6800cb1c fetch 1 ,mem_switch_led_count 
-038f 1fe0fe01 increase 1 ,pdata 
-0390 6000cb1c store 1 ,mem_switch_led_count 
-0391 1fe67c08 sub pdata ,0x08 ,null 
-0392 20228399 branch p_led_switch_show_timer_finish ,zero 
-0393 704b1b03 jam 0x03 ,mem_switch_led_timer 
-0394 c000844b beq 1 ,p_blue_led_off 
-0395 6800cb12 fetch 1 ,mem_led_on 
-0396 c000844b beq on ,p_blue_led_off 
-0397 c0000448 beq off ,p_blue_led_on 
-0398 20600000 rtn 
+03ae 6800ca93 fetch 1 ,mem_power_on_flag 
+03af c28103bb bbit1 2 ,p_led_switch_show_timer_finish 
+03b0 6800cb1c fetch 1 ,mem_switch_led_count 
+03b1 1fe0fe01 increase 1 ,pdata 
+03b2 6000cb1c store 1 ,mem_switch_led_count 
+03b3 1fe67c08 sub pdata ,0x08 ,null 
+03b4 202283bb branch p_led_switch_show_timer_finish ,zero 
+03b5 704b1b03 jam 0x03 ,mem_switch_led_timer 
+03b6 c000848c beq 1 ,p_blue_led_off 
+03b7 6800cb12 fetch 1 ,mem_led_on 
+03b8 c000848c beq on ,p_blue_led_off 
+03b9 c0000489 beq off ,p_blue_led_on 
+03ba 20600000 rtn 
 
 p_led_switch_show_timer_finish:
-0399 704b1d01 jam 1 ,mem_switch_led_finish 
-039a 20600000 rtn 
+03bb 704b1d01 jam 1 ,mem_switch_led_finish 
+03bc 20600000 rtn 
 
 p_g24_init_long_sleep_timer:
-039b 6800cb3a fetch 1 ,mem_mouse_connect_success 
-039c 247a0000 nrtn blank 
-039d da604b41 arg mem_g24_int_g24_mode_timeout ,regc 
-039e da40035a arg p_g24_long_sleep_set ,regb 
-039f 2020336d branch timer_single_step 
+03bd 6800cb3a fetch 1 ,mem_mouse_connect_success 
+03be 247a0000 nrtn blank 
+03bf da604b43 arg mem_g24_int_g24_mode_timeout ,regc 
+03c0 da40035a arg p_g24_long_sleep_set ,regb 
+03c1 2020336d branch timer_single_step 
 
 p_key_led_show:
-03a0 6800cb1d fetch 1 ,mem_switch_led_finish 
-03a1 207a0000 rtn blank 
-03a2 6800cb3d fetch 1 ,mem_device_led_flag 
-03a3 247a0000 nrtn blank 
-03a4 20404083 call mouse_check_key_gpio 
-03a5 203a03ad branch p_key_all_led_off ,blank 
-03a6 1fe17e1f and_into 0x1f ,pdata 
-03a7 2040043f call p_laser_on 
-03a8 6800cb2c fetch 1 ,mem_slow_flow_flag 
-03a9 6808cb2f fetcht 1 ,mem_device_change 
-03aa 9840fe00 iadd temp ,pdata 
-03ab 205a0448 call p_blue_led_on ,blank 
-03ac 20600000 rtn 
+03c2 6800cb1d fetch 1 ,mem_switch_led_finish 
+03c3 207a0000 rtn blank 
+03c4 6800cb3d fetch 1 ,mem_device_led_flag 
+03c5 247a0000 nrtn blank 
+03c6 20404083 call mouse_check_key_gpio 
+03c7 203a03e0 branch p_key_all_led_off ,blank 
+03c8 c00283d0 beq 0x05 ,p_g24_pair_led 
+03c9 1fe17e1f and_into 0x1f ,pdata 
+03ca 20400480 call p_laser_on 
+03cb 6800cb2c fetch 1 ,mem_slow_flow_flag 
+03cc 6808cb2f fetcht 1 ,mem_device_change 
+03cd 9840fe00 iadd temp ,pdata 
+03ce 205a0489 call p_blue_led_on ,blank 
+03cf 20600000 rtn 
+
+p_g24_pair_led:
+03d0 2040047e call p_laser_off 
+03d1 6800cb48 fetch 1 ,mem_g24_pair_fail 
+03d2 243a03d6 nbranch p_g24_pair_fail_led ,blank 
+03d3 6800cd61 fetch 1 ,mem_g24_conn_sm 
+03d4 c2808489 bbit1 state_24g_pair ,p_blue_led_on 
+03d5 202003e1 branch p_device_led_off 
+
+p_g24_pair_fail_led:
+03d6 6800cb49 fetch 1 ,mem_g24_pair_fail_cunt 
+03d7 1fe0fe01 increase 1 ,pdata 
+03d8 c00403e1 beq 0x08 ,p_device_led_off 
+03d9 6000cb49 store 1 ,mem_g24_pair_fail_cunt 
+03da 202003db branch p_pair_fail_led_speed 
+
+p_pair_fail_led_speed:
+03db 704b2a0a jam 0x0a ,mem_led_speed 
+
+p_g24_pair_fail_led_next:
+03dc 6800cb12 fetch 1 ,mem_led_on 
+03dd c000848c beq on ,p_blue_led_off 
+03de c0000489 beq off ,p_blue_led_on 
+03df 20600000 rtn 
 
 p_key_all_led_off:
-03ad 704b2f00 jam 0 ,mem_device_change 
-03ae 6800cb2e fetch 1 ,mem_charging 
-03af 205a044b call p_blue_led_off ,blank 
-03b0 2020043d branch p_laser_off 
+03e0 704b2f00 jam 0 ,mem_device_change 
+
+p_device_led_off:
+03e1 2040048c call p_blue_led_off 
+03e2 2020047e branch p_laser_off 
 
 p_blue_led_staus:
-03b1 704b3101 jam 1 ,key_not_send_flag 
-03b2 20400448 call p_blue_led_on 
-03b3 20600000 rtn 
+03e3 704b3101 jam 1 ,key_not_send_flag 
+03e4 20400489 call p_blue_led_on 
+03e5 20600000 rtn 
 
 p_key_ont_send:
-03b4 704b3101 jam 1 ,key_not_send_flag 
-03b5 20600000 rtn 
+03e6 704b3101 jam 1 ,key_not_send_flag 
+03e7 20600000 rtn 
 
 p_mouse_poweron_bt_start_reconn_timer:
-03b6 da604aa9 arg mem_mouse_poweron_bt_start_reconn_timer ,regc 
-03b7 da40035e arg p_mouse_bt_start_reconn ,regb 
-03b8 2020336d branch timer_single_step 
+03e8 da604aa9 arg mem_mouse_poweron_bt_start_reconn_timer ,regc 
+03e9 da400360 arg p_mouse_bt_start_reconn ,regb 
+03ea 2020336d branch timer_single_step 
 
 p_mouse_check_direct_timeout_timer:
-03b9 da6046ae arg mem_mouse_direct_timer ,regc 
-03ba da4003bc arg p_mouse_check_direct_timeout ,regb 
-03bb 20203374 branch timer_single_step_2b 
+03eb da6046ae arg mem_mouse_direct_timer ,regc 
+03ec da4003ee arg p_mouse_check_direct_timeout ,regb 
+03ed 20203374 branch timer_single_step_2b 
 
 p_mouse_check_direct_timeout:
-03bc 6800ca9b fetch 1 ,mem_le_switch_adv_flag 
-03bd 243a340a nbranch app_enter_hibernate ,blank 
-03be 704aaa01 jam 1 ,mem_mouse_le_not_tx_disconn 
-03bf 6800caa8 fetch 1 ,mem_mouse_latest_mode 
-03c0 1fe67cff sub pdata ,latest_mode_null ,null 
-03c1 204283cb call p_mouse_le_adv_start ,zero 
-03c2 2040046b call p_mouse_le_adv_data_update 
-03c3 202043b8 branch mouse_long_button_bt_discovry 
-
-p_mouse_g24_stop_mode_timeout_timer:
-03c4 da604aa2 arg mem_g24_stop_g24_mode_timeout ,regc 
-03c5 da4003c7 arg p_mouse_g24_stop_mode_timeout ,regb 
-03c6 20203374 branch timer_single_step_2b 
+03ee 6800ca9b fetch 1 ,mem_le_switch_adv_flag 
+03ef 243a340a nbranch app_enter_hibernate ,blank 
+03f0 704aaa01 jam 1 ,mem_mouse_le_not_tx_disconn 
+03f1 6800caa8 fetch 1 ,mem_mouse_latest_mode 
+03f2 1fe67cff sub pdata ,latest_mode_null ,null 
+03f3 20428412 call p_mouse_le_adv_start ,zero 
+03f4 204004ac call p_mouse_le_adv_data_update 
+03f5 202043b8 branch mouse_long_button_bt_discovry 
+
+p_pair_connect_staus:
+03f6 c00883fa beq 0x11 ,p_mouse_g24_pair_mode_start 
+03f7 20600000 rtn 
+
+p_mouse_g24_pair_mode_timer:
+03f8 6800cb45 fetch 1 ,mem_timer_key 
+03f9 c08283f6 bne 0x05 ,p_pair_connect_staus 
+
+p_mouse_g24_pair_mode_start:
+03fa 58000000 setarg 0 
+03fb 60024b15 store 4 ,key_key_staus 
+03fc 204003e6 call p_key_ont_send 
+03fd 68014b21 fetch 2 ,key_long_press_timer 
+03fe 1fe67c0a sub pdata ,0x0a ,null 
+03ff 20610000 rtn positive 
+0400 1fe67c60 sub pdata ,0x60 ,null 
+0401 2441040b ncall p_g24_stop_pair_mode ,positive 
+0402 1fe67c68 sub pdata ,0x68 ,null 
+0403 2421040d nbranch p_g24_stop_pair_init ,positive 
 
 p_mouse_g24_stop_mode_timeout:
-03c7 6800cb39 fetch 1 ,mem_24g_reconn_flag 
-03c8 c000832a beq 1 ,p_g24_auto_pair_start 
-03c9 704aa101 jam 1 ,mem_g24_stop_g24_mode 
-03ca 20600000 rtn 
+0404 704c1700 jam 0 ,mem_24g_ensure 
+0405 20407fe7 call enable_user 
+0406 6800cb47 fetch 1 ,mem_g24_pair 
+0407 247a0000 nrtn blank 
+0408 704b3a00 jam 0 ,mem_mouse_connect_success 
+0409 704b4701 jam 1 ,mem_g24_pair 
+040a 2020032a branch p_g24_auto_pair_start 
+
+p_g24_stop_pair_mode:
+040b 704b4801 jam 1 ,mem_g24_pair_fail 
+040c 20600000 rtn 
+
+p_g24_stop_pair_init:
+040d 6800cd61 fetch 1 ,mem_g24_conn_sm 
+040e 793ffe01 set0 state_24g_pair ,pdata 
+040f 6000cd61 store 1 ,mem_g24_conn_sm 
+0410 704b4700 jam 0 ,mem_g24_pair 
+0411 20600000 rtn 
 
 p_mouse_le_adv_start:
-03cb 704a9f01 jam 1 ,mem_mouse_le_adv_start 
-03cc 20600000 rtn 
+0412 704a9f01 jam 1 ,mem_mouse_le_adv_start 
+0413 20600000 rtn 
 
 p_mouse_motion:
-03cd 78547c00 disable user 
+0414 78547c00 disable user 
 
 p_keyboard_key:
-03ce 704afc00 jam 0 ,mem_customer_data_trigger 
-03cf 204003d9 call p_mouse_check_key_gpio 
-03d0 204040a8 call mouse_set_mult 
-03d1 20400450 call p_mouse_24g_customer_key 
-03d2 1a227e00 copy rega ,pdata 
-03d3 60014ae4 store 2 ,mem_customer_key 
-03d4 68014b15 fetch 2 ,key_key_staus 
-03d5 207a0000 rtn blank 
-03d6 20403f8d call mouse_no_data_timer_init 
-03d7 704afc01 jam 1 ,mem_customer_data_trigger 
-03d8 20207fe7 branch enable_user 
+0415 704afc00 jam 0 ,mem_customer_data_trigger 
+0416 20400427 call p_mouse_check_key_gpio_next 
+0417 204040a8 call mouse_set_mult 
+0418 20400491 call p_mouse_24g_customer_key 
+0419 1a227e00 copy rega ,pdata 
+041a 60014ae4 store 2 ,mem_customer_key 
+041b 20400421 call p_mouse_check_key_gpio 
+041c 68014b15 fetch 2 ,key_key_staus 
+041d 207a0000 rtn blank 
+041e 20403f8d call mouse_no_data_timer_init 
+041f 704afc01 jam 1 ,mem_customer_data_trigger 
+0420 20207fe7 branch enable_user 
 
 p_mouse_check_key_gpio:
-03d9 6800cb2e fetch 1 ,mem_charging 
-03da 247a0000 nrtn blank 
-03db 68014ae4 fetch 2 ,mem_customer_key 
-03dc 245a03e3 ncall p_key_staus_storage ,blank 
-03dd 205a03e9 call p_2key_release ,blank 
-03de 204003e0 call p_mouse_check_key_gpio_next 
-03df 20200415 branch p_key_release_flag 
+0421 68014ae4 fetch 2 ,mem_customer_key 
+0422 245a042a ncall p_key_staus_storage ,blank 
+0423 68014ae4 fetch 2 ,mem_customer_key 
+0424 205a0430 call p_2key_release ,blank 
+0425 20400459 call p_key_release_flag 
+0426 20600000 rtn 
 
 p_mouse_check_key_gpio_next:
-03e0 da200000 arg 0 ,rega 
-03e1 20400405 call p_mouse_check_lkey_gpio 
-03e2 2020408e branch mouse_check_key_gpio_output 
+0427 da200000 arg 0 ,rega 
+0428 20400449 call p_mouse_check_lkey_gpio 
+0429 2020408e branch mouse_check_key_gpio_output 
 
 p_key_staus_storage:
-03e3 1fe17e1f and_into 0x1f ,pdata 
-03e4 c28203b4 bbit1 4 ,p_key_ont_send 
-03e5 c00183b4 beq 0x03 ,p_key_ont_send 
-03e6 60014b17 store 2 ,mem_key_staus 
-03e7 704b4001 jam 1 ,mem_connect_staus 
-03e8 20600000 rtn 
+042a 1fe17e1f and_into 0x1f ,pdata 
+042b c28203e6 bbit1 4 ,p_key_ont_send 
+042c c00183e6 beq 0x03 ,p_key_ont_send 
+042d 60014b17 store 2 ,mem_key_staus 
+042e 704b3f01 jam 1 ,mem_connect_staus 
+042f 20600000 rtn 
 
 p_2key_release:
-03e9 dfe00000 arg 0 ,pdata 
-03ea 6003cb31 store 7 ,mem_key_release_flag 
-03eb 68014b21 fetch 2 ,key_long_press_timer 
-03ec 1fe67c06 sub pdata ,0x06 ,null 
-03ed 244103ef ncall p_key_timer_set0 ,positive 
-03ee 20600000 rtn 
+0430 dfe00000 arg 0 ,pdata 
+0431 6003cb31 store 7 ,mem_key_release_flag 
+0432 20600000 rtn 
 
 p_key_timer_set0:
-03ef dfe00000 arg 0 ,pdata 
-03f0 60014b21 store 2 ,key_long_press_timer 
-03f1 20600000 rtn 
+0433 dfe00000 arg 0 ,pdata 
+0434 60014b21 store 2 ,key_long_press_timer 
+0435 20600000 rtn 
 
 p_mouse_check_key:
-03f2 6000cae1 store 1 ,mem_mouse_key_status 
-03f3 1fe3fe00 lshift pdata ,pdata 
-03f4 1fe22400 copy pdata ,regb 
-03f5 18422600 copy temp ,regc 
-03f6 6800cae0 fetch 1 ,mem_mouse_key_temp 
-03f7 204067fb call gpio_config_input 
-03f8 1a620400 copy regc ,temp 
-03f9 2040681d call gpio_get_bit 
-03fa 7920a400 setflag true ,0 ,regb 
-03fb 1a417e07 and regb ,0x07 ,pdata 
-03fc 6808cae0 fetcht 1 ,mem_mouse_key_temp 
-03fd 18420e00 copy temp ,queue 
-03fe c0038401 beq 0x07 ,p_mouse_key_press 
-03ff c0000403 beq 0x00 ,p_mouse_key_release 
-0400 20600000 rtn 
+0436 6000cae1 store 1 ,mem_mouse_key_status 
+0437 1fe3fe00 lshift pdata ,pdata 
+0438 1fe22400 copy pdata ,regb 
+0439 18422600 copy temp ,regc 
+043a 6800cae0 fetch 1 ,mem_mouse_key_temp 
+043b 204067fb call gpio_config_input 
+043c 1a620400 copy regc ,temp 
+043d 2040681d call gpio_get_bit 
+043e 7920a400 setflag true ,0 ,regb 
+043f 1a417e07 and regb ,0x07 ,pdata 
+0440 6808cae0 fetcht 1 ,mem_mouse_key_temp 
+0441 18420e00 copy temp ,queue 
+0442 c0038445 beq 0x07 ,p_mouse_key_press 
+0443 c0000447 beq 0x00 ,p_mouse_key_release 
+0444 20600000 rtn 
 
 p_mouse_key_press:
-0401 f9202200 qset1 rega 
-0402 20600000 rtn 
+0445 f9202200 qset1 rega 
+0446 20600000 rtn 
 
 p_mouse_key_release:
-0403 f93fa200 qset0 rega 
-0404 20600000 rtn 
+0447 f93fa200 qset0 rega 
+0448 20600000 rtn 
 
 p_mouse_check_lkey_gpio:
-0405 704ae000 jam 0x00 ,mem_mouse_key_temp 
-0406 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
-0407 6800cada fetch 1 ,mem_mouse_lkey_press_status 
-0408 204003f2 call p_mouse_check_key 
-0409 6000cada store 1 ,mem_mouse_lkey_press_status 
+0449 704ae000 jam 0x00 ,mem_mouse_key_temp 
+044a 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
+044b 6800cada fetch 1 ,mem_mouse_lkey_press_status 
+044c 20400436 call p_mouse_check_key 
+044d 6000cada store 1 ,mem_mouse_lkey_press_status 
 
 p_mouse_check_rkey_gpio:
-040a 704ae001 jam 0x01 ,mem_mouse_key_temp 
-040b 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
-040c 6800cadb fetch 1 ,mem_mouse_rkey_press_status 
-040d 204003f2 call p_mouse_check_key 
-040e 6000cadb store 1 ,mem_mouse_rkey_press_status 
+044e 704ae001 jam 0x01 ,mem_mouse_key_temp 
+044f 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
+0450 6800cadb fetch 1 ,mem_mouse_rkey_press_status 
+0451 20400436 call p_mouse_check_key 
+0452 6000cadb store 1 ,mem_mouse_rkey_press_status 
 
 p_mouse_check_fwkey_gpio:
-040f 704ae004 jam 0x04 ,mem_mouse_key_temp 
-0410 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
-0411 6800cade fetch 1 ,mem_mouse_fwkey_press_status 
-0412 204003f2 call p_mouse_check_key 
-0413 6000cade store 1 ,mem_mouse_fwkey_press_status 
-0414 20600000 rtn 
+0453 704ae004 jam 0x04 ,mem_mouse_key_temp 
+0454 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
+0455 6800cade fetch 1 ,mem_mouse_fwkey_press_status 
+0456 20400436 call p_mouse_check_key 
+0457 6000cade store 1 ,mem_mouse_fwkey_press_status 
+0458 20600000 rtn 
 
 p_key_release_flag:
-0415 68014b21 fetch 2 ,key_long_press_timer 
-0416 207a0000 rtn blank 
-0417 1fe67c06 sub pdata ,0x06 ,null 
-0418 24210429 nbranch p_long_press ,positive 
-0419 68014ae4 fetch 2 ,mem_customer_key 
-041a 247a0000 nrtn blank 
-041b 68014b17 fetch 2 ,mem_key_staus 
+0459 6800cb4b fetch 1 ,mem_short_press 
+045a 207a0000 rtn blank 
+045b c001046a beq 2 ,p_long_press 
+045c 68014ae4 fetch 2 ,mem_customer_key 
+045d 247a0000 nrtn blank 
+045e 68014b17 fetch 2 ,mem_key_staus 
 
 p_key_staus_store:
-041c 60014b15 store 2 ,key_key_staus 
-041d 68014b21 fetch 2 ,key_long_press_timer 
-041e 1fe67c06 sub pdata ,0x06 ,null 
-041f 204103ef call p_key_timer_set0 ,positive 
-0420 6800cb31 fetch 1 ,key_not_send_flag 
-0421 c0008426 beq 0x01 ,p_key_not_send 
-0422 6800cb34 fetch 1 ,mem_packet_send_finish 
-0423 c0008426 beq 0x01 ,p_key_not_send 
+045f 60014b15 store 2 ,key_key_staus 
+0460 704b4b00 jam 0 ,mem_short_press 
+0461 6800cb31 fetch 1 ,key_not_send_flag 
+0462 c0008467 beq 0x01 ,p_key_not_send 
+0463 6800cb34 fetch 1 ,mem_packet_send_finish 
+0464 c0008467 beq 0x01 ,p_key_not_send 
 
 p_key_staus_set0:
-0424 704b1700 jam 0 ,mem_key_staus 
-0425 20600000 rtn 
+0465 704b1700 jam 0 ,mem_key_staus 
+0466 20600000 rtn 
 
 p_key_not_send:
-0426 dfe00000 arg 0 ,pdata 
-0427 60014b15 store 2 ,key_key_staus 
-0428 20200424 branch p_key_staus_set0 
+0467 dfe00000 arg 0 ,pdata 
+0468 60014b15 store 2 ,key_key_staus 
+0469 20200465 branch p_key_staus_set0 
 
 p_long_press:
-0429 68014b17 fetch 2 ,mem_key_staus 
-042a c000842f beq 0x01 ,p_long_press2 
+046a 68014b17 fetch 2 ,mem_key_staus 
+046b c0008470 beq 0x01 ,p_long_press2 
 
 p_long_press_staus_store:
-042b 68014b17 fetch 2 ,mem_key_staus 
-042c 1ff27e00 lshift4 pdata ,pdata 
-042d 1fe3fe00 lshift pdata ,pdata 
-042e 2020041c branch p_key_staus_store 
+046c 68014b17 fetch 2 ,mem_key_staus 
+046d 1ff27e00 lshift4 pdata ,pdata 
+046e 1fe3fe00 lshift pdata ,pdata 
+046f 2020045f branch p_key_staus_store 
 
 p_long_press2:
-042f 6800cb32 fetch 1 ,mem_key_change 
-0430 205a0436 call p_key_change ,blank 
-0431 6800cb38 fetch 1 ,key_long_press_frequency 
-0432 c000042b beq 0x00 ,p_long_press_staus_store 
-0433 68014b17 fetch 2 ,mem_key_staus 
-0434 1ff27e00 lshift4 pdata ,pdata 
-0435 2020041c branch p_key_staus_store 
+0470 6800cb32 fetch 1 ,mem_key_change 
+0471 205a0477 call p_key_change ,blank 
+0472 6800cb38 fetch 1 ,key_long_press_frequency 
+0473 c000046c beq 0x00 ,p_long_press_staus_store 
+0474 68014b17 fetch 2 ,mem_key_staus 
+0475 1ff27e00 lshift4 pdata ,pdata 
+0476 2020045f branch p_key_staus_store 
 
 p_key_change:
-0436 704b3201 jam 0x01 ,mem_key_change 
-0437 6800cb38 fetch 1 ,key_long_press_frequency 
-0438 79407e00 setflip 0 ,pdata 
-0439 6000cb38 store 1 ,key_long_press_frequency 
-043a 20600000 rtn 
+0477 704b3201 jam 0x01 ,mem_key_change 
+0478 6800cb38 fetch 1 ,key_long_press_frequency 
+0479 79407e00 setflip 0 ,pdata 
+047a 6000cb38 store 1 ,key_long_press_frequency 
+047b 20600000 rtn 
 
 p_laser_init:
-043b 6808cb10 fetcht 1 ,mem_filp_laser_gpio 
-043c 2020680e branch gpio_config_output 
+047c 6808cb10 fetcht 1 ,mem_filp_laser_gpio 
+047d 2020680e branch gpio_config_output 
 
 p_laser_off:
-043d 2040043b call p_laser_init 
-043e 20206829 branch gpio_out_active 
+047e 2040047c call p_laser_init 
+047f 20206829 branch gpio_out_active 
 
 p_laser_on:
-043f c082043d bne 0x04 ,p_laser_off 
-0440 68014b21 fetch 2 ,key_long_press_timer 
-0441 68094b13 fetcht 2 ,mem_key_sleep 
-0442 98467c00 isub temp ,null 
-0443 2021043d branch p_laser_off ,positive 
-0444 2040043b call p_laser_init 
-0445 20206825 branch gpio_out_inactive 
+0480 c082047e bne 0x04 ,p_laser_off 
+0481 68014b21 fetch 2 ,key_long_press_timer 
+0482 68094b13 fetcht 2 ,mem_key_sleep 
+0483 98467c00 isub temp ,null 
+0484 2021047e branch p_laser_off ,positive 
+0485 2040047c call p_laser_init 
+0486 20206825 branch gpio_out_inactive 
 
 p_blue_led_init:
-0446 6808cb11 fetcht 1 ,mem_filp_led_gpio 
-0447 2020680e branch gpio_config_output 
+0487 6808cb11 fetcht 1 ,mem_filp_led_gpio 
+0488 2020680e branch gpio_config_output 
 
 p_blue_led_on:
-0448 704b1201 jam on ,mem_led_on 
-0449 20400446 call p_blue_led_init 
-044a 20206829 branch gpio_out_active 
+0489 704b1201 jam on ,mem_led_on 
+048a 20400487 call p_blue_led_init 
+048b 20206829 branch gpio_out_active 
 
 p_blue_led_off:
-044b 6800cb12 fetch 1 ,mem_led_on 
-044c c1000000 rtneq off 
+048c 6800cb12 fetch 1 ,mem_led_on 
+048d c1000000 rtneq off 
 
 p_blue_led_off2:
-044d 704b1200 jam off ,mem_led_on 
-044e 20400446 call p_blue_led_init 
-044f 20206825 branch gpio_out_inactive 
+048e 704b1200 jam off ,mem_led_on 
+048f 20400487 call p_blue_led_init 
+0490 20206825 branch gpio_out_inactive 
 
 p_mouse_24g_customer_key:
-0450 c6930000 rtnmark0 mark_24g 
-0451 1a227e00 copy rega ,pdata 
-0452 207a0000 rtn blank 
-0453 60014ae4 store 2 ,mem_customer_key 
-0454 20207fe7 branch enable_user 
+0491 c6930000 rtnmark0 mark_24g 
+0492 1a227e00 copy rega ,pdata 
+0493 207a0000 rtn blank 
+0494 60014ae4 store 2 ,mem_customer_key 
+0495 20207fe7 branch enable_user 
 
 p_mouse_bb_event_discovery_btn:
-0455 280ffe26 isolate1 mark_24g ,mark 
-0456 2040822f call p_g24_check_51cmd_stop_24g ,true 
-0457 7046b400 jam 0 ,mem_mouse_send_blank_timer 
-0458 6800caaa fetch 1 ,mem_mouse_le_not_tx_disconn 
-0459 205a4386 call mouse_disconnect ,blank 
-045a 58000000 setarg 0 
-045b 600146b0 store 2 ,mem_mouse_no_data_timer 
-045c 2020426f branch mouse_bb_event_discovery_btn + 3 
+0496 280ffe26 isolate1 mark_24g ,mark 
+0497 2040822f call p_g24_check_51cmd_stop_24g ,true 
+0498 7046b400 jam 0 ,mem_mouse_send_blank_timer 
+0499 6800caaa fetch 1 ,mem_mouse_le_not_tx_disconn 
+049a 205a4386 call mouse_disconnect ,blank 
+049b 58000000 setarg 0 
+049c 600146b0 store 2 ,mem_mouse_no_data_timer 
+049d 2020426f branch mouse_bb_event_discovery_btn + 3 
 
 p_mouse_start_discovery:
-045d 204002f0 call p_mouse_tx_power_init 
-045e 704a9100 jam 0 ,mem_le_send_security_request_flag 
-045f 704a9e01 jam 1 ,mem_mouse_start_discovery_enable 
-0460 70472001 jam mode_bt_device1 ,mem_device_flag 
-0461 70479c00 jam 0 ,mem_mouse_clear_sensor_data_flag 
+049e 204002f0 call p_mouse_tx_power_init 
+049f 704a9100 jam 0 ,mem_le_send_security_request_flag 
+04a0 704a9e01 jam 1 ,mem_mouse_start_discovery_enable 
+04a1 70472001 jam mode_bt_device1 ,mem_device_flag 
+04a2 70479c00 jam 0 ,mem_mouse_clear_sensor_data_flag 
 
 p_mouse_start_discovery_norandom:
-0462 20403418 call app_lpm_mult_disable 
-0463 68014687 fetch 2 ,mem_discovery_timeout 
-0464 600146ac store 2 ,mem_mouse_discovery_timer 
-0465 70016d06 jam 6 ,mem_connection_options 
-0466 58000000 setarg 0 
-0467 600146b0 store 2 ,mem_mouse_no_data_timer 
-0468 600146ae store 2 ,mem_mouse_direct_timer 
-0469 20400473 call p_mouse_store_eeprom_enable 
-046a 202042c4 branch mouse_start_discovery_norandom + 13 
+04a3 20403418 call app_lpm_mult_disable 
+04a4 68014687 fetch 2 ,mem_discovery_timeout 
+04a5 600146ac store 2 ,mem_mouse_discovery_timer 
+04a6 70016d06 jam 6 ,mem_connection_options 
+04a7 58000000 setarg 0 
+04a8 600146b0 store 2 ,mem_mouse_no_data_timer 
+04a9 600146ae store 2 ,mem_mouse_direct_timer 
+04aa 204004b4 call p_mouse_store_eeprom_enable 
+04ab 202042c4 branch mouse_start_discovery_norandom + 13 
 
 p_mouse_le_adv_data_update:
-046b 70436f1f jam 0x1f ,mem_le_adv_data_len 
-046c 70438f1f jam 0x1f ,mem_le_scan_data_len 
-046d 20400473 call p_mouse_store_eeprom_enable 
-046e d8c04a71 arg mem_le_adv_swift_pair ,contr 
+04ac 70436f1f jam 0x1f ,mem_le_adv_data_len 
+04ad 70438f1f jam 0x1f ,mem_le_scan_data_len 
+04ae 204004b4 call p_mouse_store_eeprom_enable 
+04af d8c04a71 arg mem_le_adv_swift_pair ,contr 
 
 p_le_adv_data_update:
-046f d8a0437b arg mem_le_adv_data + 11 ,contw 
-0470 df200013 arg 19 ,loopcnt 
-0471 20407f01 call memcpy 
-0472 202057b8 branch le_modified_name_adv 
+04b0 d8a0437b arg mem_le_adv_data + 11 ,contw 
+04b1 df200013 arg 19 ,loopcnt 
+04b2 20407f01 call memcpy 
+04b3 202057b8 branch le_modified_name_adv 
 
 p_mouse_store_eeprom_enable:
-0473 d8e00007 arg mouse_store_eeprom_flag ,queue 
-0474 202043ce branch mouse_enable_function_flag 
+04b4 d8e00007 arg mouse_store_eeprom_flag ,queue 
+04b5 202043ce branch mouse_enable_function_flag 
 
 p_mouse_stop_discovery:
-0475 58000000 setarg 0 
-0476 600146ac store 2 ,mem_mouse_discovery_timer 
-0477 704b3a01 jam 1 ,mem_mouse_connect_success 
-0478 202042cb branch mouse_stop_discovery + 1 
+04b6 58000000 setarg 0 
+04b7 600146ac store 2 ,mem_mouse_discovery_timer 
+04b8 704b3a01 jam 1 ,mem_mouse_connect_success 
+04b9 202042cb branch mouse_stop_discovery + 1 
 
 power_ctrl_pac_succ_decrs:
-0479 6800cd04 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-047a 1fe67c02 sub pdata ,2 ,null 
-047b 24410487 ncall power_ctrl_pac_succ_cnt_reinit ,positive 
-047c 6800cd04 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-047d c1000000 rtneq 0 
-047e 1fe0ffff increase -1 ,pdata 
-047f 20200485 branch power_ctrl_pac_succ_incrs_store 
+04ba 6800cd4b fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+04bb 1fe67c02 sub pdata ,2 ,null 
+04bc 244104c8 ncall power_ctrl_pac_succ_cnt_reinit ,positive 
+04bd 6800cd4b fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+04be c1000000 rtneq 0 
+04bf 1fe0ffff increase -1 ,pdata 
+04c0 202004c6 branch power_ctrl_pac_succ_incrs_store 
 
 power_ctrl_pac_succ_cnt_init:
-0480 704d0701 jam 1 ,mem_power_ctrl_level 
-0481 704d0400 jam 0 ,mem_power_ctrl_pac_succ_cnt 
-0482 20600000 rtn 
+04c1 704d4e01 jam 1 ,mem_power_ctrl_level 
+04c2 704d4b00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+04c3 20600000 rtn 
 
 power_ctrl_pac_succ_incrs:
-0483 6800cd04 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0484 1fe0fe01 increase 1 ,pdata 
+04c4 6800cd4b fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+04c5 1fe0fe01 increase 1 ,pdata 
 
 power_ctrl_pac_succ_incrs_store:
-0485 6000cd04 store 1 ,mem_power_ctrl_pac_succ_cnt 
-0486 20600000 rtn 
+04c6 6000cd4b store 1 ,mem_power_ctrl_pac_succ_cnt 
+04c7 20600000 rtn 
 
 power_ctrl_pac_succ_cnt_reinit:
-0487 704d0403 jam 3 ,mem_power_ctrl_pac_succ_cnt 
-0488 20600000 rtn 
+04c8 704d4b03 jam 3 ,mem_power_ctrl_pac_succ_cnt 
+04c9 20600000 rtn 
 
 p_set_freq_tx:
-0489 60088017 storet 1 ,mem_last_freq 
-048a 2040292d call set_freq_tx_offset 
-048b 20402981 call rf_write_freq 
-048c 58000500 setarg param_pll_setup 
-048d 20402a8f call sleep 
+04ca 60088017 storet 1 ,mem_last_freq 
+04cb 2040292d call set_freq_tx_offset 
+04cc 20402981 call rf_write_freq 
+04cd 58000500 setarg param_pll_setup 
+04ce 20402a8f call sleep 
 
 p_rf_tx_enable:
-048e 70890601 jam 0x1 ,rfen_adc 
-048f 7089003c jam 0x3c ,rfen_rx 
-0490 708901e0 jam 0xe0 ,rfen_tx 
-0491 2000000a nop 10 
-0492 70890201 jam 0x01 ,rfen_mdm 
-0493 7089023d jam 0x3d ,rfen_mdm 
-0494 2000000a nop 10 
-0495 708903b7 jam 0xb7 ,rfen_sn 
-0496 2000000a nop 10 
-0497 7089027d jam 0x7d ,rfen_mdm 
-0498 6800c1de fetch 1 ,mem_tx_power 
-0499 c00104a1 beq tx_power_5db ,p_set_tx_power_5db 
-049a c00204a9 beq tx_power_f5db ,p_set_tx_power_f5db 
-049b c01004b3 beq tx_power_pair ,p_set_tx_power_pair 
+04cf 70890601 jam 0x1 ,rfen_adc 
+04d0 7089003c jam 0x3c ,rfen_rx 
+04d1 708901e0 jam 0xe0 ,rfen_tx 
+04d2 2000000a nop 10 
+04d3 70890201 jam 0x01 ,rfen_mdm 
+04d4 7089023d jam 0x3d ,rfen_mdm 
+04d5 2000000a nop 10 
+04d6 708903b7 jam 0xb7 ,rfen_sn 
+04d7 2000000a nop 10 
+04d8 7089027d jam 0x7d ,rfen_mdm 
+04d9 6800c1de fetch 1 ,mem_tx_power 
+04da c00104e2 beq tx_power_5db ,p_set_tx_power_5db 
+04db c00204ea beq tx_power_f5db ,p_set_tx_power_f5db 
+04dc c01004f4 beq tx_power_pair ,p_set_tx_power_pair 
 
 p_set_tx_power_0db:
-049c 204004ae call p_rx_low_sens 
-049d 708955d0 jam 0xd0 ,0x8955 
-049e 708956e0 jam 0xe0 ,0x8956 
-049f 7089586c jam 0x6c ,0x8958 
-04a0 2020294b branch set_tx_power_0db 
+04dd 204004ef call p_rx_low_sens 
+04de 708955d0 jam 0xd0 ,0x8955 
+04df 708956e0 jam 0xe0 ,0x8956 
+04e0 7089586c jam 0x6c ,0x8958 
+04e1 2020294b branch set_tx_power_0db 
 
 p_set_tx_power_5db:
-04a1 70894cfb jam 0xfb ,0x894c 
-04a2 70894def jam 0xef ,0x894d 
-04a3 70894eec jam 0xec ,0x894e 
-04a4 70894f5e jam 0x5e ,0x894f 
-04a5 708955d0 jam 0xd0 ,0x8955 
-04a6 708956e0 jam 0xe0 ,0x8956 
-04a7 7089583c jam 0x3c ,0x8958 
-04a8 20202953 branch set_tx_power_5db 
+04e2 70894cfb jam 0xfb ,0x894c 
+04e3 70894def jam 0xef ,0x894d 
+04e4 70894eec jam 0xec ,0x894e 
+04e5 70894f5e jam 0x5e ,0x894f 
+04e6 708955d0 jam 0xd0 ,0x8955 
+04e7 708956e0 jam 0xe0 ,0x8956 
+04e8 7089583c jam 0x3c ,0x8958 
+04e9 20202953 branch set_tx_power_5db 
 
 p_set_tx_power_f5db:
-04a9 204004ae call p_rx_low_sens 
-04aa 708955d0 jam 0xd0 ,0x8955 
-04ab 708956c0 jam 0xc0 ,0x8956 
-04ac 7089586c jam 0x6c ,0x8958 
-04ad 2020295b branch set_tx_power_f5db 
+04ea 204004ef call p_rx_low_sens 
+04eb 708955d0 jam 0xd0 ,0x8955 
+04ec 708956c0 jam 0xc0 ,0x8956 
+04ed 7089586c jam 0x6c ,0x8958 
+04ee 2020295b branch set_tx_power_f5db 
 
 p_rx_low_sens:
-04ae 70894c5b jam 0x5b ,0x894c 
-04af 70894d96 jam 0x96 ,0x894d 
-04b0 70894e2c jam 0x2c ,0x894e 
-04b1 70894f46 jam 0x46 ,0x894f 
-04b2 20600000 rtn 
+04ef 70894c5b jam 0x5b ,0x894c 
+04f0 70894d96 jam 0x96 ,0x894d 
+04f1 70894e2c jam 0x2c ,0x894e 
+04f2 70894f46 jam 0x46 ,0x894f 
+04f3 20600000 rtn 
 
 p_set_tx_power_pair:
-04b3 708956c2 jam 0xc2 ,0x8956 
-04b4 708955d0 jam 0xd0 ,0x8955 
-04b5 20600000 rtn 
+04f4 708956c2 jam 0xc2 ,0x8956 
+04f5 708955d0 jam 0xd0 ,0x8955 
+04f6 20600000 rtn 
 
 p_shutdown_radio:
-04b6 18002a08 force 8 ,radio_ctrl 
-04b7 202028fa branch shutdown_radio + 1 
+04f7 18002a08 force 8 ,radio_ctrl 
+04f8 202028fa branch shutdown_radio + 1 
               org 0x2000
 
 start:
Index: program/patch.prog
===================================================================
--- /branch/flip_pen/flip_pen_2.4G/program/patch.prog	(revision 3103)
+++ /branch/flip_pen/flip_pen_2.4G/program/patch.prog	(working copy)
@@ -127,6 +127,8 @@
 	nbranch p_g24_nodata_transmit,user
 	call p_g24_rf_sta_check
 p_g24_transmit_start:
+	//fetch 1,mem_24g_pairing_sm
+	//bne STATE_24G_PAIRING_SUCCESS,p_g24_transmit_packet
 	call p_g24_transmit_packet
 	fetch 1,mem_24g_pairing_sm
 	rtnne STATE_24G_PAIRING_SUCCESS
@@ -134,19 +136,30 @@
 	jam TX_POWER_5DB,mem_tx_power
 //	call g24_long_sleep_shorter_param_update
 	fetch 1,mem_customer_data_trigger
-	beq 1,p_g24_transmit_customer_data
+	beq 2,p_g24_transmit_customer_data
+	
 p_g24_short_sleep:	
 	call p_g24_lpm_wait
 	nrtn user
 	call p_clear_wake
 	setarg 60000
 	branch lpm_dispatch_sleep
+	
+//p_no_ack_set:
+//	jam 0x01,mem_24g_no_ack
+//	branch p_g24_transmit_start_next
 
 p_g24_transmit_customer_data: 
+	fetch 1,mem_customer_data_trigger
+	beq 2,p_customer_data_trigger_reset
+p_g24_transmit_customer_data_start:
 	call p_g24_transmit_by_interrupt_enable
 	call p_g24_accumulate_customer_data
 	call p_g24_txdata_enable_tx
 	branch p_g24_transmit_packet
+p_customer_data_trigger_reset:
+	jam 0,mem_customer_data_trigger
+	branch p_g24_transmit_customer_data_start
 //g24_long_sleep_shorter_param_update:
 //	setarg G24_LONG_SLEEP_STEP3
 //	store 3,mem_24g_enter_hibernate
@@ -161,7 +174,14 @@
 	//rtn
 
 p_g24_accumulate_customer_data:
-	arg 10,rega
+	fetch 1,mem_package_id
+	store 1,mem_customer_key_press+9
+	store 1,mem_customer_key_release+9
+	increase 1,pdata
+	beq 0xff,p_packet_id_resect
+	store 1,mem_package_id
+p_g24_accumulate_customer_data_next:
+	arg 11,rega
 	arg mem_customer_key_release,regb
 	fetch 2,key_key_staus
 	ncall p_mouse_customer_key_press,blank
@@ -174,7 +194,10 @@
 	copy regb,contr
 	copy rega,loopcnt
 	branch memcpy
-
+	
+p_packet_id_resect:
+	jam 1,mem_package_id
+	branch p_g24_accumulate_customer_data_next
 	
 //p_customer_key_send_alt_tab:
 //	fetch 2,mem_customer_key
@@ -200,15 +223,13 @@
 	//bbit1 7,p_customer_key_send_alt_tab
 	call p_mouse_set_key	
 	jam 0,mem_customer_key_num1
-	jam 3,mem_customer_key_num
+	//jam 3,mem_customer_key_num
 	fetch 1,mem_customer_key_status
 	store 1,mem_customer_key_press+1
-	fetch 1,mem_package_id
-	store 1,mem_customer_key_press+9
 	fetch 2,key_key_staus
 	store 2,mem_customer_key_temp
-	arg 13,loopcnt
-p_mouse_customer_enter_packet_loop:
+	//arg 13,loopcnt
+p_mouse_customer_enter_packet_continue:
 	bbit1 0,p_mouse_customer_enter_packet2
 p_mouse_customer_enter_packet_next:
 	fetch 1,mem_customer_key_num1
@@ -217,17 +238,17 @@
 	fetch 2,mem_customer_key_temp
 	rshift pdata,pdata
 	store 2,mem_customer_key_temp
-	loop p_mouse_customer_enter_packet_loop
+	branch p_mouse_customer_enter_packet_continue
+
+	
+p_mouse_customer_enter_packet2:
+	fetch 1,mem_customer_key_num1
+	arg mem_keyboard_value,contr
+	iadd contr,contr
+	ifetch 1,contr
+	store 1,mem_customer_key_press+3
 p_mouse_customer_epacket_send_finish:
-	fetch 1,mem_packet_count
-	increase 1,pdata
-	store 1,mem_packet_count
-	sub pdata,0x08,null
-	nrtn zero
 	fetch 1,mem_package_id
-	increase 1,pdata
-	beq 0xff,p_packet_id_resect
-	store 1,mem_package_id
 p_epacket_send_finish_next:
 	jam 0,mem_packet_count
 	jam 1,mem_packet_send_finish
@@ -237,33 +258,6 @@
 	jam 1,mem_customer_bt_start_send_empty_packet
 	rtn
 
-p_packet_id_resect:
-	jam 1,mem_package_id
-	branch p_epacket_send_finish_next
-
-//p_mouse_customer_packet_id_store:
-//	fetch 1,mem_package_id
-//	store 1,mem_customer_key_press+9
-//	increase 1,pdata
-//	store 1,mem_package_id
-//	rtn
-	
-p_mouse_customer_enter_packet2:
-	fetch 1,mem_customer_key_num
-	fetcht 1,mem_customer_key_num1
-	arg mem_keyboard_value,contr
-	arg mem_customer_key_press,contw
-	iadd contw,contw
-	copy temp,pdata
-	iadd contr,contr
-	ifetch 1,contr
-	istore 1,contw
-	fetch 1,mem_customer_key_num
-	increase 1,pdata
-	store 1,mem_customer_key_num
-	sub pdata,0x09,null 
-	nbranch p_mouse_customer_epacket_send_finish,positive
-	branch p_mouse_customer_enter_packet_next
 
 //p_g24_accumulate_data_head:
 //	jam 0,mem_24g_abort_pac
@@ -568,23 +562,64 @@
 p_g24_package_data:
 	fetch 2,mem_cb_24g_data
 	call callback_func
-	branch p_g24_accumulate_customer_data,user
+	branch p_g24_customer_data,user
 	fetch 7,mem_24g_txbuf+1	//mouse data
 	rtn blank
 	branch enable_user	// retransmit
 
+p_g24_customer_data:
+	fetch 1,mem_customer_data_trigger
+	beq 1, p_g24_accumulate_customer_next
+	rtn
+
+p_g24_accumulate_customer_next:
+	jam 2,mem_customer_data_trigger
+	branch p_g24_accumulate_customer_data
+
+
+
+/*p_h:
+	//fetch 1,mem_24g_txbuf
+	//rtn blank
+	arg 0x1b,temp
+	call gpio_config_output
+	branch gpio_out_inactive
+p_l:
+	arg 0x1b,temp
+	branch gpio_out_active
 
+p_test:
+	arg mem_test,contw
+	arg mem_24g_txbuf,contr
+	branch memcpy32
+p_test1:
+	arg mem_test_1,contw
+	arg mem_24g_txbuf,contr
+	branch memcpy32*/
+	//rtn
 
 p_g24_transmit_packet:
+	fetch 8,mem_24g_txbuf
+	rtn blank
 	jam 0,mem_24g_retry
 p_g24_transmit_loop:
+	//fetch 8,mem_24g_txbuf+1
+	//call p_test1,blank
+	//fetch 8,mem_24g_txbuf+1
+	//call p_h,blank
+	//fetch 1,mem_24g_txbuf+4
+	//ncall p_test,blank
+	//fetch 1,mem_24g_txbuf+4
+	//ncall p_h,blank
 	arg param_rx_setup,timeup
 	until clkn_rt,meet
+	//call p_l
 	call p_g24_transmit_receive_ack
-	fetch 1,mem_24g_no_ack
-	rtneq no_ack_24g
+	fetch 1,mem_24g_pairing_sm
+	beq STATE_24G_PAIRING_SUCCESS,p_g24_retransimt_prep
 	nbranch p_g24_retransmit,sync
 	nbranch p_g24_retransmit,user3
+p_g24_transmit_next:
 	call p_g24_txbuf_clear
 	call p_g24_ackpayload_parse
 	call power_ctrl_pac_succ_incrs
@@ -602,6 +637,11 @@
 	store 1,mem_24g_get_ack_fail
 	store 1,mem_24g_hop_pac_retry
 	rtn
+	
+p_g24_retransimt_prep:
+	fetch 1,mem_24g_txfail_cnt
+	beq 0x09,p_g24_transmit_next
+	branch p_g24_retransmit
 
 
 
@@ -633,6 +673,8 @@
 	call p_g24_end_of_packet
 	branch p_g24_transmit_next_packet
 
+
+
 p_g24_retransmit:
 	fetch 1,mem_24g_abort_pac
 	nrtn blank
@@ -640,13 +682,28 @@
 	increase 1,pdata
 	store 2,mem_24g_txfail_cnt	
 	fetch 1,mem_24g_txfail_cnt+1
-	bbit1 4,g24_stop_24g_mode
+	bbit1 4,p_g24_stop_24g_mode
 
 	fetch 1,mem_24g_pairing_sm
 	bne STATE_24G_PAIRING_SUCCESS,p_g24_tx_paring_retry
-
+	
+	//call p_g24_retransmit_fix_cnt
 	call p_g24_tx_hop_ch_process
 	branch p_g24_transmit_loop
+
+p_g24_stop_24g_mode:
+	//setarg 0x00
+	//store 2,mem_customer_key
+	jam 0,mem_mouse_connect_success
+	call p_blue_led_off
+	call p_laser_off
+	branch p_g24_tx_attempt_fail
+//p_g24_retransmit_fix_cnt:
+//	fetch 1,mem_24g_txfail_cnt
+//	rtnne 0x09
+//	jam 0,mem_24g_txfail_cnt
+//	rtn
+
 	
 p_g24_tx_paring_retry:
 	fetch 1,mem_24g_txfail_cnt
@@ -783,8 +840,8 @@
 	branch p_g24_transmit_abandon
 
 p_g24_start_24g_mode:
-	call p_g24_factory_check
-	branch p_g24_auto_pair_start,user
+	//call p_g24_factory_check
+	//branch p_g24_auto_pair_start,user
 	set1 mark_24g,mark
 	fetch 1,mem_g24_conn_sm
 	set1 STATE_24G_RECONN,pdata
@@ -1506,7 +1563,7 @@
 	istore 8,contw
 	rtn
 p_mouse_le_send_finish:
-	fetch 1,mem_customer_key
+	fetch 2,mem_customer_key
 	nrtn blank
 	jam 1,mem_customer_bt_start_send_empty_packet
 	rtn
@@ -1580,7 +1637,7 @@
 ifdef G24
 	beq BT_EVT_24G_PAIRING_COMPLETE,p_mouse_24g_pairing_complete
 	beq BT_EVT_24G_ATTEMPT_FAIL,p_mouse_24g_attempt_fail
-	beq BT_EVT_24G_ATTEMPT_SUCCESS,p_mouse_24g_attempt_success_init
+	beq BT_EVT_24G_ATTEMPT_SUCCESS,p_mouse_24g_attempt_success
 endif
 	branch mouse_priority_bb_event+1
 
@@ -1689,6 +1746,7 @@
 	call p_mouse_24g_attempt_success	
 	arg MOSUE_24G_PAIRING_FLAG,queue
 	branch mouse_disable_function_flag
+
 	
 p_mouse_set_24g_addr_eeprom:
 	arg mem_24g_addr,rega
@@ -1701,6 +1759,8 @@
 	call p_mouse_tx_power_init
 p_g24_long_sleep_set:	
 	call p_g24_check_51cmd_stop_24g
+	fetch 1,mem_g24_pair_fail
+	nrtn blank
 	//call p_mouse_before_hibernate
 	call p_mouse_setgpio_lpm_before
 	arg -1,temp
@@ -1714,8 +1774,7 @@
 	call mouse_eeprom_load_recon_info
 	branch p_mouse_check_reconn_target
 
-p_mouse_24g_attempt_success_init:
-	jam 0x01,mem_24g_no_ack
+
 p_mouse_24g_attempt_success:
 //	jam TYPE_MS,mem_24g_data_type
 	jam 0,mem_mouse_poweron_bt_start_reconn_timer
@@ -1776,7 +1835,8 @@
 	call p_led_switch_show_timer_init
 	call p_key_led_show
 //	call p_mouse_select_device	
-	call p_mouse_g24_stop_mode_timeout_timer
+	call p_mouse_g24_pair_mode_timer
+	//call p_mouse_g24_stop_mode_timeout_timer
 endif
 ifdef BLE
 	call p_mouse_check_direct_timeout_timer
@@ -1790,14 +1850,69 @@
 	call p_g24_init_long_sleep_timer
 	branch p_mouse_key_long_time_down_timer
 p_mouse_key_long_time_down_timer:
+	fetch 1,mem_mouse_connect_success
+	beq 1,p_connect_key_press_time
 	call mouse_check_key_gpio
-	rtn blank
+
+	fetcht 2,mem_timer_key
+	isub temp,null
+	ncall p_key_timer_set0,zero
+	copy rega,pdata
+p_mouse_key_press_time_compare:
+	store 2,mem_timer_key
+		
+	branch p_mouse_key_change,blank
+	jam 0x0a,mem_g24_int_g24_mode_timeout
+	
 	fetch 2,key_long_press_timer
 	increase 1,pdata
 	store 2,key_long_press_timer
-	jam 0x0a,mem_g24_int_g24_mode_timeout
+	sub pdata,0x06,null
+	branch p_short_press,positive
+	rtn blank
+	fetch 1,mem_packet_send_finish
+	nrtn blank
+	jam 2,mem_short_press
+	rtn
+p_short_press:
+	rtn blank
+	fetch 1,mem_packet_send_finish
+	nrtn blank
+	jam 1,mem_short_press
 	rtn
+//p_key_press_timer_set0:
+	//fetch 1,mem_mouse_connect_success
+	//nrtn blank
+//	branch p_key_timer_set0
+p_connect_key_press_time:
+	fetch 2,mem_customer_key
+	branch p_mouse_key_press_time_compare
 
+p_mouse_key_change:
+	//fetch 1,mem_customer_key
+	//nrtn blank
+	//fetch 1,mem_mouse_connect_success
+	//nrtn blank
+	jam 0,mem_g24_pair_fail
+	jam 0,mem_g24_pair_fail_cunt
+	call p_key_timer_set0
+	fetch 1,mem_g24_pair
+	rtn blank
+	//jam 0,mem_g24_pair
+	call p_g24_stop_pair_init
+	fetch 1,mem_mouse_connect_success
+	bne 0x01,p_reconn_start
+	rtn
+p_reconn_start:
+	//call ice_break
+	call p_mouse_set_24g_addr_eeprom
+	call iicd_read_eep_data
+	call p_g24_start_24g_mode
+	//fetch 1,mem_g24_conn_sm
+	//set1 STATE_24G_RECONN,pdata
+	//store 1,mem_g24_conn_sm
+	rtn
+	
 p_led_switch_show_timer_init:
 	fetch 1,mem_switch_led_finish
 	nrtn blank
@@ -1843,6 +1958,7 @@
 	nrtn blank
 	call mouse_check_key_gpio
 	branch p_key_all_led_off,blank
+	beq 0x05,p_g24_pair_led
 	and_into 0x1f,pdata
 	call p_laser_on
 	fetch 1,mem_slow_flow_flag
@@ -1850,11 +1966,32 @@
 	iadd temp,pdata
 	call p_blue_led_on,blank
 	rtn
+p_g24_pair_led:
+	call p_laser_off
+	fetch 1,mem_g24_pair_fail
+	nbranch p_g24_pair_fail_led,blank
+	fetch 1,mem_g24_conn_sm
+	bbit1 STATE_24G_PAIR,p_blue_led_on
+	branch p_device_led_off
+p_g24_pair_fail_led:
+	fetch 1,mem_g24_pair_fail_cunt
+	increase 1,pdata
+	beq 0x08,p_device_led_off
+	store 1,mem_g24_pair_fail_cunt
+	branch p_pair_fail_led_speed
+	
+p_pair_fail_led_speed:
+	jam 0x0a,mem_led_speed
+p_g24_pair_fail_led_next:
+	fetch 1,mem_led_on
+	beq ON,p_blue_led_off
+	beq OFF,p_blue_led_on
+	rtn
 	
 p_key_all_led_off:
 	jam 0,mem_device_change
-	fetch 1,mem_charging
-	call p_blue_led_off,blank
+p_device_led_off:	
+	call p_blue_led_off
 	branch p_laser_off
 p_blue_led_staus:
 //	fetcht 2,key_long_press_timer
@@ -1949,15 +2086,55 @@
 //	jam 1,mem_mouse_long_mult_flag
 //	rtn
 
-p_mouse_g24_stop_mode_timeout_timer:
-	arg mem_g24_stop_g24_mode_timeout,regc
-	arg p_mouse_g24_stop_mode_timeout,regb
-	branch timer_single_step_2B
+//p_mouse_g24_stop_mode_timeout_timer:
+//	arg mem_g24_stop_g24_mode_timeout,regc
+//	arg p_mouse_g24_stop_mode_timeout,regb
+//	branch timer_single_step_2B
+//p_mouse_g24_stop_mode_timeout:
+//	fetch 1,mem_24g_reconn_flag
+//	beq 1,p_g24_auto_pair_start
+//	jam 1,mem_g24_stop_g24_mode
+//	rtn
+p_pair_connect_staus:
+	beq 0x11,p_mouse_g24_pair_mode_start
+	rtn
+
+p_mouse_g24_pair_mode_timer:
+	fetch 1,mem_timer_key
+	bne 0x05,p_pair_connect_staus
+p_mouse_g24_pair_mode_start:
+	setarg 0
+	//store 2,mem_customer_key
+	store 4,key_key_staus
+	call p_key_ont_send
+	fetch 2,key_long_press_timer
+	sub pdata,0x0a,null
+	rtn positive
+	sub pdata,0x60,null
+	ncall p_g24_stop_pair_mode,positive
+	sub pdata,0x68,null
+	nbranch p_g24_stop_pair_init,positive
 p_mouse_g24_stop_mode_timeout:
-	fetch 1,mem_24g_reconn_flag
-	beq 1,p_g24_auto_pair_start
-	jam 1,mem_g24_stop_g24_mode
+	jam 0,mem_24g_ensure
+	call enable_user
+	//jam 1,key_not_send_flag
+	fetch 1,mem_g24_pair
+	nrtn blank
+	jam 0,mem_mouse_connect_success
+	jam 1,mem_g24_pair
+	branch p_g24_auto_pair_start
+	
+p_g24_stop_pair_mode:
+	jam 1,mem_g24_pair_fail
 	rtn
+	//jam 0,mem_g24_conn_sm
+p_g24_stop_pair_init:
+	fetch 1,mem_g24_conn_sm
+	set0 STATE_24G_PAIR,pdata
+	store 1,mem_g24_conn_sm
+	jam 0,mem_g24_pair
+	rtn
+	
 endif
 
 
@@ -2080,11 +2257,12 @@
 	disable user
 p_keyboard_key:
 	jam 0,mem_customer_data_trigger
-	call p_mouse_check_key_gpio
+	call p_mouse_check_key_gpio_next
 	call mouse_set_mult
 	call p_mouse_24g_customer_key
 	copy rega,pdata
 	store 2,mem_customer_key
+	call p_mouse_check_key_gpio
 	fetch 2,key_key_staus
 	rtn blank
 	call mouse_no_data_timer_init
@@ -2096,13 +2274,15 @@
 	call p_mouse_check_key_gpio
 	branch mouse_key+1*/
 p_mouse_check_key_gpio:
-	fetch 1,mem_charging
-	nrtn blank
+	//fetch 1,mem_charging
 	fetch 2,mem_customer_key
 	ncall p_key_staus_storage,blank
+	fetch 2,mem_customer_key
 	call p_2key_release,blank
-	call p_mouse_check_key_gpio_next
-	branch p_key_release_flag
+	call p_key_release_flag
+	rtn
+	//call p_mouse_check_key_gpio_next
+	
 p_mouse_check_key_gpio_next:
 	arg 0,rega
 	call p_mouse_check_lkey_gpio
@@ -2128,9 +2308,9 @@
 p_2key_release:
 	arg 0,pdata
 	store 7,mem_key_release_flag
-	fetch 2,key_long_press_timer
-	sub pdata,0x06,null
-	ncall p_key_timer_set0,positive
+	//fetch 2,key_long_press_timer
+	//sub pdata,0x06,null
+	//ncall p_key_timer_set0,positive
 	rtn
 		
 p_key_timer_set0:
@@ -2201,20 +2381,25 @@
 	rtn
 
 p_key_release_flag:
-	fetch 2,key_long_press_timer
+	//fetch 2,key_long_press_timer
+	//rtn blank
+	//sub pdata,0x06,null
+	fetch 1,mem_short_press
 	rtn blank
-	sub pdata,0x06,null
-	nbranch  p_long_press,positive
+	beq 2,p_long_press
+	//nbranch  p_long_press,positive
 	fetch 2,mem_customer_key								
 	nrtn blank
+	//call ice_break
 	//fetch 1,mem_2key_staus
 	//bne 0,p_up_down_key_change_init
 	fetch 2,mem_key_staus
 p_key_staus_store:
 	store 2,key_key_staus
-	fetch 2,key_long_press_timer
-	sub pdata,0x06,null
-	call p_key_timer_set0,positive
+	jam 0,mem_short_press
+	//fetch 2,key_long_press_timer
+	//sub pdata,0x06,null
+	//call p_key_timer_set0,positive
 	fetch 1,key_not_send_flag
 	beq 0x01,p_key_not_send
 	fetch 1,mem_packet_send_finish
Index: sched/mouse.dat
===================================================================
--- /branch/flip_pen/flip_pen_2.4G/sched/mouse.dat	(revision 3103)
+++ /branch/flip_pen/flip_pen_2.4G/sched/mouse.dat	(working copy)
@@ -425,7 +425,7 @@
 mem_24g_allpowerful_addr:0f 0f 0f 0f 0f 0f
 mem_24g_pairing_sm:ff
 mem_24g_common_temp:00 00 00 00 00 00 00 00 00 00
-mem_24g_enter_hibernate:80 4f 12
+mem_24g_enter_hibernate:00 77 01
 mem_firmware_version:07 00
 
 mem_250k_freq_enable:01
