Index: format/app_dongle.format
===================================================================
--- /1121s/branch/dongle/1m/usb_1m/format/app_dongle.format	(revision 5814)
+++ /1121s/branch/dongle/1m/usb_1m/format/app_dongle.format	(working copy)
@@ -31,6 +31,8 @@
 1 mem_dg_24g_tx_power_default
 1 mem_24g_pair_tx_power_init
 1 mem_setreport_count
+
+1 mem_usb_enum_get_report_flag
 )
 
 
Index: format/bt.format
===================================================================
--- /1121s/branch/dongle/1m/usb_1m/format/bt.format	(revision 5814)
+++ /1121s/branch/dongle/1m/usb_1m/format/bt.format	(working copy)
@@ -577,6 +577,7 @@
 
 1 USB_TIMER_NAK
 15 USB_TIMER_WAKEUP
+6 USB_TIMER_100MS
 )
 
 (
Index: format/usb.format
===================================================================
--- /1121s/branch/dongle/1m/usb_1m/format/usb.format	(revision 5814)
+++ /1121s/branch/dongle/1m/usb_1m/format/usb.format	(working copy)
@@ -183,6 +183,7 @@
 3 USB_SLEEP
 4 USB_RESUME
 5 USB_SETIDLE_1
+6 USB_GOT_REPORT_START
 )
 
 (
Index: output/eeprom.dat
===================================================================
--- /1121s/branch/dongle/1m/usb_1m/output/eeprom.dat	(revision 5814)
+++ /1121s/branch/dongle/1m/usb_1m/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-06
+b2
 09
 c2
 84
@@ -11,75 +11,75 @@
 c0
 00
 00
-1f
+21
 c0
 01
 00
-56
+58
 c0
 08
 80
-5f
+61
 c0
 0a
 01
-d0
+fb
 c0
 0a
 81
-09
+0b
 c0
 0c
 01
-17
+19
 c0
 0c
 80
-c3
+c5
 c0
 0d
 00
-7e
+80
 c0
 0e
 00
-6d
+6f
 c0
 1b
 82
-2e
+59
 c0
 1c
 00
-dc
+de
 c0
 1c
 80
-d8
+da
 c0
 1e
 82
-2a
+55
 c0
 62
 80
-d5
+d7
 c0
 6d
 01
-a1
+cc
 c0
 6e
 01
-b1
+dc
 c0
 7e
 80
-25
+27
 c0
 7f
 81
-21
+23
 20
 20
 23
@@ -87,39 +87,47 @@
 c0
 00
 01
-3e
+40
+c0
+01
+01
+78
+c0
+01
+81
+5f
 c0
 03
 01
-5d
+88
 c0
 1c
-81
-ec
+82
+17
 c0
 26
-81
-f0
+82
+1b
 c0
 37
 82
-37
+62
 c0
 41
-01
-f2
+02
+1d
 c0
 44
 02
-12
+3d
 c0
 45
 02
-1f
+4a
 c0
 45
 80
-37
+39
 c1
 7f
 80
@@ -195,7 +203,7 @@
 20
 40
 00
-31
+33
 20
 20
 79
@@ -207,19 +215,19 @@
 c2
 80
 00
-31
+33
 c2
 80
 80
-31
+33
 c2
 81
 00
-31
+33
 c2
 81
 80
-31
+33
 20
 60
 00
@@ -383,7 +391,7 @@
 20
 20
 00
-56
+58
 70
 8a
 0f
@@ -491,7 +499,7 @@
 c3
 00
 00
-73
+75
 20
 20
 22
@@ -543,7 +551,7 @@
 20
 40
 00
-de
+e0
 6f
 e0
 c4
@@ -555,7 +563,7 @@
 24
 55
 80
-7b
+7d
 37
 d9
 82
@@ -571,7 +579,7 @@
 c0
 08
 00
-b8
+ba
 6f
 e0
 c4
@@ -615,7 +623,7 @@
 20
 40
 00
-aa
+ac
 70
 80
 43
@@ -639,15 +647,15 @@
 20
 40
 01
-73
+9e
 20
 40
 01
-9e
+c9
 20
 40
 00
-a4
+a6
 70
 41
 48
@@ -659,7 +667,7 @@
 20
 20
 01
-a0
+cb
 20
 75
 80
@@ -691,7 +699,7 @@
 c0
 0c
 00
-b0
+b2
 6f
 e0
 c4
@@ -783,7 +791,7 @@
 20
 20
 00
-96
+98
 6f
 e0
 c1
@@ -795,15 +803,15 @@
 c0
 4f
 00
-c9
+cb
 c0
 4f
 80
-cd
+cf
 c0
 50
 00
-d1
+d3
 20
 20
 22
@@ -895,7 +903,7 @@
 20
 35
 81
-05
+07
 6f
 e2
 02
@@ -1063,7 +1071,7 @@
 20
 20
 00
-ef
+f1
 20
 40
 68
@@ -1187,7 +1195,7 @@
 c0
 00
 81
-30
+32
 d8
 a0
 08
@@ -1219,7 +1227,7 @@
 20
 20
 01
-3e
+40
 d8
 a0
 08
@@ -1239,7 +1247,7 @@
 c0
 00
 81
-38
+3a
 70
 08
 f7
@@ -1295,7 +1303,7 @@
 c0
 00
 01
-44
+46
 20
 20
 23
@@ -1323,7 +1331,7 @@
 c0
 00
 81
-4c
+4e
 c0
 01
 79
@@ -1343,11 +1351,11 @@
 c0
 04
 81
-51
+53
 c0
 05
-fb
-7c
+81
+6b
 20
 20
 79
@@ -1363,7 +1371,7 @@
 20
 40
 01
-1e
+20
 70
 08
 f7
@@ -1393,13 +1401,177 @@
 08
 f5
 70
-8c
-1b
-02
+8c
+1b
+02
+20
+20
+7b
+65
+70
+08
+fb
+01
+6f
+e0
+88
+70
+67
+e0
+88
+fc
+6f
+e0
+88
+71
+1f
+e6
+7c
+01
+20
+42
+81
+66
+20
+20
+7b
+52
+6f
+e0
+c6
+97
+20
+3a
+7b
+59
+6f
+e0
+89
+02
+24
+3a
+7b
+59
+20
+60
+00
+00
+6f
+e0
+88
+73
+c0
+80
+79
+e4
+6f
+e0
+88
+6f
+c0
+00
+7b
+82
+c0
+00
+81
+71
+20
+20
+79
+e4
+70
+08
+fa
+01
+70
+08
+fe
+01
+70
+08
+ff
+00
+6f
+e0
+88
+71
+1f
+e6
+7c
+01
+20
+42
+f9
+84
+20
+20
+79
+e9
+6f
+e0
+88
+70
+c0
+00
+81
+7c
+c0
+11
+01
+7e
+20
+20
+7a
+03
+70
+46
+97
+00
+20
+20
+7a
+14
+6f
+e1
+08
+71
+c0
+00
+81
+83
+70
+46
+97
+01
+6a
+21
+07
+a7
+20
+20
+7b
+89
+6f
+e0
+88
+fa
+20
+5a
+79
+84
+70
+09
+00
+01
+6a
+21
+07
+a9
 20
 20
 7b
-65
+89
 6f
 e0
 89
@@ -1451,11 +1623,11 @@
 20
 40
 01
-6b
+96
 20
 20
 01
-6f
+9a
 6f
 f0
 8c
@@ -1539,7 +1711,7 @@
 20
 40
 01
-90
+bb
 2a
 2f
 fe
@@ -1571,7 +1743,7 @@
 20
 40
 01
-90
+bb
 d8
 a0
 8a
@@ -1599,7 +1771,7 @@
 20
 21
 01
-85
+b0
 20
 20
 21
@@ -1703,7 +1875,7 @@
 20
 40
 01
-c9
+f4
 70
 8a
 08
@@ -1739,7 +1911,7 @@
 20
 40
 01
-bf
+ea
 6f
 f0
 8a
@@ -1783,7 +1955,7 @@
 20
 40
 01
-c9
+f4
 70
 80
 cd
@@ -1843,7 +2015,7 @@
 c3
 02
 81
-ca
+f5
 68
 59
 01
@@ -1878,8 +2050,8 @@
 99
 c0
 08
-01
-e9
+02
+14
 58
 00
 57
@@ -1922,8 +2094,8 @@
 99
 c0
 08
-01
-e6
+02
+11
 58
 00
 2b
@@ -1958,8 +2130,8 @@
 07
 20
 20
-01
-e2
+02
+0d
 58
 00
 83
@@ -1970,8 +2142,8 @@
 07
 20
 20
-01
-d7
+02
+02
 6f
 e0
 c3
@@ -2010,8 +2182,8 @@
 3a
 c0
 11
-01
-f8
+02
+23
 c0
 7f
 b5
@@ -2026,8 +2198,8 @@
 ae
 20
 3a
-01
-fe
+02
+29
 6f
 e2
 45
@@ -2051,11 +2223,11 @@
 c0
 00
 82
-02
+2d
 c0
 01
 02
-0a
+35
 20
 60
 00
@@ -2075,7 +2247,7 @@
 c0
 01
 02
-07
+32
 20
 60
 00
@@ -2107,7 +2279,7 @@
 c0
 80
 02
-0f
+3a
 20
 60
 00
@@ -2187,7 +2359,7 @@
 20
 40
 02
-23
+4e
 20
 20
 34
@@ -2223,7 +2395,7 @@
 20
 40
 02
-2c
+57
 20
 20
 48
@@ -2312,8 +2484,8 @@
 20
 31
 95
-cd
-19
+14
+dd
 aa
 55
 40
@@ -2352,7 +2524,7 @@
 00
 00
 a0
-41
+4d
 00
 00
 00
@@ -2488,13 +2660,6 @@
 55
 01
 00
-3f
-44
-8c
-aa
-55
-01
-00
 48
 41
 0c
@@ -2683,175 +2848,10 @@
 aa
 aa
 55
-72
-4e
-b4
-ab
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+6f
+4c
+d1
+7d
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-37
-43
+0f
+47
Index: output/flash.dat
===================================================================
--- /1121s/branch/dongle/1m/usb_1m/output/flash.dat	(revision 5814)
+++ /1121s/branch/dongle/1m/usb_1m/output/flash.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-06
+b2
 09
 c2
 84
@@ -11,75 +11,75 @@
 c0
 00
 00
-1f
+21
 c0
 01
 00
-56
+58
 c0
 08
 80
-5f
+61
 c0
 0a
 01
-d0
+fb
 c0
 0a
 81
-09
+0b
 c0
 0c
 01
-17
+19
 c0
 0c
 80
-c3
+c5
 c0
 0d
 00
-7e
+80
 c0
 0e
 00
-6d
+6f
 c0
 1b
 82
-2e
+59
 c0
 1c
 00
-dc
+de
 c0
 1c
 80
-d8
+da
 c0
 1e
 82
-2a
+55
 c0
 62
 80
-d5
+d7
 c0
 6d
 01
-a1
+cc
 c0
 6e
 01
-b1
+dc
 c0
 7e
 80
-25
+27
 c0
 7f
 81
-21
+23
 20
 20
 23
@@ -87,39 +87,47 @@
 c0
 00
 01
-3e
+40
+c0
+01
+01
+78
+c0
+01
+81
+5f
 c0
 03
 01
-5d
+88
 c0
 1c
-81
-ec
+82
+17
 c0
 26
-81
-f0
+82
+1b
 c0
 37
 82
-37
+62
 c0
 41
-01
-f2
+02
+1d
 c0
 44
 02
-12
+3d
 c0
 45
 02
-1f
+4a
 c0
 45
 80
-37
+39
 c1
 7f
 80
@@ -195,7 +203,7 @@
 20
 40
 00
-31
+33
 20
 20
 79
@@ -207,19 +215,19 @@
 c2
 80
 00
-31
+33
 c2
 80
 80
-31
+33
 c2
 81
 00
-31
+33
 c2
 81
 80
-31
+33
 20
 60
 00
@@ -383,7 +391,7 @@
 20
 20
 00
-56
+58
 70
 8a
 0f
@@ -491,7 +499,7 @@
 c3
 00
 00
-73
+75
 20
 20
 22
@@ -543,7 +551,7 @@
 20
 40
 00
-de
+e0
 6f
 e0
 c4
@@ -555,7 +563,7 @@
 24
 55
 80
-7b
+7d
 37
 d9
 82
@@ -571,7 +579,7 @@
 c0
 08
 00
-b8
+ba
 6f
 e0
 c4
@@ -615,7 +623,7 @@
 20
 40
 00
-aa
+ac
 70
 80
 43
@@ -639,15 +647,15 @@
 20
 40
 01
-73
+9e
 20
 40
 01
-9e
+c9
 20
 40
 00
-a4
+a6
 70
 41
 48
@@ -659,7 +667,7 @@
 20
 20
 01
-a0
+cb
 20
 75
 80
@@ -691,7 +699,7 @@
 c0
 0c
 00
-b0
+b2
 6f
 e0
 c4
@@ -783,7 +791,7 @@
 20
 20
 00
-96
+98
 6f
 e0
 c1
@@ -795,15 +803,15 @@
 c0
 4f
 00
-c9
+cb
 c0
 4f
 80
-cd
+cf
 c0
 50
 00
-d1
+d3
 20
 20
 22
@@ -895,7 +903,7 @@
 20
 35
 81
-05
+07
 6f
 e2
 02
@@ -1063,7 +1071,7 @@
 20
 20
 00
-ef
+f1
 20
 40
 68
@@ -1187,7 +1195,7 @@
 c0
 00
 81
-30
+32
 d8
 a0
 08
@@ -1219,7 +1227,7 @@
 20
 20
 01
-3e
+40
 d8
 a0
 08
@@ -1239,7 +1247,7 @@
 c0
 00
 81
-38
+3a
 70
 08
 f7
@@ -1295,7 +1303,7 @@
 c0
 00
 01
-44
+46
 20
 20
 23
@@ -1323,7 +1331,7 @@
 c0
 00
 81
-4c
+4e
 c0
 01
 79
@@ -1343,11 +1351,11 @@
 c0
 04
 81
-51
+53
 c0
 05
-fb
-7c
+81
+6b
 20
 20
 79
@@ -1363,7 +1371,7 @@
 20
 40
 01
-1e
+20
 70
 08
 f7
@@ -1393,13 +1401,177 @@
 08
 f5
 70
-8c
-1b
-02
+8c
+1b
+02
+20
+20
+7b
+65
+70
+08
+fb
+01
+6f
+e0
+88
+70
+67
+e0
+88
+fc
+6f
+e0
+88
+71
+1f
+e6
+7c
+01
+20
+42
+81
+66
+20
+20
+7b
+52
+6f
+e0
+c6
+97
+20
+3a
+7b
+59
+6f
+e0
+89
+02
+24
+3a
+7b
+59
+20
+60
+00
+00
+6f
+e0
+88
+73
+c0
+80
+79
+e4
+6f
+e0
+88
+6f
+c0
+00
+7b
+82
+c0
+00
+81
+71
+20
+20
+79
+e4
+70
+08
+fa
+01
+70
+08
+fe
+01
+70
+08
+ff
+00
+6f
+e0
+88
+71
+1f
+e6
+7c
+01
+20
+42
+f9
+84
+20
+20
+79
+e9
+6f
+e0
+88
+70
+c0
+00
+81
+7c
+c0
+11
+01
+7e
+20
+20
+7a
+03
+70
+46
+97
+00
+20
+20
+7a
+14
+6f
+e1
+08
+71
+c0
+00
+81
+83
+70
+46
+97
+01
+6a
+21
+07
+a7
+20
+20
+7b
+89
+6f
+e0
+88
+fa
+20
+5a
+79
+84
+70
+09
+00
+01
+6a
+21
+07
+a9
 20
 20
 7b
-65
+89
 6f
 e0
 89
@@ -1451,11 +1623,11 @@
 20
 40
 01
-6b
+96
 20
 20
 01
-6f
+9a
 6f
 f0
 8c
@@ -1539,7 +1711,7 @@
 20
 40
 01
-90
+bb
 2a
 2f
 fe
@@ -1571,7 +1743,7 @@
 20
 40
 01
-90
+bb
 d8
 a0
 8a
@@ -1599,7 +1771,7 @@
 20
 21
 01
-85
+b0
 20
 20
 21
@@ -1703,7 +1875,7 @@
 20
 40
 01
-c9
+f4
 70
 8a
 08
@@ -1739,7 +1911,7 @@
 20
 40
 01
-bf
+ea
 6f
 f0
 8a
@@ -1783,7 +1955,7 @@
 20
 40
 01
-c9
+f4
 70
 80
 cd
@@ -1843,7 +2015,7 @@
 c3
 02
 81
-ca
+f5
 68
 59
 01
@@ -1878,8 +2050,8 @@
 99
 c0
 08
-01
-e9
+02
+14
 58
 00
 57
@@ -1922,8 +2094,8 @@
 99
 c0
 08
-01
-e6
+02
+11
 58
 00
 2b
@@ -1958,8 +2130,8 @@
 07
 20
 20
-01
-e2
+02
+0d
 58
 00
 83
@@ -1970,8 +2142,8 @@
 07
 20
 20
-01
-d7
+02
+02
 6f
 e0
 c3
@@ -2010,8 +2182,8 @@
 3a
 c0
 11
-01
-f8
+02
+23
 c0
 7f
 b5
@@ -2026,8 +2198,8 @@
 ae
 20
 3a
-01
-fe
+02
+29
 6f
 e2
 45
@@ -2051,11 +2223,11 @@
 c0
 00
 82
-02
+2d
 c0
 01
 02
-0a
+35
 20
 60
 00
@@ -2075,7 +2247,7 @@
 c0
 01
 02
-07
+32
 20
 60
 00
@@ -2107,7 +2279,7 @@
 c0
 80
 02
-0f
+3a
 20
 60
 00
@@ -2187,7 +2359,7 @@
 20
 40
 02
-23
+4e
 20
 20
 34
@@ -2223,7 +2395,7 @@
 20
 40
 02
-2c
+57
 20
 20
 48
@@ -2312,8 +2484,8 @@
 20
 31
 95
-cd
-19
+14
+dd
 aa
 55
 40
@@ -2352,7 +2524,7 @@
 00
 00
 a0
-41
+4d
 00
 00
 00
@@ -2488,13 +2660,6 @@
 55
 01
 00
-3f
-44
-8c
-aa
-55
-01
-00
 48
 41
 0c
@@ -2683,175 +2848,10 @@
 aa
 aa
 55
-72
-4e
-b4
-ab
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+6f
+4c
+d1
+7d
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-37
-43
+0f
+47
Index: output/memmap.format
===================================================================
--- /1121s/branch/dongle/1m/usb_1m/output/memmap.format	(revision 5814)
+++ /1121s/branch/dongle/1m/usb_1m/output/memmap.format	(working copy)
@@ -1483,6 +1483,7 @@
 0x4694 mem_dg_24g_tx_power_default
 0x4695 mem_24g_pair_tx_power_init
 0x4696 mem_setreport_count
+0x4697 mem_usb_enum_get_report_flag
 0x45d3 mem_rssi_hex_received
 0x45d4 mem_24g_pair_sm
 0x45d5 mem_24g_pair_no_ack
Index: output/otp.dat
===================================================================
--- /1121s/branch/dongle/1m/usb_1m/output/otp.dat	(revision 5814)
+++ /1121s/branch/dongle/1m/usb_1m/output/otp.dat	(working copy)
@@ -11,7 +11,7 @@
 00
 aa
 55
-06
+b2
 09
 c2
 84
@@ -20,75 +20,75 @@
 c0
 00
 00
-1f
+21
 c0
 01
 00
-56
+58
 c0
 08
 80
-5f
+61
 c0
 0a
 01
-d0
+fb
 c0
 0a
 81
-09
+0b
 c0
 0c
 01
-17
+19
 c0
 0c
 80
-c3
+c5
 c0
 0d
 00
-7e
+80
 c0
 0e
 00
-6d
+6f
 c0
 1b
 82
-2e
+59
 c0
 1c
 00
-dc
+de
 c0
 1c
 80
-d8
+da
 c0
 1e
 82
-2a
+55
 c0
 62
 80
-d5
+d7
 c0
 6d
 01
-a1
+cc
 c0
 6e
 01
-b1
+dc
 c0
 7e
 80
-25
+27
 c0
 7f
 81
-21
+23
 20
 20
 23
@@ -96,39 +96,47 @@
 c0
 00
 01
-3e
+40
+c0
+01
+01
+78
+c0
+01
+81
+5f
 c0
 03
 01
-5d
+88
 c0
 1c
-81
-ec
+82
+17
 c0
 26
-81
-f0
+82
+1b
 c0
 37
 82
-37
+62
 c0
 41
-01
-f2
+02
+1d
 c0
 44
 02
-12
+3d
 c0
 45
 02
-1f
+4a
 c0
 45
 80
-37
+39
 c1
 7f
 80
@@ -204,7 +212,7 @@
 20
 40
 00
-31
+33
 20
 20
 79
@@ -216,19 +224,19 @@
 c2
 80
 00
-31
+33
 c2
 80
 80
-31
+33
 c2
 81
 00
-31
+33
 c2
 81
 80
-31
+33
 20
 60
 00
@@ -392,7 +400,7 @@
 20
 20
 00
-56
+58
 70
 8a
 0f
@@ -500,7 +508,7 @@
 c3
 00
 00
-73
+75
 20
 20
 22
@@ -552,7 +560,7 @@
 20
 40
 00
-de
+e0
 6f
 e0
 c4
@@ -564,7 +572,7 @@
 24
 55
 80
-7b
+7d
 37
 d9
 82
@@ -580,7 +588,7 @@
 c0
 08
 00
-b8
+ba
 6f
 e0
 c4
@@ -624,7 +632,7 @@
 20
 40
 00
-aa
+ac
 70
 80
 43
@@ -648,15 +656,15 @@
 20
 40
 01
-73
+9e
 20
 40
 01
-9e
+c9
 20
 40
 00
-a4
+a6
 70
 41
 48
@@ -668,7 +676,7 @@
 20
 20
 01
-a0
+cb
 20
 75
 80
@@ -700,7 +708,7 @@
 c0
 0c
 00
-b0
+b2
 6f
 e0
 c4
@@ -792,7 +800,7 @@
 20
 20
 00
-96
+98
 6f
 e0
 c1
@@ -804,15 +812,15 @@
 c0
 4f
 00
-c9
+cb
 c0
 4f
 80
-cd
+cf
 c0
 50
 00
-d1
+d3
 20
 20
 22
@@ -904,7 +912,7 @@
 20
 35
 81
-05
+07
 6f
 e2
 02
@@ -1072,7 +1080,7 @@
 20
 20
 00
-ef
+f1
 20
 40
 68
@@ -1196,7 +1204,7 @@
 c0
 00
 81
-30
+32
 d8
 a0
 08
@@ -1228,7 +1236,7 @@
 20
 20
 01
-3e
+40
 d8
 a0
 08
@@ -1248,7 +1256,7 @@
 c0
 00
 81
-38
+3a
 70
 08
 f7
@@ -1304,7 +1312,7 @@
 c0
 00
 01
-44
+46
 20
 20
 23
@@ -1332,7 +1340,7 @@
 c0
 00
 81
-4c
+4e
 c0
 01
 79
@@ -1352,11 +1360,11 @@
 c0
 04
 81
-51
+53
 c0
 05
-fb
-7c
+81
+6b
 20
 20
 79
@@ -1372,7 +1380,7 @@
 20
 40
 01
-1e
+20
 70
 08
 f7
@@ -1409,6 +1417,170 @@
 20
 7b
 65
+70
+08
+fb
+01
+6f
+e0
+88
+70
+67
+e0
+88
+fc
+6f
+e0
+88
+71
+1f
+e6
+7c
+01
+20
+42
+81
+66
+20
+20
+7b
+52
+6f
+e0
+c6
+97
+20
+3a
+7b
+59
+6f
+e0
+89
+02
+24
+3a
+7b
+59
+20
+60
+00
+00
+6f
+e0
+88
+73
+c0
+80
+79
+e4
+6f
+e0
+88
+6f
+c0
+00
+7b
+82
+c0
+00
+81
+71
+20
+20
+79
+e4
+70
+08
+fa
+01
+70
+08
+fe
+01
+70
+08
+ff
+00
+6f
+e0
+88
+71
+1f
+e6
+7c
+01
+20
+42
+f9
+84
+20
+20
+79
+e9
+6f
+e0
+88
+70
+c0
+00
+81
+7c
+c0
+11
+01
+7e
+20
+20
+7a
+03
+70
+46
+97
+00
+20
+20
+7a
+14
+6f
+e1
+08
+71
+c0
+00
+81
+83
+70
+46
+97
+01
+6a
+21
+07
+a7
+20
+20
+7b
+89
+6f
+e0
+88
+fa
+20
+5a
+79
+84
+70
+09
+00
+01
+6a
+21
+07
+a9
+20
+20
+7b
+89
 6f
 e0
 89
@@ -1460,11 +1632,11 @@
 20
 40
 01
-6b
+96
 20
 20
 01
-6f
+9a
 6f
 f0
 8c
@@ -1548,7 +1720,7 @@
 20
 40
 01
-90
+bb
 2a
 2f
 fe
@@ -1580,7 +1752,7 @@
 20
 40
 01
-90
+bb
 d8
 a0
 8a
@@ -1608,7 +1780,7 @@
 20
 21
 01
-85
+b0
 20
 20
 21
@@ -1712,7 +1884,7 @@
 20
 40
 01
-c9
+f4
 70
 8a
 08
@@ -1748,7 +1920,7 @@
 20
 40
 01
-bf
+ea
 6f
 f0
 8a
@@ -1792,7 +1964,7 @@
 20
 40
 01
-c9
+f4
 70
 80
 cd
@@ -1852,7 +2024,7 @@
 c3
 02
 81
-ca
+f5
 68
 59
 01
@@ -1887,8 +2059,8 @@
 99
 c0
 08
-01
-e9
+02
+14
 58
 00
 57
@@ -1931,8 +2103,8 @@
 99
 c0
 08
-01
-e6
+02
+11
 58
 00
 2b
@@ -1967,8 +2139,8 @@
 07
 20
 20
-01
-e2
+02
+0d
 58
 00
 83
@@ -1979,8 +2151,8 @@
 07
 20
 20
-01
-d7
+02
+02
 6f
 e0
 c3
@@ -2019,8 +2191,8 @@
 3a
 c0
 11
-01
-f8
+02
+23
 c0
 7f
 b5
@@ -2035,8 +2207,8 @@
 ae
 20
 3a
-01
-fe
+02
+29
 6f
 e2
 45
@@ -2060,11 +2232,11 @@
 c0
 00
 82
-02
+2d
 c0
 01
 02
-0a
+35
 20
 60
 00
@@ -2084,7 +2256,7 @@
 c0
 01
 02
-07
+32
 20
 60
 00
@@ -2116,7 +2288,7 @@
 c0
 80
 02
-0f
+3a
 20
 60
 00
@@ -2196,7 +2368,7 @@
 20
 40
 02
-23
+4e
 20
 20
 34
@@ -2232,7 +2404,7 @@
 20
 40
 02
-2c
+57
 20
 20
 48
@@ -2321,8 +2493,8 @@
 20
 31
 95
-cd
-19
+14
+dd
 aa
 55
 40
@@ -2361,7 +2533,7 @@
 00
 00
 a0
-41
+4d
 00
 00
 00
@@ -2497,13 +2669,6 @@
 55
 01
 00
-3f
-44
-8c
-aa
-55
-01
-00
 48
 41
 0c
@@ -2692,8 +2857,8 @@
 aa
 aa
 55
-72
-4e
-b4
-ab
+6f
+4c
+d1
+7d
 f0
Index: output/program.lis
===================================================================
--- /1121s/branch/dongle/1m/usb_1m/output/program.lis	(revision 5814)
+++ /1121s/branch/dongle/1m/usb_1m/output/program.lis	(working copy)
@@ -1,701 +1,783 @@
               include "bt_format "
               org 0x0000
-0000 c2840013 bbit1 8 ,pf_patch_ext 
-0001 c000001e beq patch00_0 ,p_soft_reset 
-0002 c0010043 beq patch00_2 ,p_main_loop 
-0003 c008804c beq patch02_1 ,p_set_sync_on 
-0004 c00a01bd beq patch02_4 ,p_set_lemode 
-0005 c00a80f6 beq patch02_5 ,p_rf_rx_enable 
-0006 c00c0104 beq patch03_0 ,p_txon 
-0007 c00c80b0 beq patch03_1 ,p_set_tx_power 
-0008 c00d006b beq patch03_2 ,p_initialize_radio_cont 
-0009 c00e005a beq patch03_4 ,p_aac_ghpc 
-000a c01b821b beq patch06_7 ,p_dongle_default_init 
-000b c01c00c9 beq patch07_0 ,p_dongle_read_kb_bind_status 
-000c c01c80c5 beq patch07_1 ,p_dongle_write_kb_bind_status 
-000d c01e8217 beq patch07_5 ,p_dongle_usb_dispatch 
-000e c06280c2 beq patch18_5 ,p_otp_read_data 
-000f c06d018e beq patch1b_2 ,p_sadc_calibration 
-0010 c06e019e beq patch1b_4 ,p_enable_adc 
-0011 c07f810e beq patch1f_7 ,p_usb_rx 
-0012 2020235a branch assert 
+0000 c2840014 bbit1 8 ,pf_patch_ext 
+0001 c0000021 beq patch00_0 ,p_soft_reset 
+0002 c0010058 beq patch00_2 ,p_main_loop 
+0003 c0088061 beq patch02_1 ,p_set_sync_on 
+0004 c00a01fb beq patch02_4 ,p_set_lemode 
+0005 c00a810b beq patch02_5 ,p_rf_rx_enable 
+0006 c00c0119 beq patch03_0 ,p_txon 
+0007 c00c80c5 beq patch03_1 ,p_set_tx_power 
+0008 c00d0080 beq patch03_2 ,p_initialize_radio_cont 
+0009 c00e006f beq patch03_4 ,p_aac_ghpc 
+000a c01b8259 beq patch06_7 ,p_dongle_default_init 
+000b c01c00de beq patch07_0 ,p_dongle_read_kb_bind_status 
+000c c01c80da beq patch07_1 ,p_dongle_write_kb_bind_status 
+000d c01e8255 beq patch07_5 ,p_dongle_usb_dispatch 
+000e c06280d7 beq patch18_5 ,p_otp_read_data 
+000f c06d01cc beq patch1b_2 ,p_sadc_calibration 
+0010 c06e01dc beq patch1b_4 ,p_enable_adc 
+0011 c07e8027 beq patch1f_5 ,p_usb_isr 
+0012 c07f8123 beq patch1f_7 ,p_usb_rx 
+0013 2020235a branch assert 
 
 pf_patch_ext:
-0013 c000012b beq patch20_0 ,p_usb_class_type 
-0014 c003014a beq patch20_6 ,p_usb_tx 
-0015 c01c81d9 beq patch27_1 ,p_le_parse 
-0016 c02681dd beq patch29_5 ,p_le_init_adv 
-0017 c0378224 beq patch2d_7 ,p_g24_receive_skip_end 
-0018 c04101df beq patch30_2 ,p_g24_bind_data_parse_next 
-0019 c04401ff beq patch31_0 ,p_g24_mode_switch_bind_search 
-001a c045020c beq patch31_2 ,p_g24_bind_mode_auto 
-001b c0458024 beq patch31_3 ,p_g24_search_mode_auto 
-001c c17f8000 rtneq patch3f_7 
-001d 2020235a branch assert 
+0014 c0000140 beq patch20_0 ,p_usb_class_type 
+0015 c0010178 beq patch20_2 ,p_usb0_request_get_descriptor 
+0016 c001815f beq patch20_3 ,p_usb_set_idle 
+0017 c0030188 beq patch20_6 ,p_usb_tx 
+0018 c01c8217 beq patch27_1 ,p_le_parse 
+0019 c026821b beq patch29_5 ,p_le_init_adv 
+001a c0378262 beq patch2d_7 ,p_g24_receive_skip_end 
+001b c041021d beq patch30_2 ,p_g24_bind_data_parse_next 
+001c c044023d beq patch31_0 ,p_g24_mode_switch_bind_search 
+001d c045024a beq patch31_2 ,p_g24_bind_mode_auto 
+001e c0458039 beq patch31_3 ,p_g24_search_mode_auto 
+001f c17f8000 rtneq patch3f_7 
+0020 2020235a branch assert 
 
 p_soft_reset:
-001e 20800000 clear_stack 
-001f 37d98200 until null ,lpo_edge 
-0020 6fe0c0cb fetch 1 ,mem_lpm_hv_sel 
-0021 204023e1 call lpm_write_sel_hv 
-0022 20007530 nop 30000 
-0023 20202003 branch soft_reset + 2 
+0021 20800000 clear_stack 
+0022 37d98200 until null ,lpo_edge 
+0023 6fe0c0cb fetch 1 ,mem_lpm_hv_sel 
+0024 204023e1 call lpm_write_sel_hv 
+0025 20007530 nop 30000 
+0026 20202003 branch soft_reset + 2 
+
+p_usb_isr:
+0027 6ff08c22 fetch 1 ,core_usb_status 
+0028 2feffe03 isolate1 usb_status_reset ,pdata 
+0029 2040f915 call usb_init_restart ,true 
+002a 6ff10c22 fetch 2 ,core_usb_status 
+002b 67f10c22 store 2 ,core_usb_status 
+002c 67e10709 store 2 ,mem_usb_status 
+002d 20407973 call usb_nak_state_judge 
+002e 204079a2 call usb_rx 
+002f 20407b96 call usb0_tx 
+0030 20407bdf call usb_tx 
+0031 20400033 call p_wait_ep_busy 
+0032 2020796b branch usb_nak_state 
+
+p_wait_ep_busy:
+0033 6ff08c25 fetch 1 ,core_usb_txbusy 
+0034 c2800033 bbit1 0 ,p_wait_ep_busy 
+0035 c2808033 bbit1 1 ,p_wait_ep_busy 
+0036 c2810033 bbit1 2 ,p_wait_ep_busy 
+0037 c2818033 bbit1 3 ,p_wait_ep_busy 
+0038 20600000 rtn 
 
 p_g24_search_mode_auto:
-0024 6fe0c616 fetch 1 ,mem_24g_work_mode 
-0025 c1838000 rtnne dongle_search 
-0026 20403476 call g24_search_mode_init 
-0027 204034ae call g24_auto_addr_ch_search 
-0028 204033f1 call g24_receive_transmit_ack 
-0029 2437b3be nbranch g24_rx_interrupt_clear ,user3 
-002a 20403506 call g24_receiver_addr_check 
-002b 2042b3ad call g24_receive_packet_parse ,zero 
-002c 6fe0c60a fetch 1 ,mem_24g_abort_packet 
-002d 205a344d call g24_mode_b_s_switch_stop ,blank 
-002e 70461600 jam dongle_work ,mem_24g_work_mode 
-002f 6fe0c615 fetch 1 ,mem_24g_mode_init 
-0030 79207e00 set1 dongle_work ,pdata 
-0031 67e0c615 store 1 ,mem_24g_mode_init 
-0032 204034ec call g24_auto_bind_config_self 
-0033 6fe0c611 fetch 1 ,mem_24g_ackpayload_enable 
-0034 1fe67c02 sub pdata ,2 ,null 
-0035 2442b504 ncall g24_ackpayload_disable ,zero 
-0036 204033be call g24_rx_interrupt_clear 
-0037 204033fe call g24_enable_nodata_timer 
-0038 20403506 call g24_receiver_addr_check 
-0039 2022b4a7 branch g24_self_ch_num_reinit ,zero 
-003a 6fe2458f fetch 4 ,mem_24g_addr 
-003b 684a4634 fetcht 4 ,mem_24g_device2_addr 
-003c 98467c00 isub temp ,null 
-003d 2022b4aa branch g24_device2_ch_num_reinit ,zero 
-003e 6fe2458f fetch 4 ,mem_24g_addr 
-003f 684a4630 fetcht 4 ,mem_24g_device1_addr 
-0040 98467c00 isub temp ,null 
-0041 2022b4ac branch g24_device1_ch_num_reinit ,zero 
-0042 20600000 rtn 
+0039 6fe0c616 fetch 1 ,mem_24g_work_mode 
+003a c1838000 rtnne dongle_search 
+003b 20403476 call g24_search_mode_init 
+003c 204034ae call g24_auto_addr_ch_search 
+003d 204033f1 call g24_receive_transmit_ack 
+003e 2437b3be nbranch g24_rx_interrupt_clear ,user3 
+003f 20403506 call g24_receiver_addr_check 
+0040 2042b3ad call g24_receive_packet_parse ,zero 
+0041 6fe0c60a fetch 1 ,mem_24g_abort_packet 
+0042 205a344d call g24_mode_b_s_switch_stop ,blank 
+0043 70461600 jam dongle_work ,mem_24g_work_mode 
+0044 6fe0c615 fetch 1 ,mem_24g_mode_init 
+0045 79207e00 set1 dongle_work ,pdata 
+0046 67e0c615 store 1 ,mem_24g_mode_init 
+0047 204034ec call g24_auto_bind_config_self 
+0048 6fe0c611 fetch 1 ,mem_24g_ackpayload_enable 
+0049 1fe67c02 sub pdata ,2 ,null 
+004a 2442b504 ncall g24_ackpayload_disable ,zero 
+004b 204033be call g24_rx_interrupt_clear 
+004c 204033fe call g24_enable_nodata_timer 
+004d 20403506 call g24_receiver_addr_check 
+004e 2022b4a7 branch g24_self_ch_num_reinit ,zero 
+004f 6fe2458f fetch 4 ,mem_24g_addr 
+0050 684a4634 fetcht 4 ,mem_24g_device2_addr 
+0051 98467c00 isub temp ,null 
+0052 2022b4aa branch g24_device2_ch_num_reinit ,zero 
+0053 6fe2458f fetch 4 ,mem_24g_addr 
+0054 684a4630 fetcht 4 ,mem_24g_device1_addr 
+0055 98467c00 isub temp ,null 
+0056 2022b4ac branch g24_device1_ch_num_reinit ,zero 
+0057 20600000 rtn 
 
 p_main_loop:
-0043 20407552 call sp_calc_sequence_256 
-0044 20407448 call sp_calc_sequence_256_check 
-0045 20402a45 call le_advertising_dispatch 
-0046 2040202a call idle_dispatch 
-0047 204042ad call app_process_idle 
-0048 20402018 call connection_dispatch 
-0049 2040310f call g24_dispatch 
-004a 2040248c call lpm_dispatch 
-004b 20200043 branch p_main_loop 
+0058 20407552 call sp_calc_sequence_256 
+0059 20407448 call sp_calc_sequence_256_check 
+005a 20402a45 call le_advertising_dispatch 
+005b 2040202a call idle_dispatch 
+005c 204042ad call app_process_idle 
+005d 20402018 call connection_dispatch 
+005e 2040310f call g24_dispatch 
+005f 2040248c call lpm_dispatch 
+0060 20200058 branch p_main_loop 
 
 p_set_sync_on:
-004c 708a0f60 jam 0x60 ,0x8a0f 
-004d 708a10aa jam 0xaa ,0x8a10 
-004e 708a127a jam 0x7a ,0x8a12 
-004f 708a2500 jam 0x00 ,0x8a25 
-0050 708a2600 jam 0x00 ,0x8a26 
-0051 2000003c nop 60 
-0052 708a2020 jam 0x20 ,0x8a20 
-0053 708a23f5 jam 0xf5 ,0x8a23 
-0054 708a2412 jam 0x12 ,0x8a24 
-0055 708a2410 jam 0x10 ,0x8a24 
-0056 2000003c nop 60 
-0057 708a1260 jam 0x60 ,0x8a12 
-0058 708a23dd jam 0xdd ,0x8a23 
-0059 20600000 rtn 
+0061 708a0f60 jam 0x60 ,0x8a0f 
+0062 708a10aa jam 0xaa ,0x8a10 
+0063 708a127a jam 0x7a ,0x8a12 
+0064 708a2500 jam 0x00 ,0x8a25 
+0065 708a2600 jam 0x00 ,0x8a26 
+0066 2000003c nop 60 
+0067 708a2020 jam 0x20 ,0x8a20 
+0068 708a23f5 jam 0xf5 ,0x8a23 
+0069 708a2412 jam 0x12 ,0x8a24 
+006a 708a2410 jam 0x10 ,0x8a24 
+006b 2000003c nop 60 
+006c 708a1260 jam 0x60 ,0x8a12 
+006d 708a23dd jam 0xdd ,0x8a23 
+006e 20600000 rtn 
 
 p_aac_ghpc:
-005a 708a2030 jam 0x30 ,0x8a20 
-005b 708a23dd jam 0xdd ,0x8a23 
-005c 204021d0 call calc_freq 
-005d 58000000 setarg 0 
-005e 67e10670 store 2 ,mem_pdatatemp 
-005f d8403a98 arg 15000 ,temp 
+006f 708a2030 jam 0x30 ,0x8a20 
+0070 708a23dd jam 0xdd ,0x8a23 
+0071 204021d0 call calc_freq 
+0072 58000000 setarg 0 
+0073 67e10670 store 2 ,mem_pdatatemp 
+0074 d8403a98 arg 15000 ,temp 
 
 p_wait_cal_done:
-0060 6fe10670 fetch 2 ,mem_pdatatemp 
-0061 1fe0fe01 increase 1 ,pdata 
-0062 67e10670 store 2 ,mem_pdatatemp 
-0063 98467c00 isub temp ,null 
-0064 20216ca3 branch soft_reset_chip ,positive 
-0065 6ff08a7c fetch 1 ,0x8a7c 
-0066 c3000060 bbit0 0 ,p_wait_cal_done 
-0067 2020229a branch wait_cal_done + 2 
+0075 6fe10670 fetch 2 ,mem_pdatatemp 
+0076 1fe0fe01 increase 1 ,pdata 
+0077 67e10670 store 2 ,mem_pdatatemp 
+0078 98467c00 isub temp ,null 
+0079 20216ca3 branch soft_reset_chip ,positive 
+007a 6ff08a7c fetch 1 ,0x8a7c 
+007b c3000075 bbit0 0 ,p_wait_cal_done 
+007c 2020229a branch wait_cal_done + 2 
 
 p_set_ck2rfpll:
-0068 37d98200 until null ,lpo_edge 
-0069 70813c58 jam 0x58 ,0x813c 
-006a 202023e2 branch lpm_write_wait 
+007d 37d98200 until null ,lpo_edge 
+007e 70813c58 jam 0x58 ,0x813c 
+007f 202023e2 branch lpm_write_wait 
 
 p_initialize_radio_cont:
-006b 708a8840 jam 0x40 ,core_rx_cfg0 
-006c 7089460d jam 0x0d ,0x8946 
-006d 70896f10 jam 0x10 ,0x896f 
-006e 708a13cd jam 0xcd ,0x8a13 
-006f 708a0610 jam 0x10 ,0x8a06 
-0070 708a844a jam 0x4a ,0x8a84 
-0071 708a8540 jam 0x40 ,0x8a85 
-0072 708a16fe jam 0xfe ,0x8a16 
-0073 204000cb call p_set_otp_config 
-0074 6fe0c436 fetch 1 ,mem_wdt_always_work 
-0075 205a70d7 call wdt_set_disable ,blank 
-0076 24558068 ncall p_set_ck2rfpll ,wake 
-0077 37d98200 until null ,lpo_edge 
-0078 70813b5f jam 0x5f ,0x813b 
-0079 6fe0c099 fetch 1 ,mem_fcomp_div 
-007a c00800a5 beq xtal_16m ,p_initialize_radio_16m 
-007b 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
-007c 1fe1fe04 or_into 0x04 ,pdata 
-007d 67f08a02 store 1 ,0x8a02 
-007e 70890f01 jam 0x01 ,0x890f 
-007f 708a8024 jam 0x24 ,0x8a80 
-0080 708a8162 jam 0x62 ,0x8a81 
-0081 58e61212 setarg 0xe61212 
-0082 67f18a73 store 3 ,0x8a73 
+0080 708a8840 jam 0x40 ,core_rx_cfg0 
+0081 7089460d jam 0x0d ,0x8946 
+0082 70896f10 jam 0x10 ,0x896f 
+0083 708a13cd jam 0xcd ,0x8a13 
+0084 708a0610 jam 0x10 ,0x8a06 
+0085 708a844a jam 0x4a ,0x8a84 
+0086 708a8540 jam 0x40 ,0x8a85 
+0087 708a16fe jam 0xfe ,0x8a16 
+0088 204000e0 call p_set_otp_config 
+0089 6fe0c436 fetch 1 ,mem_wdt_always_work 
+008a 205a70d7 call wdt_set_disable ,blank 
+008b 2455807d ncall p_set_ck2rfpll ,wake 
+008c 37d98200 until null ,lpo_edge 
+008d 70813b5f jam 0x5f ,0x813b 
+008e 6fe0c099 fetch 1 ,mem_fcomp_div 
+008f c00800ba beq xtal_16m ,p_initialize_radio_16m 
+0090 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+0091 1fe1fe04 or_into 0x04 ,pdata 
+0092 67f08a02 store 1 ,0x8a02 
+0093 70890f01 jam 0x01 ,0x890f 
+0094 708a8024 jam 0x24 ,0x8a80 
+0095 708a8162 jam 0x62 ,0x8a81 
+0096 58e61212 setarg 0xe61212 
+0097 67f18a73 store 3 ,0x8a73 
 
 p_initialize_radio2:
-0083 708a8660 jam 0x60 ,0x8a86 
-0084 708a8b3b jam 0x3b ,0x8a8b 
-0085 20400097 call p_dpll_on 
-0086 70804300 jam 0 ,core_config 
-0087 70804205 jam clksel_dpll ,core_clksel 
-0088 58557474 setarg 0x557474 
-0089 67f18968 store 3 ,0x8968 
-008a 7089606e jam 0x6e ,0x8960 
-008b 20400160 call p_rx_dcoc 
-008c 2040018b call p_rfpll_aac_ghpc 
-008d 20400091 call p_set_xtal_cap 
-008e 7041480c jam system_clk_12m ,mem_system_clk 
-008f 20406f4e call sadc_calibration 
-0090 2020018d branch p_dpll_ring_ibias_calc 
+0098 708a8660 jam 0x60 ,0x8a86 
+0099 708a8b3b jam 0x3b ,0x8a8b 
+009a 204000ac call p_dpll_on 
+009b 70804300 jam 0 ,core_config 
+009c 70804205 jam clksel_dpll ,core_clksel 
+009d 58557474 setarg 0x557474 
+009e 67f18968 store 3 ,0x8968 
+009f 7089606e jam 0x6e ,0x8960 
+00a0 2040019e call p_rx_dcoc 
+00a1 204001c9 call p_rfpll_aac_ghpc 
+00a2 204000a6 call p_set_xtal_cap 
+00a3 7041480c jam system_clk_12m ,mem_system_clk 
+00a4 20406f4e call sadc_calibration 
+00a5 202001cb branch p_dpll_ring_ibias_calc 
 
 p_set_xtal_cap:
-0091 20758000 rtn wake 
-0092 37d98200 until null ,lpo_edge 
-0093 6fe0c11c fetch 1 ,mem_xtal_c_sel 
-0094 67f0813a store 1 ,core_xtal_cap 
-0095 37d98200 until null ,lpo_edge 
-0096 20600000 rtn 
+00a6 20758000 rtn wake 
+00a7 37d98200 until null ,lpo_edge 
+00a8 6fe0c11c fetch 1 ,mem_xtal_c_sel 
+00a9 67f0813a store 1 ,core_xtal_cap 
+00aa 37d98200 until null ,lpo_edge 
+00ab 20600000 rtn 
 
 p_dpll_on:
-0097 6fe0c099 fetch 1 ,mem_fcomp_div 
-0098 c00c009d beq xtal_24m ,p_dpll_on_24m 
-0099 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
-009a 1fe1fe06 or_into 0x06 ,pdata 
-009b 67f08a02 store 1 ,0x8a02 
-009c 708a05e0 jam 0xe0 ,0x8a05 
+00ac 6fe0c099 fetch 1 ,mem_fcomp_div 
+00ad c00c00b2 beq xtal_24m ,p_dpll_on_24m 
+00ae 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+00af 1fe1fe06 or_into 0x06 ,pdata 
+00b0 67f08a02 store 1 ,0x8a02 
+00b1 708a05e0 jam 0xe0 ,0x8a05 
 
 p_dpll_on_24m:
-009d 708a00d8 jam 0xd8 ,0x8a00 
-009e 2000003c nop 60 
-009f 708a01a0 jam 0xa0 ,0x8a01 
-00a0 708a00df jam 0xdf ,0x8a00 
-00a1 708a01fa jam 0xfa ,0x8a01 
-00a2 20000014 nop 20 
-00a3 708a009f jam 0x9f ,0x8a00 
-00a4 20600000 rtn 
+00b2 708a00d8 jam 0xd8 ,0x8a00 
+00b3 2000003c nop 60 
+00b4 708a01a0 jam 0xa0 ,0x8a01 
+00b5 708a00df jam 0xdf ,0x8a00 
+00b6 708a01fa jam 0xfa ,0x8a01 
+00b7 20000014 nop 20 
+00b8 708a009f jam 0x9f ,0x8a00 
+00b9 20600000 rtn 
 
 p_initialize_radio_16m:
-00a5 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
-00a6 1fe1fe06 or_into 0x06 ,pdata 
-00a7 67f08a02 store 1 ,0x8a02 
-00a8 70890f00 jam 0x00 ,0x890f 
-00a9 708a8023 jam 0x23 ,0x8a80 
-00aa 708a81b0 jam 0xb0 ,0x8a81 
-00ab 58e40909 setarg 0xe40909 
-00ac 67f18a73 store 3 ,0x8a73 
-00ad 708a762a jam 0x2a ,0x8a76 
-00ae 70890204 jam 0x04 ,0x8902 
-00af 20200083 branch p_initialize_radio2 
+00ba 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+00bb 1fe1fe06 or_into 0x06 ,pdata 
+00bc 67f08a02 store 1 ,0x8a02 
+00bd 70890f00 jam 0x00 ,0x890f 
+00be 708a8023 jam 0x23 ,0x8a80 
+00bf 708a81b0 jam 0xb0 ,0x8a81 
+00c0 58e40909 setarg 0xe40909 
+00c1 67f18a73 store 3 ,0x8a73 
+00c2 708a762a jam 0x2a ,0x8a76 
+00c3 70890204 jam 0x04 ,0x8902 
+00c4 20200098 branch p_initialize_radio2 
 
 p_set_tx_power:
-00b0 6fe0c141 fetch 1 ,mem_tx_power 
-00b1 c0032225 beq tx_power_6db ,set_tx_power_7db 
-00b2 c04f00b6 beq tx_power_f30db ,p_set_tx_power_f30db 
-00b3 c04f80ba beq tx_power_f35db ,p_set_tx_power_f35db 
-00b4 c05000be beq tx_power_f40db ,p_set_tx_power_f40db 
-00b5 2020220e branch set_tx_power + 2 
+00c5 6fe0c141 fetch 1 ,mem_tx_power 
+00c6 c0032225 beq tx_power_6db ,set_tx_power_7db 
+00c7 c04f00cb beq tx_power_f30db ,p_set_tx_power_f30db 
+00c8 c04f80cf beq tx_power_f35db ,p_set_tx_power_f35db 
+00c9 c05000d3 beq tx_power_f40db ,p_set_tx_power_f40db 
+00ca 2020220e branch set_tx_power + 2 
 
 p_set_tx_power_f30db:
-00b6 708a1417 jam 0x17 ,0x8a14 
-00b7 58250300 setarg 0x250300 
-00b8 67f18a60 store 3 ,0x8a60 
-00b9 2020221a branch set_tx_power_8a63_28 
+00cb 708a1417 jam 0x17 ,0x8a14 
+00cc 58250300 setarg 0x250300 
+00cd 67f18a60 store 3 ,0x8a60 
+00ce 2020221a branch set_tx_power_8a63_28 
 
 p_set_tx_power_f35db:
-00ba 708a1417 jam 0x17 ,0x8a14 
-00bb 58250100 setarg 0x250100 
-00bc 67f18a60 store 3 ,0x8a60 
-00bd 2020221a branch set_tx_power_8a63_28 
+00cf 708a1417 jam 0x17 ,0x8a14 
+00d0 58250100 setarg 0x250100 
+00d1 67f18a60 store 3 ,0x8a60 
+00d2 2020221a branch set_tx_power_8a63_28 
 
 p_set_tx_power_f40db:
-00be 708a1417 jam 0x17 ,0x8a14 
-00bf 58250000 setarg 0x250000 
-00c0 67f18a60 store 3 ,0x8a60 
-00c1 2020221a branch set_tx_power_8a63_28 
+00d3 708a1417 jam 0x17 ,0x8a14 
+00d4 58250000 setarg 0x250000 
+00d5 67f18a60 store 3 ,0x8a60 
+00d6 2020221a branch set_tx_power_8a63_28 
 
 p_otp_read_data:
-00c2 20406b3a call enable_otp_read 
-00c3 20406b75 call otp_read_data + 1 
-00c4 20206b38 branch otp_disable_chgpump 
+00d7 20406b3a call enable_otp_read 
+00d8 20406b75 call otp_read_data + 1 
+00d9 20206b38 branch otp_disable_chgpump 
 
 p_dongle_write_kb_bind_status:
-00c5 df200001 arg 1 ,loopcnt 
-00c6 da204648 arg mem_dg_kb_bind_flag ,rega 
-00c7 da401f00 arg dongle_kb_bind_otp_offect ,regb 
-00c8 20206b45 branch otp_write 
+00da df200001 arg 1 ,loopcnt 
+00db da204648 arg mem_dg_kb_bind_flag ,rega 
+00dc da401f00 arg dongle_kb_bind_otp_offect ,regb 
+00dd 20206b45 branch otp_write 
 
 p_dongle_read_kb_bind_status:
-00c9 da401f00 arg dongle_kb_bind_otp_offect ,regb 
-00ca 202047f1 branch dongle_read_kb_bind_status + 2 
+00de da401f00 arg dongle_kb_bind_otp_offect ,regb 
+00df 202047f1 branch dongle_read_kb_bind_status + 2 
 
 p_set_otp_config:
-00cb 203580f2 branch p_set_otp_config_wake ,wake 
-00cc 6fe2020d fetch 4 ,mem_otp_core_ldo 
-00cd 207a0000 rtn blank 
-00ce 37d98200 until null ,lpo_edge 
-00cf 6ff08136 fetch 1 ,0x8136 
-00d0 1fe17ef0 and pdata ,0xf0 ,pdata 
-00d1 6848820d fetcht 1 ,mem_otp_core_ldo 
-00d2 9841fe00 ior temp ,pdata 
-00d3 67f08136 store 1 ,0x8136 
-00d4 37d98200 until null ,lpo_edge 
-00d5 6ff08138 fetch 1 ,0x8138 
-00d6 1fe17e07 and pdata ,0x7 ,pdata 
-00d7 6848820e fetcht 1 ,mem_otp_verf_bg 
-00d8 18498400 lshift3 temp ,temp 
-00d9 9841fe00 ior temp ,pdata 
-00da 67f08138 store 1 ,0x8138 
-00db 37d98200 until null ,lpo_edge 
+00e0 20358107 branch p_set_otp_config_wake ,wake 
+00e1 6fe2020d fetch 4 ,mem_otp_core_ldo 
+00e2 207a0000 rtn blank 
+00e3 37d98200 until null ,lpo_edge 
+00e4 6ff08136 fetch 1 ,0x8136 
+00e5 1fe17ef0 and pdata ,0xf0 ,pdata 
+00e6 6848820d fetcht 1 ,mem_otp_core_ldo 
+00e7 9841fe00 ior temp ,pdata 
+00e8 67f08136 store 1 ,0x8136 
+00e9 37d98200 until null ,lpo_edge 
+00ea 6ff08138 fetch 1 ,0x8138 
+00eb 1fe17e07 and pdata ,0x7 ,pdata 
+00ec 6848820e fetcht 1 ,mem_otp_verf_bg 
+00ed 18498400 lshift3 temp ,temp 
+00ee 9841fe00 ior temp ,pdata 
+00ef 67f08138 store 1 ,0x8138 
+00f0 37d98200 until null ,lpo_edge 
 
 p_set_otp_config2:
-00dc 6ff08acb fetch 1 ,0x8acb 
-00dd 1fe17ef0 and pdata ,0xf0 ,pdata 
-00de 6848820f fetcht 1 ,mem_otp_charge_pump 
-00df 6048c15b storet 1 ,mem_otp_charge_pump_x 
-00e0 9841fe00 ior temp ,pdata 
-00e1 67f08acb store 1 ,0x8acb 
-00e2 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
-00e3 67e0c15c store 1 ,mem_otp_dpll_ibais_x 
-00e4 2feffe03 isolate1 3 ,pdata 
-00e5 6ff08a06 fetch 1 ,0x8a06 
-00e6 7920fe07 setflag true ,7 ,pdata 
-00e7 67f08a06 store 1 ,0x8a06 
-00e8 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
-00e9 1fe10407 and pdata ,7 ,temp 
-00ea 18520400 lshift4 temp ,temp 
-00eb 18438400 lshift temp ,temp 
-00ec 6048c438 storet 1 ,mem_ring_ibias_trim 
-00ed 6ff08a02 fetch 1 ,0x8a02 
-00ee 1fe17e1f and pdata ,0x1f ,pdata 
-00ef 9841fe00 ior temp ,pdata 
-00f0 67f08a02 store 1 ,0x8a02 
-00f1 20600000 rtn 
+00f1 6ff08acb fetch 1 ,0x8acb 
+00f2 1fe17ef0 and pdata ,0xf0 ,pdata 
+00f3 6848820f fetcht 1 ,mem_otp_charge_pump 
+00f4 6048c15b storet 1 ,mem_otp_charge_pump_x 
+00f5 9841fe00 ior temp ,pdata 
+00f6 67f08acb store 1 ,0x8acb 
+00f7 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
+00f8 67e0c15c store 1 ,mem_otp_dpll_ibais_x 
+00f9 2feffe03 isolate1 3 ,pdata 
+00fa 6ff08a06 fetch 1 ,0x8a06 
+00fb 7920fe07 setflag true ,7 ,pdata 
+00fc 67f08a06 store 1 ,0x8a06 
+00fd 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
+00fe 1fe10407 and pdata ,7 ,temp 
+00ff 18520400 lshift4 temp ,temp 
+0100 18438400 lshift temp ,temp 
+0101 6048c438 storet 1 ,mem_ring_ibias_trim 
+0102 6ff08a02 fetch 1 ,0x8a02 
+0103 1fe17e1f and pdata ,0x1f ,pdata 
+0104 9841fe00 ior temp ,pdata 
+0105 67f08a02 store 1 ,0x8a02 
+0106 20600000 rtn 
 
 p_set_otp_config_wake:
-00f2 6fe1415b fetch 2 ,mem_otp_charge_pump_x 
-00f3 207a0000 rtn blank 
-00f4 67e1020f store 2 ,mem_otp_charge_pump 
-00f5 202000dc branch p_set_otp_config2 
+0107 6fe1415b fetch 2 ,mem_otp_charge_pump_x 
+0108 207a0000 rtn blank 
+0109 67e1020f store 2 ,mem_otp_charge_pump 
+010a 202000f1 branch p_set_otp_config2 
 
 p_rf_rx_enable:
-00f6 2040686f call rf_debug_rx_gpio_high 
-00f7 204021ba call rf_rx_agc_set 
-00f8 18002a08 force 8 ,radio_ctrl 
-00f9 18002a00 force 0 ,radio_ctrl 
-00fa 580aaada setarg 0x0aaada 
-00fb 67f18a0f store 3 ,0x8a0f 
-00fc 708a2540 jam 0x40 ,0x8a25 
-00fd 708a2610 jam 0x10 ,0x8a26 
-00fe 2000003c nop 60 
-00ff 708a01fb jam 0xfb ,0x8a01 
-0100 708a25ff jam 0xff ,0x8a25 
-0101 708a2630 jam 0x30 ,0x8a26 
-0102 708a16fe jam 0xfe ,0x8a16 
-0103 202021b4 branch rf_rx_enable + 14 
+010b 2040686f call rf_debug_rx_gpio_high 
+010c 204021ba call rf_rx_agc_set 
+010d 18002a08 force 8 ,radio_ctrl 
+010e 18002a00 force 0 ,radio_ctrl 
+010f 580aaada setarg 0x0aaada 
+0110 67f18a0f store 3 ,0x8a0f 
+0111 708a2540 jam 0x40 ,0x8a25 
+0112 708a2610 jam 0x10 ,0x8a26 
+0113 2000003c nop 60 
+0114 708a01fb jam 0xfb ,0x8a01 
+0115 708a25ff jam 0xff ,0x8a25 
+0116 708a2630 jam 0x30 ,0x8a26 
+0117 708a16fe jam 0xfe ,0x8a16 
+0118 202021b4 branch rf_rx_enable + 14 
 
 p_txon:
-0104 580aaa7e setarg 0x0aaa7e 
-0105 67f18a0f store 3 ,0x8a0f 
-0106 2000003c nop 60 
-0107 708a2500 jam 0x00 ,0x8a25 
-0108 708a260d jam 0x0d ,0x8a26 
-0109 708a16f6 jam 0xf6 ,0x8a16 
-010a 20202203 branch txon + 7 
+0119 580aaa7e setarg 0x0aaa7e 
+011a 67f18a0f store 3 ,0x8a0f 
+011b 2000003c nop 60 
+011c 708a2500 jam 0x00 ,0x8a25 
+011d 708a260d jam 0x0d ,0x8a26 
+011e 708a16f6 jam 0xf6 ,0x8a16 
+011f 20202203 branch txon + 7 
 
 p_usb_rx_data:
-010b 6ff08c25 fetch 1 ,core_usb_txbusy 
-010c c3830000 rtnbit1 usb_status_rxfull 
-010d 20207993 branch usb_rx_data 
+0120 6ff08c25 fetch 1 ,core_usb_txbusy 
+0121 c3830000 rtnbit1 usb_status_rxfull 
+0122 20207993 branch usb_rx_data 
 
 p_usb_rx:
-010e 6fe08709 fetch 1 ,mem_usb_status 
-010f c4028000 rtnbit0 usb_status_rxready 
-0110 20407989 call usb_rx_len 
-0111 2841fe0d compare 13 ,temp ,0xff 
-0112 2020f999 branch usb_rx_ep13 ,true 
-0113 6fe0c696 fetch 1 ,mem_setreport_count 
-0114 c000811d beq 1 ,p_setreport_next_page_data 
-0115 d8a0086d arg mem_usb_setup ,contw 
-0116 20407994 call usb_rx_read 
+0123 6fe08709 fetch 1 ,mem_usb_status 
+0124 c4028000 rtnbit0 usb_status_rxready 
+0125 20407989 call usb_rx_len 
+0126 2841fe0d compare 13 ,temp ,0xff 
+0127 2020f999 branch usb_rx_ep13 ,true 
+0128 6fe0c696 fetch 1 ,mem_setreport_count 
+0129 c0008132 beq 1 ,p_setreport_next_page_data 
+012a d8a0086d arg mem_usb_setup ,contw 
+012b 20407994 call usb_rx_read 
 
 p_usb_rx_next:
-0117 6fe0870c fetch 1 ,mem_usb_read_len 
-0118 c0007986 beq 0x00 ,usb_rx_no_data 
-0119 c000f9b6 beq 0x01 ,usb_out_one_byte 
-011a 1fe67c07 sub pdata ,7 ,null 
-011b 20610000 rtn positive 
-011c 2020012b branch p_usb_class_type 
+012c 6fe0870c fetch 1 ,mem_usb_read_len 
+012d c0007986 beq 0x00 ,usb_rx_no_data 
+012e c000f9b6 beq 0x01 ,usb_out_one_byte 
+012f 1fe67c07 sub pdata ,7 ,null 
+0130 20610000 rtn positive 
+0131 20200140 branch p_usb_class_type 
 
 p_setreport_next_page_data:
-011d d8a00875 arg mem_usb0_set_report_data ,contw 
-011e 20407994 call usb_rx_read 
-011f 70469600 jam 0 ,mem_setreport_count 
-0120 6fe0870c fetch 1 ,mem_usb_read_len 
-0121 c0008125 beq 0x01 ,p_usb_out_one_byte 
-0122 7008f701 jam 1 ,mem_usb0_get_set_report 
-0123 708c1b03 jam 0x03 ,core_usb_clear_nak 
-0124 20600000 rtn 
+0132 d8a00875 arg mem_usb0_set_report_data ,contw 
+0133 20407994 call usb_rx_read 
+0134 70469600 jam 0 ,mem_setreport_count 
+0135 6fe0870c fetch 1 ,mem_usb_read_len 
+0136 c000813a beq 0x01 ,p_usb_out_one_byte 
+0137 7008f701 jam 1 ,mem_usb0_get_set_report 
+0138 708c1b03 jam 0x03 ,core_usb_clear_nak 
+0139 20600000 rtn 
 
 p_usb_out_one_byte:
-0125 6fe0886d fetch 1 ,mem_usb_setup 
-0126 c3838000 rtnbit1 7 
-0127 6fe08875 fetch 1 ,mem_usb0_set_report_data 
-0128 20407b6a call usb_get_led_status 
-0129 708c1b01 jam 0x1 ,core_usb_clear_nak 
-012a 20600000 rtn 
+013a 6fe0886d fetch 1 ,mem_usb_setup 
+013b c3838000 rtnbit1 7 
+013c 6fe08875 fetch 1 ,mem_usb0_set_report_data 
+013d 20407b6a call usb_get_led_status 
+013e 708c1b01 jam 0x1 ,core_usb_clear_nak 
+013f 20600000 rtn 
 
 p_usb_class_type:
-012b 793f8023 set0 mark_isstr ,mark 
-012c 6fe0886d fetch 1 ,mem_usb_setup_bmrequesttype 
-012d 1fe17e80 and_into 0x80 ,pdata 
-012e c04079ba beq in_device ,usb_in_device 
-012f c0000131 beq out_device ,p_usb_out_device 
-0130 2020235a branch assert 
+0140 793f8023 set0 mark_isstr ,mark 
+0141 6fe0886d fetch 1 ,mem_usb_setup_bmrequesttype 
+0142 1fe17e80 and_into 0x80 ,pdata 
+0143 c04079ba beq in_device ,usb_in_device 
+0144 c0000146 beq out_device ,p_usb_out_device 
+0145 2020235a branch assert 
 
 p_usb_out_device:
-0131 6fe0886d fetch 1 ,mem_usb_setup_bmrequesttype 
-0132 1ff1fe00 rshift4 pdata ,pdata 
-0133 1fe37e00 rshift pdata ,pdata 
-0134 1fe17e03 and_into 0x03 ,pdata 
-0135 c00079d6 beq standard_req ,usb_out_standard_req 
-0136 c0008139 beq class_req ,p_usb_out_class_req 
-0137 c00179e3 beq manufacturer_req ,usb_out_manufacturer_req 
-0138 2020235a branch assert 
+0146 6fe0886d fetch 1 ,mem_usb_setup_bmrequesttype 
+0147 1ff1fe00 rshift4 pdata ,pdata 
+0148 1fe37e00 rshift pdata ,pdata 
+0149 1fe17e03 and_into 0x03 ,pdata 
+014a c00079d6 beq standard_req ,usb_out_standard_req 
+014b c000814e beq class_req ,p_usb_out_class_req 
+014c c00179e3 beq manufacturer_req ,usb_out_manufacturer_req 
+014d 2020235a branch assert 
 
 p_usb_out_class_req:
-0139 6fe0886e fetch 1 ,mem_usb_setup_brequest 
-013a c0057b4b beq set_idle ,usb_set_idle 
-013b c004813e beq set_report ,p_usb_set_report 
-013c c005fb7c beq set_protocol ,usb_set_protocol_req 
-013d 202079e4 branch usb0_force_stall 
+014e 6fe0886e fetch 1 ,mem_usb_setup_brequest 
+014f c0057b4b beq set_idle ,usb_set_idle 
+0150 c0048153 beq set_report ,p_usb_set_report 
+0151 c005816b beq set_protocol ,p_usb_set_protocol_req 
+0152 202079e4 branch usb0_force_stall 
 
 p_usb_set_report:
-013e 20003a98 nop 15000 
-013f d8a00875 arg mem_usb0_set_report_data ,contw 
-0140 2040010b call p_usb_rx_data 
-0141 7008f701 jam 1 ,mem_usb0_get_set_report 
-0142 20407b6e call usb_set_report_resume_judge 
-0143 6fe0c696 fetch 1 ,mem_setreport_count 
-0144 1fe0fe01 pincrease 1 
-0145 67e0c696 store 1 ,mem_setreport_count 
-0146 6fe1086f fetch 2 ,mem_usb_setup_bvalue 
-0147 67e108f5 store 2 ,mem_usb_setup_bvalue_temp 
-0148 708c1b02 jam 0x2 ,core_usb_clear_nak 
-0149 20207b65 branch usb_set_report_next 
+0153 20003a98 nop 15000 
+0154 d8a00875 arg mem_usb0_set_report_data ,contw 
+0155 20400120 call p_usb_rx_data 
+0156 7008f701 jam 1 ,mem_usb0_get_set_report 
+0157 20407b6e call usb_set_report_resume_judge 
+0158 6fe0c696 fetch 1 ,mem_setreport_count 
+0159 1fe0fe01 pincrease 1 
+015a 67e0c696 store 1 ,mem_setreport_count 
+015b 6fe1086f fetch 2 ,mem_usb_setup_bvalue 
+015c 67e108f5 store 2 ,mem_usb_setup_bvalue_temp 
+015d 708c1b02 jam 0x2 ,core_usb_clear_nak 
+015e 20207b65 branch usb_set_report_next 
+
+p_usb_set_idle:
+015f 7008fb01 jam 1 ,mem_usb_idle_flag 
+0160 6fe08870 fetch 1 ,mem_usb_setup_bvalueh 
+0161 67e088fc store 1 ,mem_usb_idle_rate 
+0162 6fe08871 fetch 1 ,mem_usb_setup_windex 
+0163 1fe67c01 sub pdata ,1 ,null 
+0164 20428166 call p_usb_clear_remote_wakeup_set0 ,zero 
+0165 20207b52 branch usb_set_idle_next 
+
+p_usb_clear_remote_wakeup_set0:
+0166 6fe0c697 fetch 1 ,mem_usb_enum_get_report_flag 
+0167 203a7b59 branch usb_clear_remote_wakeup_set0 ,blank 
+0168 6fe08902 fetch 1 ,mem_usb_clear_remote_wakeup 
+0169 243a7b59 nbranch usb_clear_remote_wakeup_set0 ,blank 
+016a 20600000 rtn 
+
+p_usb_set_protocol_req:
+016b 6fe08873 fetch 1 ,mem_usb_setup_blength 
+016c c08079e4 bne 0 ,usb0_force_stall 
+016d 6fe0886f fetch 1 ,mem_usb_setup_bvalue 
+016e c0007b82 beq boot_protocol ,usb_set_boot_protocol 
+016f c0008171 beq report_protocol ,p_usb_set_report_protocol 
+0170 202079e4 branch usb0_force_stall 
+
+p_usb_set_report_protocol:
+0171 7008fa01 jam 1 ,mem_usb_tx_mac_enable 
+0172 7008fe01 jam 1 ,mem_usb_set_protocol_status 
+0173 7008ff00 jam 0 ,mem_usb_set_protocol_value 
+0174 6fe08871 fetch 1 ,mem_usb_setup_windex 
+0175 1fe67c01 sub pdata ,1 ,null 
+0176 2042f984 call mem_usb_mac_enumeration_enable ,zero 
+0177 202079e9 branch usb0_reply_zerolen 
+
+p_usb0_request_get_descriptor:
+0178 6fe08870 fetch 1 ,mem_usb_setup_bvalueh 
+0179 c000817c beq dsc_device ,p_dsc_device_info 
+017a c011017e beq dsc_hid_report ,p_dsc_hid_report_info 
+017b 20207a03 branch usb0_request_get_descriptor + 2 
+
+p_dsc_device_info:
+017c 70469700 jam 0 ,mem_usb_enum_get_report_flag 
+017d 20207a14 branch dsc_device_info 
+
+p_dsc_hid_report_info:
+017e 6fe10871 fetch 2 ,mem_usb_setup_windex 
+017f c0008183 beq 1 ,p_dsc_hid_report_info0 
+0180 70469701 jam 1 ,mem_usb_enum_get_report_flag 
+0181 6a2107a7 fetchr rega ,2 ,mem_hidreportdesc_kb 
+0182 20207b89 branch usb0_respond_length 
+
+p_dsc_hid_report_info0:
+0183 6fe088fa fetch 1 ,mem_usb_tx_mac_enable 
+0184 205a7984 call usb_windows_enumeration_enable ,blank 
+0185 70090001 jam usb_got_report_req ,mem_usb_state 
+0186 6a2107a9 fetchr rega ,2 ,mem_hidreportdesc_m 
+0187 20207b89 branch usb0_respond_length 
 
 p_usb_tx:
-014a 6fe0890d fetch 1 ,mem_usb_tx_enable 
-014b 207a0000 rtn blank 
-014c 6ff08c25 fetch 1 ,core_usb_txbusy 
-014d 1fe17e0f and_into 0x0f ,pdata 
-014e 243a7c30 nbranch usb_inwake_state_tx_dispose ,blank 
-014f 6fe0890e fetch 1 ,mem_usb_device_enumeration_endflag 
-0150 203a7c06 branch usb_tx_fifo_release ,blank 
-0151 6fe08900 fetch 1 ,mem_usb_state 
-0152 c001fc40 beq usb_sleep ,usb_windows_wakeup 
-0153 c0817c06 bne usb_connected ,usb_tx_fifo_release 
-0154 6fe08902 fetch 1 ,mem_usb_clear_remote_wakeup 
-0155 243a7c06 nbranch usb_tx_fifo_release ,blank 
-0156 20400158 call p_usb_tx_data_ep1 
-0157 2020015c branch p_usb_tx_data_ep2 
+0188 6fe0890d fetch 1 ,mem_usb_tx_enable 
+0189 207a0000 rtn blank 
+018a 6ff08c25 fetch 1 ,core_usb_txbusy 
+018b 1fe17e0f and_into 0x0f ,pdata 
+018c 243a7c30 nbranch usb_inwake_state_tx_dispose ,blank 
+018d 6fe0890e fetch 1 ,mem_usb_device_enumeration_endflag 
+018e 203a7c06 branch usb_tx_fifo_release ,blank 
+018f 6fe08900 fetch 1 ,mem_usb_state 
+0190 c001fc40 beq usb_sleep ,usb_windows_wakeup 
+0191 c0817c06 bne usb_connected ,usb_tx_fifo_release 
+0192 6fe08902 fetch 1 ,mem_usb_clear_remote_wakeup 
+0193 243a7c06 nbranch usb_tx_fifo_release ,blank 
+0194 20400196 call p_usb_tx_data_ep1 
+0195 2020019a branch p_usb_tx_data_ep2 
 
 p_usb_tx_data_ep1:
-0158 6ff08c25 fetch 1 ,core_usb_txbusy 
-0159 1fe17e0f and_into 0x0f ,pdata 
-015a 247a0000 nrtn blank 
-015b 20207bf0 branch usb_tx_data_ep1 + 2 
+0196 6ff08c25 fetch 1 ,core_usb_txbusy 
+0197 1fe17e0f and_into 0x0f ,pdata 
+0198 247a0000 nrtn blank 
+0199 20207bf0 branch usb_tx_data_ep1 + 2 
 
 p_usb_tx_data_ep2:
-015c 6ff08c25 fetch 1 ,core_usb_txbusy 
-015d 1fe17e0f and_into 0x0f ,pdata 
-015e 247a0000 nrtn blank 
-015f 20207bfb branch usb_tx_data_ep2 + 2 
+019a 6ff08c25 fetch 1 ,core_usb_txbusy 
+019b 1fe17e0f and_into 0x0f ,pdata 
+019c 247a0000 nrtn blank 
+019d 20207bfb branch usb_tx_data_ep2 + 2 
 
 p_rx_dcoc:
-0160 20758000 rtn wake 
-0161 20402160 call set_sync_on 
-0162 d8400027 arg 39 ,temp 
-0163 2040216f call set_freq_rx 
-0164 204021a6 call rf_rx_enable 
-0165 708a257f jam 0x7f ,0x8a25 
-0166 708a301a jam 0x1a ,0x8a30 
-0167 708a3178 jam 0x78 ,0x8a31 
-0168 708a8fb2 jam 0xb2 ,0x8a8f 
-0169 708ac200 jam 0 ,0x8ac2 
-016a 708ac300 jam 0 ,0x8ac3 
-016b d8e00006 arg 6 ,queue 
-016c 2040017d call p_rx_dcoc_avg 
-016d 2a2ffe0d isolate1 13 ,rega 
-016e 2040211d call qset_start 
-016f 2a4ffe0d isolate1 13 ,regb 
-0170 2040211e call qset_p 
-0171 d8e00005 arg 5 ,queue 
+019e 20758000 rtn wake 
+019f 20402160 call set_sync_on 
+01a0 d8400027 arg 39 ,temp 
+01a1 2040216f call set_freq_rx 
+01a2 204021a6 call rf_rx_enable 
+01a3 708a257f jam 0x7f ,0x8a25 
+01a4 708a301a jam 0x1a ,0x8a30 
+01a5 708a3178 jam 0x78 ,0x8a31 
+01a6 708a8fb2 jam 0xb2 ,0x8a8f 
+01a7 708ac200 jam 0 ,0x8ac2 
+01a8 708ac300 jam 0 ,0x8ac3 
+01a9 d8e00006 arg 6 ,queue 
+01aa 204001bb call p_rx_dcoc_avg 
+01ab 2a2ffe0d isolate1 13 ,rega 
+01ac 2040211d call qset_start 
+01ad 2a4ffe0d isolate1 13 ,regb 
+01ae 2040211e call qset_p 
+01af d8e00005 arg 5 ,queue 
 
 p_rx_dcoc_loop2:
-0172 2040211c call qset1_p 
-0173 2040211e call qset_p 
-0174 2040017d call p_rx_dcoc_avg 
-0175 d8a08ac2 arg 0x8ac2 ,contw 
-0176 1a31fe00 rshift4 rega ,pdata 
-0177 20402117 call qsetxor 
-0178 1a51fe00 rshift4 regb ,pdata 
-0179 20402117 call qsetxor 
-017a 18e08fff increase -1 ,queue 
-017b 20210172 branch p_rx_dcoc_loop2 ,positive 
-017c 2020214f branch rx_dcoc_loop2 + 10 
+01b0 2040211c call qset1_p 
+01b1 2040211e call qset_p 
+01b2 204001bb call p_rx_dcoc_avg 
+01b3 d8a08ac2 arg 0x8ac2 ,contw 
+01b4 1a31fe00 rshift4 rega ,pdata 
+01b5 20402117 call qsetxor 
+01b6 1a51fe00 rshift4 regb ,pdata 
+01b7 20402117 call qsetxor 
+01b8 18e08fff increase -1 ,queue 
+01b9 202101b0 branch p_rx_dcoc_loop2 ,positive 
+01ba 2020214f branch rx_dcoc_loop2 + 10 
 
 p_rx_dcoc_avg:
-017d 2000003c nop 60 
-017e 58000f00 setarg mem_dcoc_buf 
-017f 67f10982 store 2 ,0x8982 
-0180 58000ff0 setarg mem_dcoc_buf_end 
-0181 67f10984 store 2 ,0x8984 
-0182 70898109 jam 0x9 ,0x8981 
-0183 70898103 jam 0x3 ,0x8981 
-0184 70898006 jam 0x6 ,0x8980 
-0185 2000003c nop 60 
-0186 da200000 arg 0 ,rega 
-0187 da400000 arg 0 ,regb 
-0188 df200010 arg 16 ,loopcnt 
-0189 d8c00f00 arg mem_dcoc_buf ,contr 
-018a 2020212d branch rx_dcoc_loop 
+01bb 2000003c nop 60 
+01bc 58000f00 setarg mem_dcoc_buf 
+01bd 67f10982 store 2 ,0x8982 
+01be 58000ff0 setarg mem_dcoc_buf_end 
+01bf 67f10984 store 2 ,0x8984 
+01c0 70898109 jam 0x9 ,0x8981 
+01c1 70898103 jam 0x3 ,0x8981 
+01c2 70898006 jam 0x6 ,0x8980 
+01c3 2000003c nop 60 
+01c4 da200000 arg 0 ,rega 
+01c5 da400000 arg 0 ,regb 
+01c6 df200010 arg 16 ,loopcnt 
+01c7 d8c00f00 arg mem_dcoc_buf ,contr 
+01c8 2020212d branch rx_dcoc_loop 
 
 p_rfpll_aac_ghpc:
-018b 20758000 rtn wake 
-018c 20202272 branch rfpll_aac_ghpc + 1 
+01c9 20758000 rtn wake 
+01ca 20202272 branch rfpll_aac_ghpc + 1 
 
 p_dpll_ring_ibias_calc:
-018d 20600000 rtn 
+01cb 20600000 rtn 
 
 p_sadc_calibration:
-018e 20758000 rtn wake 
-018f 708a0777 jam 0x77 ,core_gpadc_ctrl 
-0190 708a08c9 jam 0xc9 ,core_gpadc_cfg0 
-0191 708a0b01 jam 0x01 ,core_gpadc_cfg3 
-0192 6fe0c409 fetch 1 ,mem_adc_clkdiv 
-0193 67f080cd store 1 ,core_sadc_clkdiv 
-0194 20000bb8 nop 3000 
-0195 204001b6 call p_sadc_read 
-0196 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
-0197 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
-0198 df200008 arg 8 ,loopcnt 
-0199 20406f58 call sadc_cal_read + 1 
-019a 6fe0c419 fetch 1 ,mem_spi_write_addr 
-019b 67e0c433 store 1 ,mem_adc_cal_c7 
-019c 6240c419 storer regb ,1 ,mem_spi_write_addr 
-019d 20600000 rtn 
+01cc 20758000 rtn wake 
+01cd 708a0777 jam 0x77 ,core_gpadc_ctrl 
+01ce 708a08c9 jam 0xc9 ,core_gpadc_cfg0 
+01cf 708a0b01 jam 0x01 ,core_gpadc_cfg3 
+01d0 6fe0c409 fetch 1 ,mem_adc_clkdiv 
+01d1 67f080cd store 1 ,core_sadc_clkdiv 
+01d2 20000bb8 nop 3000 
+01d3 204001f4 call p_sadc_read 
+01d4 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
+01d5 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
+01d6 df200008 arg 8 ,loopcnt 
+01d7 20406f58 call sadc_cal_read + 1 
+01d8 6fe0c419 fetch 1 ,mem_spi_write_addr 
+01d9 67e0c433 store 1 ,mem_adc_cal_c7 
+01da 6240c419 storer regb ,1 ,mem_spi_write_addr 
+01db 20600000 rtn 
 
 p_enable_adc:
-019e 204001ac call p_sadc_cal_write 
-019f 6ff08a09 fetch 1 ,core_gpadc_cfg1 
-01a0 793ffe07 set0 7 ,pdata 
-01a1 67f08a09 store 1 ,core_gpadc_cfg1 
-01a2 708a0777 jam 0x77 ,core_gpadc_ctrl 
-01a3 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
-01a4 708a0b01 jam 0x01 ,core_gpadc_cfg3 
-01a5 20406f90 call sadc_channel 
-01a6 6fe0c409 fetch 1 ,mem_adc_clkdiv 
-01a7 67f080cd store 1 ,core_sadc_clkdiv 
-01a8 20000bb8 nop 3000 
-01a9 204001b6 call p_sadc_read 
-01aa 7080cd00 jam 0 ,core_sadc_clkdiv 
-01ab 20206fa1 branch sadc_dma 
+01dc 204001ea call p_sadc_cal_write 
+01dd 6ff08a09 fetch 1 ,core_gpadc_cfg1 
+01de 793ffe07 set0 7 ,pdata 
+01df 67f08a09 store 1 ,core_gpadc_cfg1 
+01e0 708a0777 jam 0x77 ,core_gpadc_ctrl 
+01e1 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
+01e2 708a0b01 jam 0x01 ,core_gpadc_cfg3 
+01e3 20406f90 call sadc_channel 
+01e4 6fe0c409 fetch 1 ,mem_adc_clkdiv 
+01e5 67f080cd store 1 ,core_sadc_clkdiv 
+01e6 20000bb8 nop 3000 
+01e7 204001f4 call p_sadc_read 
+01e8 7080cd00 jam 0 ,core_sadc_clkdiv 
+01e9 20206fa1 branch sadc_dma 
 
 p_sadc_cal_write:
-01ac 6ff080cc fetch 1 ,core_sadc_ctrl 
-01ad 79207e01 set1 1 ,pdata 
-01ae 67f080cc store 1 ,core_sadc_ctrl 
-01af 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
-01b0 6fe0c433 fetch 1 ,mem_adc_cal_c7 
-01b1 67e0c419 store 1 ,mem_spi_write_addr 
-01b2 df200008 arg 8 ,loopcnt 
-01b3 20406f67 call sadc_cal_write + 4 
-01b4 6240c419 storer regb ,1 ,mem_spi_write_addr 
-01b5 20600000 rtn 
+01ea 6ff080cc fetch 1 ,core_sadc_ctrl 
+01eb 79207e01 set1 1 ,pdata 
+01ec 67f080cc store 1 ,core_sadc_ctrl 
+01ed 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
+01ee 6fe0c433 fetch 1 ,mem_adc_cal_c7 
+01ef 67e0c419 store 1 ,mem_spi_write_addr 
+01f0 df200008 arg 8 ,loopcnt 
+01f1 20406f67 call sadc_cal_write + 4 
+01f2 6240c419 storer regb ,1 ,mem_spi_write_addr 
+01f3 20600000 rtn 
 
 p_sadc_read:
-01b6 7080cc03 jam 0x03 ,core_sadc_ctrl 
+01f4 7080cc03 jam 0x03 ,core_sadc_ctrl 
 
 p_sadc_read_wait:
-01b7 6ff08129 fetch 1 ,core_perf_status 
-01b8 c30281b7 bbit0 saradc_done ,p_sadc_read_wait 
-01b9 68590164 fetcht 2 ,core_sadc_data 
-01ba 6049440a storet 2 ,mem_adc_current_value 
-01bb 7080cc00 jam 0x00 ,core_sadc_ctrl 
-01bc 20600000 rtn 
+01f5 6ff08129 fetch 1 ,core_perf_status 
+01f6 c30281f5 bbit0 saradc_done ,p_sadc_read_wait 
+01f7 68590164 fetcht 2 ,core_sadc_data 
+01f8 6049440a storet 2 ,mem_adc_current_value 
+01f9 7080cc00 jam 0x00 ,core_sadc_ctrl 
+01fa 20600000 rtn 
 
 p_set_lemode:
-01bd 708a8211 jam 0x11 ,0x8a82 
-01be 708a8d12 jam 0x12 ,0x8a8d 
-01bf 708a8e0a jam 0x0a ,0x8a8e 
-01c0 6fe0c099 fetch 1 ,mem_fcomp_div 
-01c1 c00801d6 beq xtal_16m ,p_set_lemode_2m_16m 
-01c2 58005762 setarg 0x5762 
-01c3 67f10907 store 2 ,0x8907 
+01fb 708a8211 jam 0x11 ,0x8a82 
+01fc 708a8d12 jam 0x12 ,0x8a8d 
+01fd 708a8e0a jam 0x0a ,0x8a8e 
+01fe 6fe0c099 fetch 1 ,mem_fcomp_div 
+01ff c0080214 beq xtal_16m ,p_set_lemode_2m_16m 
+0200 58005762 setarg 0x5762 
+0201 67f10907 store 2 ,0x8907 
 
 p_set_lemode_2m:
-01c4 70890103 jam 3 ,0x8901 
-01c5 70893003 jam 3 ,0x8930 
-01c6 c6168000 rtnmark1 mark_ble_2m 
-01c7 70890101 jam 1 ,0x8901 
-01c8 708a8207 jam 0x07 ,0x8a82 
-01c9 708a8d44 jam 0x44 ,0x8a8d 
-01ca 708a8e0a jam 0x0a ,0x8a8e 
-01cb 6fe0c099 fetch 1 ,mem_fcomp_div 
-01cc c00801d3 beq xtal_16m ,p_set_lemode_1m_16m 
-01cd 58002bb1 setarg 0x2bb1 
-01ce 67f10907 store 2 ,0x8907 
+0202 70890103 jam 3 ,0x8901 
+0203 70893003 jam 3 ,0x8930 
+0204 c6168000 rtnmark1 mark_ble_2m 
+0205 70890101 jam 1 ,0x8901 
+0206 708a8207 jam 0x07 ,0x8a82 
+0207 708a8d44 jam 0x44 ,0x8a8d 
+0208 708a8e0a jam 0x0a ,0x8a8e 
+0209 6fe0c099 fetch 1 ,mem_fcomp_div 
+020a c0080211 beq xtal_16m ,p_set_lemode_1m_16m 
+020b 58002bb1 setarg 0x2bb1 
+020c 67f10907 store 2 ,0x8907 
 
 p_set_lemode_1m:
-01cf c6978000 rtnmark0 mark_ble_lr 
-01d0 70893024 jam 0x24 ,0x8930 
-01d1 70890105 jam 5 ,0x8901 
-01d2 20600000 rtn 
+020d c6978000 rtnmark0 mark_ble_lr 
+020e 70893024 jam 0x24 ,0x8930 
+020f 70890105 jam 5 ,0x8901 
+0210 20600000 rtn 
 
 p_set_lemode_1m_16m:
-01d3 58004189 setarg 0x4189 
-01d4 67f10907 store 2 ,0x8907 
-01d5 202001cf branch p_set_lemode_1m 
+0211 58004189 setarg 0x4189 
+0212 67f10907 store 2 ,0x8907 
+0213 2020020d branch p_set_lemode_1m 
 
 p_set_lemode_2m_16m:
-01d6 58008312 setarg 0x8312 
-01d7 67f10907 store 2 ,0x8907 
-01d8 202001c4 branch p_set_lemode_2m 
+0214 58008312 setarg 0x8312 
+0215 67f10907 store 2 ,0x8907 
+0216 20200202 branch p_set_lemode_2m 
 
 p_le_parse:
-01d9 6fe0c334 fetch 1 ,mem_le_packet_llid 
-01da c1000000 rtneq llid_reserved 
-01db c001b04a beq llid_le_ll ,le_parse_ll 
-01dc 202028e1 branch le_parse_l2cap 
+0217 6fe0c334 fetch 1 ,mem_le_packet_llid 
+0218 c1000000 rtneq llid_reserved 
+0219 c001b04a beq llid_le_ll ,le_parse_ll 
+021a 202028e1 branch le_parse_l2cap 
 
 p_le_init_adv:
-01dd 793f8030 set0 mark_ble_crc_fail ,mark 
-01de 20202af6 branch le_init_adv + 1 
+021b 793f8030 set0 mark_ble_crc_fail ,mark 
+021c 20202af6 branch le_init_adv + 1 
 
 p_g24_bind_data_parse_next:
-01df 6fe0c5ea fetch 1 ,mem_24g_rxdata_temp + 2 
-01e0 c0553329 beq datatype_bind ,g24_bind_first_step 
-01e1 c02ab33a beq datatype_config ,g24_bind_second_step 
-01e2 c01101e5 beq datatype_ok ,p_g24_bind_third_step 
-01e3 c07fb59b beq datatype_attemp ,g24_data_attemp 
-01e4 20600000 rtn 
+021d 6fe0c5ea fetch 1 ,mem_24g_rxdata_temp + 2 
+021e c0553329 beq datatype_bind ,g24_bind_first_step 
+021f c02ab33a beq datatype_config ,g24_bind_second_step 
+0220 c0110223 beq datatype_ok ,p_g24_bind_third_step 
+0221 c07fb59b beq datatype_attemp ,g24_data_attemp 
+0222 20600000 rtn 
 
 p_g24_bind_third_step:
-01e5 6fe0c5ae fetch 1 ,mem_24g_pair_switch 
-01e6 203a01eb branch p_g24_bind_third_step_skip ,blank 
-01e7 6fe245ec fetch 4 ,mem_24g_rxdata_temp + 4 
-01e8 684a462c fetcht 4 ,mem_24g_transmitter_addr 
-01e9 98467c00 isub temp ,null 
-01ea 24628000 nrtn zero 
+0223 6fe0c5ae fetch 1 ,mem_24g_pair_switch 
+0224 203a0229 branch p_g24_bind_third_step_skip ,blank 
+0225 6fe245ec fetch 4 ,mem_24g_rxdata_temp + 4 
+0226 684a462c fetcht 4 ,mem_24g_transmitter_addr 
+0227 98467c00 isub temp ,null 
+0228 24628000 nrtn zero 
 
 p_g24_bind_third_step_skip:
-01eb 6fe0c5eb fetch 1 ,mem_24g_rxdata_temp + 3 
-01ec c00081ef beq datatype_device1 ,p_g24_bind_third_step_device1 
-01ed c00101f7 beq datatype_device2 ,p_g24_bind_third_step_device2 
-01ee 20600000 rtn 
+0229 6fe0c5eb fetch 1 ,mem_24g_rxdata_temp + 3 
+022a c000822d beq datatype_device1 ,p_g24_bind_third_step_device1 
+022b c0010235 beq datatype_device2 ,p_g24_bind_third_step_device2 
+022c 20600000 rtn 
 
 p_g24_bind_third_step_device1:
-01ef 6fe0c5de fetch 1 ,mem_24g_device1_bind_disable 
-01f0 247a0000 nrtn blank 
-01f1 6fe0c5d3 fetch 1 ,mem_24g_device1_bind_step 
-01f2 c00101f4 beq 2 ,p_g24_bind_dvc1_step_success 
-01f3 20600000 rtn 
+022d 6fe0c5de fetch 1 ,mem_24g_device1_bind_disable 
+022e 247a0000 nrtn blank 
+022f 6fe0c5d3 fetch 1 ,mem_24g_device1_bind_step 
+0230 c0010232 beq 2 ,p_g24_bind_dvc1_step_success 
+0231 20600000 rtn 
 
 p_g24_bind_dvc1_step_success:
-01f4 7045de01 jam 1 ,mem_24g_device1_bind_disable 
-01f5 2040338d call g24_binding_dvc1_living 
-01f6 2020336b branch g24_bind_dvc1_step_success + 1 
+0232 7045de01 jam 1 ,mem_24g_device1_bind_disable 
+0233 2040338d call g24_binding_dvc1_living 
+0234 2020336b branch g24_bind_dvc1_step_success + 1 
 
 p_g24_bind_third_step_device2:
-01f7 6fe0c5df fetch 1 ,mem_24g_device2_bind_disable 
-01f8 247a0000 nrtn blank 
-01f9 6fe0c5d4 fetch 1 ,mem_24g_device2_bind_step 
-01fa c08001fc bne 0 ,p_g24_bind_dvc2_step_success 
-01fb 20600000 rtn 
+0235 6fe0c5df fetch 1 ,mem_24g_device2_bind_disable 
+0236 247a0000 nrtn blank 
+0237 6fe0c5d4 fetch 1 ,mem_24g_device2_bind_step 
+0238 c080023a bne 0 ,p_g24_bind_dvc2_step_success 
+0239 20600000 rtn 
 
 p_g24_bind_dvc2_step_success:
-01fc 7045df01 jam 1 ,mem_24g_device2_bind_disable 
-01fd 20403393 call g24_binding_dvc2_living 
-01fe 20203378 branch g24_bind_dvc2_step_success + 1 
+023a 7045df01 jam 1 ,mem_24g_device2_bind_disable 
+023b 20403393 call g24_binding_dvc2_living 
+023c 20203378 branch g24_bind_dvc2_step_success + 1 
 
 p_g24_mode_switch_bind_search:
-01ff 6fe0c616 fetch 1 ,mem_24g_work_mode 
-0200 c1000000 rtneq dongle_work 
-0201 6fe0c62a fetch 1 ,mem_24g_b_s_mode_switch_disable 
-0202 247a0000 nrtn blank 
-0203 6fe0c628 fetch 1 ,mem_24g_mode_b_s_switch_exit 
-0204 247a0000 nrtn blank 
-0205 6fe0c624 fetch 1 ,mem_24g_mode_b_s_switch 
-0206 207a0000 rtn blank 
-0207 6fe0c5d3 fetch 1 ,mem_24g_device1_bind_step 
-0208 c1800000 rtnne 0 
-0209 6fe0c5d4 fetch 1 ,mem_24g_device2_bind_step 
-020a c1800000 rtnne 0 
-020b 20203436 branch g24_mode_switch_bind_search + 9 
+023d 6fe0c616 fetch 1 ,mem_24g_work_mode 
+023e c1000000 rtneq dongle_work 
+023f 6fe0c62a fetch 1 ,mem_24g_b_s_mode_switch_disable 
+0240 247a0000 nrtn blank 
+0241 6fe0c628 fetch 1 ,mem_24g_mode_b_s_switch_exit 
+0242 247a0000 nrtn blank 
+0243 6fe0c624 fetch 1 ,mem_24g_mode_b_s_switch 
+0244 207a0000 rtn blank 
+0245 6fe0c5d3 fetch 1 ,mem_24g_device1_bind_step 
+0246 c1800000 rtnne 0 
+0247 6fe0c5d4 fetch 1 ,mem_24g_device2_bind_step 
+0248 c1800000 rtnne 0 
+0249 20203436 branch g24_mode_switch_bind_search + 9 
 
 p_g24_bind_mode_auto:
-020c 6fe0c616 fetch 1 ,mem_24g_work_mode 
-020d c1808000 rtnne dongle_bind 
-020e 20400210 call p_g24_bind_init 
-020f 2020346d branch g24_bind_mode_auto + 4 
+024a 6fe0c616 fetch 1 ,mem_24g_work_mode 
+024b c1808000 rtnne dongle_bind 
+024c 2040024e call p_g24_bind_init 
+024d 2020346d branch g24_bind_mode_auto + 4 
 
 p_g24_bind_init:
-0210 6fe0c615 fetch 1 ,mem_24g_mode_init 
-0211 c3808000 rtnbit1 dongle_bind 
-0212 79207e01 set1 dongle_bind ,pdata 
-0213 67e0c615 store 1 ,mem_24g_mode_init 
-0214 58000000 setarg 0 
-0215 67e1c5d3 store 3 ,mem_24g_device1_bind_step 
-0216 20203307 branch g24_bind_init + 8 
+024e 6fe0c615 fetch 1 ,mem_24g_mode_init 
+024f c3808000 rtnbit1 dongle_bind 
+0250 79207e01 set1 dongle_bind ,pdata 
+0251 67e0c615 store 1 ,mem_24g_mode_init 
+0252 58000000 setarg 0 
+0253 67e1c5d3 store 3 ,mem_24g_device1_bind_step 
+0254 20203307 branch g24_bind_init + 8 
 
 p_dongle_usb_dispatch:
-0217 20400219 call p_wdt_kick 
-0218 20204868 branch dongle_usb_dispatch + 1 
+0255 20400257 call p_wdt_kick 
+0256 20204868 branch dongle_usb_dispatch + 1 
 
 p_wdt_kick:
-0219 58000010 setarg 16 
-021a 202070c8 branch wdt_init_config 
+0257 58000010 setarg 16 
+0258 202070c8 branch wdt_init_config 
 
 p_dongle_default_init:
-021b 204047c3 call dongle_default_init + 1 
-021c 6fe0c695 fetch 1 ,mem_24g_pair_tx_power_init 
-021d 67e0c5d1 store 1 ,mem_24g_pair_tx_power 
-021e 7045ca00 jam off ,mem_24g_disable_fec1 
-021f 20403281 call g24_enable_1m 
-0220 6fe0c669 fetch 1 ,mem_dg_sys_config 
-0221 c4000000 rtnbit0 dg_enable_new_revision 
-0222 7045ca01 jam on ,mem_24g_disable_fec1 
-0223 20203284 branch g24_enable_2m 
+0259 204047c3 call dongle_default_init + 1 
+025a 6fe0c695 fetch 1 ,mem_24g_pair_tx_power_init 
+025b 67e0c5d1 store 1 ,mem_24g_pair_tx_power 
+025c 7045ca00 jam off ,mem_24g_disable_fec1 
+025d 20403281 call g24_enable_1m 
+025e 6fe0c669 fetch 1 ,mem_dg_sys_config 
+025f c4000000 rtnbit0 dg_enable_new_revision 
+0260 7045ca01 jam on ,mem_24g_disable_fec1 
+0261 20203284 branch g24_enable_2m 
 
 p_g24_receive_skip_end:
-0224 6fe0c669 fetch 1 ,mem_dg_sys_config 
-0225 c3003165 bbit0 dg_enable_new_revision ,g24_receive_skip_end + 1 
-0226 7837fc00 enable user3 
-0227 20000018 nop 24 
-0228 6fe0c4f8 fetch 1 ,mem_24g_rxbuf + 1 
-0229 79207e00 set1 bit_ack_24g ,pdata 
-022a 67e0c4f8 store 1 ,mem_24g_rxbuf + 1 
-022b 204033a5 call g24_ackpayload_prep 
-022c 204031e5 call g24_transmit_prep 
-022d 20203195 branch g24_transmit 
+0262 6fe0c669 fetch 1 ,mem_dg_sys_config 
+0263 c3003165 bbit0 dg_enable_new_revision ,g24_receive_skip_end + 1 
+0264 7837fc00 enable user3 
+0265 20000018 nop 24 
+0266 6fe0c4f8 fetch 1 ,mem_24g_rxbuf + 1 
+0267 79207e00 set1 bit_ack_24g ,pdata 
+0268 67e0c4f8 store 1 ,mem_24g_rxbuf + 1 
+0269 204033a5 call g24_ackpayload_prep 
+026a 204031e5 call g24_transmit_prep 
+026b 20203195 branch g24_transmit 
               org 0x2000
 
 start:
@@ -31295,6 +31377,10 @@
 7981 207a0000 rtn blank 
 7982 70091200 jam 0 ,mem_usb_clear_halt 
 7983 70090002 jam usb_connected ,mem_usb_state 
+
+usb_windows_enumeration_enable:
+
+mem_usb_mac_enumeration_enable:
 7984 70090e01 jam 1 ,mem_usb_device_enumeration_endflag 
 7985 20600000 rtn 
 
@@ -31931,6 +32017,8 @@
 7b4f 6fe08871 fetch 1 ,mem_usb_setup_windex 
 7b50 1fe67c01 sub pdata ,1 ,null 
 7b51 2042fb59 call usb_clear_remote_wakeup_set0 ,zero 
+
+usb_set_idle_next:
 7b52 6fe08900 fetch 1 ,mem_usb_state 
 7b53 c08279e9 bne usb_resume ,usb0_reply_zerolen 
 7b54 70090002 jam usb_connected ,mem_usb_state 
Index: output/ramcode.rom
===================================================================
--- /1121s/branch/dongle/1m/usb_1m/output/ramcode.rom	(revision 5814)
+++ /1121s/branch/dongle/1m/usb_1m/output/ramcode.rom	(working copy)
@@ -1,32 +1,34 @@
 c2840014
-c000001f
-c0010056
-c008805f
-c00a01d0
-c00a8109
-c00c0117
-c00c80c3
-c00d007e
-c00e006d
-c01b822e
-c01c00dc
-c01c80d8
-c01e822a
-c06280d5
-c06d01a1
-c06e01b1
-c07e8025
-c07f8121
+c0000021
+c0010058
+c0088061
+c00a01fb
+c00a810b
+c00c0119
+c00c80c5
+c00d0080
+c00e006f
+c01b8259
+c01c00de
+c01c80da
+c01e8255
+c06280d7
+c06d01cc
+c06e01dc
+c07e8027
+c07f8123
 2020235a
-c000013e
-c003015d
-c01c81ec
-c02681f0
-c0378237
-c04101f2
-c0440212
-c045021f
-c0458037
+c0000140
+c0010178
+c001815f
+c0030188
+c01c8217
+c026821b
+c0378262
+c041021d
+c044023d
+c045024a
+c0458039
 c17f8000
 2020235a
 20800000
@@ -45,13 +47,13 @@
 204079a2
 20407b96
 20407bdf
-20400031
+20400033
 2020796b
 6ff08c25
-c2800031
-c2808031
-c2810031
-c2818031
+c2800033
+c2808033
+c2810033
+c2818033
 20600000
 6fe0c616
 c1838000
@@ -92,7 +94,7 @@
 20402018
 2040310f
 2040248c
-20200056
+20200058
 708a0f60
 708a10aa
 708a127a
@@ -119,7 +121,7 @@
 98467c00
 20216ca3
 6ff08a7c
-c3000073
+c3000075
 2020229a
 37d98200
 70813c58
@@ -132,14 +134,14 @@
 708a844a
 708a8540
 708a16fe
-204000de
+204000e0
 6fe0c436
 205a70d7
-2455807b
+2455807d
 37d98200
 70813b5f
 6fe0c099
-c00800b8
+c00800ba
 6fe0c438
 1fe1fe04
 67f08a02
@@ -150,18 +152,18 @@
 67f18a73
 708a8660
 708a8b3b
-204000aa
+204000ac
 70804300
 70804205
 58557474
 67f18968
 7089606e
-20400173
 2040019e
-204000a4
+204001c9
+204000a6
 7041480c
 20406f4e
-202001a0
+202001cb
 20758000
 37d98200
 6fe0c11c
@@ -169,7 +171,7 @@
 37d98200
 20600000
 6fe0c099
-c00c00b0
+c00c00b2
 6fe0c438
 1fe1fe06
 67f08a02
@@ -192,12 +194,12 @@
 67f18a73
 708a762a
 70890204
-20200096
+20200098
 6fe0c141
 c0032225
-c04f00c9
-c04f80cd
-c05000d1
+c04f00cb
+c04f80cf
+c05000d3
 2020220e
 708a1417
 58250300
@@ -220,7 +222,7 @@
 20206b45
 da401f00
 202047f1
-20358105
+20358107
 6fe2020d
 207a0000
 37d98200
@@ -262,7 +264,7 @@
 6fe1415b
 207a0000
 67e1020f
-202000ef
+202000f1
 2040686f
 204021ba
 18002a08
@@ -293,7 +295,7 @@
 2841fe0d
 2020f999
 6fe0c696
-c0008130
+c0008132
 d8a0086d
 20407994
 6fe0870c
@@ -301,12 +303,12 @@
 c000f9b6
 1fe67c07
 20610000
-2020013e
+20200140
 d8a00875
 20407994
 70469600
 6fe0870c
-c0008138
+c000813a
 7008f701
 708c1b03
 20600000
@@ -320,24 +322,24 @@
 6fe0886d
 1fe17e80
 c04079ba
-c0000144
+c0000146
 2020235a
 6fe0886d
 1ff1fe00
 1fe37e00
 1fe17e03
 c00079d6
-c000814c
+c000814e
 c00179e3
 2020235a
 6fe0886e
 c0057b4b
-c0048151
-c005fb7c
+c0048153
+c005816b
 202079e4
 20003a98
 d8a00875
-2040011e
+20400120
 7008f701
 20407b6e
 6fe0c696
@@ -347,6 +349,47 @@
 67e108f5
 708c1b02
 20207b65
+7008fb01
+6fe08870
+67e088fc
+6fe08871
+1fe67c01
+20428166
+20207b52
+6fe0c697
+203a7b59
+6fe08902
+243a7b59
+20600000
+6fe08873
+c08079e4
+6fe0886f
+c0007b82
+c0008171
+202079e4
+7008fa01
+7008fe01
+7008ff00
+6fe08871
+1fe67c01
+2042f984
+202079e9
+6fe08870
+c000817c
+c011017e
+20207a03
+70469700
+20207a14
+6fe10871
+c0008183
+70469701
+6a2107a7
+20207b89
+6fe088fa
+205a7984
+70090001
+6a2107a9
+20207b89
 6fe0890d
 207a0000
 6ff08c25
@@ -359,8 +402,8 @@
 c0817c06
 6fe08902
 243a7c06
-2040016b
-2020016f
+20400196
+2020019a
 6ff08c25
 1fe17e0f
 247a0000
@@ -381,7 +424,7 @@
 708ac200
 708ac300
 d8e00006
-20400190
+204001bb
 2a2ffe0d
 2040211d
 2a4ffe0d
@@ -389,14 +432,14 @@
 d8e00005
 2040211c
 2040211e
-20400190
+204001bb
 d8a08ac2
 1a31fe00
 20402117
 1a51fe00
 20402117
 18e08fff
-20210185
+202101b0
 2020214f
 2000003c
 58000f00
@@ -422,7 +465,7 @@
 6fe0c409
 67f080cd
 20000bb8
-204001c9
+204001f4
 708a08c1
 6a40c419
 df200008
@@ -431,7 +474,7 @@
 67e0c433
 6240c419
 20600000
-204001bf
+204001ea
 6ff08a09
 793ffe07
 67f08a09
@@ -442,7 +485,7 @@
 6fe0c409
 67f080cd
 20000bb8
-204001c9
+204001f4
 7080cd00
 20206fa1
 6ff080cc
@@ -457,7 +500,7 @@
 20600000
 7080cc03
 6ff08129
-c30281ca
+c30281f5
 68590164
 6049440a
 7080cc00
@@ -466,7 +509,7 @@
 708a8d12
 708a8e0a
 6fe0c099
-c00801e9
+c0080214
 58005762
 67f10907
 70890103
@@ -477,7 +520,7 @@
 708a8d44
 708a8e0a
 6fe0c099
-c00801e6
+c0080211
 58002bb1
 67f10907
 c6978000
@@ -486,10 +529,10 @@
 20600000
 58004189
 67f10907
-202001e2
+2020020d
 58008312
 67f10907
-202001d7
+20200202
 6fe0c334
 c1000000
 c001b04a
@@ -499,23 +542,23 @@
 6fe0c5ea
 c0553329
 c02ab33a
-c01101f8
+c0110223
 c07fb59b
 20600000
 6fe0c5ae
-203a01fe
+203a0229
 6fe245ec
 684a462c
 98467c00
 24628000
 6fe0c5eb
-c0008202
-c001020a
+c000822d
+c0010235
 20600000
 6fe0c5de
 247a0000
 6fe0c5d3
-c0010207
+c0010232
 20600000
 7045de01
 2040338d
@@ -523,7 +566,7 @@
 6fe0c5df
 247a0000
 6fe0c5d4
-c080020f
+c080023a
 20600000
 7045df01
 20403393
@@ -543,7 +586,7 @@
 20203436
 6fe0c616
 c1808000
-20400223
+2040024e
 2020346d
 6fe0c615
 c3808000
@@ -552,7 +595,7 @@
 58000000
 67e1c5d3
 20203307
-2040022c
+20400257
 20204868
 58000010
 202070c8
Index: output/sched.rom
===================================================================
--- /1121s/branch/dongle/1m/usb_1m/output/sched.rom	(revision 5814)
+++ /1121s/branch/dongle/1m/usb_1m/output/sched.rom	(working copy)
@@ -31,7 +31,7 @@
 00   #mem_patch1d
 00   #mem_patch1e
 a0   #mem_patch1f
-41   #mem_patch20
+4d   #mem_patch20
 00   #mem_patch21
 00   #mem_patch22
 00   #mem_patch23
@@ -131,7 +131,7 @@
 
 
 
-mem_rf_debug_rx_gpio:8c
+# mem_rf_debug_rx_gpio:8c
 #mem_rf_debug_tx_gpio:8c
 #uart config
 #mem_device_uart_tx_gpio:09	#08
Index: program/patch.prog
===================================================================
--- /1121s/branch/dongle/1m/usb_1m/program/patch.prog	(revision 5814)
+++ /1121s/branch/dongle/1m/usb_1m/program/patch.prog	(working copy)
@@ -24,6 +24,8 @@
 
 pf_patch_ext:
 	beq patch20_0,p_usb_class_type
+	beq patch20_2,p_usb0_request_get_descriptor
+	beq patch20_3,p_usb_set_idle
 	beq patch20_6,p_usb_tx
 	beq patch27_1,p_le_parse
 	beq patch29_5,p_le_init_adv
@@ -87,17 +89,16 @@
 	set1 DONGLE_WORK,pdata
 	store 1,mem_24g_mode_init
 	call g24_auto_bind_config_self
-	// fetch 1,0x4fff
-	// ncall g24_auto_bind_config_self,blank
+
 	fetch 1,mem_24g_ackpayload_enable
 	sub pdata,2,null
 	ncall g24_ackpayload_disable,zero
-	//jam 0x00,0x4fff
+
 	call g24_rx_interrupt_clear
 	call g24_enable_nodata_timer
 	call g24_receiver_addr_check
 	branch g24_self_ch_num_reinit,zero
-	//jam 0x01,0x4fff
+
 	fetch 4,mem_24g_addr
 	fetcht 4,mem_24g_device2_addr
 	isub temp,null
@@ -433,7 +434,7 @@
 	fetch 1,mem_usb_setup_bRequest
 	beq SET_IDLE,usb_set_idle
 	beq SET_REPORT,p_usb_set_report
-	beq SET_PROTOCOL,usb_set_protocol_req
+	beq SET_PROTOCOL,p_usb_set_protocol_req
 	branch usb0_force_stall
 
 p_usb_set_report:
@@ -452,6 +453,62 @@
 	jam 0x2,core_usb_clear_nak
 	branch usb_set_report_next
 
+p_usb_set_idle:
+	jam 1,mem_usb_idle_flag
+	fetch 1,mem_usb_setup_bValueH
+	store 1,mem_usb_idle_rate
+	fetch 1,mem_usb_setup_wIndex
+	sub pdata,1,null
+	call p_usb_clear_remote_wakeup_set0,zero
+	branch usb_set_idle_next
+
+p_usb_clear_remote_wakeup_set0:
+	//解决部分电脑进入休眠USB会断电一会导致数据丢失，下次电脑唤醒后接收器不能正常唤醒工作问题
+	fetch 1,mem_usb_enum_get_report_flag
+	branch usb_clear_remote_wakeup_set0,blank
+  	fetch 1,mem_usb_clear_remote_wakeup //首次枚举不清除远程唤醒 避免提前置枚举标志导致USB枚举完成前发了键鼠数据导致卡死
+	nbranch usb_clear_remote_wakeup_set0,blank
+	rtn
+p_usb_set_protocol_req:
+	fetch 1,mem_usb_setup_bLength
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bValue
+	beq BOOT_PROTOCOL,usb_set_boot_protocol
+	beq REPORT_PROTOCOL,p_usb_set_report_protocol
+	branch usb0_force_stall
+p_usb_set_report_protocol:
+	jam 1,mem_usb_tx_mac_enable
+	jam 1,mem_usb_set_protocol_status
+	jam 0,mem_usb_set_protocol_value
+
+	fetch 1,mem_usb_setup_wIndex
+	sub pdata,1,null
+	call mem_usb_mac_enumeration_enable,zero //mac enumeration completed
+	branch usb0_reply_zerolen
+
+p_usb0_request_get_descriptor:
+	fetch 1,mem_usb_setup_bValueH
+	beq DSC_DEVICE,p_dsc_device_info
+	beq DSC_HID_REPORT,p_dsc_hid_report_info
+	branch usb0_request_get_descriptor+2
+p_dsc_device_info:
+	jam 0,mem_usb_enum_get_report_flag
+	branch dsc_device_info
+
+p_dsc_hid_report_info:
+	fetch 2,mem_usb_setup_wIndex
+	beq 1,p_dsc_hid_report_info0
+	// jam USB_GOT_REPORT_START,mem_usb_state
+	jam 1,mem_usb_enum_get_report_flag
+	fetchr rega,2,mem_hidreportdesc_kb
+	branch usb0_respond_length
+p_dsc_hid_report_info0:
+	fetch 1,mem_usb_tx_mac_enable
+	call usb_windows_enumeration_enable,blank //windows enumeration completed
+	jam USB_GOT_REPORT_REQ,mem_usb_state
+	fetchr rega,2,mem_hidreportdesc_m
+	branch usb0_respond_length
+
 p_usb_tx:
 	fetch 1,mem_usb_tx_enable
 	rtn blank
Index: program/usb.prog
===================================================================
--- /1121s/branch/dongle/1m/usb_1m/program/usb.prog	(revision 5814)
+++ /1121s/branch/dongle/1m/usb_1m/program/usb.prog	(working copy)
@@ -152,6 +152,8 @@
 	rtn blank
 	jam 0,mem_usb_clear_halt
 	jam USB_CONNECTED,mem_usb_state
+usb_windows_enumeration_enable:
+mem_usb_mac_enumeration_enable:
 	jam 1,mem_usb_device_enumeration_endflag
 	rtn
 
@@ -774,6 +776,7 @@
 	fetch 1,mem_usb_setup_wIndex
 	sub pdata,1,null
 	call usb_clear_remote_wakeup_set0,zero
+usb_set_idle_next:	
 	fetch 1,mem_usb_state
 	bne USB_RESUME,usb0_reply_zerolen
 	jam USB_CONNECTED,mem_usb_state
Index: sched/dongle.dat
===================================================================
--- /1121s/branch/dongle/1m/usb_1m/sched/dongle.dat	(revision 5814)
+++ /1121s/branch/dongle/1m/usb_1m/sched/dongle.dat	(working copy)
@@ -64,7 +64,7 @@
 
 
 
-mem_rf_debug_rx_gpio:8c
+# mem_rf_debug_rx_gpio:8c
 #mem_rf_debug_tx_gpio:8c
 #uart config
 #mem_device_uart_tx_gpio:09	#08
