Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/AiTanSi_Project/1303-f-1m-dongle/USB-64K/output/eeprom.dat	(revision 3520)
+++ /YC1308AC/branch/mouse_project/AiTanSi_Project/1303-f-1m-dongle/USB-64K/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-02
+c2
 08
 c2
 84
@@ -11,67 +11,71 @@
 c0
 00
 00
-12
+13
 c0
 41
 80
-26
+27
 c0
 42
 80
-2d
+2e
 c0
 45
 00
-3b
+3c
 c0
 45
 80
-41
+42
 c0
 46
 00
-a9
+d9
 c0
 56
 80
-16
+17
 c0
 5d
 01
-66
+96
 c0
 5d
 80
-79
+a9
 20
 20
 13
 7e
 c0
+15
+00
+82
+c0
 46
 00
-c4
+f4
 c0
 47
 00
-c8
+f8
 c0
 49
-80
-e5
+81
+15
 c0
 53
 80
-be
+ee
 c0
 72
-00
-fc
+01
+2c
 c0
 73
 00
-4c
+4d
 20
 20
 13
@@ -95,7 +99,7 @@
 58
 00
 00
-19
+1a
 67
 e1
 48
@@ -111,7 +115,7 @@
 c0
 00
 00
-1e
+1f
 c0
 00
 b6
@@ -119,7 +123,7 @@
 c0
 07
 80
-9a
+ca
 20
 60
 00
@@ -135,7 +139,7 @@
 20
 40
 00
-5f
+8f
 20
 40
 37
@@ -155,7 +159,7 @@
 20
 20
 00
-1f
+20
 70
 89
 00
@@ -191,7 +195,7 @@
 24
 3a
 00
-36
+37
 20
 40
 4d
@@ -247,7 +251,7 @@
 24
 3a
 00
-3e
+3f
 20
 20
 12
@@ -299,7 +303,7 @@
 20
 20
 00
-9e
+ce
 58
 00
 00
@@ -323,7 +327,7 @@
 20
 40
 00
-51
+52
 20
 20
 24
@@ -347,11 +351,19 @@
 20
 40
 00
-57
+5a
+20
+40
+23
+d6
+20
+40
+00
+62
 20
 20
 23
-5e
+60
 6f
 e0
 c7
@@ -386,6 +398,186 @@
 f1
 6f
 e0
+c0
+9a
+c1
+82
+00
+00
+6f
+e0
+c9
+3e
+20
+7a
+00
+00
+70
+09
+64
+00
+70
+48
+f5
+5a
+20
+40
+00
+71
+20
+40
+36
+d0
+6f
+e0
+89
+64
+1f
+e0
+fe
+01
+67
+e0
+89
+64
+c0
+7f
+de
+29
+6f
+e0
+c8
+f5
+c0
+ad
+00
+67
+20
+20
+5e
+29
+df
+20
+00
+01
+da
+20
+48
+f5
+d8
+40
+00
+2a
+20
+20
+00
+75
+20
+40
+00
+77
+20
+20
+5f
+13
+20
+40
+5f
+2a
+70
+80
+47
+80
+6f
+f0
+8a
+0b
+79
+3f
+fe
+05
+79
+20
+7e
+03
+67
+f0
+8a
+0b
+20
+00
+00
+18
+79
+20
+7e
+04
+67
+f0
+8a
+0b
+20
+00
+01
+f4
+20
+60
+00
+00
+6f
+f0
+8a
+0b
+79
+3f
+fe
+05
+79
+3f
+fe
+04
+79
+3f
+fe
+00
+67
+f0
+8a
+0b
+20
+00
+00
+18
+79
+3f
+fe
+03
+67
+f0
+8a
+0b
+20
+00
+00
+c8
+6f
+f0
+8a
+0a
+79
+3f
+fe
+01
+67
+f0
+8a
+0a
+20
+20
+5f
+27
+6f
+e0
 c8
 c3
 c1
@@ -499,11 +691,11 @@
 20
 40
 01
-3e
+6e
 20
 40
 00
-7e
+ae
 20
 20
 37
@@ -515,11 +707,11 @@
 20
 40
 00
-81
+b1
 20
 20
 00
-8d
+bd
 6f
 e0
 c9
@@ -635,7 +827,7 @@
 20
 20
 00
-9b
+cb
 6f
 e0
 c8
@@ -643,7 +835,7 @@
 c0
 07
 80
-a2
+d2
 70
 49
 40
@@ -727,7 +919,7 @@
 20
 40
 00
-a4
+d4
 1f
 e6
 7e
@@ -751,7 +943,7 @@
 24
 20
 80
-bc
+ec
 58
 00
 00
@@ -819,11 +1011,11 @@
 c0
 40
 00
-ce
+fe
 c0
 00
-00
-da
+01
+0a
 20
 20
 13
@@ -850,8 +1042,8 @@
 b8
 c0
 00
-80
-d5
+81
+05
 20
 20
 7a
@@ -866,8 +1058,8 @@
 7a
 c0
 00
-80
-d9
+81
+09
 20
 20
 7a
@@ -894,8 +1086,8 @@
 03
 c0
 00
-80
-e0
+81
+10
 20
 20
 7a
@@ -906,8 +1098,8 @@
 5a
 c0
 04
-80
-e3
+81
+13
 20
 20
 7a
@@ -1019,19 +1211,19 @@
 c0
 55
 01
-02
+32
 c0
 2a
 81
-0c
+3c
 c0
 11
 01
-1c
+4c
 c0
 7f
 81
-34
+64
 20
 60
 00
@@ -1043,11 +1235,11 @@
 c0
 00
 81
-06
+36
 c0
 01
 01
-09
+39
 20
 60
 00
@@ -1083,7 +1275,7 @@
 20
 3a
 01
-12
+42
 6f
 e2
 48
@@ -1107,11 +1299,11 @@
 c0
 00
 81
-16
+46
 c0
 01
 01
-19
+49
 20
 60
 00
@@ -1147,7 +1339,7 @@
 20
 3a
 01
-22
+52
 6f
 e2
 48
@@ -1171,11 +1363,11 @@
 c0
 00
 81
-26
+56
 c0
 01
 01
-2d
+5d
 20
 60
 00
@@ -1195,7 +1387,7 @@
 c0
 01
 01
-2b
+5b
 20
 60
 00
@@ -1223,7 +1415,7 @@
 c0
 80
 01
-32
+62
 20
 60
 00
@@ -1243,11 +1435,11 @@
 c0
 00
 81
-38
+68
 c0
 01
 01
-3b
+6b
 20
 60
 00
@@ -1295,7 +1487,7 @@
 20
 20
 01
-43
+73
 20
 40
 24
@@ -1359,7 +1551,7 @@
 c0
 00
 81
-56
+86
 c0
 01
 24
@@ -1367,7 +1559,7 @@
 c0
 7f
 81
-64
+94
 20
 20
 23
@@ -1403,7 +1595,7 @@
 c0
 00
 81
-5f
+8f
 20
 20
 24
@@ -1435,7 +1627,7 @@
 20
 20
 01
-34
+64
 20
 40
 79
@@ -1487,7 +1679,7 @@
 c0
 58
 01
-74
+a4
 20
 20
 37
@@ -1499,7 +1691,7 @@
 c0
 58
 81
-77
+a7
 20
 60
 00
@@ -1507,7 +1699,7 @@
 20
 40
 01
-81
+b1
 6f
 e0
 8b
@@ -1515,23 +1707,23 @@
 c0
 79
 01
-8b
+bb
 c0
 79
 81
-9a
+ca
 c0
 40
 01
-87
+b7
 c0
 40
 81
-8a
+ba
 20
 20
 01
-84
+b4
 68
 4c
 10
@@ -1575,11 +1767,11 @@
 20
 40
 01
-7e
+ae
 20
 20
 01
-af
+df
 20
 20
 5e
@@ -1587,7 +1779,7 @@
 20
 40
 01
-a0
+d0
 20
 61
 00
@@ -1615,23 +1807,23 @@
 20
 40
 01
-7e
+ae
 c0
 01
 01
-a4
+d4
 c0
 01
 81
-a7
+d7
 c0
 02
 01
-a9
+d9
 c0
 02
 81
-ac
+dc
 6f
 e0
 90
@@ -1655,7 +1847,7 @@
 20
 40
 01
-a0
+d0
 20
 61
 00
@@ -1667,7 +1859,7 @@
 20
 20
 01
-7e
+ae
 6f
 e0
 8b
@@ -1751,7 +1943,7 @@
 20
 40
 01
-b7
+e7
 70
 10
 50
@@ -1759,7 +1951,7 @@
 20
 20
 01
-ca
+fa
 df
 20
 03
@@ -1823,7 +2015,7 @@
 24
 20
 81
-bb
+eb
 e0
 40
 80
@@ -1831,7 +2023,7 @@
 c2
 00
 01
-bb
+eb
 20
 60
 00
@@ -1847,23 +2039,23 @@
 6f
 e0
 90
-54
-c0
-00
-81
-d1
+54
 c0
+00
+82
 01
+c0
 01
-f6
+02
+26
 20
 40
 01
-66
+96
 20
 20
 01
-ca
+fa
 20
 40
 11
@@ -1910,12 +2102,12 @@
 0d
 c0
 00
-01
-df
+02
+0f
 c0
 11
-01
-ea
+02
+1a
 20
 60
 00
@@ -1938,12 +2130,12 @@
 08
 c2
 00
-01
-e1
+02
+11
 20
 40
 01
-66
+96
 6f
 e3
 90
@@ -1958,12 +2150,12 @@
 00
 20
 22
-81
-df
+82
+0f
 20
 20
 01
-ca
+fa
 df
 20
 00
@@ -1982,12 +2174,12 @@
 08
 c2
 00
-01
-ec
+02
+1c
 20
 40
 01
-66
+96
 6f
 e3
 90
@@ -2002,8 +2194,8 @@
 00
 20
 22
-81
-ea
+82
+1a
 20
 40
 11
@@ -2011,15 +2203,15 @@
 20
 20
 01
-ca
+fa
 20
 40
-01
-fd
+02
+2d
 20
 40
 01
-66
+96
 6f
 e3
 90
@@ -2034,12 +2226,12 @@
 00
 20
 22
-81
-f7
+82
+27
 20
 20
 01
-ca
+fa
 20
 40
 11
@@ -2052,8 +2244,8 @@
 20
 16
 74
-c4
-8f
+76
+8d
 aa
 55
 40
@@ -2097,7 +2289,7 @@
 00
 00
 00
-00
+04
 00
 00
 00
@@ -2204,202 +2396,10 @@
 aa
 aa
 55
-16
+1a
 14
-26
-63
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+93
+59
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-bf
-83
+5b
+1a
Index: output/flash.dat
===================================================================
--- /YC1308AC/branch/mouse_project/AiTanSi_Project/1303-f-1m-dongle/USB-64K/output/flash.dat	(revision 3520)
+++ /YC1308AC/branch/mouse_project/AiTanSi_Project/1303-f-1m-dongle/USB-64K/output/flash.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-02
+c2
 08
 c2
 84
@@ -11,67 +11,71 @@
 c0
 00
 00
-12
+13
 c0
 41
 80
-26
+27
 c0
 42
 80
-2d
+2e
 c0
 45
 00
-3b
+3c
 c0
 45
 80
-41
+42
 c0
 46
 00
-a9
+d9
 c0
 56
 80
-16
+17
 c0
 5d
 01
-66
+96
 c0
 5d
 80
-79
+a9
 20
 20
 13
 7e
 c0
+15
+00
+82
+c0
 46
 00
-c4
+f4
 c0
 47
 00
-c8
+f8
 c0
 49
-80
-e5
+81
+15
 c0
 53
 80
-be
+ee
 c0
 72
-00
-fc
+01
+2c
 c0
 73
 00
-4c
+4d
 20
 20
 13
@@ -95,7 +99,7 @@
 58
 00
 00
-19
+1a
 67
 e1
 48
@@ -111,7 +115,7 @@
 c0
 00
 00
-1e
+1f
 c0
 00
 b6
@@ -119,7 +123,7 @@
 c0
 07
 80
-9a
+ca
 20
 60
 00
@@ -135,7 +139,7 @@
 20
 40
 00
-5f
+8f
 20
 40
 37
@@ -155,7 +159,7 @@
 20
 20
 00
-1f
+20
 70
 89
 00
@@ -191,7 +195,7 @@
 24
 3a
 00
-36
+37
 20
 40
 4d
@@ -247,7 +251,7 @@
 24
 3a
 00
-3e
+3f
 20
 20
 12
@@ -299,7 +303,7 @@
 20
 20
 00
-9e
+ce
 58
 00
 00
@@ -323,7 +327,7 @@
 20
 40
 00
-51
+52
 20
 20
 24
@@ -347,11 +351,19 @@
 20
 40
 00
-57
+5a
+20
+40
+23
+d6
+20
+40
+00
+62
 20
 20
 23
-5e
+60
 6f
 e0
 c7
@@ -386,6 +398,186 @@
 f1
 6f
 e0
