Index: output/eeprom.dat
===================================================================
--- /1121s/branch/dongle/1m/usb_1m/output/eeprom.dat	(revision 4047)
+++ /1121s/branch/dongle/1m/usb_1m/output/eeprom.dat	(working copy)
@@ -2,112 +2,116 @@
 02
 aa
 55
-fe
-07
+26
+08
 c2
 84
 00
-12
+13
 c0
 00
 00
-1c
+1d
 c0
 01
 00
-22
+23
 c0
 08
 80
-2b
+2c
 c0
 0a
 01
-8e
+98
 c0
 0a
 80
-c7
+d1
 c0
 0c
 00
-d5
+df
 c0
 0c
 80
-7b
+8b
 c0
 0d
 00
-39
+48
+c0
+0e
+00
+3a
 c0
 1b
 81
-ec
+f6
 c0
 1c
 00
-9a
+a4
 c0
 1c
 80
-96
+a0
 c0
 1e
 81
-e8
+f2
 c0
 62
 80
-93
+9d
 c0
 6d
 01
-5f
+69
 c0
 6e
 01
-6f
+79
 c0
 7f
 80
-df
+e9
 20
 20
 23
 5a
 c0
 00
-00
-fc
+01
+06
 c0
 03
 01
-1b
+25
 c0
 1c
 81
-aa
+b4
 c0
 26
 81
-ae
+b8
 c0
 37
 81
-f5
+ff
 c0
 41
 01
-b0
+ba
 c0
 44
 01
-d0
+da
 c0
 45
 01
-dd
+e7
 c1
 7f
 80
@@ -175,7 +179,7 @@
 20
 20
 00
-22
+23
 70
 8a
 0f
@@ -233,6 +237,66 @@
 00
 00
 70
+8a
+20
+30
+70
+8a
+23
+dd
+20
+40
+21
+d0
+58
+00
+00
+00
+67
+e1
+06
+70
+d8
+40
+3a
+98
+6f
+e1
+06
+70
+1f
+e0
+fe
+01
+67
+e1
+06
+70
+98
+46
+7c
+00
+20
+21
+6c
+a3
+6f
+f0
+8a
+7c
+c3
+00
+00
+40
+20
+20
+22
+9a
+70
+8a
+88
+40
+70
 89
 46
 0d
@@ -259,7 +323,7 @@
 20
 40
 00
-9c
+a6
 6f
 e0
 c4
@@ -283,7 +347,7 @@
 c0
 08
 00
-70
+80
 6f
 e0
 c4
@@ -327,7 +391,7 @@
 20
 40
 00
-62
+72
 70
 80
 43
@@ -351,15 +415,15 @@
 20
 40
 01
-31
+3b
 20
 40
 01
-5c
+66
 20
 40
 00
-5c
+6c
 70
 41
 48
@@ -371,7 +435,7 @@
 20
 20
 01
-5e
+68
 20
 75
 80
@@ -403,7 +467,7 @@
 c0
 0c
 00
-68
+78
 6f
 e0
 c4
@@ -495,7 +559,7 @@
 20
 20
 00
-4e
+5e
 6f
 e0
 c1
@@ -505,21 +569,17 @@
 22
 25
 c0
-05
-00
-82
-c0
 4f
 00
-87
+91
 c0
 4f
 80
-8b
+95
 c0
 50
 00
-8f
+99
 20
 20
 22
@@ -527,26 +587,6 @@
 70
 8a
 14
-25
-58
-a9
-3f
-3f
-67
-f1
-8a
-60
-70
-8a
-63
-1f
-20
-60
-00
-00
-70
-8a
-14
 17
 58
 25
@@ -631,7 +671,7 @@
 20
 35
 80
-c3
+cd
 6f
 e2
 02
@@ -799,7 +839,7 @@
 20
 20
 00
-ad
+b7
 20
 40
 68
@@ -923,7 +963,7 @@
 c0
 00
 80
-ee
+f8
 d8
 a0
 08
@@ -954,8 +994,8 @@
 00
 20
 20
-00
-fc
+01
+06
 d8
 a0
 08
@@ -974,8 +1014,8 @@
 0c
 c0
 00
-80
-f6
+81
+00
 70
 08
 f7
@@ -1031,7 +1071,7 @@
 c0
 00
 01
-02
+0c
 20
 20
 23
@@ -1059,7 +1099,7 @@
 c0
 00
 81
-0a
+14
 c0
 01
 79
@@ -1079,7 +1119,7 @@
 c0
 04
 81
-0f
+19
 c0
 05
 fb
@@ -1099,7 +1139,7 @@
 20
 40
 00
-dc
+e6
 70
 08
 f7
@@ -1187,11 +1227,11 @@
 20
 40
 01
-29
+33
 20
 20
 01
-2d
+37
 6f
 f0
 8c
@@ -1275,7 +1315,7 @@
 20
 40
 01
-4e
+58
 2a
 2f
 fe
@@ -1307,7 +1347,7 @@
 20
 40
 01
-4e
+58
 d8
 a0
 8a
@@ -1335,7 +1375,7 @@
 20
 21
 01
-43
+4d
 20
 20
 21
@@ -1439,7 +1479,7 @@
 20
 40
 01
-87
+91
 70
 8a
 08
@@ -1475,7 +1515,7 @@
 20
 40
 01
-7d
+87
 6f
 f0
 8a
@@ -1519,7 +1559,7 @@
 20
 40
 01
-87
+91
 70
 80
 cd
@@ -1579,7 +1619,7 @@
 c3
 02
 81
-88
+92
 68
 59
 01
@@ -1615,7 +1655,7 @@
 c0
 08
 01
-a7
+b1
 58
 00
 57
@@ -1659,7 +1699,7 @@
 c0
 08
 01
-a4
+ae
 58
 00
 2b
@@ -1695,7 +1735,7 @@
 20
 20
 01
-a0
+aa
 58
 00
 83
@@ -1707,7 +1747,7 @@
 20
 20
 01
-95
+9f
 6f
 e0
 c3
@@ -1747,7 +1787,7 @@
 c0
 11
 01
-b6
+c0
 c0
 7f
 b5
@@ -1763,7 +1803,7 @@
 20
 3a
 01
-bc
+c6
 6f
 e2
 45
@@ -1787,11 +1827,11 @@
 c0
 00
 81
-c0
+ca
 c0
 01
 01
-c8
+d2
 20
 60
 00
@@ -1811,7 +1851,7 @@
 c0
 01
 01
-c5
+cf
 20
 60
 00
@@ -1843,7 +1883,7 @@
 c0
 80
 01
-cd
+d7
 20
 60
 00
@@ -1923,7 +1963,7 @@
 20
 40
 01
-e1
+eb
 20
 20
 34
@@ -1959,7 +1999,7 @@
 20
 40
 01
-ea
+f4
 20
 20
 48
@@ -2048,8 +2088,8 @@
 20
 31
 95
-0d
-20
+de
+04
 aa
 55
 40
@@ -2059,7 +2099,7 @@
 05
 00
 32
-07
+17
 00
 00
 80
@@ -2412,50 +2452,10 @@
 aa
 aa
 55
-28
+38
 4c
-7c
-d7
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+17
+19
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-2d
-f9
+a1
+4f
Index: output/flash.dat
===================================================================
--- /1121s/branch/dongle/1m/usb_1m/output/flash.dat	(revision 4047)
+++ /1121s/branch/dongle/1m/usb_1m/output/flash.dat	(working copy)
@@ -2,112 +2,116 @@
 02
 aa
 55
-fe
-07
+26
+08
 c2
 84
 00
-12
+13
 c0
 00
 00
-1c
+1d
 c0
 01
 00
-22
+23
 c0
 08
 80
-2b
+2c
 c0
 0a
 01
-8e
+98
 c0
 0a
 80
-c7
+d1
 c0
 0c
 00
-d5
+df
 c0
 0c
 80
-7b
+8b
 c0
 0d
 00
-39
+48
+c0
+0e
+00
+3a
 c0
 1b
 81
-ec
+f6
 c0
 1c
 00
-9a
+a4
 c0
 1c
 80
-96
+a0
 c0
 1e
 81
-e8
+f2
 c0
 62
 80
-93
+9d
 c0
 6d
 01
-5f
+69
 c0
 6e
 01
-6f
+79
 c0
 7f
 80
-df
+e9
 20
 20
 23
 5a
 c0
 00
-00
-fc
+01
+06
 c0
 03
 01
-1b
+25
 c0
 1c
 81
-aa
+b4
 c0
 26
 81
-ae
+b8
 c0
 37
 81
-f5
+ff
 c0
 41
 01
-b0
+ba
 c0
 44
 01
-d0
+da
 c0
 45
 01
-dd
+e7
 c1
 7f
 80
@@ -175,7 +179,7 @@
 20
 20
 00
-22
+23
 70
 8a
 0f
@@ -233,6 +237,66 @@
 00
 00
 70
+8a
+20
+30
+70
+8a
+23
+dd
+20
+40
+21
+d0
+58
+00
+00
+00
+67
+e1
+06
+70
+d8
+40
+3a
+98
+6f
+e1
+06
+70
+1f
+e0
+fe
+01
+67
+e1
+06
+70
+98
+46
+7c
+00
+20
+21
+6c
+a3
+6f
+f0
+8a
+7c
+c3
+00
+00
+40
+20
+20
+22
+9a
+70
+8a
+88
+40
+70
 89
 46
 0d
@@ -259,7 +323,7 @@
 20
 40
 00
-9c
+a6
 6f
 e0
 c4
@@ -283,7 +347,7 @@
 c0
 08
 00
-70
+80
 6f
 e0
 c4
@@ -327,7 +391,7 @@
 20
 40
 00
-62
+72
 70
 80
 43
@@ -351,15 +415,15 @@
 20
 40
 01
-31
+3b
 20
 40
 01
-5c
+66
 20
 40
 00
-5c
+6c
 70
 41
 48
@@ -371,7 +435,7 @@
 20
 20
 01
-5e
+68
 20
 75
 80
@@ -403,7 +467,7 @@
 c0
 0c
 00
-68
+78
 6f
 e0
 c4
@@ -495,7 +559,7 @@
 20
 20
 00
-4e
+5e
 6f
 e0
 c1
@@ -505,21 +569,17 @@
 22
 25
 c0
-05
-00
-82
-c0
 4f
 00
-87
+91
 c0
 4f
 80
-8b
+95
 c0
 50
 00
-8f
+99
 20
 20
 22
@@ -527,26 +587,6 @@
 70
 8a
 14
-25
-58
-a9
-3f
-3f
-67
-f1
-8a
-60
-70
-8a
-63
-1f
-20
-60
-00
-00
-70
-8a
-14
 17
 58
 25
@@ -631,7 +671,7 @@
 20
 35
 80
-c3
+cd
 6f
 e2
 02
@@ -799,7 +839,7 @@
 20
 20
 00
-ad
+b7
 20
 40
 68
@@ -923,7 +963,7 @@
 c0
 00
 80
-ee
+f8
 d8
 a0
 08
@@ -954,8 +994,8 @@
 00
 20
 20
-00
-fc
+01
+06
 d8
 a0
 08
@@ -974,8 +1014,8 @@
 0c
 c0
 00
-80
-f6
+81
+00
 70
 08
 f7
@@ -1031,7 +1071,7 @@
 c0
 00
 01
-02
+0c
 20
 20
 23
@@ -1059,7 +1099,7 @@
 c0
 00
 81
-0a
+14
 c0
 01
 79
@@ -1079,7 +1119,7 @@
 c0
 04
 81
-0f
+19
 c0
 05
 fb
@@ -1099,7 +1139,7 @@
 20
 40
 00
-dc
+e6
 70
 08
 f7
@@ -1187,11 +1227,11 @@
 20
 40
 01
-29
+33
 20
 20
 01
-2d
+37
 6f
 f0
 8c
@@ -1275,7 +1315,7 @@
 20
 40
 01
-4e
+58
 2a
 2f
 fe
@@ -1307,7 +1347,7 @@
 20
 40
 01
-4e
+58
 d8
 a0
 8a
@@ -1335,7 +1375,7 @@
 20
 21
 01
-43
+4d
 20
 20
 21
@@ -1439,7 +1479,7 @@
 20
 40
 01
-87
+91
 70
 8a
 08
@@ -1475,7 +1515,7 @@
 20
 40
 01
-7d
+87
 6f
 f0
 8a
@@ -1519,7 +1559,7 @@
 20
 40
 01
-87
+91
 70
 80
 cd
@@ -1579,7 +1619,7 @@
 c3
 02
 81
-88
+92
 68
 59
 01
@@ -1615,7 +1655,7 @@
 c0
 08
 01
-a7
+b1
 58
 00
 57
@@ -1659,7 +1699,7 @@
 c0
 08
 01
-a4
+ae
 58
 00
 2b
@@ -1695,7 +1735,7 @@
 20
 20
 01
-a0
+aa
 58
 00
 83
@@ -1707,7 +1747,7 @@
 20
 20
 01
-95
+9f
 6f
 e0
 c3
@@ -1747,7 +1787,7 @@
 c0
 11
 01
-b6
+c0
 c0
 7f
 b5
@@ -1763,7 +1803,7 @@
 20
 3a
 01
-bc
+c6
 6f
 e2
 45
@@ -1787,11 +1827,11 @@
 c0
 00
 81
-c0
+ca
 c0
 01
 01
-c8
+d2
 20
 60
 00
@@ -1811,7 +1851,7 @@
 c0
 01
 01
-c5
+cf
 20
 60
 00
@@ -1843,7 +1883,7 @@
 c0
 80
 01
-cd
+d7
 20
 60
 00
@@ -1923,7 +1963,7 @@
 20
 40
 01
-e1
+eb
 20
 20
 34
@@ -1959,7 +1999,7 @@
 20
 40
 01
-ea
+f4
 20
 20
 48
@@ -2048,8 +2088,8 @@
 20
 31
 95
-0d
-20
+de
+04
 aa
 55
 40
@@ -2059,7 +2099,7 @@
 05
 00
 32
-07
+17
 00
 00
 80
@@ -2412,50 +2452,10 @@
 aa
 aa
 55
-28
+38
 4c
-7c
-d7
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+17
+19
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-2d
-f9
+a1
+4f
Index: output/otp.dat
===================================================================
--- /1121s/branch/dongle/1m/usb_1m/output/otp.dat	(revision 4047)
+++ /1121s/branch/dongle/1m/usb_1m/output/otp.dat	(working copy)
@@ -11,112 +11,116 @@
 00
 aa
 55
-fe
-07
+26
+08
 c2
 84
 00
-12
+13
 c0
 00
 00
-1c
+1d
 c0
 01
 00
-22
+23
 c0
 08
 80
-2b
+2c
 c0
 0a
 01
-8e
+98
 c0
 0a
 80
-c7
+d1
 c0
 0c
 00
-d5
+df
 c0
 0c
 80
-7b
+8b
 c0
 0d
 00
-39
+48
+c0
+0e
+00
+3a
 c0
 1b
 81
-ec
+f6
 c0
 1c
 00
-9a
+a4
 c0
 1c
 80
-96
+a0
 c0
 1e
 81
-e8
+f2
 c0
 62
 80
-93
+9d
 c0
 6d
 01
-5f
+69
 c0
 6e
 01
-6f
+79
 c0
 7f
 80
-df
+e9
 20
 20
 23
 5a
 c0
 00
-00
-fc
+01
+06
 c0
 03
 01
-1b
+25
 c0
 1c
 81
-aa
+b4
 c0
 26
 81
-ae
+b8
 c0
 37
 81
-f5
+ff
 c0
 41
 01
-b0
+ba
 c0
 44
 01
-d0
+da
 c0
 45
 01
-dd
+e7
 c1
 7f
 80
@@ -184,7 +188,7 @@
 20
 20
 00
-22
+23
 70
 8a
 0f
@@ -242,6 +246,66 @@
 00
 00
 70
+8a
+20
+30
+70
+8a
+23
+dd
+20
+40
+21
+d0
+58
+00
+00
+00
+67
+e1
+06
+70
+d8
+40
+3a
+98
+6f
+e1
+06
+70
+1f
+e0
+fe
+01
+67
+e1
+06
+70
+98
+46
+7c
+00
+20
+21
+6c
+a3
+6f
+f0
+8a
+7c
+c3
+00
+00
+40
+20
+20
+22
+9a
+70
+8a
+88
+40
+70
 89
 46
 0d
@@ -268,7 +332,7 @@
 20
 40
 00
-9c
+a6
 6f
 e0
 c4
@@ -292,7 +356,7 @@
 c0
 08
 00
-70
+80
 6f
 e0
 c4
@@ -336,7 +400,7 @@
 20
 40
 00
-62
+72
 70
 80
 43
@@ -360,15 +424,15 @@
 20
 40
 01
-31
+3b
 20
 40
 01
-5c
+66
 20
 40
 00
-5c
+6c
 70
 41
 48
@@ -380,7 +444,7 @@
 20
 20
 01
-5e
+68
 20
 75
 80
@@ -412,7 +476,7 @@
 c0
 0c
 00
-68
+78
 6f
 e0
 c4
@@ -504,7 +568,7 @@
 20
 20
 00
-4e
+5e
 6f
 e0
 c1
@@ -514,21 +578,17 @@
 22
 25
 c0
-05
-00
-82
-c0
 4f
 00
-87
+91
 c0
 4f
 80
-8b
+95
 c0
 50
 00
-8f
+99
 20
 20
 22
@@ -536,26 +596,6 @@
 70
 8a
 14
-25
-58
-a9
-3f
-3f
-67
-f1
-8a
-60
-70
-8a
-63
-1f
-20
-60
-00
-00
-70
-8a
-14
 17
 58
 25
@@ -640,7 +680,7 @@
 20
 35
 80
-c3
+cd
 6f
 e2
 02
@@ -808,7 +848,7 @@
 20
 20
 00
-ad
+b7
 20
 40
 68
@@ -932,7 +972,7 @@
 c0
 00
 80
-ee
+f8
 d8
 a0
 08
@@ -963,8 +1003,8 @@
 00
 20
 20
-00
-fc
+01
+06
 d8
 a0
 08
@@ -983,8 +1023,8 @@
 0c
 c0
 00
-80
-f6
+81
+00
 70
 08
 f7
@@ -1040,7 +1080,7 @@
 c0
 00
 01
-02
+0c
 20
 20
 23
@@ -1068,7 +1108,7 @@
 c0
 00
 81
-0a
+14
 c0
 01
 79
@@ -1088,7 +1128,7 @@
 c0
 04
 81
-0f
+19
 c0
 05
 fb
@@ -1108,7 +1148,7 @@
 20
 40
 00
-dc
+e6
 70
 08
 f7
@@ -1196,11 +1236,11 @@
 20
 40
 01
-29
+33
 20
 20
 01
-2d
+37
 6f
 f0
 8c
@@ -1284,7 +1324,7 @@
 20
 40
 01
-4e
+58
 2a
 2f
 fe
@@ -1316,7 +1356,7 @@
 20
 40
 01
-4e
+58
 d8
 a0
 8a
@@ -1344,7 +1384,7 @@
 20
 21
 01
-43
+4d
 20
 20
 21
@@ -1448,7 +1488,7 @@
 20
 40
 01
-87
+91
 70
 8a
 08
@@ -1484,7 +1524,7 @@
 20
 40
 01
-7d
+87
 6f
 f0
 8a
@@ -1528,7 +1568,7 @@
 20
 40
 01
-87
+91
 70
 80
 cd
@@ -1588,7 +1628,7 @@
 c3
 02
 81
-88
+92
 68
 59
 01
@@ -1624,7 +1664,7 @@
 c0
 08
 01
-a7
+b1
 58
 00
 57
@@ -1668,7 +1708,7 @@
 c0
 08
 01
-a4
+ae
 58
 00
 2b
@@ -1704,7 +1744,7 @@
 20
 20
 01
-a0
+aa
 58
 00
 83
@@ -1716,7 +1756,7 @@
 20
 20
 01
-95
+9f
 6f
 e0
 c3
@@ -1756,7 +1796,7 @@
 c0
 11
 01
-b6
+c0
 c0
 7f
 b5
@@ -1772,7 +1812,7 @@
 20
 3a
 01
-bc
+c6
 6f
 e2
 45
@@ -1796,11 +1836,11 @@
 c0
 00
 81
-c0
+ca
 c0
 01
 01
-c8
+d2
 20
 60
 00
@@ -1820,7 +1860,7 @@
 c0
 01
 01
-c5
+cf
 20
 60
 00
@@ -1852,7 +1892,7 @@
 c0
 80
 01
-cd
+d7
 20
 60
 00
@@ -1932,7 +1972,7 @@
 20
 40
 01
-e1
+eb
 20
 20
 34
@@ -1968,7 +2008,7 @@
 20
 40
 01
-ea
+f4
 20
 20
 48
@@ -2057,8 +2097,8 @@
 20
 31
 95
-0d
-20
+de
+04
 aa
 55
 40
@@ -2068,7 +2108,7 @@
 05
 00
 32
-07
+17
 00
 00
 80
@@ -2421,8 +2461,8 @@
 aa
 aa
 55
-28
+38
 4c
-7c
-d7
+17
+19
 f0
Index: output/program.lis
===================================================================
--- /1121s/branch/dongle/1m/usb_1m/output/program.lis	(revision 4047)
+++ /1121s/branch/dongle/1m/usb_1m/output/program.lis	(working copy)
@@ -1,648 +1,660 @@
               include "bt_format "
               org 0x0000
-0000 c2840012 bbit1 8 ,pf_patch_ext 
-0001 c000001c beq patch00_0 ,p_soft_reset 
-0002 c0010022 beq patch00_2 ,p_main_loop 
-0003 c008802b beq patch02_1 ,p_set_sync_on 
-0004 c00a018e beq patch02_4 ,p_set_lemode 
-0005 c00a80c7 beq patch02_5 ,p_rf_rx_enable 
-0006 c00c00d5 beq patch03_0 ,p_txon 
-0007 c00c807b beq patch03_1 ,p_set_tx_power 
-0008 c00d0039 beq patch03_2 ,p_initialize_radio_cont 
-0009 c01b81ec beq patch06_7 ,p_dongle_default_init 
-000a c01c009a beq patch07_0 ,p_dongle_read_kb_bind_status 
-000b c01c8096 beq patch07_1 ,p_dongle_write_kb_bind_status 
-000c c01e81e8 beq patch07_5 ,p_dongle_usb_dispatch 
-000d c0628093 beq patch18_5 ,p_otp_read_data 
-000e c06d015f beq patch1b_2 ,p_sadc_calibration 
-000f c06e016f beq patch1b_4 ,p_enable_adc 
-0010 c07f80df beq patch1f_7 ,p_usb_rx 
-0011 2020235a branch assert 
+0000 c2840013 bbit1 8 ,pf_patch_ext 
+0001 c000001d beq patch00_0 ,p_soft_reset 
+0002 c0010023 beq patch00_2 ,p_main_loop 
+0003 c008802c beq patch02_1 ,p_set_sync_on 
+0004 c00a0198 beq patch02_4 ,p_set_lemode 
+0005 c00a80d1 beq patch02_5 ,p_rf_rx_enable 
+0006 c00c00df beq patch03_0 ,p_txon 
+0007 c00c808b beq patch03_1 ,p_set_tx_power 
+0008 c00d0048 beq patch03_2 ,p_initialize_radio_cont 
+0009 c00e003a beq patch03_4 ,p_aac_ghpc 
+000a c01b81f6 beq patch06_7 ,p_dongle_default_init 
+000b c01c00a4 beq patch07_0 ,p_dongle_read_kb_bind_status 
+000c c01c80a0 beq patch07_1 ,p_dongle_write_kb_bind_status 
+000d c01e81f2 beq patch07_5 ,p_dongle_usb_dispatch 
+000e c062809d beq patch18_5 ,p_otp_read_data 
+000f c06d0169 beq patch1b_2 ,p_sadc_calibration 
+0010 c06e0179 beq patch1b_4 ,p_enable_adc 
+0011 c07f80e9 beq patch1f_7 ,p_usb_rx 
+0012 2020235a branch assert 
 
 pf_patch_ext:
-0012 c00000fc beq patch20_0 ,p_usb_class_type 
-0013 c003011b beq patch20_6 ,p_usb_tx 
-0014 c01c81aa beq patch27_1 ,p_le_parse 
-0015 c02681ae beq patch29_5 ,p_le_init_adv 
-0016 c03781f5 beq patch2d_7 ,p_g24_receive_skip_end 
-0017 c04101b0 beq patch30_2 ,p_g24_bind_data_parse_next 
-0018 c04401d0 beq patch31_0 ,p_g24_mode_switch_bind_search 
-0019 c04501dd beq patch31_2 ,p_g24_bind_mode_auto 
-001a c17f8000 rtneq patch3f_7 
-001b 2020235a branch assert 
+0013 c0000106 beq patch20_0 ,p_usb_class_type 
+0014 c0030125 beq patch20_6 ,p_usb_tx 
+0015 c01c81b4 beq patch27_1 ,p_le_parse 
+0016 c02681b8 beq patch29_5 ,p_le_init_adv 
+0017 c03781ff beq patch2d_7 ,p_g24_receive_skip_end 
+0018 c04101ba beq patch30_2 ,p_g24_bind_data_parse_next 
+0019 c04401da beq patch31_0 ,p_g24_mode_switch_bind_search 
+001a c04501e7 beq patch31_2 ,p_g24_bind_mode_auto 
+001b c17f8000 rtneq patch3f_7 
+001c 2020235a branch assert 
 
 p_soft_reset:
-001c 20800000 clear_stack 
-001d 37d98200 until null ,lpo_edge 
-001e 6fe0c0cb fetch 1 ,mem_lpm_hv_sel 
-001f 204023e1 call lpm_write_sel_hv 
-0020 20007530 nop 30000 
-0021 20202003 branch soft_reset + 2 
+001d 20800000 clear_stack 
+001e 37d98200 until null ,lpo_edge 
+001f 6fe0c0cb fetch 1 ,mem_lpm_hv_sel 
+0020 204023e1 call lpm_write_sel_hv 
+0021 20007530 nop 30000 
+0022 20202003 branch soft_reset + 2 
 
 p_main_loop:
-0022 20407552 call sp_calc_sequence_256 
-0023 20407448 call sp_calc_sequence_256_check 
-0024 20402a45 call le_advertising_dispatch 
-0025 2040202a call idle_dispatch 
-0026 204042ad call app_process_idle 
-0027 20402018 call connection_dispatch 
-0028 2040310f call g24_dispatch 
-0029 2040248c call lpm_dispatch 
-002a 20200022 branch p_main_loop 
+0023 20407552 call sp_calc_sequence_256 
+0024 20407448 call sp_calc_sequence_256_check 
+0025 20402a45 call le_advertising_dispatch 
+0026 2040202a call idle_dispatch 
+0027 204042ad call app_process_idle 
+0028 20402018 call connection_dispatch 
+0029 2040310f call g24_dispatch 
+002a 2040248c call lpm_dispatch 
+002b 20200023 branch p_main_loop 
 
 p_set_sync_on:
-002b 708a0f60 jam 0x60 ,0x8a0f 
-002c 708a10aa jam 0xaa ,0x8a10 
-002d 708a127a jam 0x7a ,0x8a12 
-002e 708a2500 jam 0x00 ,0x8a25 
-002f 708a2600 jam 0x00 ,0x8a26 
-0030 2000003c nop 60 
-0031 708a2020 jam 0x20 ,0x8a20 
-0032 708a23f5 jam 0xf5 ,0x8a23 
-0033 708a2412 jam 0x12 ,0x8a24 
-0034 708a2410 jam 0x10 ,0x8a24 
-0035 2000003c nop 60 
-0036 708a1260 jam 0x60 ,0x8a12 
-0037 708a23dd jam 0xdd ,0x8a23 
-0038 20600000 rtn 
+002c 708a0f60 jam 0x60 ,0x8a0f 
+002d 708a10aa jam 0xaa ,0x8a10 
+002e 708a127a jam 0x7a ,0x8a12 
+002f 708a2500 jam 0x00 ,0x8a25 
+0030 708a2600 jam 0x00 ,0x8a26 
+0031 2000003c nop 60 
+0032 708a2020 jam 0x20 ,0x8a20 
+0033 708a23f5 jam 0xf5 ,0x8a23 
+0034 708a2412 jam 0x12 ,0x8a24 
+0035 708a2410 jam 0x10 ,0x8a24 
+0036 2000003c nop 60 
+0037 708a1260 jam 0x60 ,0x8a12 
+0038 708a23dd jam 0xdd ,0x8a23 
+0039 20600000 rtn 
+
+p_aac_ghpc:
+003a 708a2030 jam 0x30 ,0x8a20 
+003b 708a23dd jam 0xdd ,0x8a23 
+003c 204021d0 call calc_freq 
+003d 58000000 setarg 0 
+003e 67e10670 store 2 ,mem_pdatatemp 
+003f d8403a98 arg 15000 ,temp 
+
+p_wait_cal_done:
+0040 6fe10670 fetch 2 ,mem_pdatatemp 
+0041 1fe0fe01 increase 1 ,pdata 
+0042 67e10670 store 2 ,mem_pdatatemp 
+0043 98467c00 isub temp ,null 
+0044 20216ca3 branch soft_reset_chip ,positive 
+0045 6ff08a7c fetch 1 ,0x8a7c 
+0046 c3000040 bbit0 0 ,p_wait_cal_done 
+0047 2020229a branch wait_cal_done + 2 
 
 p_initialize_radio_cont:
-0039 7089460d jam 0x0d ,0x8946 
-003a 70896f10 jam 0x10 ,0x896f 
-003b 708a0610 jam 0x10 ,0x8a06 
-003c 708a844a jam 0x4a ,0x8a84 
-003d 708a8540 jam 0x40 ,0x8a85 
-003e 708a16fe jam 0xfe ,0x8a16 
-003f 2040009c call p_set_otp_config 
-0040 6fe0c436 fetch 1 ,mem_wdt_always_work 
-0041 205a70d7 call wdt_set_disable ,blank 
-0042 37d98200 until null ,lpo_edge 
-0043 70813b5f jam 0x5f ,0x813b 
-0044 6fe0c099 fetch 1 ,mem_fcomp_div 
-0045 c0080070 beq xtal_16m ,p_initialize_radio_16m 
-0046 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
-0047 1fe1fe04 or_into 0x04 ,pdata 
-0048 67f08a02 store 1 ,0x8a02 
-0049 70890f01 jam 0x01 ,0x890f 
-004a 708a8024 jam 0x24 ,0x8a80 
-004b 708a8162 jam 0x62 ,0x8a81 
-004c 58e61212 setarg 0xe61212 
-004d 67f18a73 store 3 ,0x8a73 
+0048 708a8840 jam 0x40 ,core_rx_cfg0 
+0049 7089460d jam 0x0d ,0x8946 
+004a 70896f10 jam 0x10 ,0x896f 
+004b 708a0610 jam 0x10 ,0x8a06 
+004c 708a844a jam 0x4a ,0x8a84 
+004d 708a8540 jam 0x40 ,0x8a85 
+004e 708a16fe jam 0xfe ,0x8a16 
+004f 204000a6 call p_set_otp_config 
+0050 6fe0c436 fetch 1 ,mem_wdt_always_work 
+0051 205a70d7 call wdt_set_disable ,blank 
+0052 37d98200 until null ,lpo_edge 
+0053 70813b5f jam 0x5f ,0x813b 
+0054 6fe0c099 fetch 1 ,mem_fcomp_div 
+0055 c0080080 beq xtal_16m ,p_initialize_radio_16m 
+0056 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+0057 1fe1fe04 or_into 0x04 ,pdata 
+0058 67f08a02 store 1 ,0x8a02 
+0059 70890f01 jam 0x01 ,0x890f 
+005a 708a8024 jam 0x24 ,0x8a80 
+005b 708a8162 jam 0x62 ,0x8a81 
+005c 58e61212 setarg 0xe61212 
+005d 67f18a73 store 3 ,0x8a73 
 
 p_initialize_radio2:
-004e 708a8660 jam 0x60 ,0x8a86 
-004f 708a8b3b jam 0x3b ,0x8a8b 
-0050 20400062 call p_dpll_on 
-0051 70804300 jam 0 ,core_config 
-0052 70804205 jam clksel_dpll ,core_clksel 
-0053 58557474 setarg 0x557474 
-0054 67f18968 store 3 ,0x8968 
-0055 7089606e jam 0x6e ,0x8960 
-0056 20400131 call p_rx_dcoc 
-0057 2040015c call p_rfpll_aac_ghpc 
-0058 2040005c call p_set_xtal_cap 
-0059 7041480c jam system_clk_12m ,mem_system_clk 
-005a 20406f4e call sadc_calibration 
-005b 2020015e branch p_dpll_ring_ibias_calc 
+005e 708a8660 jam 0x60 ,0x8a86 
+005f 708a8b3b jam 0x3b ,0x8a8b 
+0060 20400072 call p_dpll_on 
+0061 70804300 jam 0 ,core_config 
+0062 70804205 jam clksel_dpll ,core_clksel 
+0063 58557474 setarg 0x557474 
+0064 67f18968 store 3 ,0x8968 
+0065 7089606e jam 0x6e ,0x8960 
+0066 2040013b call p_rx_dcoc 
+0067 20400166 call p_rfpll_aac_ghpc 
+0068 2040006c call p_set_xtal_cap 
+0069 7041480c jam system_clk_12m ,mem_system_clk 
+006a 20406f4e call sadc_calibration 
+006b 20200168 branch p_dpll_ring_ibias_calc 
 
 p_set_xtal_cap:
-005c 20758000 rtn wake 
-005d 37d98200 until null ,lpo_edge 
-005e 6fe0c11c fetch 1 ,mem_xtal_c_sel 
-005f 67f0813a store 1 ,core_xtal_cap 
-0060 37d98200 until null ,lpo_edge 
-0061 20600000 rtn 
+006c 20758000 rtn wake 
+006d 37d98200 until null ,lpo_edge 
+006e 6fe0c11c fetch 1 ,mem_xtal_c_sel 
+006f 67f0813a store 1 ,core_xtal_cap 
+0070 37d98200 until null ,lpo_edge 
+0071 20600000 rtn 
 
 p_dpll_on:
-0062 6fe0c099 fetch 1 ,mem_fcomp_div 
-0063 c00c0068 beq xtal_24m ,p_dpll_on_24m 
-0064 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
-0065 1fe1fe06 or_into 0x06 ,pdata 
-0066 67f08a02 store 1 ,0x8a02 
-0067 708a05e0 jam 0xe0 ,0x8a05 
+0072 6fe0c099 fetch 1 ,mem_fcomp_div 
+0073 c00c0078 beq xtal_24m ,p_dpll_on_24m 
+0074 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+0075 1fe1fe06 or_into 0x06 ,pdata 
+0076 67f08a02 store 1 ,0x8a02 
+0077 708a05e0 jam 0xe0 ,0x8a05 
 
 p_dpll_on_24m:
-0068 708a00d8 jam 0xd8 ,0x8a00 
-0069 2000003c nop 60 
-006a 708a01a0 jam 0xa0 ,0x8a01 
-006b 708a00df jam 0xdf ,0x8a00 
-006c 708a01fa jam 0xfa ,0x8a01 
-006d 20000014 nop 20 
-006e 708a009f jam 0x9f ,0x8a00 
-006f 20600000 rtn 
+0078 708a00d8 jam 0xd8 ,0x8a00 
+0079 2000003c nop 60 
+007a 708a01a0 jam 0xa0 ,0x8a01 
+007b 708a00df jam 0xdf ,0x8a00 
+007c 708a01fa jam 0xfa ,0x8a01 
+007d 20000014 nop 20 
+007e 708a009f jam 0x9f ,0x8a00 
+007f 20600000 rtn 
 
 p_initialize_radio_16m:
-0070 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
-0071 1fe1fe06 or_into 0x06 ,pdata 
-0072 67f08a02 store 1 ,0x8a02 
-0073 70890f00 jam 0x00 ,0x890f 
-0074 708a8023 jam 0x23 ,0x8a80 
-0075 708a81b0 jam 0xb0 ,0x8a81 
-0076 58e40909 setarg 0xe40909 
-0077 67f18a73 store 3 ,0x8a73 
-0078 708a762a jam 0x2a ,0x8a76 
-0079 70890204 jam 0x04 ,0x8902 
-007a 2020004e branch p_initialize_radio2 
+0080 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+0081 1fe1fe06 or_into 0x06 ,pdata 
+0082 67f08a02 store 1 ,0x8a02 
+0083 70890f00 jam 0x00 ,0x890f 
+0084 708a8023 jam 0x23 ,0x8a80 
+0085 708a81b0 jam 0xb0 ,0x8a81 
+0086 58e40909 setarg 0xe40909 
+0087 67f18a73 store 3 ,0x8a73 
+0088 708a762a jam 0x2a ,0x8a76 
+0089 70890204 jam 0x04 ,0x8902 
+008a 2020005e branch p_initialize_radio2 
 
 p_set_tx_power:
-007b 6fe0c141 fetch 1 ,mem_tx_power 
-007c c0032225 beq tx_power_6db ,set_tx_power_7db 
-007d c0050082 beq tx_power_10db ,p_set_tx_power_10db 
-007e c04f0087 beq tx_power_f30db ,p_set_tx_power_f30db 
-007f c04f808b beq tx_power_f35db ,p_set_tx_power_f35db 
-0080 c050008f beq tx_power_f40db ,p_set_tx_power_f40db 
-0081 2020220e branch set_tx_power + 2 
-
-p_set_tx_power_10db:
-0082 708a1425 jam 0x25 ,0x8a14 
-0083 58a93f3f setarg 0xa93f3f 
-0084 67f18a60 store 3 ,0x8a60 
-0085 708a631f jam 0x1f ,0x8a63 
-0086 20600000 rtn 
+008b 6fe0c141 fetch 1 ,mem_tx_power 
+008c c0032225 beq tx_power_6db ,set_tx_power_7db 
+008d c04f0091 beq tx_power_f30db ,p_set_tx_power_f30db 
+008e c04f8095 beq tx_power_f35db ,p_set_tx_power_f35db 
+008f c0500099 beq tx_power_f40db ,p_set_tx_power_f40db 
+0090 2020220e branch set_tx_power + 2 
 
 p_set_tx_power_f30db:
-0087 708a1417 jam 0x17 ,0x8a14 
-0088 58250300 setarg 0x250300 
-0089 67f18a60 store 3 ,0x8a60 
-008a 2020221a branch set_tx_power_8a63_28 
+0091 708a1417 jam 0x17 ,0x8a14 
+0092 58250300 setarg 0x250300 
+0093 67f18a60 store 3 ,0x8a60 
+0094 2020221a branch set_tx_power_8a63_28 
 
 p_set_tx_power_f35db:
-008b 708a1417 jam 0x17 ,0x8a14 
-008c 58250100 setarg 0x250100 
-008d 67f18a60 store 3 ,0x8a60 
-008e 2020221a branch set_tx_power_8a63_28 
+0095 708a1417 jam 0x17 ,0x8a14 
+0096 58250100 setarg 0x250100 
+0097 67f18a60 store 3 ,0x8a60 
+0098 2020221a branch set_tx_power_8a63_28 
 
 p_set_tx_power_f40db:
-008f 708a1417 jam 0x17 ,0x8a14 
-0090 58250000 setarg 0x250000 
-0091 67f18a60 store 3 ,0x8a60 
-0092 2020221a branch set_tx_power_8a63_28 
+0099 708a1417 jam 0x17 ,0x8a14 
+009a 58250000 setarg 0x250000 
+009b 67f18a60 store 3 ,0x8a60 
+009c 2020221a branch set_tx_power_8a63_28 
 
 p_otp_read_data:
-0093 20406b3a call enable_otp_read 
-0094 20406b75 call otp_read_data + 1 
-0095 20206b38 branch otp_disable_chgpump 
+009d 20406b3a call enable_otp_read 
+009e 20406b75 call otp_read_data + 1 
+009f 20206b38 branch otp_disable_chgpump 
 
 p_dongle_write_kb_bind_status:
-0096 df200001 arg 1 ,loopcnt 
-0097 da204648 arg mem_dg_kb_bind_flag ,rega 
-0098 da401f00 arg dongle_kb_bind_otp_offect ,regb 
-0099 20206b45 branch otp_write 
+00a0 df200001 arg 1 ,loopcnt 
+00a1 da204648 arg mem_dg_kb_bind_flag ,rega 
+00a2 da401f00 arg dongle_kb_bind_otp_offect ,regb 
+00a3 20206b45 branch otp_write 
 
 p_dongle_read_kb_bind_status:
-009a da401f00 arg dongle_kb_bind_otp_offect ,regb 
-009b 202047f1 branch dongle_read_kb_bind_status + 2 
+00a4 da401f00 arg dongle_kb_bind_otp_offect ,regb 
+00a5 202047f1 branch dongle_read_kb_bind_status + 2 
 
 p_set_otp_config:
-009c 203580c3 branch p_set_otp_config_wake ,wake 
-009d 6fe2020d fetch 4 ,mem_otp_core_ldo 
-009e 207a0000 rtn blank 
-009f 37d98200 until null ,lpo_edge 
-00a0 6ff08136 fetch 1 ,0x8136 
-00a1 1fe17ef0 and pdata ,0xf0 ,pdata 
-00a2 6848820d fetcht 1 ,mem_otp_core_ldo 
-00a3 9841fe00 ior temp ,pdata 
-00a4 67f08136 store 1 ,0x8136 
-00a5 37d98200 until null ,lpo_edge 
-00a6 6ff08138 fetch 1 ,0x8138 
-00a7 1fe17e07 and pdata ,0x7 ,pdata 
-00a8 6848820e fetcht 1 ,mem_otp_verf_bg 
-00a9 18498400 lshift3 temp ,temp 
-00aa 9841fe00 ior temp ,pdata 
-00ab 67f08138 store 1 ,0x8138 
-00ac 37d98200 until null ,lpo_edge 
+00a6 203580cd branch p_set_otp_config_wake ,wake 
+00a7 6fe2020d fetch 4 ,mem_otp_core_ldo 
+00a8 207a0000 rtn blank 
+00a9 37d98200 until null ,lpo_edge 
+00aa 6ff08136 fetch 1 ,0x8136 
+00ab 1fe17ef0 and pdata ,0xf0 ,pdata 
+00ac 6848820d fetcht 1 ,mem_otp_core_ldo 
+00ad 9841fe00 ior temp ,pdata 
+00ae 67f08136 store 1 ,0x8136 
+00af 37d98200 until null ,lpo_edge 
+00b0 6ff08138 fetch 1 ,0x8138 
+00b1 1fe17e07 and pdata ,0x7 ,pdata 
+00b2 6848820e fetcht 1 ,mem_otp_verf_bg 
+00b3 18498400 lshift3 temp ,temp 
+00b4 9841fe00 ior temp ,pdata 
+00b5 67f08138 store 1 ,0x8138 
+00b6 37d98200 until null ,lpo_edge 
 
 p_set_otp_config2:
-00ad 6ff08acb fetch 1 ,0x8acb 
-00ae 1fe17ef0 and pdata ,0xf0 ,pdata 
-00af 6848820f fetcht 1 ,mem_otp_charge_pump 
-00b0 6048c15b storet 1 ,mem_otp_charge_pump_x 
-00b1 9841fe00 ior temp ,pdata 
-00b2 67f08acb store 1 ,0x8acb 
-00b3 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
-00b4 67e0c15c store 1 ,mem_otp_dpll_ibais_x 
-00b5 2feffe03 isolate1 3 ,pdata 
-00b6 6ff08a06 fetch 1 ,0x8a06 
-00b7 7920fe07 setflag true ,7 ,pdata 
-00b8 67f08a06 store 1 ,0x8a06 
-00b9 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
-00ba 1fe10407 and pdata ,7 ,temp 
-00bb 18520400 lshift4 temp ,temp 
-00bc 18438400 lshift temp ,temp 
-00bd 6048c438 storet 1 ,mem_ring_ibias_trim 
-00be 6ff08a02 fetch 1 ,0x8a02 
-00bf 1fe17e1f and pdata ,0x1f ,pdata 
-00c0 9841fe00 ior temp ,pdata 
-00c1 67f08a02 store 1 ,0x8a02 
-00c2 20600000 rtn 
+00b7 6ff08acb fetch 1 ,0x8acb 
+00b8 1fe17ef0 and pdata ,0xf0 ,pdata 
+00b9 6848820f fetcht 1 ,mem_otp_charge_pump 
+00ba 6048c15b storet 1 ,mem_otp_charge_pump_x 
+00bb 9841fe00 ior temp ,pdata 
+00bc 67f08acb store 1 ,0x8acb 
+00bd 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
+00be 67e0c15c store 1 ,mem_otp_dpll_ibais_x 
+00bf 2feffe03 isolate1 3 ,pdata 
+00c0 6ff08a06 fetch 1 ,0x8a06 
+00c1 7920fe07 setflag true ,7 ,pdata 
+00c2 67f08a06 store 1 ,0x8a06 
+00c3 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
+00c4 1fe10407 and pdata ,7 ,temp 
+00c5 18520400 lshift4 temp ,temp 
+00c6 18438400 lshift temp ,temp 
+00c7 6048c438 storet 1 ,mem_ring_ibias_trim 
+00c8 6ff08a02 fetch 1 ,0x8a02 
+00c9 1fe17e1f and pdata ,0x1f ,pdata 
+00ca 9841fe00 ior temp ,pdata 
+00cb 67f08a02 store 1 ,0x8a02 
+00cc 20600000 rtn 
 
 p_set_otp_config_wake:
-00c3 6fe1415b fetch 2 ,mem_otp_charge_pump_x 
-00c4 207a0000 rtn blank 
-00c5 67e1020f store 2 ,mem_otp_charge_pump 
-00c6 202000ad branch p_set_otp_config2 
+00cd 6fe1415b fetch 2 ,mem_otp_charge_pump_x 
+00ce 207a0000 rtn blank 
+00cf 67e1020f store 2 ,mem_otp_charge_pump 
+00d0 202000b7 branch p_set_otp_config2 
 
 p_rf_rx_enable:
-00c7 2040686f call rf_debug_rx_gpio_high 
-00c8 204021ba call rf_rx_agc_set 
-00c9 18002a08 force 8 ,radio_ctrl 
-00ca 18002a00 force 0 ,radio_ctrl 
-00cb 580aaada setarg 0x0aaada 
-00cc 67f18a0f store 3 ,0x8a0f 
-00cd 708a2540 jam 0x40 ,0x8a25 
-00ce 708a2610 jam 0x10 ,0x8a26 
-00cf 2000003c nop 60 
-00d0 708a01fb jam 0xfb ,0x8a01 
-00d1 708a25ff jam 0xff ,0x8a25 
-00d2 708a2630 jam 0x30 ,0x8a26 
-00d3 708a16fe jam 0xfe ,0x8a16 
-00d4 202021b4 branch rf_rx_enable + 14 
+00d1 2040686f call rf_debug_rx_gpio_high 
+00d2 204021ba call rf_rx_agc_set 
+00d3 18002a08 force 8 ,radio_ctrl 
+00d4 18002a00 force 0 ,radio_ctrl 
+00d5 580aaada setarg 0x0aaada 
+00d6 67f18a0f store 3 ,0x8a0f 
+00d7 708a2540 jam 0x40 ,0x8a25 
+00d8 708a2610 jam 0x10 ,0x8a26 
+00d9 2000003c nop 60 
+00da 708a01fb jam 0xfb ,0x8a01 
+00db 708a25ff jam 0xff ,0x8a25 
+00dc 708a2630 jam 0x30 ,0x8a26 
+00dd 708a16fe jam 0xfe ,0x8a16 
+00de 202021b4 branch rf_rx_enable + 14 
 
 p_txon:
-00d5 580aaa7e setarg 0x0aaa7e 
-00d6 67f18a0f store 3 ,0x8a0f 
-00d7 2000003c nop 60 
-00d8 708a2500 jam 0x00 ,0x8a25 
-00d9 708a260d jam 0x0d ,0x8a26 
-00da 708a16f6 jam 0xf6 ,0x8a16 
-00db 20202203 branch txon + 7 
+00df 580aaa7e setarg 0x0aaa7e 
+00e0 67f18a0f store 3 ,0x8a0f 
+00e1 2000003c nop 60 
+00e2 708a2500 jam 0x00 ,0x8a25 
+00e3 708a260d jam 0x0d ,0x8a26 
+00e4 708a16f6 jam 0xf6 ,0x8a16 
+00e5 20202203 branch txon + 7 
 
 p_usb_rx_data:
-00dc 6ff08c25 fetch 1 ,core_usb_txbusy 
-00dd c3830000 rtnbit1 usb_status_rxfull 
-00de 20207993 branch usb_rx_data 
+00e6 6ff08c25 fetch 1 ,core_usb_txbusy 
+00e7 c3830000 rtnbit1 usb_status_rxfull 
+00e8 20207993 branch usb_rx_data 
 
 p_usb_rx:
-00df 6fe08709 fetch 1 ,mem_usb_status 
-00e0 c4028000 rtnbit0 usb_status_rxready 
-00e1 20407989 call usb_rx_len 
-00e2 2841fe0d compare 13 ,temp ,0xff 
-00e3 2020f999 branch usb_rx_ep13 ,true 
-00e4 6fe0c696 fetch 1 ,mem_setreport_count 
-00e5 c00080ee beq 1 ,p_setreport_next_page_data 
-00e6 d8a0086d arg mem_usb_setup ,contw 
-00e7 20407994 call usb_rx_read 
+00e9 6fe08709 fetch 1 ,mem_usb_status 
+00ea c4028000 rtnbit0 usb_status_rxready 
+00eb 20407989 call usb_rx_len 
+00ec 2841fe0d compare 13 ,temp ,0xff 
+00ed 2020f999 branch usb_rx_ep13 ,true 
+00ee 6fe0c696 fetch 1 ,mem_setreport_count 
+00ef c00080f8 beq 1 ,p_setreport_next_page_data 
+00f0 d8a0086d arg mem_usb_setup ,contw 
+00f1 20407994 call usb_rx_read 
 
 p_usb_rx_next:
-00e8 6fe0870c fetch 1 ,mem_usb_read_len 
-00e9 c0007986 beq 0x00 ,usb_rx_no_data 
-00ea c000f9b6 beq 0x01 ,usb_out_one_byte 
-00eb 1fe67c07 sub pdata ,7 ,null 
-00ec 20610000 rtn positive 
-00ed 202000fc branch p_usb_class_type 
+00f2 6fe0870c fetch 1 ,mem_usb_read_len 
+00f3 c0007986 beq 0x00 ,usb_rx_no_data 
+00f4 c000f9b6 beq 0x01 ,usb_out_one_byte 
+00f5 1fe67c07 sub pdata ,7 ,null 
+00f6 20610000 rtn positive 
+00f7 20200106 branch p_usb_class_type 
 
 p_setreport_next_page_data:
-00ee d8a00875 arg mem_usb0_set_report_data ,contw 
-00ef 20407994 call usb_rx_read 
-00f0 70469600 jam 0 ,mem_setreport_count 
-00f1 6fe0870c fetch 1 ,mem_usb_read_len 
-00f2 c00080f6 beq 0x01 ,p_usb_out_one_byte 
-00f3 7008f701 jam 1 ,mem_usb0_get_set_report 
-00f4 708c1b03 jam 0x03 ,core_usb_clear_nak 
-00f5 20600000 rtn 
+00f8 d8a00875 arg mem_usb0_set_report_data ,contw 
+00f9 20407994 call usb_rx_read 
+00fa 70469600 jam 0 ,mem_setreport_count 
+00fb 6fe0870c fetch 1 ,mem_usb_read_len 
+00fc c0008100 beq 0x01 ,p_usb_out_one_byte 
+00fd 7008f701 jam 1 ,mem_usb0_get_set_report 
+00fe 708c1b03 jam 0x03 ,core_usb_clear_nak 
+00ff 20600000 rtn 
 
 p_usb_out_one_byte:
-00f6 6fe0886d fetch 1 ,mem_usb_setup 
-00f7 c3838000 rtnbit1 7 
-00f8 6fe08875 fetch 1 ,mem_usb0_set_report_data 
-00f9 20407b6a call usb_get_led_status 
-00fa 708c1b01 jam 0x1 ,core_usb_clear_nak 
-00fb 20600000 rtn 
+0100 6fe0886d fetch 1 ,mem_usb_setup 
+0101 c3838000 rtnbit1 7 
+0102 6fe08875 fetch 1 ,mem_usb0_set_report_data 
+0103 20407b6a call usb_get_led_status 
+0104 708c1b01 jam 0x1 ,core_usb_clear_nak 
+0105 20600000 rtn 
 
 p_usb_class_type:
-00fc 793f8023 set0 mark_isstr ,mark 
-00fd 6fe0886d fetch 1 ,mem_usb_setup_bmrequesttype 
-00fe 1fe17e80 and_into 0x80 ,pdata 
-00ff c04079ba beq in_device ,usb_in_device 
-0100 c0000102 beq out_device ,p_usb_out_device 
-0101 2020235a branch assert 
+0106 793f8023 set0 mark_isstr ,mark 
+0107 6fe0886d fetch 1 ,mem_usb_setup_bmrequesttype 
+0108 1fe17e80 and_into 0x80 ,pdata 
+0109 c04079ba beq in_device ,usb_in_device 
+010a c000010c beq out_device ,p_usb_out_device 
+010b 2020235a branch assert 
 
 p_usb_out_device:
-0102 6fe0886d fetch 1 ,mem_usb_setup_bmrequesttype 
-0103 1ff1fe00 rshift4 pdata ,pdata 
-0104 1fe37e00 rshift pdata ,pdata 
-0105 1fe17e03 and_into 0x03 ,pdata 
-0106 c00079d6 beq standard_req ,usb_out_standard_req 
-0107 c000810a beq class_req ,p_usb_out_class_req 
-0108 c00179e3 beq manufacturer_req ,usb_out_manufacturer_req 
-0109 2020235a branch assert 
+010c 6fe0886d fetch 1 ,mem_usb_setup_bmrequesttype 
+010d 1ff1fe00 rshift4 pdata ,pdata 
+010e 1fe37e00 rshift pdata ,pdata 
+010f 1fe17e03 and_into 0x03 ,pdata 
+0110 c00079d6 beq standard_req ,usb_out_standard_req 
+0111 c0008114 beq class_req ,p_usb_out_class_req 
+0112 c00179e3 beq manufacturer_req ,usb_out_manufacturer_req 
+0113 2020235a branch assert 
 
 p_usb_out_class_req:
-010a 6fe0886e fetch 1 ,mem_usb_setup_brequest 
-010b c0057b4b beq set_idle ,usb_set_idle 
-010c c004810f beq set_report ,p_usb_set_report 
-010d c005fb7c beq set_protocol ,usb_set_protocol_req 
-010e 202079e4 branch usb0_force_stall 
+0114 6fe0886e fetch 1 ,mem_usb_setup_brequest 
+0115 c0057b4b beq set_idle ,usb_set_idle 
+0116 c0048119 beq set_report ,p_usb_set_report 
+0117 c005fb7c beq set_protocol ,usb_set_protocol_req 
+0118 202079e4 branch usb0_force_stall 
 
 p_usb_set_report:
-010f 20003a98 nop 15000 
-0110 d8a00875 arg mem_usb0_set_report_data ,contw 
-0111 204000dc call p_usb_rx_data 
-0112 7008f701 jam 1 ,mem_usb0_get_set_report 
-0113 20407b6e call usb_set_report_resume_judge 
-0114 6fe0c696 fetch 1 ,mem_setreport_count 
-0115 1fe0fe01 pincrease 1 
-0116 67e0c696 store 1 ,mem_setreport_count 
-0117 6fe1086f fetch 2 ,mem_usb_setup_bvalue 
-0118 67e108f5 store 2 ,mem_usb_setup_bvalue_temp 
-0119 708c1b02 jam 0x2 ,core_usb_clear_nak 
-011a 20207b65 branch usb_set_report_next 
+0119 20003a98 nop 15000 
+011a d8a00875 arg mem_usb0_set_report_data ,contw 
+011b 204000e6 call p_usb_rx_data 
+011c 7008f701 jam 1 ,mem_usb0_get_set_report 
+011d 20407b6e call usb_set_report_resume_judge 
+011e 6fe0c696 fetch 1 ,mem_setreport_count 
+011f 1fe0fe01 pincrease 1 
+0120 67e0c696 store 1 ,mem_setreport_count 
+0121 6fe1086f fetch 2 ,mem_usb_setup_bvalue 
+0122 67e108f5 store 2 ,mem_usb_setup_bvalue_temp 
+0123 708c1b02 jam 0x2 ,core_usb_clear_nak 
+0124 20207b65 branch usb_set_report_next 
 
 p_usb_tx:
-011b 6fe0890d fetch 1 ,mem_usb_tx_enable 
-011c 207a0000 rtn blank 
-011d 6ff08c25 fetch 1 ,core_usb_txbusy 
-011e 1fe17e0f and_into 0x0f ,pdata 
-011f 243a7c30 nbranch usb_inwake_state_tx_dispose ,blank 
-0120 6fe0890e fetch 1 ,mem_usb_device_enumeration_endflag 
-0121 203a7c06 branch usb_tx_fifo_release ,blank 
-0122 6fe08900 fetch 1 ,mem_usb_state 
-0123 c001fc40 beq usb_sleep ,usb_windows_wakeup 
-0124 c0817c06 bne usb_connected ,usb_tx_fifo_release 
-0125 6fe08902 fetch 1 ,mem_usb_clear_remote_wakeup 
-0126 243a7c06 nbranch usb_tx_fifo_release ,blank 
-0127 20400129 call p_usb_tx_data_ep1 
-0128 2020012d branch p_usb_tx_data_ep2 
+0125 6fe0890d fetch 1 ,mem_usb_tx_enable 
+0126 207a0000 rtn blank 
+0127 6ff08c25 fetch 1 ,core_usb_txbusy 
+0128 1fe17e0f and_into 0x0f ,pdata 
+0129 243a7c30 nbranch usb_inwake_state_tx_dispose ,blank 
+012a 6fe0890e fetch 1 ,mem_usb_device_enumeration_endflag 
+012b 203a7c06 branch usb_tx_fifo_release ,blank 
+012c 6fe08900 fetch 1 ,mem_usb_state 
+012d c001fc40 beq usb_sleep ,usb_windows_wakeup 
+012e c0817c06 bne usb_connected ,usb_tx_fifo_release 
+012f 6fe08902 fetch 1 ,mem_usb_clear_remote_wakeup 
+0130 243a7c06 nbranch usb_tx_fifo_release ,blank 
+0131 20400133 call p_usb_tx_data_ep1 
+0132 20200137 branch p_usb_tx_data_ep2 
 
 p_usb_tx_data_ep1:
-0129 6ff08c25 fetch 1 ,core_usb_txbusy 
-012a 1fe17e0f and_into 0x0f ,pdata 
-012b 247a0000 nrtn blank 
-012c 20207bf0 branch usb_tx_data_ep1 + 2 
+0133 6ff08c25 fetch 1 ,core_usb_txbusy 
+0134 1fe17e0f and_into 0x0f ,pdata 
+0135 247a0000 nrtn blank 
+0136 20207bf0 branch usb_tx_data_ep1 + 2 
 
 p_usb_tx_data_ep2:
-012d 6ff08c25 fetch 1 ,core_usb_txbusy 
-012e 1fe17e0f and_into 0x0f ,pdata 
-012f 247a0000 nrtn blank 
-0130 20207bfb branch usb_tx_data_ep2 + 2 
+0137 6ff08c25 fetch 1 ,core_usb_txbusy 
+0138 1fe17e0f and_into 0x0f ,pdata 
+0139 247a0000 nrtn blank 
+013a 20207bfb branch usb_tx_data_ep2 + 2 
 
 p_rx_dcoc:
-0131 20758000 rtn wake 
-0132 20402160 call set_sync_on 
-0133 d8400027 arg 39 ,temp 
-0134 2040216f call set_freq_rx 
-0135 204021a6 call rf_rx_enable 
-0136 708a257f jam 0x7f ,0x8a25 
-0137 708a301a jam 0x1a ,0x8a30 
-0138 708a3178 jam 0x78 ,0x8a31 
-0139 708a8fb2 jam 0xb2 ,0x8a8f 
-013a 708ac200 jam 0 ,0x8ac2 
-013b 708ac300 jam 0 ,0x8ac3 
-013c d8e00006 arg 6 ,queue 
-013d 2040014e call p_rx_dcoc_avg 
-013e 2a2ffe0d isolate1 13 ,rega 
-013f 2040211d call qset_start 
-0140 2a4ffe0d isolate1 13 ,regb 
-0141 2040211e call qset_p 
-0142 d8e00005 arg 5 ,queue 
+013b 20758000 rtn wake 
+013c 20402160 call set_sync_on 
+013d d8400027 arg 39 ,temp 
+013e 2040216f call set_freq_rx 
+013f 204021a6 call rf_rx_enable 
+0140 708a257f jam 0x7f ,0x8a25 
+0141 708a301a jam 0x1a ,0x8a30 
+0142 708a3178 jam 0x78 ,0x8a31 
+0143 708a8fb2 jam 0xb2 ,0x8a8f 
+0144 708ac200 jam 0 ,0x8ac2 
+0145 708ac300 jam 0 ,0x8ac3 
+0146 d8e00006 arg 6 ,queue 
+0147 20400158 call p_rx_dcoc_avg 
+0148 2a2ffe0d isolate1 13 ,rega 
+0149 2040211d call qset_start 
+014a 2a4ffe0d isolate1 13 ,regb 
+014b 2040211e call qset_p 
+014c d8e00005 arg 5 ,queue 
 
 p_rx_dcoc_loop2:
-0143 2040211c call qset1_p 
-0144 2040211e call qset_p 
-0145 2040014e call p_rx_dcoc_avg 
-0146 d8a08ac2 arg 0x8ac2 ,contw 
-0147 1a31fe00 rshift4 rega ,pdata 
-0148 20402117 call qsetxor 
-0149 1a51fe00 rshift4 regb ,pdata 
-014a 20402117 call qsetxor 
-014b 18e08fff increase -1 ,queue 
-014c 20210143 branch p_rx_dcoc_loop2 ,positive 
-014d 2020214f branch rx_dcoc_loop2 + 10 
+014d 2040211c call qset1_p 
+014e 2040211e call qset_p 
+014f 20400158 call p_rx_dcoc_avg 
+0150 d8a08ac2 arg 0x8ac2 ,contw 
+0151 1a31fe00 rshift4 rega ,pdata 
+0152 20402117 call qsetxor 
+0153 1a51fe00 rshift4 regb ,pdata 
+0154 20402117 call qsetxor 
+0155 18e08fff increase -1 ,queue 
+0156 2021014d branch p_rx_dcoc_loop2 ,positive 
+0157 2020214f branch rx_dcoc_loop2 + 10 
 
 p_rx_dcoc_avg:
-014e 2000003c nop 60 
-014f 58000f00 setarg mem_dcoc_buf 
-0150 67f10982 store 2 ,0x8982 
-0151 58000ff0 setarg mem_dcoc_buf_end 
-0152 67f10984 store 2 ,0x8984 
-0153 70898109 jam 0x9 ,0x8981 
-0154 70898103 jam 0x3 ,0x8981 
-0155 70898006 jam 0x6 ,0x8980 
-0156 2000003c nop 60 
-0157 da200000 arg 0 ,rega 
-0158 da400000 arg 0 ,regb 
-0159 df200010 arg 16 ,loopcnt 
-015a d8c00f00 arg mem_dcoc_buf ,contr 
-015b 2020212d branch rx_dcoc_loop 
+0158 2000003c nop 60 
+0159 58000f00 setarg mem_dcoc_buf 
+015a 67f10982 store 2 ,0x8982 
+015b 58000ff0 setarg mem_dcoc_buf_end 
+015c 67f10984 store 2 ,0x8984 
+015d 70898109 jam 0x9 ,0x8981 
+015e 70898103 jam 0x3 ,0x8981 
+015f 70898006 jam 0x6 ,0x8980 
+0160 2000003c nop 60 
+0161 da200000 arg 0 ,rega 
+0162 da400000 arg 0 ,regb 
+0163 df200010 arg 16 ,loopcnt 
+0164 d8c00f00 arg mem_dcoc_buf ,contr 
+0165 2020212d branch rx_dcoc_loop 
 
 p_rfpll_aac_ghpc:
-015c 20758000 rtn wake 
-015d 20202272 branch rfpll_aac_ghpc + 1 
+0166 20758000 rtn wake 
+0167 20202272 branch rfpll_aac_ghpc + 1 
 
 p_dpll_ring_ibias_calc:
-015e 20600000 rtn 
+0168 20600000 rtn 
 
 p_sadc_calibration:
-015f 20758000 rtn wake 
-0160 708a0777 jam 0x77 ,core_gpadc_ctrl 
-0161 708a08c9 jam 0xc9 ,core_gpadc_cfg0 
-0162 708a0b01 jam 0x01 ,core_gpadc_cfg3 
-0163 6fe0c409 fetch 1 ,mem_adc_clkdiv 
-0164 67f080cd store 1 ,core_sadc_clkdiv 
-0165 20000bb8 nop 3000 
-0166 20400187 call p_sadc_read 
-0167 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
-0168 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
-0169 df200008 arg 8 ,loopcnt 
-016a 20406f58 call sadc_cal_read + 1 
-016b 6fe0c419 fetch 1 ,mem_spi_write_addr 
-016c 67e0c433 store 1 ,mem_adc_cal_c7 
-016d 6240c419 storer regb ,1 ,mem_spi_write_addr 
-016e 20600000 rtn 
+0169 20758000 rtn wake 
+016a 708a0777 jam 0x77 ,core_gpadc_ctrl 
+016b 708a08c9 jam 0xc9 ,core_gpadc_cfg0 
+016c 708a0b01 jam 0x01 ,core_gpadc_cfg3 
+016d 6fe0c409 fetch 1 ,mem_adc_clkdiv 
+016e 67f080cd store 1 ,core_sadc_clkdiv 
+016f 20000bb8 nop 3000 
+0170 20400191 call p_sadc_read 
+0171 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
+0172 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
+0173 df200008 arg 8 ,loopcnt 
+0174 20406f58 call sadc_cal_read + 1 
+0175 6fe0c419 fetch 1 ,mem_spi_write_addr 
+0176 67e0c433 store 1 ,mem_adc_cal_c7 
+0177 6240c419 storer regb ,1 ,mem_spi_write_addr 
+0178 20600000 rtn 
 
 p_enable_adc:
-016f 2040017d call p_sadc_cal_write 
-0170 6ff08a09 fetch 1 ,core_gpadc_cfg1 
-0171 793ffe07 set0 7 ,pdata 
-0172 67f08a09 store 1 ,core_gpadc_cfg1 
-0173 708a0777 jam 0x77 ,core_gpadc_ctrl 
-0174 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
-0175 708a0b01 jam 0x01 ,core_gpadc_cfg3 
-0176 20406f90 call sadc_channel 
-0177 6fe0c409 fetch 1 ,mem_adc_clkdiv 
-0178 67f080cd store 1 ,core_sadc_clkdiv 
-0179 20000bb8 nop 3000 
-017a 20400187 call p_sadc_read 
-017b 7080cd00 jam 0 ,core_sadc_clkdiv 
-017c 20206fa1 branch sadc_dma 
+0179 20400187 call p_sadc_cal_write 
+017a 6ff08a09 fetch 1 ,core_gpadc_cfg1 
+017b 793ffe07 set0 7 ,pdata 
+017c 67f08a09 store 1 ,core_gpadc_cfg1 
+017d 708a0777 jam 0x77 ,core_gpadc_ctrl 
+017e 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
+017f 708a0b01 jam 0x01 ,core_gpadc_cfg3 
+0180 20406f90 call sadc_channel 
+0181 6fe0c409 fetch 1 ,mem_adc_clkdiv 
+0182 67f080cd store 1 ,core_sadc_clkdiv 
+0183 20000bb8 nop 3000 
+0184 20400191 call p_sadc_read 
+0185 7080cd00 jam 0 ,core_sadc_clkdiv 
+0186 20206fa1 branch sadc_dma 
 
 p_sadc_cal_write:
-017d 6ff080cc fetch 1 ,core_sadc_ctrl 
-017e 79207e01 set1 1 ,pdata 
-017f 67f080cc store 1 ,core_sadc_ctrl 
-0180 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
-0181 6fe0c433 fetch 1 ,mem_adc_cal_c7 
-0182 67e0c419 store 1 ,mem_spi_write_addr 
-0183 df200008 arg 8 ,loopcnt 
-0184 20406f67 call sadc_cal_write + 4 
-0185 6240c419 storer regb ,1 ,mem_spi_write_addr 
-0186 20600000 rtn 
+0187 6ff080cc fetch 1 ,core_sadc_ctrl 
+0188 79207e01 set1 1 ,pdata 
+0189 67f080cc store 1 ,core_sadc_ctrl 
+018a 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
+018b 6fe0c433 fetch 1 ,mem_adc_cal_c7 
+018c 67e0c419 store 1 ,mem_spi_write_addr 
+018d df200008 arg 8 ,loopcnt 
+018e 20406f67 call sadc_cal_write + 4 
+018f 6240c419 storer regb ,1 ,mem_spi_write_addr 
+0190 20600000 rtn 
 
 p_sadc_read:
-0187 7080cc03 jam 0x03 ,core_sadc_ctrl 
+0191 7080cc03 jam 0x03 ,core_sadc_ctrl 
 
 p_sadc_read_wait:
-0188 6ff08129 fetch 1 ,core_perf_status 
-0189 c3028188 bbit0 saradc_done ,p_sadc_read_wait 
-018a 68590164 fetcht 2 ,core_sadc_data 
-018b 6049440a storet 2 ,mem_adc_current_value 
-018c 7080cc00 jam 0x00 ,core_sadc_ctrl 
-018d 20600000 rtn 
+0192 6ff08129 fetch 1 ,core_perf_status 
+0193 c3028192 bbit0 saradc_done ,p_sadc_read_wait 
+0194 68590164 fetcht 2 ,core_sadc_data 
+0195 6049440a storet 2 ,mem_adc_current_value 
+0196 7080cc00 jam 0x00 ,core_sadc_ctrl 
+0197 20600000 rtn 
 
 p_set_lemode:
-018e 708a8211 jam 0x11 ,0x8a82 
-018f 708a8d12 jam 0x12 ,0x8a8d 
-0190 708a8e0a jam 0x0a ,0x8a8e 
-0191 6fe0c099 fetch 1 ,mem_fcomp_div 
-0192 c00801a7 beq xtal_16m ,p_set_lemode_2m_16m 
-0193 58005762 setarg 0x5762 
-0194 67f10907 store 2 ,0x8907 
+0198 708a8211 jam 0x11 ,0x8a82 
+0199 708a8d12 jam 0x12 ,0x8a8d 
+019a 708a8e0a jam 0x0a ,0x8a8e 
+019b 6fe0c099 fetch 1 ,mem_fcomp_div 
+019c c00801b1 beq xtal_16m ,p_set_lemode_2m_16m 
+019d 58005762 setarg 0x5762 
+019e 67f10907 store 2 ,0x8907 
 
 p_set_lemode_2m:
-0195 70890103 jam 3 ,0x8901 
-0196 70893003 jam 3 ,0x8930 
-0197 c6168000 rtnmark1 mark_ble_2m 
-0198 70890101 jam 1 ,0x8901 
-0199 708a8207 jam 0x07 ,0x8a82 
-019a 708a8d44 jam 0x44 ,0x8a8d 
-019b 708a8e0a jam 0x0a ,0x8a8e 
-019c 6fe0c099 fetch 1 ,mem_fcomp_div 
-019d c00801a4 beq xtal_16m ,p_set_lemode_1m_16m 
-019e 58002bb1 setarg 0x2bb1 
-019f 67f10907 store 2 ,0x8907 
+019f 70890103 jam 3 ,0x8901 
+01a0 70893003 jam 3 ,0x8930 
+01a1 c6168000 rtnmark1 mark_ble_2m 
+01a2 70890101 jam 1 ,0x8901 
+01a3 708a8207 jam 0x07 ,0x8a82 
+01a4 708a8d44 jam 0x44 ,0x8a8d 
+01a5 708a8e0a jam 0x0a ,0x8a8e 
+01a6 6fe0c099 fetch 1 ,mem_fcomp_div 
+01a7 c00801ae beq xtal_16m ,p_set_lemode_1m_16m 
+01a8 58002bb1 setarg 0x2bb1 
+01a9 67f10907 store 2 ,0x8907 
 
 p_set_lemode_1m:
-01a0 c6978000 rtnmark0 mark_ble_lr 
-01a1 70893024 jam 0x24 ,0x8930 
-01a2 70890105 jam 5 ,0x8901 
-01a3 20600000 rtn 
+01aa c6978000 rtnmark0 mark_ble_lr 
+01ab 70893024 jam 0x24 ,0x8930 
+01ac 70890105 jam 5 ,0x8901 
+01ad 20600000 rtn 
 
 p_set_lemode_1m_16m:
-01a4 58004189 setarg 0x4189 
-01a5 67f10907 store 2 ,0x8907 
-01a6 202001a0 branch p_set_lemode_1m 
+01ae 58004189 setarg 0x4189 
+01af 67f10907 store 2 ,0x8907 
+01b0 202001aa branch p_set_lemode_1m 
 
 p_set_lemode_2m_16m:
-01a7 58008312 setarg 0x8312 
-01a8 67f10907 store 2 ,0x8907 
-01a9 20200195 branch p_set_lemode_2m 
+01b1 58008312 setarg 0x8312 
+01b2 67f10907 store 2 ,0x8907 
+01b3 2020019f branch p_set_lemode_2m 
 
 p_le_parse:
-01aa 6fe0c334 fetch 1 ,mem_le_packet_llid 
-01ab c1000000 rtneq llid_reserved 
-01ac c001b04a beq llid_le_ll ,le_parse_ll 
-01ad 202028e1 branch le_parse_l2cap 
+01b4 6fe0c334 fetch 1 ,mem_le_packet_llid 
+01b5 c1000000 rtneq llid_reserved 
+01b6 c001b04a beq llid_le_ll ,le_parse_ll 
+01b7 202028e1 branch le_parse_l2cap 
 
 p_le_init_adv:
-01ae 793f8030 set0 mark_ble_crc_fail ,mark 
-01af 20202af6 branch le_init_adv + 1 
+01b8 793f8030 set0 mark_ble_crc_fail ,mark 
+01b9 20202af6 branch le_init_adv + 1 
 
 p_g24_bind_data_parse_next:
-01b0 6fe0c5ea fetch 1 ,mem_24g_rxdata_temp + 2 
-01b1 c0553329 beq datatype_bind ,g24_bind_first_step 
-01b2 c02ab33a beq datatype_config ,g24_bind_second_step 
-01b3 c01101b6 beq datatype_ok ,p_g24_bind_third_step 
-01b4 c07fb59b beq datatype_attemp ,g24_data_attemp 
-01b5 20600000 rtn 
+01ba 6fe0c5ea fetch 1 ,mem_24g_rxdata_temp + 2 
+01bb c0553329 beq datatype_bind ,g24_bind_first_step 
+01bc c02ab33a beq datatype_config ,g24_bind_second_step 
+01bd c01101c0 beq datatype_ok ,p_g24_bind_third_step 
+01be c07fb59b beq datatype_attemp ,g24_data_attemp 
+01bf 20600000 rtn 
 
 p_g24_bind_third_step:
-01b6 6fe0c5ae fetch 1 ,mem_24g_pair_switch 
-01b7 203a01bc branch p_g24_bind_third_step_skip ,blank 
-01b8 6fe245ec fetch 4 ,mem_24g_rxdata_temp + 4 
-01b9 684a462c fetcht 4 ,mem_24g_transmitter_addr 
-01ba 98467c00 isub temp ,null 
-01bb 24628000 nrtn zero 
+01c0 6fe0c5ae fetch 1 ,mem_24g_pair_switch 
+01c1 203a01c6 branch p_g24_bind_third_step_skip ,blank 
+01c2 6fe245ec fetch 4 ,mem_24g_rxdata_temp + 4 
+01c3 684a462c fetcht 4 ,mem_24g_transmitter_addr 
+01c4 98467c00 isub temp ,null 
+01c5 24628000 nrtn zero 
 
 p_g24_bind_third_step_skip:
-01bc 6fe0c5eb fetch 1 ,mem_24g_rxdata_temp + 3 
-01bd c00081c0 beq datatype_device1 ,p_g24_bind_third_step_device1 
-01be c00101c8 beq datatype_device2 ,p_g24_bind_third_step_device2 
-01bf 20600000 rtn 
+01c6 6fe0c5eb fetch 1 ,mem_24g_rxdata_temp + 3 
+01c7 c00081ca beq datatype_device1 ,p_g24_bind_third_step_device1 
+01c8 c00101d2 beq datatype_device2 ,p_g24_bind_third_step_device2 
+01c9 20600000 rtn 
 
 p_g24_bind_third_step_device1:
-01c0 6fe0c5de fetch 1 ,mem_24g_device1_bind_disable 
-01c1 247a0000 nrtn blank 
-01c2 6fe0c5d3 fetch 1 ,mem_24g_device1_bind_step 
-01c3 c00101c5 beq 2 ,p_g24_bind_dvc1_step_success 
-01c4 20600000 rtn 
+01ca 6fe0c5de fetch 1 ,mem_24g_device1_bind_disable 
+01cb 247a0000 nrtn blank 
+01cc 6fe0c5d3 fetch 1 ,mem_24g_device1_bind_step 
+01cd c00101cf beq 2 ,p_g24_bind_dvc1_step_success 
+01ce 20600000 rtn 
 
 p_g24_bind_dvc1_step_success:
-01c5 7045de01 jam 1 ,mem_24g_device1_bind_disable 
-01c6 2040338d call g24_binding_dvc1_living 
-01c7 2020336b branch g24_bind_dvc1_step_success + 1 
+01cf 7045de01 jam 1 ,mem_24g_device1_bind_disable 
+01d0 2040338d call g24_binding_dvc1_living 
+01d1 2020336b branch g24_bind_dvc1_step_success + 1 
 
 p_g24_bind_third_step_device2:
-01c8 6fe0c5df fetch 1 ,mem_24g_device2_bind_disable 
-01c9 247a0000 nrtn blank 
-01ca 6fe0c5d4 fetch 1 ,mem_24g_device2_bind_step 
-01cb c08001cd bne 0 ,p_g24_bind_dvc2_step_success 
-01cc 20600000 rtn 
+01d2 6fe0c5df fetch 1 ,mem_24g_device2_bind_disable 
+01d3 247a0000 nrtn blank 
+01d4 6fe0c5d4 fetch 1 ,mem_24g_device2_bind_step 
+01d5 c08001d7 bne 0 ,p_g24_bind_dvc2_step_success 
+01d6 20600000 rtn 
 
 p_g24_bind_dvc2_step_success:
-01cd 7045df01 jam 1 ,mem_24g_device2_bind_disable 
-01ce 20403393 call g24_binding_dvc2_living 
-01cf 20203378 branch g24_bind_dvc2_step_success + 1 
+01d7 7045df01 jam 1 ,mem_24g_device2_bind_disable 
+01d8 20403393 call g24_binding_dvc2_living 
+01d9 20203378 branch g24_bind_dvc2_step_success + 1 
 
 p_g24_mode_switch_bind_search:
-01d0 6fe0c616 fetch 1 ,mem_24g_work_mode 
-01d1 c1000000 rtneq dongle_work 
-01d2 6fe0c62a fetch 1 ,mem_24g_b_s_mode_switch_disable 
-01d3 247a0000 nrtn blank 
-01d4 6fe0c628 fetch 1 ,mem_24g_mode_b_s_switch_exit 
-01d5 247a0000 nrtn blank 
-01d6 6fe0c624 fetch 1 ,mem_24g_mode_b_s_switch 
-01d7 207a0000 rtn blank 
-01d8 6fe0c5d3 fetch 1 ,mem_24g_device1_bind_step 
-01d9 c1800000 rtnne 0 
-01da 6fe0c5d4 fetch 1 ,mem_24g_device2_bind_step 
-01db c1800000 rtnne 0 
-01dc 20203436 branch g24_mode_switch_bind_search + 9 
+01da 6fe0c616 fetch 1 ,mem_24g_work_mode 
+01db c1000000 rtneq dongle_work 
+01dc 6fe0c62a fetch 1 ,mem_24g_b_s_mode_switch_disable 
+01dd 247a0000 nrtn blank 
+01de 6fe0c628 fetch 1 ,mem_24g_mode_b_s_switch_exit 
+01df 247a0000 nrtn blank 
+01e0 6fe0c624 fetch 1 ,mem_24g_mode_b_s_switch 
+01e1 207a0000 rtn blank 
+01e2 6fe0c5d3 fetch 1 ,mem_24g_device1_bind_step 
+01e3 c1800000 rtnne 0 
+01e4 6fe0c5d4 fetch 1 ,mem_24g_device2_bind_step 
+01e5 c1800000 rtnne 0 
+01e6 20203436 branch g24_mode_switch_bind_search + 9 
 
 p_g24_bind_mode_auto:
-01dd 6fe0c616 fetch 1 ,mem_24g_work_mode 
-01de c1808000 rtnne dongle_bind 
-01df 204001e1 call p_g24_bind_init 
-01e0 2020346d branch g24_bind_mode_auto + 4 
+01e7 6fe0c616 fetch 1 ,mem_24g_work_mode 
+01e8 c1808000 rtnne dongle_bind 
+01e9 204001eb call p_g24_bind_init 
+01ea 2020346d branch g24_bind_mode_auto + 4 
 
 p_g24_bind_init:
-01e1 6fe0c615 fetch 1 ,mem_24g_mode_init 
-01e2 c3808000 rtnbit1 dongle_bind 
-01e3 79207e01 set1 dongle_bind ,pdata 
-01e4 67e0c615 store 1 ,mem_24g_mode_init 
-01e5 58000000 setarg 0 
-01e6 67e1c5d3 store 3 ,mem_24g_device1_bind_step 
-01e7 20203307 branch g24_bind_init + 8 
+01eb 6fe0c615 fetch 1 ,mem_24g_mode_init 
+01ec c3808000 rtnbit1 dongle_bind 
+01ed 79207e01 set1 dongle_bind ,pdata 
+01ee 67e0c615 store 1 ,mem_24g_mode_init 
+01ef 58000000 setarg 0 
+01f0 67e1c5d3 store 3 ,mem_24g_device1_bind_step 
+01f1 20203307 branch g24_bind_init + 8 
 
 p_dongle_usb_dispatch:
-01e8 204001ea call p_wdt_kick 
-01e9 20204868 branch dongle_usb_dispatch + 1 
+01f2 204001f4 call p_wdt_kick 
+01f3 20204868 branch dongle_usb_dispatch + 1 
 
 p_wdt_kick:
-01ea 58000010 setarg 16 
-01eb 202070c8 branch wdt_init_config 
+01f4 58000010 setarg 16 
+01f5 202070c8 branch wdt_init_config 
 
 p_dongle_default_init:
-01ec 204047c3 call dongle_default_init + 1 
-01ed 6fe0c695 fetch 1 ,mem_24g_pair_tx_power_init 
-01ee 67e0c5d1 store 1 ,mem_24g_pair_tx_power 
-01ef 7045ca00 jam off ,mem_24g_disable_fec1 
-01f0 20403281 call g24_enable_1m 
-01f1 6fe0c669 fetch 1 ,mem_dg_sys_config 
-01f2 c4000000 rtnbit0 dg_enable_new_revision 
-01f3 7045ca01 jam on ,mem_24g_disable_fec1 
-01f4 20203284 branch g24_enable_2m 
+01f6 204047c3 call dongle_default_init + 1 
+01f7 6fe0c695 fetch 1 ,mem_24g_pair_tx_power_init 
+01f8 67e0c5d1 store 1 ,mem_24g_pair_tx_power 
+01f9 7045ca00 jam off ,mem_24g_disable_fec1 
+01fa 20403281 call g24_enable_1m 
+01fb 6fe0c669 fetch 1 ,mem_dg_sys_config 
+01fc c4000000 rtnbit0 dg_enable_new_revision 
+01fd 7045ca01 jam on ,mem_24g_disable_fec1 
+01fe 20203284 branch g24_enable_2m 
 
 p_g24_receive_skip_end:
-01f5 6fe0c669 fetch 1 ,mem_dg_sys_config 
-01f6 c3003165 bbit0 dg_enable_new_revision ,g24_receive_skip_end + 1 
-01f7 7837fc00 enable user3 
-01f8 20000018 nop 24 
-01f9 6fe0c4f8 fetch 1 ,mem_24g_rxbuf + 1 
-01fa 79207e00 set1 bit_ack_24g ,pdata 
-01fb 67e0c4f8 store 1 ,mem_24g_rxbuf + 1 
-01fc 204033a5 call g24_ackpayload_prep 
-01fd 204031e5 call g24_transmit_prep 
-01fe 20203195 branch g24_transmit 
+01ff 6fe0c669 fetch 1 ,mem_dg_sys_config 
+0200 c3003165 bbit0 dg_enable_new_revision ,g24_receive_skip_end + 1 
+0201 7837fc00 enable user3 
+0202 20000018 nop 24 
+0203 6fe0c4f8 fetch 1 ,mem_24g_rxbuf + 1 
+0204 79207e00 set1 bit_ack_24g ,pdata 
+0205 67e0c4f8 store 1 ,mem_24g_rxbuf + 1 
+0206 204033a5 call g24_ackpayload_prep 
+0207 204031e5 call g24_transmit_prep 
+0208 20203195 branch g24_transmit 
               org 0x2000
 
 start:
Index: output/ramcode.rom
===================================================================
--- /1121s/branch/dongle/1m/usb_1m/output/ramcode.rom	(revision 4047)
+++ /1121s/branch/dongle/1m/usb_1m/output/ramcode.rom	(working copy)
@@ -1,29 +1,30 @@
-c2840012
-c000001c
-c0010022
-c008802b
-c00a018e
-c00a80c7
-c00c00d5
-c00c807b
-c00d0039
-c01b81ec
-c01c009a
-c01c8096
-c01e81e8
-c0628093
-c06d015f
-c06e016f
-c07f80df
+c2840013
+c000001d
+c0010023
+c008802c
+c00a0198
+c00a80d1
+c00c00df
+c00c808b
+c00d0048
+c00e003a
+c01b81f6
+c01c00a4
+c01c80a0
+c01e81f2
+c062809d
+c06d0169
+c06e0179
+c07f80e9
 2020235a
-c00000fc
-c003011b
-c01c81aa
-c02681ae
-c03781f5
-c04101b0
-c04401d0
-c04501dd
+c0000106
+c0030125
+c01c81b4
+c02681b8
+c03781ff
+c04101ba
+c04401da
+c04501e7
 c17f8000
 2020235a
 20800000
@@ -40,7 +41,7 @@
 20402018
 2040310f
 2040248c
-20200022
+20200023
 708a0f60
 708a10aa
 708a127a
@@ -55,19 +56,34 @@
 708a1260
 708a23dd
 20600000
+708a2030
+708a23dd
+204021d0
+58000000
+67e10670
+d8403a98
+6fe10670
+1fe0fe01
+67e10670
+98467c00
+20216ca3
+6ff08a7c
+c3000040
+2020229a
+708a8840
 7089460d
 70896f10
 708a0610
 708a844a
 708a8540
 708a16fe
-2040009c
+204000a6
 6fe0c436
 205a70d7
 37d98200
 70813b5f
 6fe0c099
-c0080070
+c0080080
 6fe0c438
 1fe1fe04
 67f08a02
@@ -78,18 +94,18 @@
 67f18a73
 708a8660
 708a8b3b
-20400062
+20400072
 70804300
 70804205
 58557474
 67f18968
 7089606e
-20400131
-2040015c
-2040005c
+2040013b
+20400166
+2040006c
 7041480c
 20406f4e
-2020015e
+20200168
 20758000
 37d98200
 6fe0c11c
@@ -97,7 +113,7 @@
 37d98200
 20600000
 6fe0c099
-c00c0068
+c00c0078
 6fe0c438
 1fe1fe06
 67f08a02
@@ -120,19 +136,13 @@
 67f18a73
 708a762a
 70890204
-2020004e
+2020005e
 6fe0c141
 c0032225
-c0050082
-c04f0087
-c04f808b
-c050008f
+c04f0091
+c04f8095
+c0500099
 2020220e
-708a1425
-58a93f3f
-67f18a60
-708a631f
-20600000
 708a1417
 58250300
 67f18a60
@@ -154,7 +164,7 @@
 20206b45
 da401f00
 202047f1
-203580c3
+203580cd
 6fe2020d
 207a0000
 37d98200
@@ -196,7 +206,7 @@
 6fe1415b
 207a0000
 67e1020f
-202000ad
+202000b7
 2040686f
 204021ba
 18002a08
@@ -227,7 +237,7 @@
 2841fe0d
 2020f999
 6fe0c696
-c00080ee
+c00080f8
 d8a0086d
 20407994
 6fe0870c
@@ -235,12 +245,12 @@
 c000f9b6
 1fe67c07
 20610000
-202000fc
+20200106
 d8a00875
 20407994
 70469600
 6fe0870c
-c00080f6
+c0008100
 7008f701
 708c1b03
 20600000
@@ -254,24 +264,24 @@
 6fe0886d
 1fe17e80
 c04079ba
-c0000102
+c000010c
 2020235a
 6fe0886d
 1ff1fe00
 1fe37e00
 1fe17e03
 c00079d6
-c000810a
+c0008114
 c00179e3
 2020235a
 6fe0886e
 c0057b4b
-c004810f
+c0048119
 c005fb7c
 202079e4
 20003a98
 d8a00875
-204000dc
+204000e6
 7008f701
 20407b6e
 6fe0c696
@@ -293,8 +303,8 @@
 c0817c06
 6fe08902
 243a7c06
-20400129
-2020012d
+20400133
+20200137
 6ff08c25
 1fe17e0f
 247a0000
@@ -315,7 +325,7 @@
 708ac200
 708ac300
 d8e00006
-2040014e
+20400158
 2a2ffe0d
 2040211d
 2a4ffe0d
@@ -323,14 +333,14 @@
 d8e00005
 2040211c
 2040211e
-2040014e
+20400158
 d8a08ac2
 1a31fe00
 20402117
 1a51fe00
 20402117
 18e08fff
-20210143
+2021014d
 2020214f
 2000003c
 58000f00
@@ -356,7 +366,7 @@
 6fe0c409
 67f080cd
 20000bb8
-20400187
+20400191
 708a08c1
 6a40c419
 df200008
@@ -365,7 +375,7 @@
 67e0c433
 6240c419
 20600000
-2040017d
+20400187
 6ff08a09
 793ffe07
 67f08a09
@@ -376,7 +386,7 @@
 6fe0c409
 67f080cd
 20000bb8
-20400187
+20400191
 7080cd00
 20206fa1
 6ff080cc
@@ -391,7 +401,7 @@
 20600000
 7080cc03
 6ff08129
-c3028188
+c3028192
 68590164
 6049440a
 7080cc00
@@ -400,7 +410,7 @@
 708a8d12
 708a8e0a
 6fe0c099
-c00801a7
+c00801b1
 58005762
 67f10907
 70890103
@@ -411,7 +421,7 @@
 708a8d44
 708a8e0a
 6fe0c099
-c00801a4
+c00801ae
 58002bb1
 67f10907
 c6978000
@@ -420,10 +430,10 @@
 20600000
 58004189
 67f10907
-202001a0
+202001aa
 58008312
 67f10907
-20200195
+2020019f
 6fe0c334
 c1000000
 c001b04a
@@ -433,23 +443,23 @@
 6fe0c5ea
 c0553329
 c02ab33a
-c01101b6
+c01101c0
 c07fb59b
 20600000
 6fe0c5ae
-203a01bc
+203a01c6
 6fe245ec
 684a462c
 98467c00
 24628000
 6fe0c5eb
-c00081c0
-c00101c8
+c00081ca
+c00101d2
 20600000
 6fe0c5de
 247a0000
 6fe0c5d3
-c00101c5
+c00101cf
 20600000
 7045de01
 2040338d
@@ -457,7 +467,7 @@
 6fe0c5df
 247a0000
 6fe0c5d4
-c08001cd
+c08001d7
 20600000
 7045df01
 20403393
@@ -477,7 +487,7 @@
 20203436
 6fe0c616
 c1808000
-204001e1
+204001eb
 2020346d
 6fe0c615
 c3808000
@@ -486,7 +496,7 @@
 58000000
 67e1c5d3
 20203307
-204001ea
+204001f4
 20204868
 58000010
 202070c8
Index: output/sched.rom
===================================================================
--- /1121s/branch/dongle/1m/usb_1m/output/sched.rom	(revision 4047)
+++ /1121s/branch/dongle/1m/usb_1m/output/sched.rom	(working copy)
@@ -2,7 +2,7 @@
 05   #mem_patch00
 00   #mem_patch01
 32   #mem_patch02
-07   #mem_patch03
+17   #mem_patch03
 00   #mem_patch04
 00   #mem_patch05
 80   #mem_patch06
Index: program/patch.prog
===================================================================
--- /1121s/branch/dongle/1m/usb_1m/program/patch.prog	(revision 4047)
+++ /1121s/branch/dongle/1m/usb_1m/program/patch.prog	(working copy)
@@ -4,15 +4,13 @@
 	bbit1 8,pf_patch_ext
 	beq patch00_0,p_soft_reset
 	beq patch00_2,p_main_loop
-	//beq patch01_7,p_rx_dcoc
 	beq patch02_1,p_set_sync_on
 	beq patch02_4,p_set_lemode
 	beq patch02_5,p_rf_rx_enable
 	beq patch03_0,p_txon
 	beq patch03_1,p_set_tx_power
 	beq patch03_2,p_initialize_radio_cont
-	//beq patch03_3,p_rfpll_aac_ghpc
-	//beq patch03_5,p_dpll_ring_ibias_calc
+	beq patch03_4,p_aac_ghpc
 	beq patch06_7,p_dongle_default_init
 	beq patch07_0,p_dongle_read_kb_bind_status
 	beq patch07_1,p_dongle_write_kb_bind_status
@@ -73,7 +71,25 @@
 	jam 0xdd,0x8a23 
 	rtn
 
+p_aac_ghpc:
+	jam 0x30,0x8a20
+	jam 0xdd,0x8a23
+	call calc_freq
+	setarg 0
+	store 2,mem_pdatatemp
+	arg 15000,temp
+p_wait_cal_done:
+	fetch 2,mem_pdatatemp
+	increase 1,pdata
+	store 2,mem_pdatatemp
+	isub temp,null
+	branch soft_reset_chip,positive
+	fetch 1,0x8a7c
+	bbit0 0,p_wait_cal_done
+	branch wait_cal_done+2
+
 p_initialize_radio_cont:
+	jam 0x40,core_rx_cfg0
 	jam 0x0d,0x8946
 	jam 0x10,0x896f
 	
@@ -155,18 +171,11 @@
 p_set_tx_power:
 	fetch 1,mem_tx_power
 	beq TX_POWER_6DB,set_tx_power_7db
-	beq TX_POWER_10DB,p_set_tx_power_10db
 	beq TX_POWER_F30DB,p_set_tx_power_f30db
 	beq TX_POWER_F35DB,p_set_tx_power_f35db
 	beq TX_POWER_F40DB,p_set_tx_power_f40db
 	branch set_tx_power+2
 
-p_set_tx_power_10db:
-	jam 0x25,0x8a14 
-	setarg 0xa93f3f
-	store 3,0x8a60
-	jam 0x1f,0x8a63 
-	rtn
 
 p_set_tx_power_f30db:
 	jam 0x17,0x8a14 