+c0
+9a
+c1
+82
+00
+00
+6f
+e0
+c9
+3e
+20
+7a
+00
+00
+70
+09
+64
+00
+70
+48
+f5
+5a
+20
+40
+00
+71
+20
+40
+36
+d0
+6f
+e0
+89
+64
+1f
+e0
+fe
+01
+67
+e0
+89
+64
+c0
+7f
+de
+29
+6f
+e0
+c8
+f5
+c0
+ad
+00
+67
+20
+20
+5e
+29
+df
+20
+00
+01
+da
+20
+48
+f5
+d8
+40
+00
+2a
+20
+20
+00
+75
+20
+40
+00
+77
+20
+20
+5f
+13
+20
+40
+5f
+2a
+70
+80
+47
+80
+6f
+f0
+8a
+0b
+79
+3f
+fe
+05
+79
+20
+7e
+03
+67
+f0
+8a
+0b
+20
+00
+00
+18
+79
+20
+7e
+04
+67
+f0
+8a
+0b
+20
+00
+01
+f4
+20
+60
+00
+00
+6f
+f0
+8a
+0b
+79
+3f
+fe
+05
+79
+3f
+fe
+04
+79
+3f
+fe
+00
+67
+f0
+8a
+0b
+20
+00
+00
+18
+79
+3f
+fe
+03
+67
+f0
+8a
+0b
+20
+00
+00
+c8
+6f
+f0
+8a
+0a
+79
+3f
+fe
+01
+67
+f0
+8a
+0a
+20
+20
+5f
+27
+6f
+e0
 c8
 c3
 c1
@@ -499,11 +691,11 @@
 20
 40
 01
-3e
+6e
 20
 40
 00
-7e
+ae
 20
 20
 37
@@ -515,11 +707,11 @@
 20
 40
 00
-81
+b1
 20
 20
 00
-8d
+bd
 6f
 e0
 c9
@@ -635,7 +827,7 @@
 20
 20
 00
-9b
+cb
 6f
 e0
 c8
@@ -643,7 +835,7 @@
 c0
 07
 80
-a2
+d2
 70
 49
 40
@@ -727,7 +919,7 @@
 20
 40
 00
-a4
+d4
 1f
 e6
 7e
@@ -751,7 +943,7 @@
 24
 20
 80
-bc
+ec
 58
 00
 00
@@ -819,11 +1011,11 @@
 c0
 40
 00
-ce
+fe
 c0
 00
-00
-da
+01
+0a
 20
 20
 13
@@ -850,8 +1042,8 @@
 b8
 c0
 00
-80
-d5
+81
+05
 20
 20
 7a
@@ -866,8 +1058,8 @@
 7a
 c0
 00
-80
-d9
+81
+09
 20
 20
 7a
@@ -894,8 +1086,8 @@
 03
 c0
 00
-80
-e0
+81
+10
 20
 20
 7a
@@ -906,8 +1098,8 @@
 5a
 c0
 04
-80
-e3
+81
+13
 20
 20
 7a
@@ -1019,19 +1211,19 @@
 c0
 55
 01
-02
+32
 c0
 2a
 81
-0c
+3c
 c0
 11
 01
-1c
+4c
 c0
 7f
 81
-34
+64
 20
 60
 00
@@ -1043,11 +1235,11 @@
 c0
 00
 81
-06
+36
 c0
 01
 01
-09
+39
 20
 60
 00
@@ -1083,7 +1275,7 @@
 20
 3a
 01
-12
+42
 6f
 e2
 48
@@ -1107,11 +1299,11 @@
 c0
 00
 81
-16
+46
 c0
 01
 01
-19
+49
 20
 60
 00
@@ -1147,7 +1339,7 @@
 20
 3a
 01
-22
+52
 6f
 e2
 48
@@ -1171,11 +1363,11 @@
 c0
 00
 81
-26
+56
 c0
 01
 01
-2d
+5d
 20
 60
 00
@@ -1195,7 +1387,7 @@
 c0
 01
 01
-2b
+5b
 20
 60
 00
@@ -1223,7 +1415,7 @@
 c0
 80
 01
-32
+62
 20
 60
 00
@@ -1243,11 +1435,11 @@
 c0
 00
 81
-38
+68
 c0
 01
 01
-3b
+6b
 20
 60
 00
@@ -1295,7 +1487,7 @@
 20
 20
 01
-43
+73
 20
 40
 24
@@ -1359,7 +1551,7 @@
 c0
 00
 81
-56
+86
 c0
 01
 24
@@ -1367,7 +1559,7 @@
 c0
 7f
 81
-64
+94
 20
 20
 23
@@ -1403,7 +1595,7 @@
 c0
 00
 81
-5f
+8f
 20
 20
 24
@@ -1435,7 +1627,7 @@
 20
 20
 01
-34
+64
 20
 40
 79
@@ -1487,7 +1679,7 @@
 c0
 58
 01
-74
+a4
 20
 20
 37
@@ -1499,7 +1691,7 @@
 c0
 58
 81
-77
+a7
 20
 60
 00
@@ -1507,7 +1699,7 @@
 20
 40
 01
-81
+b1
 6f
 e0
 8b
@@ -1515,23 +1707,23 @@
 c0
 79
 01
-8b
+bb
 c0
 79
 81
-9a
+ca
 c0
 40
 01
-87
+b7
 c0
 40
 81
-8a
+ba
 20
 20
 01
-84
+b4
 68
 4c
 10
@@ -1575,11 +1767,11 @@
 20
 40
 01
-7e
+ae
 20
 20
 01
-af
+df
 20
 20
 5e
@@ -1587,7 +1779,7 @@
 20
 40
 01
-a0
+d0
 20
 61
 00
@@ -1615,23 +1807,23 @@
 20
 40
 01
-7e
+ae
 c0
 01
 01
-a4
+d4
 c0
 01
 81
-a7
+d7
 c0
 02
 01
-a9
+d9
 c0
 02
 81
-ac
+dc
 6f
 e0
 90
@@ -1655,7 +1847,7 @@
 20
 40
 01
-a0
+d0
 20
 61
 00
@@ -1667,7 +1859,7 @@
 20
 20
 01
-7e
+ae
 6f
 e0
 8b
@@ -1751,7 +1943,7 @@
 20
 40
 01
-b7
+e7
 70
 10
 50
@@ -1759,7 +1951,7 @@
 20
 20
 01
-ca
+fa
 df
 20
 03
@@ -1823,7 +2015,7 @@
 24
 20
 81
-bb
+eb
 e0
 40
 80
@@ -1831,7 +2023,7 @@
 c2
 00
 01
-bb
+eb
 20
 60
 00
@@ -1847,23 +2039,23 @@
 6f
 e0
 90
-54
-c0
-00
-81
-d1
+54
 c0
+00
+82
 01
+c0
 01
-f6
+02
+26
 20
 40
 01
-66
+96
 20
 20
 01
-ca
+fa
 20
 40
 11
@@ -1910,12 +2102,12 @@
 0d
 c0
 00
-01
-df
+02
+0f
 c0
 11
-01
-ea
+02
+1a
 20
 60
 00
@@ -1938,12 +2130,12 @@
 08
 c2
 00
-01
-e1
+02
+11
 20
 40
 01
-66
+96
 6f
 e3
 90
@@ -1958,12 +2150,12 @@
 00
 20
 22
-81
-df
+82
+0f
 20
 20
 01
-ca
+fa
 df
 20
 00
@@ -1982,12 +2174,12 @@
 08
 c2
 00
-01
-ec
+02
+1c
 20
 40
 01
-66
+96
 6f
 e3
 90
@@ -2002,8 +2194,8 @@
 00
 20
 22
-81
-ea
+82
+1a
 20
 40
 11
@@ -2011,15 +2203,15 @@
 20
 20
 01
-ca
+fa
 20
 40
-01
-fd
+02
+2d
 20
 40
 01
-66
+96
 6f
 e3
 90
@@ -2034,12 +2226,12 @@
 00
 20
 22
-81
-f7
+82
+27
 20
 20
 01
-ca
+fa
 20
 40
 11
@@ -2052,8 +2244,8 @@
 20
 16
 74
-c4
-8f
+76
+8d
 aa
 55
 40
@@ -2097,7 +2289,7 @@
 00
 00
 00
-00
+04
 00
 00
 00
@@ -2204,202 +2396,10 @@
 aa
 aa
 55
-16
+1a
 14
-26
-63
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+93
+59
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-bf
-83
+5b
+1a
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/AiTanSi_Project/1303-f-1m-dongle/USB-64K/output/program.lis	(revision 3520)
+++ /YC1308AC/branch/mouse_project/AiTanSi_Project/1303-f-1m-dongle/USB-64K/output/program.lis	(working copy)
@@ -1,711 +1,771 @@
               include "bt_format "
               org 0x0000
 0000 c284000b bbit1 8 ,pf_patch_ext 
-0001 c0000012 beq patch00_0 ,p_soft_reset 
-0002 c0418026 beq patch10_3 ,p_set_sync_on 
-0003 c042802d beq patch10_5 ,p_rf_rx_enable 
-0004 c045003b beq patch11_2 ,p_txon_next 
-0005 c0458041 beq patch11_3 ,p_initialize_radio_cont 
-0006 c04600a9 beq patch11_4 ,p_save_rssi 
-0007 c0568016 beq patch15_5 ,p_app_init 
-0008 c05d0166 beq patch17_2 ,p_dongle_usb_dispatch 
-0009 c05d8079 beq patch17_3 ,p_dongle_work_mode_auto 
+0001 c0000013 beq patch00_0 ,p_soft_reset 
+0002 c0418027 beq patch10_3 ,p_set_sync_on 
+0003 c042802e beq patch10_5 ,p_rf_rx_enable 
+0004 c045003c beq patch11_2 ,p_txon_next 
+0005 c0458042 beq patch11_3 ,p_initialize_radio_cont 
+0006 c04600d9 beq patch11_4 ,p_save_rssi 
+0007 c0568017 beq patch15_5 ,p_app_init 
+0008 c05d0196 beq patch17_2 ,p_dongle_usb_dispatch 
+0009 c05d80a9 beq patch17_3 ,p_dongle_work_mode_auto 
 000a 2020137e branch loop 
 
 pf_patch_ext:
-000b c04600c4 beq patch31_4 ,p_usb_init 
-000c c04700c8 beq patch31_6 ,p_usb_class_type 
-000d c04980e5 beq patch32_3 ,p_usb_tx 
-000e c05380be beq patch34_7 ,p_le_enable 
-000f c07200fc beq patch3c_4 ,p_g24_bind_data_parse_next 
-0010 c073004c beq patch3c_6 ,p_g24_bind_mode_auto 
-0011 2020137e branch loop 
+000b c0150082 beq patch25_2 ,p_efuse_vdd_off 
+000c c04600f4 beq patch31_4 ,p_usb_init 
+000d c04700f8 beq patch31_6 ,p_usb_class_type 
+000e c0498115 beq patch32_3 ,p_usb_tx 
+000f c05380ee beq patch34_7 ,p_le_enable 
+0010 c072012c beq patch3c_4 ,p_g24_bind_data_parse_next 
+0011 c073004d beq patch3c_6 ,p_g24_bind_mode_auto 
+0012 2020137e branch loop 
 
 p_soft_reset:
-0012 20800000 clear_stack 
-0013 20403166 call app_param_init 
-0014 7048809e jam tx_power_f30db ,mem_24g_pair_tx_power 
-0015 20200804 branch soft_reset + 3 
+0013 20800000 clear_stack 
+0014 20403166 call app_param_init 
+0015 7048809e jam tx_power_f30db ,mem_24g_pair_tx_power 
+0016 20200804 branch soft_reset + 3 
 
 p_app_init:
 
 p_dongle_init:
-0016 58000019 setarg p_dongle_dispatch 
-0017 67e1488d store 2 ,mem_cb_24g_receive_process 
-0018 2020369c branch dongle_init + 2 
+0017 5800001a setarg p_dongle_dispatch 
+0018 67e1488d store 2 ,mem_cb_24g_receive_process 
+0019 2020369c branch dongle_init + 2 
 
 p_dongle_dispatch:
-0019 6fe0c8bd fetch 1 ,mem_24g_pair_mode 
-001a c000001e beq 0x00 ,p_dongle_auto_bind 
-001b c000b6fd beq 0x01 ,dongle_pc_bind 
-001c c007809a beq 0x0f ,p_dongle_all_powerful 
-001d 20600000 rtn 
+001a 6fe0c8bd fetch 1 ,mem_24g_pair_mode 
+001b c000001f beq 0x00 ,p_dongle_auto_bind 
+001c c000b6fd beq 0x01 ,dongle_pc_bind 
+001d c00780ca beq 0x0f ,p_dongle_all_powerful 
+001e 20600000 rtn 
 
 p_dongle_auto_bind:
-001e 2040243a call g24_mode_switch_init 
+001f 2040243a call g24_mode_switch_init 
 
 p_dongle_auto_bind_loop:
-001f 2040243e call g24_mode_switch_bind_work 
-0020 2040005f call p_g24_mode_switch_bind_search 
-0021 2040376b call dongle_work_mode_auto 
-0022 2040249c call g24_bind_mode_auto 
-0023 204024b9 call g24_search_mode_auto 
-0024 2040372f call dongle_usb_dispatch 
-0025 2020001f branch p_dongle_auto_bind_loop 
+0020 2040243e call g24_mode_switch_bind_work 
+0021 2040008f call p_g24_mode_switch_bind_search 
+0022 2040376b call dongle_work_mode_auto 
+0023 2040249c call g24_bind_mode_auto 
+0024 204024b9 call g24_search_mode_auto 
+0025 2040372f call dongle_usb_dispatch 
+0026 20200020 branch p_dongle_auto_bind_loop 
 
 p_set_sync_on:
-0026 70890005 jam 0x5 ,modem_en 
-0027 20000002 nop 2 
-0028 70890000 jam 0x0 ,modem_en 
-0029 6fe0c0c5 fetch 1 ,mem_fcomp_div 
-002a c0841164 bne xtal_16m ,set_sync_on_24m 
+0027 70890005 jam 0x5 ,modem_en 
+0028 20000002 nop 2 
+0029 70890000 jam 0x0 ,modem_en 
+002a 6fe0c0c5 fetch 1 ,mem_fcomp_div 
+002b c0841164 bne xtal_16m ,set_sync_on_24m 
 
 p_set_sync_on_16m:
-002b 708a8729 jam 0x29 ,core_syn_afc_cfg1 
-002c 20201179 branch set_sync_on_16m 
+002c 708a8729 jam 0x29 ,core_syn_afc_cfg1 
+002d 20201179 branch set_sync_on_16m 
 
 p_rf_rx_enable:
-002d 6fe0c940 fetch 1 ,mem_soft_agc_en 
-002e 243a0036 nbranch p_rf_rx_enable_soft_agc ,blank 
-002f 20404d05 call rf_debug_rx_gpio_high 
-0030 d8c041eb arg mem_gain_table ,contr 
-0031 98c08c00 iadd contr ,contr 
-0032 efe08006 ifetch 1 ,contr 
-0033 67f08961 store 1 ,core_rf_rx_gain_fix 
-0034 7089602e jam 0x2e ,core_rf_rx_agc_ctrl 
-0035 202011af branch rf_rx_enable_no_soft_agc_next 
+002e 6fe0c940 fetch 1 ,mem_soft_agc_en 
+002f 243a0037 nbranch p_rf_rx_enable_soft_agc ,blank 
+0030 20404d05 call rf_debug_rx_gpio_high 
+0031 d8c041eb arg mem_gain_table ,contr 
+0032 98c08c00 iadd contr ,contr 
+0033 efe08006 ifetch 1 ,contr 
+0034 67f08961 store 1 ,core_rf_rx_gain_fix 
+0035 7089602e jam 0x2e ,core_rf_rx_agc_ctrl 
+0036 202011af branch rf_rx_enable_no_soft_agc_next 
 
 p_rf_rx_enable_soft_agc:
-0036 6ff08960 fetch 1 ,core_rf_rx_agc_ctrl 
-0037 1fe1fe01 or pdata ,0x01 ,pdata 
-0038 67f08960 store 1 ,core_rf_rx_agc_ctrl 
-0039 70896108 jam 0x08 ,core_rf_rx_gain_fix 
-003a 202011af branch rf_rx_enable_no_soft_agc_next 
+0037 6ff08960 fetch 1 ,core_rf_rx_agc_ctrl 
+0038 1fe1fe01 or pdata ,0x01 ,pdata 
+0039 67f08960 store 1 ,core_rf_rx_agc_ctrl 
+003a 70896108 jam 0x08 ,core_rf_rx_gain_fix 
+003b 202011af branch rf_rx_enable_no_soft_agc_next 
 
 p_txon_next:
-003b 6fe0c940 fetch 1 ,mem_soft_agc_en 
-003c 243a003e nbranch p_set_tx_power_f20db ,blank 
-003d 20201237 branch set_tx_power_10db 
+003c 6fe0c940 fetch 1 ,mem_soft_agc_en 
+003d 243a003f nbranch p_set_tx_power_f20db ,blank 
+003e 20201237 branch set_tx_power_10db 
 
 p_set_tx_power_f20db:
-003e 708a3953 jam 0x53 ,core_tx_pwr_ctrl0 
-003f 708a3a01 jam 0x01 ,core_tx_pwr_ctrl1 
-0040 20201226 branch set_rf_ldo_cfg89 
+003f 708a3953 jam 0x53 ,core_tx_pwr_ctrl0 
+0040 708a3a01 jam 0x01 ,core_tx_pwr_ctrl1 
+0041 20201226 branch set_rf_ldo_cfg89 
 
 p_initialize_radio_cont:
-0041 7041eaff jam 0xff ,mem_gain_fix 
-0042 708a8500 jam 0x00 ,core_syn_loopdiv_dsm_cfg 
-0043 70892140 jam 0x40 ,0x8921 
-0044 70486701 jam 0x01 ,mem_24g_rx_phy 
-0045 70486801 jam 0x01 ,mem_24g_tx_phy 
-0046 70487a00 jam 0x00 ,mem_24g_disable_fec1 
-0047 7048bc1e jam 0x1e ,mem_24g_hop_interval 
-0048 20401252 call initialize_radio_cont + 1 
-0049 2020009e branch p_g24_fast_conn_mode_check 
+0042 7041eaff jam 0xff ,mem_gain_fix 
+0043 708a8500 jam 0x00 ,core_syn_loopdiv_dsm_cfg 
+0044 70892140 jam 0x40 ,0x8921 
+0045 70486701 jam 0x01 ,mem_24g_rx_phy 
+0046 70486801 jam 0x01 ,mem_24g_tx_phy 
+0047 70487a00 jam 0x00 ,mem_24g_disable_fec1 
+0048 7048bc1e jam 0x1e ,mem_24g_hop_interval 
+0049 20401252 call initialize_radio_cont + 1 
+004a 202000ce branch p_g24_fast_conn_mode_check 
 
 p_wdt_kick:
-004a 5800007d setarg 125 
-004b 20206295 branch wdt_init_config 
+004b 5800007d setarg 125 
+004c 20206295 branch wdt_init_config 
 
 p_g24_bind_mode_auto:
-004c 6fe0c8c3 fetch 1 ,mem_24g_work_mode 
-004d c1808000 rtnne dongle_bind 
-004e 2040234b call g24_bind_init 
-004f 20400051 call p_g24_bind_data_process 
-0050 202024a1 branch g24_bind_mode_auto + 5 
+004d 6fe0c8c3 fetch 1 ,mem_24g_work_mode 
+004e c1808000 rtnne dongle_bind 
+004f 2040234b call g24_bind_init 
+0050 20400052 call p_g24_bind_data_process 
+0051 202024a1 branch g24_bind_mode_auto + 5 
 
 p_g24_bind_data_process:
-0051 204023fa call g24_rx_interrupt_clear 
-0052 20402187 call g24_receive_packet 
-0053 2437a3fa nbranch g24_rx_interrupt_clear ,user3 
-0054 20402367 call g24_bind_data_parse 
-0055 20400057 call p_g24_bind_transmit_ack 
-0056 2020235e branch g24_bind_data_process + 5 
+0052 204023fa call g24_rx_interrupt_clear 
+0053 20402187 call g24_receive_packet 
+0054 2437a3fa nbranch g24_rx_interrupt_clear ,user3 
+0055 20402367 call g24_bind_data_parse 
+0056 2040005a call p_g24_bind_transmit_ack 
+0057 204023d6 call g24_bind_device_status_check 
+0058 20400062 call p_dongle_kb_bind_soft_reset 
+0059 20202360 branch g24_bind_data_process + 7 
 
 p_g24_bind_transmit_ack:
-0057 6fe0c7a7 fetch 1 ,mem_24g_rxbuf 
-0058 67e0c839 store 1 ,mem_24g_data_type 
-0059 20402274 call g24_read_len_pid_crc 
-005a 204023e3 call g24_ackpayload_prep 
-005b 2437a1f1 nbranch g24_end_of_packet ,user3 
-005c 20402247 call g24_transmit_prep 
-005d 204021f8 call g24_transmit 
-005e 202021f1 branch g24_end_of_packet 
+005a 6fe0c7a7 fetch 1 ,mem_24g_rxbuf 
+005b 67e0c839 store 1 ,mem_24g_data_type 
+005c 20402274 call g24_read_len_pid_crc 
+005d 204023e3 call g24_ackpayload_prep 
+005e 2437a1f1 nbranch g24_end_of_packet ,user3 
+005f 20402247 call g24_transmit_prep 
+0060 204021f8 call g24_transmit 
+0061 202021f1 branch g24_end_of_packet 
+
+p_dongle_kb_bind_soft_reset:
+0062 6fe0c09a fetch 1 ,mem_device_option 
+0063 c1820000 rtnne dvc_op_dongle 
+0064 6fe0c93e fetch 1 ,mem_dg_kb_bind_success 
+0065 207a0000 rtn blank 
+0066 70096400 jam 0 ,mem_temp 
+
+p_dongle_wirte_efuse_bind_status:
+0067 7048f55a jam dongle_kb_bind_success ,mem_dg_kb_bind_flag 
+0068 20400071 call p_dongle_write_kb_bind_status 
+0069 204036d0 call dongle_read_kb_bind_status 
+006a 6fe08964 fetch 1 ,mem_temp 
+006b 1fe0fe01 increase 1 ,pdata 
+006c 67e08964 store 1 ,mem_temp 
+006d c07fde29 beq 0xff ,soft_reset_chip 
+006e 6fe0c8f5 fetch 1 ,mem_dg_kb_bind_flag 
+006f c0ad0067 bne dongle_kb_bind_success ,p_dongle_wirte_efuse_bind_status 
+0070 20205e29 branch soft_reset_chip 
+
+p_dongle_write_kb_bind_status:
+0071 df200001 arg 1 ,loopcnt 
+0072 da2048f5 arg mem_dg_kb_bind_flag ,rega 
+0073 d840002a arg dongle_kb_bind_efuse_offect ,temp 
+0074 20200075 branch p_efuse_program 
+
+p_efuse_program:
+0075 20400077 call p_efuse_vdd_fsource_on 
+0076 20205f13 branch efuse_program + 1 
+
+p_efuse_vdd_fsource_on:
+0077 20405f2a call efuse_lna_pa_ldo_on 
+0078 70804780 jam 0x80 ,core_efuse_ctrl 
+0079 6ff08a0b fetch 1 ,core_rf_ldo_en1 
+007a 793ffe05 set0 5 ,pdata 
+007b 79207e03 set1 3 ,pdata 
+007c 67f08a0b store 1 ,core_rf_ldo_en1 
+007d 20000018 nop 24 
+007e 79207e04 set1 4 ,pdata 
+007f 67f08a0b store 1 ,core_rf_ldo_en1 
+0080 200001f4 nop 500 
+0081 20600000 rtn 
+
+p_efuse_vdd_off:
+0082 6ff08a0b fetch 1 ,core_rf_ldo_en1 
+0083 793ffe05 set0 5 ,pdata 
+0084 793ffe04 set0 4 ,pdata 
+0085 793ffe00 set0 0 ,pdata 
+0086 67f08a0b store 1 ,core_rf_ldo_en1 
+0087 20000018 nop 24 
+0088 793ffe03 set0 3 ,pdata 
+0089 67f08a0b store 1 ,core_rf_ldo_en1 
+008a 200000c8 nop 200 
+008b 6ff08a0a fetch 1 ,core_rf_ldo_en0 
+008c 793ffe01 set0 1 ,pdata 
+008d 67f08a0a store 1 ,core_rf_ldo_en0 
+008e 20205f27 branch efuse_pa_vdd_recover 
 
 p_g24_mode_switch_bind_search:
-005f 6fe0c8c3 fetch 1 ,mem_24g_work_mode 
-0060 c1000000 rtneq dongle_work 
-0061 6fe0c8d7 fetch 1 ,mem_24g_b_s_mode_switch_disable 
-0062 247a0000 nrtn blank 
-0063 6fe0c8d5 fetch 1 ,mem_24g_mode_b_s_switch_exit 
-0064 247a0000 nrtn blank 
-0065 6fe0c8d1 fetch 1 ,mem_24g_mode_b_s_switch 
-0066 207a0000 rtn blank 
-0067 6fe0c8d8 fetch 1 ,mem_24g_bind_device_living 
-0068 2fe00603 compare 3 ,pdata ,3 
-0069 2020a47f branch g24_mode_b_s_switch_exit ,true 
-006a 204022a0 call g24_timer_check 
-006b 24740000 nrtn user 
-006c 6fe148d3 fetch 2 ,mem_24g_mode_b_s_switch_cnt 
-006d 1fe0fe01 increase 1 ,pdata 
-006e 67e148d3 store 2 ,mem_24g_mode_b_s_switch_cnt 
-006f d84007d0 arg 0x7d0 ,temp 
-0070 98467c00 isub temp ,null 
-0071 2021247f branch g24_mode_b_s_switch_exit ,positive 
-0072 6fe0c8d6 fetch 1 ,mem_24g_b_s_time_slice 
-0073 1fe0fe01 increase 1 ,pdata 
-0074 1fe17e01 and_into 1 ,pdata 
-0075 67e0c8d6 store 1 ,mem_24g_b_s_time_slice 
-0076 c0002544 beq 0 ,g24_search_mode_enable 
-0077 c000a348 beq 1 ,g24_bind_mode_enable 
-0078 20600000 rtn 
+008f 6fe0c8c3 fetch 1 ,mem_24g_work_mode 
+0090 c1000000 rtneq dongle_work 
+0091 6fe0c8d7 fetch 1 ,mem_24g_b_s_mode_switch_disable 
+0092 247a0000 nrtn blank 
+0093 6fe0c8d5 fetch 1 ,mem_24g_mode_b_s_switch_exit 
+0094 247a0000 nrtn blank 
+0095 6fe0c8d1 fetch 1 ,mem_24g_mode_b_s_switch 
+0096 207a0000 rtn blank 
+0097 6fe0c8d8 fetch 1 ,mem_24g_bind_device_living 
+0098 2fe00603 compare 3 ,pdata ,3 
+0099 2020a47f branch g24_mode_b_s_switch_exit ,true 
+009a 204022a0 call g24_timer_check 
+009b 24740000 nrtn user 
+009c 6fe148d3 fetch 2 ,mem_24g_mode_b_s_switch_cnt 
+009d 1fe0fe01 increase 1 ,pdata 
+009e 67e148d3 store 2 ,mem_24g_mode_b_s_switch_cnt 
+009f d84007d0 arg 0x7d0 ,temp 
+00a0 98467c00 isub temp ,null 
+00a1 2021247f branch g24_mode_b_s_switch_exit ,positive 
+00a2 6fe0c8d6 fetch 1 ,mem_24g_b_s_time_slice 
+00a3 1fe0fe01 increase 1 ,pdata 
+00a4 1fe17e01 and_into 1 ,pdata 
+00a5 67e0c8d6 store 1 ,mem_24g_b_s_time_slice 
+00a6 c0002544 beq 0 ,g24_search_mode_enable 
+00a7 c000a348 beq 1 ,g24_bind_mode_enable 
+00a8 20600000 rtn 
 
 p_dongle_work_mode_auto:
-0079 6fe0c8c3 fetch 1 ,mem_24g_work_mode 
-007a c1800000 rtnne dongle_work 
-007b 2040013e call p_g24_work_mode_start 
-007c 2040007e call p_dongle_g24_blank_data_process 
-007d 20203770 branch dongle_work_mode_auto + 5 
+00a9 6fe0c8c3 fetch 1 ,mem_24g_work_mode 
+00aa c1800000 rtnne dongle_work 
+00ab 2040016e call p_g24_work_mode_start 
+00ac 204000ae call p_dongle_g24_blank_data_process 
+00ad 20203770 branch dongle_work_mode_auto + 5 
 
 p_dongle_g24_blank_data_process:
-007e 20403705 call dongle_g24_ms_blank_data 
-007f 20400081 call p_dongle_g24_kb_blank_data 
-0080 2020008d branch p_dongle_g24_kb_mul_blank_data 
+00ae 20403705 call dongle_g24_ms_blank_data 
+00af 204000b1 call p_dongle_g24_kb_blank_data 
+00b0 202000bd branch p_dongle_g24_kb_mul_blank_data 
 
 p_dongle_g24_kb_blank_data:
-0081 6fe0c912 fetch 1 ,mem_dg_kb_blank_data_enable 
-0082 207a0000 rtn blank 
-0083 d8e0000e arg timer_kb_blank ,queue 
-0084 20407de9 call timer_check 
-0085 247a0000 nrtn blank 
-0086 70491200 jam 0 ,mem_dg_kb_blank_data_enable 
-0087 d8a00c0f arg mem_usb_kb_data ,contw 
-0088 df200002 arg 2 ,loopcnt 
-0089 20407d8c call memset0 
-008a 6fe40c0f fetch 8 ,mem_usb_kb_data 
-008b 67e448fe store 8 ,mem_dg_kb_data_last_data 
-008c 2020371d branch dongle_usb_tx_kb_data 
+00b1 6fe0c912 fetch 1 ,mem_dg_kb_blank_data_enable 
+00b2 207a0000 rtn blank 
+00b3 d8e0000e arg timer_kb_blank ,queue 
+00b4 20407de9 call timer_check 
+00b5 247a0000 nrtn blank 
+00b6 70491200 jam 0 ,mem_dg_kb_blank_data_enable 
+00b7 d8a00c0f arg mem_usb_kb_data ,contw 
+00b8 df200002 arg 2 ,loopcnt 
+00b9 20407d8c call memset0 
+00ba 6fe40c0f fetch 8 ,mem_usb_kb_data 
+00bb 67e448fe store 8 ,mem_dg_kb_data_last_data 
+00bc 2020371d branch dongle_usb_tx_kb_data 
 
 p_dongle_g24_kb_mul_blank_data:
-008d 6fe0c913 fetch 1 ,mem_dg_kb_mul_blank_data_enable 
-008e 207a0000 rtn blank 
-008f d8e0000c arg timer_kb_mul_blank ,queue 
-0090 20407de9 call timer_check 
-0091 247a0000 nrtn blank 
-0092 70491300 jam 0 ,mem_dg_kb_mul_blank_data_enable 
-0093 d8a00c1f arg mem_usb_kb_multikey ,contw 
-0094 df200002 arg 2 ,loopcnt 
-0095 20407d8c call memset0 
-0096 700c1f03 jam kb_multikey_report_id ,mem_usb_kb_multikey 
-0097 6fe18c1f fetch 3 ,mem_usb_kb_multikey 
-0098 67e1c909 store 3 ,mem_dg_kb_multikey_last_data 
-0099 2020372d branch dongle_usb_tx_multikey_data 
+00bd 6fe0c913 fetch 1 ,mem_dg_kb_mul_blank_data_enable 
+00be 207a0000 rtn blank 
+00bf d8e0000c arg timer_kb_mul_blank ,queue 
+00c0 20407de9 call timer_check 
+00c1 247a0000 nrtn blank 
+00c2 70491300 jam 0 ,mem_dg_kb_mul_blank_data_enable 
+00c3 d8a00c1f arg mem_usb_kb_multikey ,contw 
+00c4 df200002 arg 2 ,loopcnt 
+00c5 20407d8c call memset0 
+00c6 700c1f03 jam kb_multikey_report_id ,mem_usb_kb_multikey 
+00c7 6fe18c1f fetch 3 ,mem_usb_kb_multikey 
+00c8 67e1c909 store 3 ,mem_dg_kb_multikey_last_data 
+00c9 2020372d branch dongle_usb_tx_multikey_data 
 
 p_dongle_all_powerful:
-009a 20402493 call g24_switch_work_mode 
+00ca 20402493 call g24_switch_work_mode 
 
 p_dongle_all_powerful_loop:
-009b 2040376b call dongle_work_mode_auto 
-009c 2040372f call dongle_usb_dispatch 
-009d 2020009b branch p_dongle_all_powerful_loop 
+00cb 2040376b call dongle_work_mode_auto 
+00cc 2040372f call dongle_usb_dispatch 
+00cd 202000cb branch p_dongle_all_powerful_loop 
 
 p_g24_fast_conn_mode_check:
-009e 6fe0c8bd fetch 1 ,mem_24g_pair_mode 
-009f c00780a2 beq 0x0f ,p_soft_agc_en_true 
+00ce 6fe0c8bd fetch 1 ,mem_24g_pair_mode 
+00cf c00780d2 beq 0x0f ,p_soft_agc_en_true 
 
 p_soft_agc_en_false:
-00a0 70494000 jam 0 ,mem_soft_agc_en 
-00a1 20600000 rtn 
+00d0 70494000 jam 0 ,mem_soft_agc_en 
+00d1 20600000 rtn 
 
 p_soft_agc_en_true:
-00a2 70494001 jam 1 ,mem_soft_agc_en 
-00a3 20600000 rtn 
+00d2 70494001 jam 1 ,mem_soft_agc_en 
+00d3 20600000 rtn 
 
 p_byte_sign_extern:
-00a4 2feffe07 isolate1 7 ,pdata 
-00a5 24608000 nrtn true 
-00a6 d840ff00 arg 0xff00 ,temp 
-00a7 9841fe00 ior temp ,pdata 
-00a8 20600000 rtn 
+00d4 2feffe07 isolate1 7 ,pdata 
+00d5 24608000 nrtn true 
+00d6 d840ff00 arg 0xff00 ,temp 
+00d7 9841fe00 ior temp ,pdata 
+00d8 20600000 rtn 
 
 p_save_rssi:
-00a9 6ff089a2 fetch 1 ,modem_nb_pow 
-00aa 2feffe06 isolate1 6 ,pdata 
-00ab 7920fe07 setflag true ,7 ,pdata 
-00ac 67e0c1e9 store 1 ,mem_modem_rssi 
-00ad 6ff089a3 fetch 1 ,modem_gain 
-00ae 1fe1040f and pdata ,0x0f ,temp 
-00af 18438400 lshift temp ,temp 
-00b0 1ff1fe00 rshift4 pdata ,pdata 
-00b1 98408400 iadd temp ,temp 
-00b2 184fa203 mul32 temp ,3 ,rega 
-00b3 6fe0c1e9 fetch 1 ,mem_modem_rssi 
-00b4 204000a4 call p_byte_sign_extern 
-00b5 1fe67e00 sub pdata ,0 ,pdata 
-00b6 9a20fe00 iadd rega ,pdata 
-00b7 1fe0fff7 increase -9 ,pdata 
-00b8 1fe17fff and pdata ,0x1ff ,pdata 
-00b9 2feffe08 isolate1 8 ,pdata 
-00ba 242080bc nbranch p_save_rssi_store ,true 
-00bb 58000000 setarg 0 
+00d9 6ff089a2 fetch 1 ,modem_nb_pow 
+00da 2feffe06 isolate1 6 ,pdata 
+00db 7920fe07 setflag true ,7 ,pdata 
+00dc 67e0c1e9 store 1 ,mem_modem_rssi 
+00dd 6ff089a3 fetch 1 ,modem_gain 
+00de 1fe1040f and pdata ,0x0f ,temp 
+00df 18438400 lshift temp ,temp 
+00e0 1ff1fe00 rshift4 pdata ,pdata 
+00e1 98408400 iadd temp ,temp 
+00e2 184fa203 mul32 temp ,3 ,rega 
+00e3 6fe0c1e9 fetch 1 ,mem_modem_rssi 
+00e4 204000d4 call p_byte_sign_extern 
+00e5 1fe67e00 sub pdata ,0 ,pdata 
+00e6 9a20fe00 iadd rega ,pdata 
+00e7 1fe0fff7 increase -9 ,pdata 
+00e8 1fe17fff and pdata ,0x1ff ,pdata 
+00e9 2feffe08 isolate1 8 ,pdata 
+00ea 242080ec nbranch p_save_rssi_store ,true 
+00eb 58000000 setarg 0 
 
 p_save_rssi_store:
-00bc 67e08154 store 1 ,mem_rssi_hex 
-00bd 20201293 branch rssi_hex2dec 
+00ec 67e08154 store 1 ,mem_rssi_hex 
+00ed 20201293 branch rssi_hex2dec 
 
 p_le_enable:
-00be 20401652 call le_enable + 1 
-00bf 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
-00c0 6ff08a43 fetch 1 ,core_syn_cal_ctrl 
-00c1 1fe1fe0f or pdata ,0x0f ,pdata 
-00c2 67f08a43 store 1 ,core_syn_cal_ctrl 
-00c3 20600000 rtn 
+00ee 20401652 call le_enable + 1 
+00ef 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
+00f0 6ff08a43 fetch 1 ,core_syn_cal_ctrl 
+00f1 1fe1fe0f or pdata ,0x0f ,pdata 
+00f2 67f08a43 store 1 ,core_syn_cal_ctrl 
+00f3 20600000 rtn 
 
 p_usb_init:
-00c4 20406e5e call enable_authrom 
-00c5 20407a27 call usb_init_param 
-00c6 700aa803 jam 0x03 ,mem_devicedesc + 17 
-00c7 20207a0b branch usb_init_next 
+00f4 20406e5e call enable_authrom 
+00f5 20407a27 call usb_init_param 
+00f6 700aa803 jam 0x03 ,mem_devicedesc + 17 
+00f7 20207a0b branch usb_init_next 
 
 p_usb_class_type:
-00c8 793f8023 set0 mark_isstr ,mark 
-00c9 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
-00ca 1fe17e80 and_into 0x80 ,pdata 
-00cb c04000ce beq in_device ,p_usb_in_device 
-00cc c00000da beq out_device ,p_usb_out_device 
-00cd 2020137c branch assert 
+00f8 793f8023 set0 mark_isstr ,mark 
+00f9 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
+00fa 1fe17e80 and_into 0x80 ,pdata 
+00fb c04000fe beq in_device ,p_usb_in_device 
+00fc c000010a beq out_device ,p_usb_out_device 
+00fd 2020137c branch assert 
 
 p_usb_in_device:
-00ce 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
-00cf 1ff1fe00 rshift4 pdata ,pdata 
-00d0 1fe37e00 rshift pdata ,pdata 
-00d1 1fe17e03 and_into 0x03 ,pdata 
-00d2 c0007ab8 beq standard_req ,usb_in_standard_req 
-00d3 c00080d5 beq class_req ,p_usb_in_class_req 
-00d4 20207aae branch usb_in_device + 6 
+00fe 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
+00ff 1ff1fe00 rshift4 pdata ,pdata 
+0100 1fe37e00 rshift pdata ,pdata 
+0101 1fe17e03 and_into 0x03 ,pdata 
+0102 c0007ab8 beq standard_req ,usb_in_standard_req 
+0103 c0008105 beq class_req ,p_usb_in_class_req 
+0104 20207aae branch usb_in_device + 6 
 
 p_usb_in_class_req:
-00d5 6fe08b5a fetch 1 ,mem_usb_setup_brequest 
-00d6 c0017b7a beq get_idle ,usb_get_idle 
-00d7 c00080d9 beq get_report ,p_usb_get_report 
-00d8 20207ac1 branch usb_in_class_req + 3 
+0105 6fe08b5a fetch 1 ,mem_usb_setup_brequest 
+0106 c0017b7a beq get_idle ,usb_get_idle 
+0107 c0008109 beq get_report ,p_usb_get_report 
+0108 20207ac1 branch usb_in_class_req + 3 
 
 p_usb_get_report:
-00d9 20207b82 branch usb_get_report_dispose 
+0109 20207b82 branch usb_get_report_dispose 
 
 p_usb_out_device:
-00da 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
-00db 1ff1fe00 rshift4 pdata ,pdata 
-00dc 1fe37e00 rshift pdata ,pdata 
-00dd 1fe17e03 and_into 0x03 ,pdata 
-00de c00080e0 beq class_req ,p_usb_out_class_req 
-00df 20207ab4 branch usb_out_device + 4 
+010a 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
+010b 1ff1fe00 rshift4 pdata ,pdata 
+010c 1fe37e00 rshift pdata ,pdata 
+010d 1fe17e03 and_into 0x03 ,pdata 
+010e c0008110 beq class_req ,p_usb_out_class_req 
+010f 20207ab4 branch usb_out_device + 4 
 
 p_usb_out_class_req:
-00e0 6fe08b5a fetch 1 ,mem_usb_setup_brequest 
-00e1 c00480e3 beq set_report ,p_usb_set_report 
-00e2 20207acd branch usb_out_class_req + 1 
+0110 6fe08b5a fetch 1 ,mem_usb_setup_brequest 
+0111 c0048113 beq set_report ,p_usb_set_report 
+0112 20207acd branch usb_out_class_req + 1 
 
 p_usb_set_report:
-00e3 20003a98 nop 15000 
-00e4 20207c4a branch usb_set_report 
+0113 20003a98 nop 15000 
+0114 20207c4a branch usb_set_report 
 
 p_usb_tx:
-00e5 6fe08bf9 fetch 1 ,mem_usb_tx_enable 
-00e6 207a0000 rtn blank 
-00e7 6ff08c24 fetch 1 ,core_usb_txbusy 
-00e8 1fe17e0f and_into 0x0f ,pdata 
-00e9 243a7d17 nbranch usb_inwake_state_tx_dispose ,blank 
-00ea 20207ccc branch usb_tx + 3 
+0115 6fe08bf9 fetch 1 ,mem_usb_tx_enable 
+0116 207a0000 rtn blank 
+0117 6ff08c24 fetch 1 ,core_usb_txbusy 
+0118 1fe17e0f and_into 0x0f ,pdata 
+0119 243a7d17 nbranch usb_inwake_state_tx_dispose ,blank 
+011a 20207ccc branch usb_tx + 3 
 
 p_g24_receive_skip_end:
-00eb 6fe0c868 fetch 1 ,mem_24g_tx_phy 
-00ec 20401637 call le_enable_phy_by_pdata 
-00ed 6fe2483f fetch 4 ,mem_24g_addr 
-00ee 98001200 iforce access 
-00ef 20402181 call g24_prep 
-00f0 2040115d call set_sync_on 
-00f1 6848c83d fetcht 1 ,mem_24g_ch 
-00f2 708a3d12 jam 0x12 ,core_syn_top_ctrl 
-00f3 60488017 storet 1 ,mem_last_freq 
-00f4 1840a202 add temp ,2 ,rega 
-00f5 204011c6 call rf_tx_write_freq 
-00f6 20401207 call txon 
-00f7 20000064 nop 100 
-00f8 204023e3 call g24_ackpayload_prep 
-00f9 20402247 call g24_transmit_prep 
-00fa 204021ff call g24_transmit + 7 
-00fb 202021d6 branch g24_receive_skip_end 
+011b 6fe0c868 fetch 1 ,mem_24g_tx_phy 
+011c 20401637 call le_enable_phy_by_pdata 
+011d 6fe2483f fetch 4 ,mem_24g_addr 
+011e 98001200 iforce access 
+011f 20402181 call g24_prep 
+0120 2040115d call set_sync_on 
+0121 6848c83d fetcht 1 ,mem_24g_ch 
+0122 708a3d12 jam 0x12 ,core_syn_top_ctrl 
+0123 60488017 storet 1 ,mem_last_freq 
+0124 1840a202 add temp ,2 ,rega 
+0125 204011c6 call rf_tx_write_freq 
+0126 20401207 call txon 
+0127 20000064 nop 100 
+0128 204023e3 call g24_ackpayload_prep 
+0129 20402247 call g24_transmit_prep 
+012a 204021ff call g24_transmit + 7 
+012b 202021d6 branch g24_receive_skip_end 
 
 p_g24_bind_data_parse_next:
-00fc 6fe0c897 fetch 1 ,mem_24g_rxdata_temp + 2 
-00fd c0550102 beq datatype_bind ,p_g24_bind_first_step 
-00fe c02a810c beq datatype_config ,p_g24_bind_second_step 
-00ff c011011c beq datatype_ok ,p_g24_bind_third_step 
-0100 c07f8134 beq datatype_attemp ,p_g24_data_attemp 
-0101 20600000 rtn 
+012c 6fe0c897 fetch 1 ,mem_24g_rxdata_temp + 2 
+012d c0550132 beq datatype_bind ,p_g24_bind_first_step 
+012e c02a813c beq datatype_config ,p_g24_bind_second_step 
+012f c011014c beq datatype_ok ,p_g24_bind_third_step 
+0130 c07f8164 beq datatype_attemp ,p_g24_data_attemp 
+0131 20600000 rtn 
 
 p_g24_bind_first_step:
-0102 6fe0c898 fetch 1 ,mem_24g_rxdata_temp + 3 
-0103 c0008106 beq datatype_device1 ,p_g24_bind_first_step_device1 
-0104 c0010109 beq datatype_device2 ,p_g24_bind_first_step_device2 
-0105 20600000 rtn 
+0132 6fe0c898 fetch 1 ,mem_24g_rxdata_temp + 3 
+0133 c0008136 beq datatype_device1 ,p_g24_bind_first_step_device1 
+0134 c0010139 beq datatype_device2 ,p_g24_bind_first_step_device2 
+0135 20600000 rtn 
 
 p_g24_bind_first_step_device1:
-0106 6fe0c941 fetch 1 ,mem_24g_mouse_bind_enable 
-0107 247a0000 nrtn blank 
-0108 20202376 branch g24_bind_first_step_device1 
+0136 6fe0c941 fetch 1 ,mem_24g_mouse_bind_enable 
+0137 247a0000 nrtn blank 
+0138 20202376 branch g24_bind_first_step_device1 
 
 p_g24_bind_first_step_device2:
-0109 6fe0c942 fetch 1 ,mem_24g_keyboard_bind_enable 
-010a 247a0000 nrtn blank 
-010b 2020237c branch g24_bind_first_step_device2 
+0139 6fe0c942 fetch 1 ,mem_24g_keyboard_bind_enable 
+013a 247a0000 nrtn blank 
+013b 2020237c branch g24_bind_first_step_device2 
 
 p_g24_bind_second_step:
-010c 6fe0c85e fetch 1 ,mem_24g_pair_switch 
-010d 203a0112 branch p_g24_bind_second_step_skip ,blank 
-010e 6fe24899 fetch 4 ,mem_24g_rxdata_temp + 4 
-010f 684a40a8 fetcht 4 ,mem_lap 
-0110 98467c00 isub temp ,null 
-0111 24628000 nrtn zero 
+013c 6fe0c85e fetch 1 ,mem_24g_pair_switch 
+013d 203a0142 branch p_g24_bind_second_step_skip ,blank 
+013e 6fe24899 fetch 4 ,mem_24g_rxdata_temp + 4 
+013f 684a40a8 fetcht 4 ,mem_lap 
+0140 98467c00 isub temp ,null 
+0141 24628000 nrtn zero 
 
 p_g24_bind_second_step_skip:
-0112 6fe0c898 fetch 1 ,mem_24g_rxdata_temp + 3 
-0113 c0008116 beq datatype_device1 ,p_g24_bind_second_step_device1 
-0114 c0010119 beq datatype_device2 ,p_g24_bind_second_step_device2 
-0115 20600000 rtn 
+0142 6fe0c898 fetch 1 ,mem_24g_rxdata_temp + 3 
+0143 c0008146 beq datatype_device1 ,p_g24_bind_second_step_device1 
+0144 c0010149 beq datatype_device2 ,p_g24_bind_second_step_device2 
+0145 20600000 rtn 
 
 p_g24_bind_second_step_device1:
-0116 6fe0c941 fetch 1 ,mem_24g_mouse_bind_enable 
-0117 247a0000 nrtn blank 
-0118 20202389 branch g24_bind_second_step_device1 
+0146 6fe0c941 fetch 1 ,mem_24g_mouse_bind_enable 
+0147 247a0000 nrtn blank 
+0148 20202389 branch g24_bind_second_step_device1 
 
 p_g24_bind_second_step_device2:
-0119 6fe0c942 fetch 1 ,mem_24g_keyboard_bind_enable 
-011a 247a0000 nrtn blank 
-011b 20202394 branch g24_bind_second_step_device2 
+0149 6fe0c942 fetch 1 ,mem_24g_keyboard_bind_enable 
+014a 247a0000 nrtn blank 
+014b 20202394 branch g24_bind_second_step_device2 
 
 p_g24_bind_third_step:
-011c 6fe0c85e fetch 1 ,mem_24g_pair_switch 
-011d 203a0122 branch p_g24_bind_third_step_skip ,blank 
-011e 6fe24899 fetch 4 ,mem_24g_rxdata_temp + 4 
-011f 684a48d9 fetcht 4 ,mem_24g_transmitter_addr 
-0120 98467c00 isub temp ,null 
-0121 24628000 nrtn zero 
+014c 6fe0c85e fetch 1 ,mem_24g_pair_switch 
+014d 203a0152 branch p_g24_bind_third_step_skip ,blank 
+014e 6fe24899 fetch 4 ,mem_24g_rxdata_temp + 4 
+014f 684a48d9 fetcht 4 ,mem_24g_transmitter_addr 
+0150 98467c00 isub temp ,null 
+0151 24628000 nrtn zero 
 
 p_g24_bind_third_step_skip:
-0122 6fe0c898 fetch 1 ,mem_24g_rxdata_temp + 3 
-0123 c0008126 beq datatype_device1 ,p_g24_bind_third_step_device1 
-0124 c001012d beq datatype_device2 ,p_g24_bind_third_step_device2 
-0125 20600000 rtn 
+0152 6fe0c898 fetch 1 ,mem_24g_rxdata_temp + 3 
+0153 c0008156 beq datatype_device1 ,p_g24_bind_third_step_device1 
+0154 c001015d beq datatype_device2 ,p_g24_bind_third_step_device2 
+0155 20600000 rtn 
 
 p_g24_bind_third_step_device1:
-0126 6fe0c941 fetch 1 ,mem_24g_mouse_bind_enable 
-0127 247a0000 nrtn blank 
-0128 6fe0c882 fetch 1 ,mem_24g_device1_bind_step 
-0129 c001012b beq 2 ,p_g24_bind_dvc1_step_success 
-012a 20600000 rtn 
+0156 6fe0c941 fetch 1 ,mem_24g_mouse_bind_enable 
+0157 247a0000 nrtn blank 
+0158 6fe0c882 fetch 1 ,mem_24g_device1_bind_step 
+0159 c001015b beq 2 ,p_g24_bind_dvc1_step_success 
+015a 20600000 rtn 
 
 p_g24_bind_dvc1_step_success:
-012b 70494101 jam 1 ,mem_24g_mouse_bind_enable 
-012c 202023aa branch g24_bind_dvc1_step_success + 1 
+015b 70494101 jam 1 ,mem_24g_mouse_bind_enable 
+015c 202023aa branch g24_bind_dvc1_step_success + 1 
 
 p_g24_bind_third_step_device2:
-012d 6fe0c942 fetch 1 ,mem_24g_keyboard_bind_enable 
-012e 247a0000 nrtn blank 
-012f 6fe0c883 fetch 1 ,mem_24g_device2_bind_step 
-0130 c0800132 bne 0 ,p_g24_bind_dvc2_step_success 
-0131 20600000 rtn 
+015d 6fe0c942 fetch 1 ,mem_24g_keyboard_bind_enable 
+015e 247a0000 nrtn blank 
+015f 6fe0c883 fetch 1 ,mem_24g_device2_bind_step 
+0160 c0800162 bne 0 ,p_g24_bind_dvc2_step_success 
+0161 20600000 rtn 
 
 p_g24_bind_dvc2_step_success:
-0132 70494201 jam 1 ,mem_24g_keyboard_bind_enable 
-0133 202023b5 branch g24_bind_dvc2_step_success + 1 
+0162 70494201 jam 1 ,mem_24g_keyboard_bind_enable 
+0163 202023b5 branch g24_bind_dvc2_step_success + 1 
 
 p_g24_data_attemp:
-0134 6fe0c898 fetch 1 ,mem_24g_rxdata_temp + 3 
-0135 c0008138 beq datatype_device1 ,p_g24_data_attemp_device1 
-0136 c001013b beq datatype_device2 ,p_g24_data_attemp_device2 
-0137 20600000 rtn 
+0164 6fe0c898 fetch 1 ,mem_24g_rxdata_temp + 3 
+0165 c0008168 beq datatype_device1 ,p_g24_data_attemp_device1 
+0166 c001016b beq datatype_device2 ,p_g24_data_attemp_device2 
+0167 20600000 rtn 
 
 p_g24_data_attemp_device1:
-0138 6fe0c941 fetch 1 ,mem_24g_mouse_bind_enable 
-0139 247a0000 nrtn blank 
-013a 202025c2 branch g24_data_attemp_device1 
+0168 6fe0c941 fetch 1 ,mem_24g_mouse_bind_enable 
+0169 247a0000 nrtn blank 
+016a 202025c2 branch g24_data_attemp_device1 
 
 p_g24_data_attemp_device2:
-013b 6fe0c942 fetch 1 ,mem_24g_keyboard_bind_enable 
-013c 247a0000 nrtn blank 
-013d 202025c6 branch g24_data_attemp_device2 
+016b 6fe0c942 fetch 1 ,mem_24g_keyboard_bind_enable 
+016c 247a0000 nrtn blank 
+016d 202025c6 branch g24_data_attemp_device2 
 
 p_g24_work_mode_start:
-013e 6fe0c8c3 fetch 1 ,mem_24g_work_mode 
-013f c1800000 rtnne dongle_work 
-0140 20402485 call g24_work_init 
-0141 20402547 call g24_ch_process 
-0142 20200143 branch p_g24_receive_packet_start 
+016e 6fe0c8c3 fetch 1 ,mem_24g_work_mode 
+016f c1800000 rtnne dongle_work 
+0170 20402485 call g24_work_init 
+0171 20402547 call g24_ch_process 
+0172 20200173 branch p_g24_receive_packet_start 
 
 p_g24_receive_packet_start:
-0143 20402429 call g24_receive_transmit_ack 
-0144 2437a3fa nbranch g24_rx_interrupt_clear ,user3 
+0173 20402429 call g24_receive_transmit_ack 
+0174 2437a3fa nbranch g24_rx_interrupt_clear ,user3 
 
 p_g24_receive_packet_parse:
-0145 2040241b call g24_receive_packet_parse_pid_crc 
-0146 243423fa nbranch g24_rx_interrupt_clear ,user 
-0147 6fe0c82d fetch 1 ,mem_24g_rxdata_length 
-0148 203a23fa branch g24_rx_interrupt_clear ,blank 
-0149 1fe0fe02 increase 2 ,pdata 
-014a 98007200 iforce loopcnt 
-014b d8c047a7 arg mem_24g_rxbuf ,contr 
-014c d8a04895 arg mem_24g_rxdata_temp ,contw 
-014d 20407dd4 call memcpy 
-014e 7048c000 jam 0 ,mem_24g_mode_switch 
-014f 6fe0c8bd fetch 1 ,mem_24g_pair_mode 
-0150 205a2436 call g24_enable_nodata_timer ,blank 
-0151 6fe0c897 fetch 1 ,mem_24g_rxdata_temp + 2 
-0152 c0008156 beq datatype_device1 ,p_g24_data_device1 
-0153 c001240e beq datatype_device2 ,g24_data_device2 
-0154 c07f8164 beq datatype_attemp ,p_g24_data_receive_attemp 
-0155 202023fa branch g24_rx_interrupt_clear 
+0175 2040241b call g24_receive_packet_parse_pid_crc 
+0176 243423fa nbranch g24_rx_interrupt_clear ,user 
+0177 6fe0c82d fetch 1 ,mem_24g_rxdata_length 
+0178 203a23fa branch g24_rx_interrupt_clear ,blank 
+0179 1fe0fe02 increase 2 ,pdata 
+017a 98007200 iforce loopcnt 
+017b d8c047a7 arg mem_24g_rxbuf ,contr 
+017c d8a04895 arg mem_24g_rxdata_temp ,contw 
+017d 20407dd4 call memcpy 
+017e 7048c000 jam 0 ,mem_24g_mode_switch 
+017f 6fe0c8bd fetch 1 ,mem_24g_pair_mode 
+0180 205a2436 call g24_enable_nodata_timer ,blank 
+0181 6fe0c897 fetch 1 ,mem_24g_rxdata_temp + 2 
+0182 c0008186 beq datatype_device1 ,p_g24_data_device1 
+0183 c001240e beq datatype_device2 ,g24_data_device2 
+0184 c07f8194 beq datatype_attemp ,p_g24_data_receive_attemp 
+0185 202023fa branch g24_rx_interrupt_clear 
 
 p_g24_data_device1:
-0156 204023ca call g24_binding_dvc1_living 
-0157 2040255c call g24_ch_timer_reinit 
-0158 6fe0c8b7 fetch 1 ,mem_24g_abort_packet 
-0159 6848c895 fetcht 1 ,mem_24g_rxdata_temp 
-015a 284ffe03 isolate1 bit_abort ,temp 
-015b 7920fe00 setflag true ,0 ,pdata 
-015c 67e0c8b7 store 1 ,mem_24g_abort_packet 
-015d c000815f beq 1 ,p_g24_data_attemp_device1_abort 
-015e 20202407 branch g24_data_device1 + 8 
+0186 204023ca call g24_binding_dvc1_living 
+0187 2040255c call g24_ch_timer_reinit 
+0188 6fe0c8b7 fetch 1 ,mem_24g_abort_packet 
+0189 6848c895 fetcht 1 ,mem_24g_rxdata_temp 
+018a 284ffe03 isolate1 bit_abort ,temp 
+018b 7920fe00 setflag true ,0 ,pdata 
+018c 67e0c8b7 store 1 ,mem_24g_abort_packet 
+018d c000818f beq 1 ,p_g24_data_attemp_device1_abort 
+018e 20202407 branch g24_data_device1 + 8 
 
 p_g24_data_attemp_device1_abort:
-015f 6fe0c941 fetch 1 ,mem_24g_mouse_bind_enable 
-0160 247a0000 nrtn blank 
-0161 70494101 jam 1 ,mem_24g_mouse_bind_enable 
-0162 6fe2489f fetch 4 ,mem_24g_rxdata_temp + 10 
-0163 202025c4 branch g24_store_device1_addr 
+018f 6fe0c941 fetch 1 ,mem_24g_mouse_bind_enable 
+0190 247a0000 nrtn blank 
+0191 70494101 jam 1 ,mem_24g_mouse_bind_enable 
+0192 6fe2489f fetch 4 ,mem_24g_rxdata_temp + 10 
+0193 202025c4 branch g24_store_device1_addr 
 
 p_g24_data_receive_attemp:
-0164 204023d8 call g24_bind_device_status 
-0165 20200134 branch p_g24_data_attemp 
+0194 204023d8 call g24_bind_device_status 
+0195 20200164 branch p_g24_data_attemp 
 
 p_dongle_usb_dispatch:
-0166 204079fc call usb_isr 
-0167 6fe08be3 fetch 1 ,mem_usb0_get_set_report 
-0168 207a0000 rtn blank 
-0169 700be300 jam 0 ,mem_usb0_get_set_report 
-016a 6fe08b61 fetch 1 ,mem_usb0_set_report_data 
-016b c1dd0000 rtnne pc_report_id 
-016c 6fe08b62 fetch 1 ,mem_usb0_set_report_data + 1 
-016d c0503744 beq command_mode ,dongle_dispose_cmd_mode 
-016e c050b74a beq command_bind ,dongle_dispose_cmd_bind 
-016f c0533756 beq command_current_project ,dongle_dispose_cmd_current_project 
-0170 c053b758 beq command_current_mode ,dongle_dispose_cmd_current_mode 
-0171 c054b75e beq command_current_fw_version ,dongle_dispose_cmd_current_fw_version 
-0172 c0580174 beq command_user_defined ,p_dongle_dispose_cmd_user_defined 
-0173 20203742 branch dongle_usb0_data_ready_report_set0 
+0196 204079fc call usb_isr 
+0197 6fe08be3 fetch 1 ,mem_usb0_get_set_report 
+0198 207a0000 rtn blank 
+0199 700be300 jam 0 ,mem_usb0_get_set_report 
+019a 6fe08b61 fetch 1 ,mem_usb0_set_report_data 
+019b c1dd0000 rtnne pc_report_id 
+019c 6fe08b62 fetch 1 ,mem_usb0_set_report_data + 1 
+019d c0503744 beq command_mode ,dongle_dispose_cmd_mode 
+019e c050b74a beq command_bind ,dongle_dispose_cmd_bind 
+019f c0533756 beq command_current_project ,dongle_dispose_cmd_current_project 
+01a0 c053b758 beq command_current_mode ,dongle_dispose_cmd_current_mode 
+01a1 c054b75e beq command_current_fw_version ,dongle_dispose_cmd_current_fw_version 
+01a2 c05801a4 beq command_user_defined ,p_dongle_dispose_cmd_user_defined 
+01a3 20203742 branch dongle_usb0_data_ready_report_set0 
 
 p_dongle_dispose_cmd_user_defined:
-0174 6fe08b63 fetch 1 ,mem_usb0_set_report_data + 2 
-0175 c0588177 beq command_user_defined_check_start ,p_dongle_dispose_cmd_check_start 
-0176 20600000 rtn 
+01a4 6fe08b63 fetch 1 ,mem_usb0_set_report_data + 2 
+01a5 c05881a7 beq command_user_defined_check_start ,p_dongle_dispose_cmd_check_start 
+01a6 20600000 rtn 
 
 p_dongle_dispose_cmd_check_start:
-0177 20400181 call p_dongle_dispose_cmd_user_defined_respose_ready 
-0178 6fe08b66 fetch 1 ,mem_usb0_set_report_data + 5 
-0179 c079018b beq command_user_defined_fixed_freq_check_complete ,p_dongle_dispose_cmd_fixed_freq 
-017a c079819a beq command_user_defined_assign_freq_check_complete ,p_dongle_dispose_cmd_assign_freq 
-017b c0400187 beq command_user_defined_test_fcc_freq_start ,p_dongle_dispose_cmd_test_freq_start 
-017c c040818a beq command_user_defined_test_fcc_freq_end ,p_dongle_dispose_cmd_test_freq_end 
-017d 20200184 branch p_dongle_dispose_cmd_user_defined_respose_params_fail 
+01a7 204001b1 call p_dongle_dispose_cmd_user_defined_respose_ready 
+01a8 6fe08b66 fetch 1 ,mem_usb0_set_report_data + 5 
+01a9 c07901bb beq command_user_defined_fixed_freq_check_complete ,p_dongle_dispose_cmd_fixed_freq 
+01aa c07981ca beq command_user_defined_assign_freq_check_complete ,p_dongle_dispose_cmd_assign_freq 
+01ab c04001b7 beq command_user_defined_test_fcc_freq_start ,p_dongle_dispose_cmd_test_freq_start 
+01ac c04081ba beq command_user_defined_test_fcc_freq_end ,p_dongle_dispose_cmd_test_freq_end 
+01ad 202001b4 branch p_dongle_dispose_cmd_user_defined_respose_params_fail 
 
 p_dongle_set_report_data_clear:
-017e 684c105a fetcht 8 ,mem_fcc_clear_value 
-017f 604c0b61 storet 8 ,mem_usb0_set_report_data 
-0180 20600000 rtn 
+01ae 684c105a fetcht 8 ,mem_fcc_clear_value 
+01af 604c0b61 storet 8 ,mem_usb0_set_report_data 
+01b0 20600000 rtn 
 
 p_dongle_dispose_cmd_user_defined_respose_ready:
-0181 584b4f01 setarg 0x4b4f01 
-0182 67e18ba1 store 3 ,mem_usb0_get_report_data 
-0183 20203748 branch dongle_usb0_data_ready_report_set1 
+01b1 584b4f01 setarg 0x4b4f01 
+01b2 67e18ba1 store 3 ,mem_usb0_get_report_data 
+01b3 20203748 branch dongle_usb0_data_ready_report_set1 
 
 p_dongle_dispose_cmd_user_defined_respose_params_fail:
-0184 584f4e01 setarg 0x4f4e01 
-0185 67e18ba1 store 3 ,mem_usb0_get_report_data 
-0186 20203748 branch dongle_usb0_data_ready_report_set1 
+01b4 584f4e01 setarg 0x4f4e01 
+01b5 67e18ba1 store 3 ,mem_usb0_get_report_data 
+01b6 20203748 branch dongle_usb0_data_ready_report_set1 
 
 p_dongle_dispose_cmd_test_freq_start:
-0187 7048c302 jam dongle_test ,mem_24g_work_mode 
-0188 2040017e call p_dongle_set_report_data_clear 
-0189 202001af branch p_fcc_mode_start 
+01b7 7048c302 jam dongle_test ,mem_24g_work_mode 
+01b8 204001ae call p_dongle_set_report_data_clear 
+01b9 202001df branch p_fcc_mode_start 
 
 p_dongle_dispose_cmd_test_freq_end:
-018a 20205e29 branch soft_reset_chip 
+01ba 20205e29 branch soft_reset_chip 
 
 p_dongle_dispose_cmd_fixed_freq:
-018b 204001a0 call p_dongle_dispose_cmd_value_judge 
-018c 20610000 rtn positive 
-018d 6fe0904b fetch 1 ,mem_fcc_ch_new 
-018e 67e09059 store 1 ,mem_fcc_ch_last_value 
-018f 68488b64 fetcht 1 ,mem_usb0_set_report_data + 3 
-0190 6048904b storet 1 ,mem_fcc_ch_new 
-0191 6fe08b65 fetch 1 ,mem_usb0_set_report_data + 4 
-0192 2040017e call p_dongle_set_report_data_clear 
-0193 c00101a4 beq command_type_modulation_send_mode ,p_dongle_dispose_cmd_modulation_send 
-0194 c00181a7 beq command_type_modulation_recv_mode ,p_dongle_dispose_cmd_modulation_recv 
-0195 c00201a9 beq command_type_non_modulation_send_mode ,p_dongle_dispose_cmd_non_modulation_send 
-0196 c00281ac beq command_type_non_modulation_recv_mode ,p_dongle_dispose_cmd_non_modulation_recv 
-0197 6fe09059 fetch 1 ,mem_fcc_ch_last_value 
-0198 67e0904b store 1 ,mem_fcc_ch_new 
-0199 20600000 rtn 
+01bb 204001d0 call p_dongle_dispose_cmd_value_judge 
+01bc 20610000 rtn positive 
+01bd 6fe0904b fetch 1 ,mem_fcc_ch_new 
+01be 67e09059 store 1 ,mem_fcc_ch_last_value 
+01bf 68488b64 fetcht 1 ,mem_usb0_set_report_data + 3 
+01c0 6048904b storet 1 ,mem_fcc_ch_new 
+01c1 6fe08b65 fetch 1 ,mem_usb0_set_report_data + 4 
+01c2 204001ae call p_dongle_set_report_data_clear 
+01c3 c00101d4 beq command_type_modulation_send_mode ,p_dongle_dispose_cmd_modulation_send 
+01c4 c00181d7 beq command_type_modulation_recv_mode ,p_dongle_dispose_cmd_modulation_recv 
+01c5 c00201d9 beq command_type_non_modulation_send_mode ,p_dongle_dispose_cmd_non_modulation_send 
+01c6 c00281dc beq command_type_non_modulation_recv_mode ,p_dongle_dispose_cmd_non_modulation_recv 
+01c7 6fe09059 fetch 1 ,mem_fcc_ch_last_value 
+01c8 67e0904b store 1 ,mem_fcc_ch_new 
+01c9 20600000 rtn 
 
 p_dongle_dispose_cmd_assign_freq:
-019a 6fe08b65 fetch 1 ,mem_usb0_set_report_data + 4 
-019b c1f80000 rtnne command_type_assign_freq_mode 
-019c 204001a0 call p_dongle_dispose_cmd_value_judge 
-019d 20610000 rtn positive 
-019e 67e0904b store 1 ,mem_fcc_ch_new 
-019f 2020017e branch p_dongle_set_report_data_clear 
+01ca 6fe08b65 fetch 1 ,mem_usb0_set_report_data + 4 
+01cb c1f80000 rtnne command_type_assign_freq_mode 
+01cc 204001d0 call p_dongle_dispose_cmd_value_judge 
+01cd 20610000 rtn positive 
+01ce 67e0904b store 1 ,mem_fcc_ch_new 
+01cf 202001ae branch p_dongle_set_report_data_clear 
 
 p_dongle_dispose_cmd_value_judge:
-01a0 6fe08b64 fetch 1 ,mem_usb0_set_report_data + 3 
-01a1 d8400050 arg 0x50 ,temp 
-01a2 98467c00 isub temp ,null 
-01a3 20600000 rtn 
+01d0 6fe08b64 fetch 1 ,mem_usb0_set_report_data + 3 
+01d1 d8400050 arg 0x50 ,temp 
+01d2 98467c00 isub temp ,null 
+01d3 20600000 rtn 
 
 p_dongle_dispose_cmd_modulation_send:
-01a4 70104f00 jam 0x00 ,mem_fcc_data_new 
-01a5 70104d01 jam 0x01 ,mem_fcc_txrx_new 
-01a6 20600000 rtn 
+01d4 70104f00 jam 0x00 ,mem_fcc_data_new 
+01d5 70104d01 jam 0x01 ,mem_fcc_txrx_new 
+01d6 20600000 rtn 
 
 p_dongle_dispose_cmd_modulation_recv:
-01a7 70104d02 jam 0x02 ,mem_fcc_txrx_new 
-01a8 20600000 rtn 
+01d7 70104d02 jam 0x02 ,mem_fcc_txrx_new 
+01d8 20600000 rtn 
 
 p_dongle_dispose_cmd_non_modulation_send:
-01a9 70104f22 jam 0x22 ,mem_fcc_data_new 
-01aa 70104d01 jam 0x01 ,mem_fcc_txrx_new 
-01ab 20600000 rtn 
+01d9 70104f22 jam 0x22 ,mem_fcc_data_new 
+01da 70104d01 jam 0x01 ,mem_fcc_txrx_new 
+01db 20600000 rtn 
 
 p_dongle_dispose_cmd_non_modulation_recv:
-01ac 70104f22 jam 0x22 ,mem_fcc_data_new 
-01ad 70104d02 jam 0x02 ,mem_fcc_txrx_new 
-01ae 20600000 rtn 
+01dc 70104f22 jam 0x22 ,mem_fcc_data_new 
+01dd 70104d02 jam 0x02 ,mem_fcc_txrx_new 
+01de 20600000 rtn 
 
 p_fcc_mode_start:
-01af 204012d3 call init_lpm_ctrl 
-01b0 580010dd setarg mem_fcc_mode_end 
-01b1 d8a0104b arg mem_fcc_mode_start ,contw 
-01b2 98a67200 isub contw ,loopcnt 
-01b3 20407d9b call clear_mem 
-01b4 204001b7 call p_pn9 
-01b5 70105019 jam 0x19 ,mem_fcc_data_length_new 
-01b6 202001ca branch p_test_tx_new_param 
+01df 204012d3 call init_lpm_ctrl 
+01e0 580010dd setarg mem_fcc_mode_end 
+01e1 d8a0104b arg mem_fcc_mode_start ,contw 
+01e2 98a67200 isub contw ,loopcnt 
+01e3 20407d9b call clear_mem 
+01e4 204001e7 call p_pn9 
+01e5 70105019 jam 0x19 ,mem_fcc_data_length_new 
+01e6 202001fa branch p_test_tx_new_param 
 
 p_pn9:
-01b7 df2003fe arg 1022 ,loopcnt 
-01b8 d8a01063 arg mem_pn9 ,contw 
-01b9 580001ff setarg 0x1ff 
-01ba 18002400 force 0 ,regb 
+01e7 df2003fe arg 1022 ,loopcnt 
+01e8 d8a01063 arg mem_pn9 ,contw 
+01e9 580001ff setarg 0x1ff 
+01ea 18002400 force 0 ,regb 
 
 p_pn9_loop:
-01bb 1fe92200 rshift3 pdata ,rega 
-01bc 1a232200 rshift rega ,rega 
-01bd 9a22a200 ixor rega ,rega 
-01be 2a2ffe00 isolate1 0 ,rega 
-01bf 7920fe09 setflag true ,9 ,pdata 
-01c0 18430400 rshift temp ,temp 
-01c1 2feffe00 isolate1 0 ,pdata 
-01c2 79208407 setflag true ,7 ,temp 
-01c3 1fe37e00 rshift pdata ,pdata 
-01c4 1a40a401 increase 1 ,regb 
-01c5 2a400e00 compare 0 ,regb ,0x7 
-01c6 242081bb nbranch p_pn9_loop ,true 
-01c7 e0408005 istoret 1 ,contw 
-01c8 c20001bb loop p_pn9_loop 
-01c9 20600000 rtn 
+01eb 1fe92200 rshift3 pdata ,rega 
+01ec 1a232200 rshift rega ,rega 
+01ed 9a22a200 ixor rega ,rega 
+01ee 2a2ffe00 isolate1 0 ,rega 
+01ef 7920fe09 setflag true ,9 ,pdata 
+01f0 18430400 rshift temp ,temp 
+01f1 2feffe00 isolate1 0 ,pdata 
+01f2 79208407 setflag true ,7 ,temp 
+01f3 1fe37e00 rshift pdata ,pdata 
+01f4 1a40a401 increase 1 ,regb 
+01f5 2a400e00 compare 0 ,regb ,0x7 
+01f6 242081eb nbranch p_pn9_loop ,true 
+01f7 e0408005 istoret 1 ,contw 
+01f8 c20001eb loop p_pn9_loop 
+01f9 20600000 rtn 
 
 p_test_tx_new_param:
-01ca 6fe3904b fetch 7 ,mem_fcc_param_new 
-01cb 67e39052 store 7 ,mem_fcc_param 
+01fa 6fe3904b fetch 7 ,mem_fcc_param_new 
+01fb 67e39052 store 7 ,mem_fcc_param 
 
 p_test_tx_or_rx:
-01cc 6fe09054 fetch 1 ,mem_fcc_txrx 
-01cd c00081d1 beq 0x01 ,p_test_tx_start 
-01ce c00101f6 beq 0x02 ,p_test_rx_start 
-01cf 20400166 call p_dongle_usb_dispatch 
-01d0 202001ca branch p_test_tx_new_param 
+01fc 6fe09054 fetch 1 ,mem_fcc_txrx 
+01fd c0008201 beq 0x01 ,p_test_tx_start 
+01fe c0010226 beq 0x02 ,p_test_rx_start 
+01ff 20400196 call p_dongle_usb_dispatch 
+0200 202001fa branch p_test_tx_new_param 
 
 p_test_tx_start:
 
 p_test_ble_tx_on:
-01d1 2040115d call set_sync_on 
-01d2 68489052 fetcht 1 ,mem_fcc_ch 
-01d3 20401201 call set_freq_tx 
-01d4 20401651 call le_enable 
-01d5 79202a00 set1 txgfsk ,radio_ctrl 
-01d6 782efc00 enable encode_fec0 
-01d7 78307c00 enable is_tx 
-01d8 7850fc00 disable is_rx 
-01d9 204016f0 call le_wait_tx 
-01da 6fe09056 fetch 1 ,mem_fcc_data 
-01db 67f0890d store 1 ,core_tx_test_mode 
-01dc c00001df beq 0x00 ,p_test_carrier_tx 
-01dd c01101ea beq 0x22 ,p_test_non_carrier_tx 
-01de 20600000 rtn 
+0201 2040115d call set_sync_on 
+0202 68489052 fetcht 1 ,mem_fcc_ch 
+0203 20401201 call set_freq_tx 
+0204 20401651 call le_enable 
+0205 79202a00 set1 txgfsk ,radio_ctrl 
+0206 782efc00 enable encode_fec0 
+0207 78307c00 enable is_tx 
+0208 7850fc00 disable is_rx 
+0209 204016f0 call le_wait_tx 
+020a 6fe09056 fetch 1 ,mem_fcc_data 
+020b 67f0890d store 1 ,core_tx_test_mode 
+020c c000020f beq 0x00 ,p_test_carrier_tx 
+020d c011021a beq 0x22 ,p_test_non_carrier_tx 
+020e 20600000 rtn 
 
 p_test_carrier_tx:
 
 p_test_tx_carrier_loop:
-01df 6f209057 fetchr loopcnt ,1 ,mem_fcc_data_length 
-01e0 d8c01063 arg mem_pn9 ,contr 
+020f 6f209057 fetchr loopcnt ,1 ,mem_fcc_data_length 
+0210 d8c01063 arg mem_pn9 ,contr 
 
 p_pnloop_carrier:
-01e1 efe08006 ifetch 1 ,contr 
-01e2 08008608 inject mod ,8 
-01e3 c20001e1 loop p_pnloop_carrier 
-01e4 20400166 call p_dongle_usb_dispatch 
-01e5 6fe39052 fetch 7 ,mem_fcc_param 
-01e6 684b904b fetcht 7 ,mem_fcc_param_new 
-01e7 98467c00 isub temp ,null 
-01e8 202281df branch p_test_tx_carrier_loop ,zero 
-01e9 202001ca branch p_test_tx_new_param 
+0211 efe08006 ifetch 1 ,contr 
+0212 08008608 inject mod ,8 
+0213 c2000211 loop p_pnloop_carrier 
+0214 20400196 call p_dongle_usb_dispatch 
+0215 6fe39052 fetch 7 ,mem_fcc_param 
+0216 684b904b fetcht 7 ,mem_fcc_param_new 
+0217 98467c00 isub temp ,null 
+0218 2022820f branch p_test_tx_carrier_loop ,zero 
+0219 202001fa branch p_test_tx_new_param 
 
 p_test_non_carrier_tx:
 
 p_tx_data:
-01ea df200035 arg 53 ,loopcnt 
-01eb d8c01063 arg mem_pn9 ,contr 
+021a df200035 arg 53 ,loopcnt 
+021b d8c01063 arg mem_pn9 ,contr 
 
 p_pnloop_stable:
-01ec efe08006 ifetch 1 ,contr 
-01ed 08008608 inject mod ,8 
-01ee c20001ec loop p_pnloop_stable 
+021c efe08006 ifetch 1 ,contr 
+021d 08008608 inject mod ,8 
+021e c200021c loop p_pnloop_stable 
 
 p_stable_stop:
-01ef 20400166 call p_dongle_usb_dispatch 
-01f0 6fe39052 fetch 7 ,mem_fcc_param 
-01f1 684b904b fetcht 7 ,mem_fcc_param_new 
-01f2 98467c00 isub temp ,null 
-01f3 202281ea branch p_tx_data ,zero 
-01f4 2040114b call shutdown_radio 
-01f5 202001ca branch p_test_tx_new_param 
+021f 20400196 call p_dongle_usb_dispatch 
+0220 6fe39052 fetch 7 ,mem_fcc_param 
+0221 684b904b fetcht 7 ,mem_fcc_param_new 
+0222 98467c00 isub temp ,null 
+0223 2022821a branch p_tx_data ,zero 
+0224 2040114b call shutdown_radio 
+0225 202001fa branch p_test_tx_new_param 
 
 p_test_rx_start:
-01f6 204001fd call p_test_ble_rx_on 
+0226 2040022d call p_test_ble_rx_on 
 
 p_test_rx_loop:
-01f7 20400166 call p_dongle_usb_dispatch 
-01f8 6fe39052 fetch 7 ,mem_fcc_param 
-01f9 684b904b fetcht 7 ,mem_fcc_param_new 
-01fa 98467c00 isub temp ,null 
-01fb 202281f7 branch p_test_rx_loop ,zero 
-01fc 202001ca branch p_test_tx_new_param 
+0227 20400196 call p_dongle_usb_dispatch 
+0228 6fe39052 fetch 7 ,mem_fcc_param 
+0229 684b904b fetcht 7 ,mem_fcc_param_new 
+022a 98467c00 isub temp ,null 
+022b 20228227 branch p_test_rx_loop ,zero 
+022c 202001fa branch p_test_tx_new_param 
 
 p_test_ble_rx_on:
-01fd 2040114b call shutdown_radio 
-01fe 68489052 fetcht 1 ,mem_fcc_ch 
-01ff 20201674 branch le_rf_rx_enable 
+022d 2040114b call shutdown_radio 
+022e 68489052 fetcht 1 ,mem_fcc_ch 
+022f 20201674 branch le_rf_rx_enable 
               org 0x800
 
 start:
Index: output/ramcode.rom
===================================================================
--- /YC1308AC/branch/mouse_project/AiTanSi_Project/1303-f-1m-dongle/USB-64K/output/ramcode.rom	(revision 3520)
+++ /YC1308AC/branch/mouse_project/AiTanSi_Project/1303-f-1m-dongle/USB-64K/output/ramcode.rom	(working copy)
@@ -1,41 +1,42 @@
 c284000b
-c0000012
-c0418026
-c042802d
-c045003b
-c0458041
-c04600a9
-c0568016
-c05d0166
-c05d8079
+c0000013
+c0418027
+c042802e
+c045003c
+c0458042
+c04600d9
+c0568017
+c05d0196
+c05d80a9
 2020137e
-c04600c4
-c04700c8
-c04980e5
-c05380be
-c07200fc
-c073004c
+c0150082
+c04600f4
+c04700f8
+c0498115
+c05380ee
+c072012c
+c073004d
 2020137e
 20800000
 20403166
 7048809e
 20200804
-58000019
+5800001a
 67e1488d
 2020369c
 6fe0c8bd
-c000001e
+c000001f
 c000b6fd
-c007809a
+c00780ca
 20600000
 2040243a
 2040243e
-2040005f
+2040008f
 2040376b
 2040249c
 204024b9
 2040372f
-2020001f
+20200020
 70890005
 20000002
 70890000
@@ -44,7 +45,7 @@
 708a8729
 20201179
 6fe0c940
-243a0036
+243a0037
 20404d05
 d8c041eb
 98c08c00
@@ -58,7 +59,7 @@
 70896108
 202011af
 6fe0c940
-243a003e
+243a003f
 20201237
 708a3953
 708a3a01
@@ -71,20 +72,22 @@
 70487a00
 7048bc1e
 20401252
-2020009e
+202000ce
 5800007d
 20206295
 6fe0c8c3
 c1808000
 2040234b
-20400051
+20400052
 202024a1
 204023fa
 20402187
 2437a3fa
 20402367
-20400057
-2020235e
+2040005a
+204023d6
+20400062
+20202360
 6fe0c7a7
 67e0c839
 20402274
@@ -93,6 +96,51 @@
 20402247
 204021f8
 202021f1
+6fe0c09a
+c1820000
+6fe0c93e
+207a0000
+70096400
+7048f55a
+20400071
+204036d0
+6fe08964
+1fe0fe01
+67e08964
+c07fde29
+6fe0c8f5
+c0ad0067
+20205e29
+df200001
+da2048f5
+d840002a
+20200075
+20400077
+20205f13
+20405f2a
+70804780
+6ff08a0b
+793ffe05
+79207e03
+67f08a0b
+20000018
+79207e04
+67f08a0b
+200001f4
+20600000
+6ff08a0b
+793ffe05
+793ffe04
+793ffe00
+67f08a0b
+20000018
+793ffe03
+67f08a0b
+200000c8
+6ff08a0a
+793ffe01
+67f08a0a
+20205f27
 6fe0c8c3
 c1000000
 6fe0c8d7
@@ -121,12 +169,12 @@
 20600000
 6fe0c8c3
 c1800000
-2040013e
-2040007e
+2040016e
+204000ae
 20203770
 20403705
-20400081
-2020008d
+204000b1
+202000bd
 6fe0c912
 207a0000
 d8e0000e
@@ -155,9 +203,9 @@
 20402493
 2040376b
 2040372f
-2020009b
+202000cb
 6fe0c8bd
-c00780a2
+c00780d2
 70494000
 20600000
 70494001
@@ -178,13 +226,13 @@
 98408400
 184fa203
 6fe0c1e9
-204000a4
+204000d4
 1fe67e00
 9a20fe00
 1fe0fff7
 1fe17fff
 2feffe08
-242080bc
+242080ec
 58000000
 67e08154
 20201293
@@ -201,29 +249,29 @@
 793f8023
 6fe08b59
 1fe17e80
-c04000ce
-c00000da
+c04000fe
+c000010a
 2020137c
 6fe08b59
 1ff1fe00
 1fe37e00
 1fe17e03
 c0007ab8
-c00080d5
+c0008105
 20207aae
 6fe08b5a
 c0017b7a
-c00080d9
+c0008109
 20207ac1
 20207b82
 6fe08b59
 1ff1fe00
 1fe37e00
 1fe17e03
-c00080e0
+c0008110
 20207ab4
 6fe08b5a
-c00480e3
+c0048113
 20207acd
 20003a98
 20207c4a
@@ -251,14 +299,14 @@
 204021ff
 202021d6
 6fe0c897
-c0550102
-c02a810c
-c011011c
-c07f8134
+c0550132
+c02a813c
+c011014c
+c07f8164
 20600000
 6fe0c898
-c0008106
-c0010109
+c0008136
+c0010139
 20600000
 6fe0c941
 247a0000
@@ -267,14 +315,14 @@
 247a0000
 2020237c
 6fe0c85e
-203a0112
+203a0142
 6fe24899
 684a40a8
 98467c00
 24628000
 6fe0c898
-c0008116
-c0010119
+c0008146
+c0010149
 20600000
 6fe0c941
 247a0000
@@ -283,32 +331,32 @@
 247a0000
 20202394
 6fe0c85e
-203a0122
+203a0152
 6fe24899
 684a48d9
 98467c00
 24628000
 6fe0c898
-c0008126
-c001012d
+c0008156
+c001015d
 20600000
 6fe0c941
 247a0000
 6fe0c882
-c001012b
+c001015b
 20600000
 70494101
 202023aa
 6fe0c942
 247a0000
 6fe0c883
-c0800132
+c0800162
 20600000
 70494201
 202023b5
 6fe0c898
-c0008138
-c001013b
+c0008168
+c001016b
 20600000
 6fe0c941
 247a0000
@@ -320,7 +368,7 @@
 c1800000
 20402485
 20402547
-20200143
+20200173
 20402429
 2437a3fa
 2040241b
@@ -336,9 +384,9 @@
 6fe0c8bd
 205a2436
 6fe0c897
-c0008156
+c0008186
 c001240e
-c07f8164
+c07f8194
 202023fa
 204023ca
 2040255c
@@ -347,7 +395,7 @@
 284ffe03
 7920fe00
 67e0c8b7
-c000815f
+c000818f
 20202407
 6fe0c941
 247a0000
@@ -355,7 +403,7 @@
 6fe2489f
 202025c4
 204023d8
-20200134
+20200164
 204079fc
 6fe08be3
 207a0000
@@ -368,18 +416,18 @@
 c0533756
 c053b758
 c054b75e
-c0580174
+c05801a4
 20203742
 6fe08b63
-c0588177
+c05881a7
 20600000
-20400181
+204001b1
 6fe08b66
-c079018b
-c079819a
-c0400187
-c040818a
-20200184
+c07901bb
+c07981ca
+c04001b7
+c04081ba
+202001b4
 684c105a
 604c0b61
 20600000
@@ -390,30 +438,30 @@
 67e18ba1
 20203748
 7048c302
-2040017e
-202001af
+204001ae
+202001df
 20205e29
-204001a0
+204001d0
 20610000
 6fe0904b
 67e09059
 68488b64
 6048904b
 6fe08b65
-2040017e
-c00101a4
-c00181a7
-c00201a9
-c00281ac
+204001ae
+c00101d4
+c00181d7
+c00201d9
+c00281dc
 6fe09059
 67e0904b
 20600000
 6fe08b65
 c1f80000
-204001a0
+204001d0
 20610000
 67e0904b
-2020017e
+202001ae
 6fe08b64
 d8400050
 98467c00
@@ -434,9 +482,9 @@
 d8a0104b
 98a67200
 20407d9b
-204001b7
+204001e7
 70105019
-202001ca
+202001fa
 df2003fe
 d8a01063
 580001ff
@@ -452,17 +500,17 @@
 1fe37e00
 1a40a401
 2a400e00
-242081bb
+242081eb
 e0408005
-c20001bb
+c20001eb
 20600000
 6fe3904b
 67e39052
 6fe09054
-c00081d1
-c00101f6
-20400166
-202001ca
+c0008201
+c0010226
+20400196
+202001fa
 2040115d
 68489052
 20401201
@@ -474,39 +522,39 @@
 204016f0
 6fe09056
 67f0890d
-c00001df
-c01101ea
+c000020f
+c011021a
 20600000
 6f209057
 d8c01063
 efe08006
 08008608
-c20001e1
-20400166
+c2000211
+20400196
 6fe39052
 684b904b
 98467c00
-202281df
-202001ca
+2022820f
+202001fa
 df200035
 d8c01063
 efe08006
 08008608
-c20001ec
-20400166
+c200021c
+20400196
 6fe39052
 684b904b
 98467c00
-202281ea
+2022821a
 2040114b
-202001ca
-204001fd
-20400166
+202001fa
+2040022d
+20400196
 6fe39052
 684b904b
 98467c00
-202281f7
-202001ca
+20228227
+202001fa
 2040114b
 68489052
 20201674
Index: output/sched.rom
===================================================================
--- /YC1308AC/branch/mouse_project/AiTanSi_Project/1303-f-1m-dongle/USB-64K/output/sched.rom	(revision 3520)
+++ /YC1308AC/branch/mouse_project/AiTanSi_Project/1303-f-1m-dongle/USB-64K/output/sched.rom	(working copy)
@@ -36,7 +36,7 @@
 00   #mem_patch22
 00   #mem_patch23
 00   #mem_patch24
-00   #mem_patch25
+04   #mem_patch25
 00   #mem_patch26
 00   #mem_patch27
 00   #mem_patch28
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/AiTanSi_Project/1303-f-1m-dongle/USB-64K/program/patch.prog	(revision 3520)
+++ /YC1308AC/branch/mouse_project/AiTanSi_Project/1303-f-1m-dongle/USB-64K/program/patch.prog	(working copy)
@@ -14,6 +14,7 @@
 	branch loop
 
 pf_patch_ext:
+	beq patch25_2,p_efuse_vdd_off
 	beq patch31_4,p_usb_init
 	beq patch31_6,p_usb_class_type
 	beq patch32_3,p_usb_tx
@@ -142,7 +143,9 @@
 	nbranch g24_rx_interrupt_clear,user3
 	call g24_bind_data_parse
 	call p_g24_bind_transmit_ack
-	branch g24_bind_data_process+5
+	call g24_bind_device_status_check
+	call p_dongle_kb_bind_soft_reset
+	branch g24_bind_data_process+7
 
 p_g24_bind_transmit_ack:
 	fetch 1,mem_24g_rxbuf
@@ -154,6 +157,63 @@
 	call g24_transmit
 	branch g24_end_of_packet
 
+p_dongle_kb_bind_soft_reset:
+	fetch 1,mem_device_option
+	rtnne dvc_op_dongle
+	fetch 1,mem_dg_kb_bind_success
+	rtn blank
+	jam 0,mem_temp
+p_dongle_wirte_efuse_bind_status:	
+	jam DONGLE_KB_BIND_SUCCESS,mem_dg_kb_bind_flag
+	call p_dongle_write_kb_bind_status
+	call dongle_read_kb_bind_status
+	fetch 1,mem_temp
+	increase 1,pdata
+	store 1,mem_temp
+	beq 0xff,soft_reset_chip
+	fetch 1,mem_dg_kb_bind_flag
+	bne DONGLE_KB_BIND_SUCCESS,p_dongle_wirte_efuse_bind_status
+	branch soft_reset_chip
+
+p_dongle_write_kb_bind_status:
+	arg 1,loopcnt
+	arg mem_dg_kb_bind_flag,rega
+	arg DONGLE_KB_BIND_EFUSE_OFFECT,temp
+	branch p_efuse_program
+
+p_efuse_program:
+	call p_efuse_vdd_fsource_on
+	branch efuse_program+1
+
+p_efuse_vdd_fsource_on:
+	call efuse_lna_pa_ldo_on
+	jam 0x80,core_efuse_ctrl
+	fetch 1,core_rf_ldo_en1
+	set0 5,pdata
+//	set1 4,pdata
+	set1 3,pdata
+	store 1,core_rf_ldo_en1
+	nop 24
+	set1 4,pdata
+	store 1,core_rf_ldo_en1
+	nop 500
+	rtn
+
+p_efuse_vdd_off:
+	fetch 1,core_rf_ldo_en1
+	set0 5,pdata
+	set0 4,pdata
+	set0 0,pdata
+	store 1,core_rf_ldo_en1
+	nop 24
+	set0 3,pdata
+	store 1,core_rf_ldo_en1
+	nop 200
+	fetch 1,core_rf_ldo_en0
+	set0 1,pdata
+	store 1,core_rf_ldo_en0
+	branch efuse_pa_vdd_recover
+	
 p_g24_mode_switch_bind_search:
 	fetch 1,mem_24g_work_mode
 	rtneq DONGLE_WORK
