Index: format/app_dongle.format
===================================================================
--- /1121s/branch/dongle/1m/usb_pc/usb_pc_public/format/app_dongle.format	(revision 4609)
+++ /1121s/branch/dongle/1m/usb_pc/usb_pc_public/format/app_dongle.format	(working copy)
@@ -37,6 +37,19 @@
 //200 mem_hidreportdesc_Interface1_ms
 120 mem_hidreportdesc_Interface2_pc
 100 mem_confdesc_all
+156 mem_usb_rxbuf_new		//at least 78B * 2
+1 mem_usb_rxbuf_new_end		//must be even address
+
+0 mem_usb_clear_mem0_start
+64 mem_usb_txbuf3
+64 mem_usb_rxbuf_temp
+1 mem_usb_ep3_out_data_len
+1 mem_usb_ep3_in_data_len
+1 mem_usb_ep3_out_data_flag
+64 mem_usb_ep3_in_data
+64 mem_usb_ep3_out_data
+1 mem_usb_rxptr_add
+0 mem_usb_clear_mem0_end
 )
 
 
Index: output/eeprom.dat
===================================================================
--- /1121s/branch/dongle/1m/usb_pc/usb_pc_public/output/eeprom.dat	(revision 4609)
+++ /1121s/branch/dongle/1m/usb_pc/usb_pc_public/output/eeprom.dat	(working copy)
@@ -2,80 +2,88 @@
 02
 aa
 55
-ba
-08
+3e
+09
 c2
 84
 00
-13
+15
 c0
 00
 00
-1d
+1f
 c0
 01
 00
-23
+25
 c0
 08
 80
-2c
+2e
 c0
 0a
 01
-95
+97
 c0
 0a
 80
-d0
+d2
 c0
 0c
 00
-de
+e0
 c0
 0c
 80
-8a
+8c
 c0
 0d
 00
-46
+48
 c0
 0e
 00
-35
+37
 c0
 1b
 82
-1b
+3c
 c0
 1c
 00
-a3
+a5
 c0
 1c
 80
-9f
+a1
 c0
 1e
 82
-18
+39
 c0
 62
 80
-9c
+9e
 c0
 6d
 01
-66
+68
 c0
 6e
 01
-76
+78
+c0
+7e
+81
+f1
+c0
+7f
+01
+dc
 c0
 7f
 80
-e8
+ea
 20
 20
 23
@@ -83,35 +91,35 @@
 c0
 00
 01
-03
+05
 c0
 01
 01
-b1
+b3
 c0
 03
 01
-22
+24
 c0
 37
 82
-24
+45
 c0
 41
+02
 01
-e0
 c0
 44
 02
-00
+21
 c0
 45
 02
-0d
+2e
 c0
 45
 81
-d4
+f5
 c1
 7f
 80
@@ -179,7 +187,7 @@
 20
 20
 00
-23
+25
 70
 8a
 0f
@@ -267,7 +275,7 @@
 c3
 00
 00
-3b
+3d
 20
 20
 22
@@ -319,7 +327,7 @@
 20
 40
 00
-a5
+a7
 6f
 e0
 c4
@@ -331,7 +339,7 @@
 24
 55
 80
-43
+45
 37
 d9
 82
@@ -347,7 +355,7 @@
 c0
 08
 00
-7f
+81
 6f
 e0
 c4
@@ -391,7 +399,7 @@
 20
 40
 00
-71
+73
 70
 80
 43
@@ -415,15 +423,15 @@
 20
 40
 01
-38
+3a
 20
 40
 01
-63
+65
 20
 40
 00
-6c
+6e
 70
 41
 48
@@ -435,7 +443,7 @@
 20
 20
 01
-65
+67
 20
 75
 80
@@ -463,7 +471,7 @@
 c0
 0c
 00
-77
+79
 6f
 e0
 c4
@@ -555,7 +563,7 @@
 20
 20
 00
-5e
+60
 6f
 e0
 c1
@@ -567,15 +575,15 @@
 c0
 4f
 00
-90
+92
 c0
 4f
 80
-94
+96
 c0
 50
 00
-98
+9a
 20
 20
 22
@@ -667,7 +675,7 @@
 20
 35
 80
-cc
+ce
 6f
 e2
 02
@@ -835,7 +843,7 @@
 20
 20
 00
-b6
+b8
 20
 40
 68
@@ -959,7 +967,7 @@
 c0
 00
 80
-f7
+f9
 d8
 a0
 08
@@ -991,7 +999,7 @@
 20
 20
 01
-03
+05
 d8
 a0
 08
@@ -1010,8 +1018,8 @@
 0c
 c0
 00
-80
-ff
+81
+01
 70
 08
 f7
@@ -1059,7 +1067,7 @@
 c0
 00
 01
-09
+0b
 20
 20
 23
@@ -1087,7 +1095,7 @@
 c0
 00
 81
-11
+13
 c0
 01
 79
@@ -1107,7 +1115,7 @@
 c0
 04
 81
-16
+18
 c0
 05
 fb
@@ -1127,7 +1135,7 @@
 20
 40
 00
-e5
+e7
 70
 08
 f7
@@ -1215,11 +1223,11 @@
 20
 40
 01
-30
+32
 20
 20
 01
-34
+36
 6f
 f0
 8c
@@ -1303,7 +1311,7 @@
 20
 40
 01
-55
+57
 2a
 2f
 fe
@@ -1335,7 +1343,7 @@
 20
 40
 01
-55
+57
 d8
 a0
 8a
@@ -1363,7 +1371,7 @@
 20
 21
 01
-4a
+4c
 20
 20
 21
@@ -1467,7 +1475,7 @@
 20
 40
 01
-8e
+90
 70
 8a
 08
@@ -1503,7 +1511,7 @@
 20
 40
 01
-84
+86
 6f
 f0
 8a
@@ -1547,7 +1555,7 @@
 20
 40
 01
-8e
+90
 70
 80
 cd
@@ -1607,7 +1615,7 @@
 c3
 02
 81
-8f
+91
 68
 59
 01
@@ -1643,7 +1651,7 @@
 c0
 08
 01
-ae
+b0
 58
 00
 57
@@ -1687,7 +1695,7 @@
 c0
 08
 01
-ab
+ad
 58
 00
 2b
@@ -1723,7 +1731,7 @@
 20
 20
 01
-a7
+a9
 58
 00
 83
@@ -1735,7 +1743,7 @@
 20
 20
 01
-9c
+9e
 6f
 e0
 88
@@ -1746,8 +1754,8 @@
 14
 c0
 01
-7a
-2d
+01
+ba
 c0
 01
 fa
@@ -1755,15 +1763,27 @@
 c0
 10
 81
-b8
+bd
 c0
 11
 01
-c7
+cc
 20
 20
 79
 e4
+58
+00
+47
+0f
+68
+48
+c7
+0f
+20
+20
+7a
+18
 70
 08
 fd
@@ -1775,15 +1795,15 @@
 c0
 00
 01
-be
+c3
 c0
 00
 81
-c1
+c6
 c0
 01
 01
-c4
+c9
 20
 20
 79
@@ -1831,15 +1851,15 @@
 c0
 00
 01
-cc
+d1
 c0
 00
 81
-ce
+d3
 c0
 01
 01
-d0
+d5
 20
 20
 79
@@ -1869,13 +1889,125 @@
 00
 01
 6a
-21
+40
+c6
+97
+58
+00
 46
 97
+1f
+e0
+fe
+01
+1f
+e2
+22
+00
 20
 20
 7b
-89
+8b
+20
+40
+73
+96
+20
+40
+79
+32
+58
+00
+49
+14
+d8
+a0
+48
+10
+98
+a6
+72
+00
+20
+40
+7c
+a1
+70
+8c
+00
+00
+20
+00
+27
+10
+70
+8c
+12
+00
+6f
+f1
+00
+50
+79
+3f
+fe
+0a
+67
+f1
+00
+50
+70
+8c
+10
+21
+70
+8c
+11
+9d
+70
+8c
+00
+3c
+58
+00
+47
+73
+67
+f1
+0c
+02
+67
+f1
+0c
+06
+58
+00
+48
+0f
+67
+f1
+0c
+04
+20
+20
+79
+23
+6f
+f0
+8c
+22
+2f
+ef
+fe
+03
+20
+40
+81
+de
+20
+20
+79
+0a
 6f
 e0
 c6
@@ -1938,8 +2070,8 @@
 3a
 c0
 11
-01
-e6
+02
+07
 c0
 7f
 b5
@@ -1954,8 +2086,8 @@
 ae
 20
 3a
-01
-ec
+02
+0d
 6f
 e2
 45
@@ -1978,12 +2110,12 @@
 eb
 c0
 00
-81
-f0
+82
+11
 c0
 01
-01
-f8
+02
+19
 20
 60
 00
@@ -2002,8 +2134,8 @@
 d3
 c0
 01
-01
-f5
+02
+16
 20
 60
 00
@@ -2034,8 +2166,8 @@
 d4
 c0
 80
-01
-fd
+02
+1e
 20
 60
 00
@@ -2115,7 +2247,7 @@
 20
 40
 02
-11
+32
 20
 20
 34
@@ -2236,8 +2368,8 @@
 20
 31
 95
-73
-11
+f7
+e2
 aa
 55
 40
@@ -2275,7 +2407,7 @@
 00
 00
 00
-80
+e0
 45
 00
 00
@@ -2410,13 +2542,6 @@
 00
 aa
 55
-01
-00
-3f
-44
-8c
-aa
-55
 55
 00
 0f
@@ -2468,289 +2593,149 @@
 09
 21
 00
-02
-00
-01
-22
-a3
-00
-07
-05
-82
-03
-40
-00
-02
-09
-04
-02
-00
-01
-03
-00
-00
-00
-09
-21
-00
-02
-00
-01
-22
-5e
-00
-07
-05
-02
-03
-40
-00
-01
-aa
-55
-ef
-00
-97
-46
-5e
-00
-06
-00
-0a
-00
-00
-ff
-00
-00
-09
-00
-00
-20
-00
-a1
-00
-00
-10
-00
-06
-00
-0a
-20
-00
-ff
-00
-00
-09
-00
-00
-10
-00
-a1
-00
-00
-10
-00
-85
-00
-0a
-00
+02
 00
-95
+01
+22
+a3
 00
+07
+05
+82
 03
-f0
-00
-75
-00
+40
 00
-80
+02
+09
+04
+02
 00
-25
+01
+03
+01
+02
 00
-0f
-f0
+09
+21
 00
-15
+02
 00
+01
+22
+62
 00
+07
+05
+02
+03
+40
 00
+01
+aa
+55
+63
 00
+97
+46
+62
+06
+a0
+ff
 09
+0e
+a1
+01
+85
+a0
+95
+3f
+75
+08
+26
+ff
 00
+15
 00
-10
-00
+09
+01
 81
-00
-00
-20
-00
+02
 c0
-00
-00
 06
-00
-0a
-10
-00
+a1
 ff
-00
-00
 09
-00
-00
-20
-00
+0e
 a1
-00
-00
-10
-00
+01
 85
-00
-0a
-10
-00
+a1
 95
-00
-03
-f0
-00
+3f
 75
-00
-00
-80
-00
+08
 25
-00
-0f
-f0
-00
+ff
 15
 00
-00
-00
-00
 09
-00
-00
-10
-00
+01
 81
-00
-00
-20
-00
+02
 85
-00
-0a
-20
-00
+a2
 95
-00
-03
-f0
-00
+3f
 75
-00
-00
-80
-00
-25
-00
-0f
-f0
+08
+26
+ff
 00
 15
 00
-00
-00
-00
 09
-00
-00
-10
-00
+01
 b1
-00
-00
-20
-00
+02
 c0
-00
-00
+06
+a2
+ff
+09
+0e
+a1
+01
 85
-00
-0a
-30
-00
+a3
 95
-00
-03
-f0
-00
+3f
 75
-00
-00
-80
-00
-25
-00
-0f
-f0
+08
+26
+ff
 00
 15
 00
-00
-00
-00
 09
-00
-00
-10
-00
+01
 81
-00
-00
-20
-00
+02
 85
-00
-0a
-40
-00
+a4
 95
-00
-03
-f0
-00
+3f
 75
-00
-00
-80
-00
-25
-00
-0f
-f0
+08
+26
+ff
 00
 15
 00
-00
-00
-00
 09
-00
-00
-10
-00
+01
 91
-00
-00
-20
-00
+02
 c0
-00
 aa
 55
 01
@@ -2943,10 +2928,10 @@
 aa
 aa
 55
-f5
-7a
-69
-fe
+a6
+75
+64
+95
 ff
 ff
 ff
@@ -8188,5 +8173,20 @@
 ff
 ff
 ff
-fb
-d9
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+db
+c5
Index: output/memmap.format
===================================================================
--- /1121s/branch/dongle/1m/usb_pc/usb_pc_public/output/memmap.format	(revision 4609)
+++ /1121s/branch/dongle/1m/usb_pc/usb_pc_public/output/memmap.format	(working copy)
@@ -1485,6 +1485,18 @@
 0x4696 mem_setreport_count
 0x4697 mem_hidreportdesc_Interface2_pc
 0x470f mem_confdesc_all
+0x4773 mem_usb_rxbuf_new//at least 78B * 2
+0x480f mem_usb_rxbuf_new_end//must be even address
+0x4810 mem_usb_clear_mem0_start
+0x4810 mem_usb_txbuf3
+0x4850 mem_usb_rxbuf_temp
+0x4890 mem_usb_ep3_out_data_len
+0x4891 mem_usb_ep3_in_data_len
+0x4892 mem_usb_ep3_out_data_flag
+0x4893 mem_usb_ep3_in_data
+0x48d3 mem_usb_ep3_out_data
+0x4913 mem_usb_rxptr_add
+0x4914 mem_usb_clear_mem0_end
 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_pc/usb_pc_public/output/otp.dat	(revision 4609)
+++ /1121s/branch/dongle/1m/usb_pc/usb_pc_public/output/otp.dat	(working copy)
@@ -11,80 +11,88 @@
 00
 aa
 55
-ba
-08
+3e
+09
 c2
 84
 00
-13
+15
 c0
 00
 00
-1d
+1f
 c0
 01
 00
-23
+25
 c0
 08
 80
-2c
+2e
 c0
 0a
 01
-95
+97
 c0
 0a
 80
-d0
+d2
 c0
 0c
 00
-de
+e0
 c0
 0c
 80
-8a
+8c
 c0
 0d
 00
-46
+48
 c0
 0e
 00
-35
+37
 c0
 1b
 82
-1b
+3c
 c0
 1c
 00
-a3
+a5
 c0
 1c
 80
-9f
+a1
 c0
 1e
 82
-18
+39
 c0
 62
 80
-9c
+9e
 c0
 6d
 01
-66
+68
 c0
 6e
 01
-76
+78
+c0
+7e
+81
+f1
+c0
+7f
+01
+dc
 c0
 7f
 80
-e8
+ea
 20
 20
 23
@@ -92,35 +100,35 @@
 c0
 00
 01
-03
+05
 c0
 01
 01
-b1
+b3
 c0
 03
 01
-22
+24
 c0
 37
 82
-24
+45
 c0
 41
+02
 01
-e0
 c0
 44
 02
-00
+21
 c0
 45
 02
-0d
+2e
 c0
 45
 81
-d4
+f5
 c1
 7f
 80
@@ -188,7 +196,7 @@
 20
 20
 00
-23
+25
 70
 8a
 0f
@@ -276,7 +284,7 @@
 c3
 00
 00
-3b
+3d
 20
 20
 22
@@ -328,7 +336,7 @@
 20
 40
 00
-a5
+a7
 6f
 e0
 c4
@@ -340,7 +348,7 @@
 24
 55
 80
-43
+45
 37
 d9
 82
@@ -356,7 +364,7 @@
 c0
 08
 00
-7f
+81
 6f
 e0
 c4
@@ -400,7 +408,7 @@
 20
 40
 00
-71
+73
 70
 80
 43
@@ -424,15 +432,15 @@
 20
 40
 01
-38
+3a
 20
 40
 01
-63
+65
 20
 40
 00
-6c
+6e
 70
 41
 48
@@ -444,7 +452,7 @@
 20
 20
 01
-65
+67
 20
 75
 80
@@ -472,7 +480,7 @@
 c0
 0c
 00
-77
+79
 6f
 e0
 c4
@@ -564,7 +572,7 @@
 20
 20
 00
-5e
+60
 6f
 e0
 c1
@@ -576,15 +584,15 @@
 c0
 4f
 00
-90
+92
 c0
 4f
 80
-94
+96
 c0
 50
 00
-98
+9a
 20
 20
 22
@@ -676,7 +684,7 @@
 20
 35
 80
-cc
+ce
 6f
 e2
 02
@@ -844,7 +852,7 @@
 20
 20
 00
-b6
+b8
 20
 40
 68
@@ -968,7 +976,7 @@
 c0
 00
 80
-f7
+f9
 d8
 a0
 08
@@ -1000,7 +1008,7 @@
 20
 20
 01
-03
+05
 d8
 a0
 08
@@ -1019,8 +1027,8 @@
 0c
 c0
 00
-80
-ff
+81
+01
 70
 08
 f7
@@ -1068,7 +1076,7 @@
 c0
 00
 01
-09
+0b
 20
 20
 23
@@ -1096,7 +1104,7 @@
 c0
 00
 81
-11
+13
 c0
 01
 79
@@ -1116,7 +1124,7 @@
 c0
 04
 81
-16
+18
 c0
 05
 fb
@@ -1136,7 +1144,7 @@
 20
 40
 00
-e5
+e7
 70
 08
 f7
@@ -1224,11 +1232,11 @@
 20
 40
 01
-30
+32
 20
 20
 01
-34
+36
 6f
 f0
 8c
@@ -1312,7 +1320,7 @@
 20
 40
 01
-55
+57
 2a
 2f
 fe
@@ -1344,7 +1352,7 @@
 20
 40
 01
-55
+57
 d8
 a0
 8a
@@ -1372,7 +1380,7 @@
 20
 21
 01
-4a
+4c
 20
 20
 21
@@ -1476,7 +1484,7 @@
 20
 40
 01
-8e
+90
 70
 8a
 08
@@ -1512,7 +1520,7 @@
 20
 40
 01
-84
+86
 6f
 f0
 8a
@@ -1556,7 +1564,7 @@
 20
 40
 01
-8e
+90
 70
 80
 cd
@@ -1616,7 +1624,7 @@
 c3
 02
 81
-8f
+91
 68
 59
 01
@@ -1652,7 +1660,7 @@
 c0
 08
 01
-ae
+b0
 58
 00
 57
@@ -1696,7 +1704,7 @@
 c0
 08
 01
-ab
+ad
 58
 00
 2b
@@ -1732,7 +1740,7 @@
 20
 20
 01
-a7
+a9
 58
 00
 83
@@ -1744,7 +1752,7 @@
 20
 20
 01
-9c
+9e
 6f
 e0
 88
@@ -1755,8 +1763,8 @@
 14
 c0
 01
-7a
-2d
+01
+ba
 c0
 01
 fa
@@ -1764,15 +1772,27 @@
 c0
 10
 81
-b8
+bd
 c0
 11
 01
-c7
+cc
 20
 20
 79
 e4
+58
+00
+47
+0f
+68
+48
+c7
+0f
+20
+20
+7a
+18
 70
 08
 fd
@@ -1784,15 +1804,15 @@
 c0
 00
 01
-be
+c3
 c0
 00
 81
-c1
+c6
 c0
 01
 01
-c4
+c9
 20
 20
 79
@@ -1840,15 +1860,15 @@
 c0
 00
 01
-cc
+d1
 c0
 00
 81
-ce
+d3
 c0
 01
 01
-d0
+d5
 20
 20
 79
@@ -1878,77 +1898,189 @@
 00
 01
 6a
-21
+40
+c6
+97
+58
+00
 46
 97
-20
-20
-7b
-89
-6f
+1f
 e0
-c6
-16
-c1
-83
-80
+fe
+01
+1f
+e2
+22
 00
 20
-40
-34
-76
 20
-40
-34
-ae
+7b
+8b
 20
 40
-33
-f1
-24
-37
-b3
-be
+73
+96
 20
 40
-35
-06
-20
-42
-b3
-ad
-6f
-e0
-c6
-0a
-20
-5a
-34
-4d
+79
+32
+58
+00
+49
+14
+d8
+a0
+48
+10
+98
+a6
+72
+00
 20
 40
-34
-ec
-20
+7c
+a1
+70
+8c
+00
+00
 20
-34
-93
+00
+27
+10
+70
+8c
+12
+00
 6f
-e0
-c5
-ea
-c0
-55
-33
-29
-c0
-2a
-b3
-3a
-c0
+f1
+00
+50
+79
+3f
+fe
+0a
+67
+f1
+00
+50
+70
+8c
+10
+21
+70
+8c
 11
-01
-e6
+9d
+70
+8c
+00
+3c
+58
+00
+47
+73
+67
+f1
+0c
+02
+67
+f1
+0c
+06
+58
+00
+48
+0f
+67
+f1
+0c
+04
+20
+20
+79
+23
+6f
+f0
+8c
+22
+2f
+ef
+fe
+03
+20
+40
+81
+de
+20
+20
+79
+0a
+6f
+e0
+c6
+16
+c1
+83
+80
+00
+20
+40
+34
+76
+20
+40
+34
+ae
+20
+40
+33
+f1
+24
+37
+b3
+be
+20
+40
+35
+06
+20
+42
+b3
+ad
+6f
+e0
+c6
+0a
+20
+5a
+34
+4d
+20
+40
+34
+ec
+20
+20
+34
+93
+6f
+e0
+c5
+ea
+c0
+55
+33
+29
+c0
+2a
+b3
+3a
+c0
+11
+02
+07
 c0
 7f
 b5
@@ -1963,8 +2095,8 @@
 ae
 20
 3a
-01
-ec
+02
+0d
 6f
 e2
 45
@@ -1987,12 +2119,12 @@
 eb
 c0
 00
-81
-f0
+82
+11
 c0
 01
-01
-f8
+02
+19
 20
 60
 00
@@ -2011,8 +2143,8 @@
 d3
 c0
 01
-01
-f5
+02
+16
 20
 60
 00
@@ -2043,8 +2175,8 @@
 d4
 c0
 80
-01
-fd
+02
+1e
 20
 60
 00
@@ -2124,7 +2256,7 @@
 20
 40
 02
-11
+32
 20
 20
 34
@@ -2245,8 +2377,8 @@
 20
 31
 95
-73
-11
+f7
+e2
 aa
 55
 40
@@ -2284,7 +2416,7 @@
 00
 00
 00
-80
+e0
 45
 00
 00
@@ -2419,13 +2551,6 @@
 00
 aa
 55
-01
-00
-3f
-44
-8c
-aa
-55
 55
 00
 0f
@@ -2496,8 +2621,8 @@
 00
 01
 03
-00
-00
+01
+02
 00
 09
 21
@@ -2506,7 +2631,7 @@
 00
 01
 22
-5e
+62
 00
 07
 05
@@ -2517,249 +2642,109 @@
 01
 aa
 55
-ef
+63
 00
 97
 46
-5e
-00
-06
-00
-0a
-00
-00
-ff
-00
-00
-09
-00
-00
-20
-00
-a1
-00
-00
-10
-00
+62
 06
-00
-0a
-20
-00
+a0
 ff
-00
-00
 09
-00
-00
-10
-00
+0e
 a1
-00
-00
-10
-00
+01
 85
-00
-0a
-00
-00
+a0
 95
-00
-03
-f0
-00
+3f
 75
-00
-00
-80
-00
-25
-00
-0f
-f0
+08
+26
+ff
 00
 15
 00
-00
-00
-00
 09
-00
-00
-10
-00
+01
 81
-00
-00
-20
-00
+02
 c0
-00
-00
 06
-00
-0a
-10
-00
+a1
 ff
-00
-00
 09
-00
-00
-20
-00
+0e
 a1
-00
-00
-10
-00
+01
 85
-00
-0a
-10
-00
+a1
 95
-00
-03
-f0
-00
+3f
 75
-00
-00
-80
-00
+08
 25
-00
-0f
-f0
-00
+ff
 15
 00
-00
-00
-00
 09
-00
-00
-10
-00
+01
 81
-00
-00
-20
-00
+02
 85
-00
-0a
-20
-00
+a2
 95
-00
-03
-f0
-00
+3f
 75
-00
-00
-80
-00
-25
-00
-0f
-f0
+08
+26
+ff
 00
 15
 00
-00
-00
-00
 09
-00
-00
-10
-00
+01
 b1
-00
-00
-20
-00
+02
 c0
-00
-00
+06
+a2
+ff
+09
+0e
+a1
+01
 85
-00
-0a
-30
-00
+a3
 95
-00
-03
-f0
-00
+3f
 75
-00
-00
-80
-00
-25
-00
-0f
-f0
+08
+26
+ff
 00
 15
 00
-00
-00
-00
 09
-00
-00
-10
-00
+01
 81
-00
-00
-20
-00
+02
 85
-00
-0a
-40
-00
+a4
 95
-00
-03
-f0
-00
+3f
 75
-00
-00
-80
-00
-25
-00
-0f
-f0
+08
+26
+ff
 00
 15
 00
-00
-00
-00
 09
-00
-00
-10
-00
+01
 91
-00
-00
-20
-00
+02
 c0
-00
 aa
 55
 01
@@ -2952,8 +2937,8 @@
 aa
 aa
 55
-f5
-7a
-69
-fe
+a6
+75
+64
+95
 f0
Index: output/program.lis
===================================================================
--- /1121s/branch/dongle/1m/usb_pc/usb_pc_public/output/program.lis	(revision 4609)
+++ /1121s/branch/dongle/1m/usb_pc/usb_pc_public/output/program.lis	(working copy)
@@ -1,715 +1,756 @@
               include "bt_format "
               org 0x0000
-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 c00a0195 beq patch02_4 ,p_set_lemode 
-0005 c00a80d0 beq patch02_5 ,p_rf_rx_enable 
-0006 c00c00de beq patch03_0 ,p_txon 
-0007 c00c808a beq patch03_1 ,p_set_tx_power 
-0008 c00d0046 beq patch03_2 ,p_initialize_radio_cont 
-0009 c00e0035 beq patch03_4 ,p_aac_ghpc 
-000a c01b821b beq patch06_7 ,p_dongle_default_init 
-000b c01c00a3 beq patch07_0 ,p_dongle_read_kb_bind_status 
-000c c01c809f beq patch07_1 ,p_dongle_write_kb_bind_status 
-000d c01e8218 beq patch07_5 ,p_dongle_usb_dispatch 
-000e c062809c beq patch18_5 ,p_otp_read_data 
-000f c06d0166 beq patch1b_2 ,p_sadc_calibration 
-0010 c06e0176 beq patch1b_4 ,p_enable_adc 
-0011 c07f80e8 beq patch1f_7 ,p_usb_rx 
-0012 2020235a branch assert 
+0000 c2840015 bbit1 8 ,pf_patch_ext 
+0001 c000001f beq patch00_0 ,p_soft_reset 
+0002 c0010025 beq patch00_2 ,p_main_loop 
+0003 c008802e beq patch02_1 ,p_set_sync_on 
+0004 c00a0197 beq patch02_4 ,p_set_lemode 
+0005 c00a80d2 beq patch02_5 ,p_rf_rx_enable 
+0006 c00c00e0 beq patch03_0 ,p_txon 
+0007 c00c808c beq patch03_1 ,p_set_tx_power 
+0008 c00d0048 beq patch03_2 ,p_initialize_radio_cont 
+0009 c00e0037 beq patch03_4 ,p_aac_ghpc 
+000a c01b823c beq patch06_7 ,p_dongle_default_init 
+000b c01c00a5 beq patch07_0 ,p_dongle_read_kb_bind_status 
+000c c01c80a1 beq patch07_1 ,p_dongle_write_kb_bind_status 
+000d c01e8239 beq patch07_5 ,p_dongle_usb_dispatch 
+000e c062809e beq patch18_5 ,p_otp_read_data 
+000f c06d0168 beq patch1b_2 ,p_sadc_calibration 
+0010 c06e0178 beq patch1b_4 ,p_enable_adc 
+0011 c07e81f1 beq patch1f_5 ,p_usb_isr 
+0012 c07f01dc beq patch1f_6 ,p_usb_init 
+0013 c07f80ea beq patch1f_7 ,p_usb_rx 
+0014 2020235a branch assert 
 
 pf_patch_ext:
-0013 c0000103 beq patch20_0 ,p_usb_class_type 
-0014 c00101b1 beq patch20_2 ,p_usb0_request_get_descriptor 
-0015 c0030122 beq patch20_6 ,p_usb_tx 
-0016 c0378224 beq patch2d_7 ,p_g24_receive_skip_end 
-0017 c04101e0 beq patch30_2 ,p_g24_bind_data_parse_next 
-0018 c0440200 beq patch31_0 ,p_g24_mode_switch_bind_search 
-0019 c045020d beq patch31_2 ,p_g24_bind_mode_auto 
-001a c04581d4 beq patch31_3 ,p_g24_search_mode_auto 
-001b c17f8000 rtneq patch3f_7 
-001c 2020235a branch assert 
+0015 c0000105 beq patch20_0 ,p_usb_class_type 
+0016 c00101b3 beq patch20_2 ,p_usb0_request_get_descriptor 
+0017 c0030124 beq patch20_6 ,p_usb_tx 
+0018 c0378245 beq patch2d_7 ,p_g24_receive_skip_end 
+0019 c0410201 beq patch30_2 ,p_g24_bind_data_parse_next 
+001a c0440221 beq patch31_0 ,p_g24_mode_switch_bind_search 
+001b c045022e beq patch31_2 ,p_g24_bind_mode_auto 
+001c c04581f5 beq patch31_3 ,p_g24_search_mode_auto 
+001d c17f8000 rtneq patch3f_7 
+001e 2020235a branch assert 
 
 p_soft_reset:
-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 
+001f 20800000 clear_stack 
+0020 37d98200 until null ,lpo_edge 
+0021 6fe0c0cb fetch 1 ,mem_lpm_hv_sel 
+0022 204023e1 call lpm_write_sel_hv 
+0023 20007530 nop 30000 
+0024 20202003 branch soft_reset + 2 
 
 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 
+0025 20407552 call sp_calc_sequence_256 
+0026 20407448 call sp_calc_sequence_256_check 
+0027 20402a45 call le_advertising_dispatch 
+0028 2040202a call idle_dispatch 
+0029 204042ad call app_process_idle 
+002a 20402018 call connection_dispatch 
+002b 2040310f call g24_dispatch 
+002c 2040248c call lpm_dispatch 
+002d 20200025 branch p_main_loop 
 
 p_set_sync_on:
-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 20202169 branch set_sync_on_next 
+002e 708a0f60 jam 0x60 ,0x8a0f 
+002f 708a10aa jam 0xaa ,0x8a10 
+0030 708a127a jam 0x7a ,0x8a12 
+0031 708a2500 jam 0x00 ,0x8a25 
+0032 708a2600 jam 0x00 ,0x8a26 
+0033 2000003c nop 60 
+0034 708a2020 jam 0x20 ,0x8a20 
+0035 708a23f5 jam 0xf5 ,0x8a23 
+0036 20202169 branch set_sync_on_next 
 
 p_aac_ghpc:
-0035 708a2030 jam 0x30 ,0x8a20 
-0036 708a23dd jam 0xdd ,0x8a23 
-0037 204021d0 call calc_freq 
-0038 58000000 setarg 0 
-0039 67e10670 store 2 ,mem_pdatatemp 
-003a d8403a98 arg 15000 ,temp 
+0037 708a2030 jam 0x30 ,0x8a20 
+0038 708a23dd jam 0xdd ,0x8a23 
+0039 204021d0 call calc_freq 
+003a 58000000 setarg 0 
+003b 67e10670 store 2 ,mem_pdatatemp 
+003c d8403a98 arg 15000 ,temp 
 
 p_wait_cal_done:
-003b 6fe10670 fetch 2 ,mem_pdatatemp 
-003c 1fe0fe01 increase 1 ,pdata 
-003d 67e10670 store 2 ,mem_pdatatemp 
-003e 98467c00 isub temp ,null 
-003f 20216ca3 branch soft_reset_chip ,positive 
-0040 6ff08a7c fetch 1 ,0x8a7c 
-0041 c300003b bbit0 0 ,p_wait_cal_done 
-0042 2020229a branch wait_cal_done + 2 
+003d 6fe10670 fetch 2 ,mem_pdatatemp 
+003e 1fe0fe01 increase 1 ,pdata 
+003f 67e10670 store 2 ,mem_pdatatemp 
+0040 98467c00 isub temp ,null 
+0041 20216ca3 branch soft_reset_chip ,positive 
+0042 6ff08a7c fetch 1 ,0x8a7c 
+0043 c300003d bbit0 0 ,p_wait_cal_done 
+0044 2020229a branch wait_cal_done + 2 
 
 p_set_ck2rfpll:
-0043 37d98200 until null ,lpo_edge 
-0044 70813c58 jam 0x58 ,0x813c 
-0045 202023e2 branch lpm_write_wait 
+0045 37d98200 until null ,lpo_edge 
+0046 70813c58 jam 0x58 ,0x813c 
+0047 202023e2 branch lpm_write_wait 
 
 p_initialize_radio_cont:
-0046 708a8840 jam 0x40 ,core_rx_cfg0 
-0047 7089460d jam 0x0d ,0x8946 
-0048 70896f10 jam 0x10 ,0x896f 
-0049 708a13cd jam 0xcd ,0x8a13 
-004a 708a0610 jam 0x10 ,0x8a06 
-004b 708a844a jam 0x4a ,0x8a84 
-004c 708a8540 jam 0x40 ,0x8a85 
-004d 708a16fe jam 0xfe ,0x8a16 
-004e 204000a5 call p_set_otp_config 
-004f 6fe0c436 fetch 1 ,mem_wdt_always_work 
-0050 205a70d7 call wdt_set_disable ,blank 
-0051 24558043 ncall p_set_ck2rfpll ,wake 
-0052 37d98200 until null ,lpo_edge 
-0053 70813b5f jam 0x5f ,0x813b 
-0054 6fe0c099 fetch 1 ,mem_fcomp_div 
-0055 c008007f 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 
+0048 708a8840 jam 0x40 ,core_rx_cfg0 
+0049 7089460d jam 0x0d ,0x8946 
+004a 70896f10 jam 0x10 ,0x896f 
+004b 708a13cd jam 0xcd ,0x8a13 
+004c 708a0610 jam 0x10 ,0x8a06 
+004d 708a844a jam 0x4a ,0x8a84 
+004e 708a8540 jam 0x40 ,0x8a85 
+004f 708a16fe jam 0xfe ,0x8a16 
+0050 204000a7 call p_set_otp_config 
+0051 6fe0c436 fetch 1 ,mem_wdt_always_work 
+0052 205a70d7 call wdt_set_disable ,blank 
+0053 24558045 ncall p_set_ck2rfpll ,wake 
+0054 37d98200 until null ,lpo_edge 
+0055 70813b5f jam 0x5f ,0x813b 
+0056 6fe0c099 fetch 1 ,mem_fcomp_div 
+0057 c0080081 beq xtal_16m ,p_initialize_radio_16m 
+0058 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+0059 1fe1fe04 or_into 0x04 ,pdata 
+005a 67f08a02 store 1 ,0x8a02 
+005b 70890f01 jam 0x01 ,0x890f 
+005c 708a8024 jam 0x24 ,0x8a80 
+005d 708a8162 jam 0x62 ,0x8a81 
+005e 58e61212 setarg 0xe61212 
+005f 67f18a73 store 3 ,0x8a73 
 
 p_initialize_radio2:
-005e 708a8660 jam 0x60 ,0x8a86 
-005f 708a8b3b jam 0x3b ,0x8a8b 
-0060 20400071 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 20400138 call p_rx_dcoc 
-0067 20400163 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 20200165 branch p_dpll_ring_ibias_calc 
+0060 708a8660 jam 0x60 ,0x8a86 
+0061 708a8b3b jam 0x3b ,0x8a8b 
+0062 20400073 call p_dpll_on 
+0063 70804300 jam 0 ,core_config 
+0064 70804205 jam clksel_dpll ,core_clksel 
+0065 58557474 setarg 0x557474 
+0066 67f18968 store 3 ,0x8968 
+0067 7089606e jam 0x6e ,0x8960 
+0068 2040013a call p_rx_dcoc 
+0069 20400165 call p_rfpll_aac_ghpc 
+006a 2040006e call p_set_xtal_cap 
+006b 7041480c jam system_clk_12m ,mem_system_clk 
+006c 20406f4e call sadc_calibration 
+006d 20200167 branch p_dpll_ring_ibias_calc 
 
 p_set_xtal_cap:
-006c 20758000 rtn wake 
-006d 37d98200 until null ,lpo_edge 
-006e 6fe0c11c fetch 1 ,mem_xtal_c_sel 
-006f 67f0813a store 1 ,core_xtal_cap 
-0070 202023e2 branch lpm_write_wait 
+006e 20758000 rtn wake 
+006f 37d98200 until null ,lpo_edge 
+0070 6fe0c11c fetch 1 ,mem_xtal_c_sel 
+0071 67f0813a store 1 ,core_xtal_cap 
+0072 202023e2 branch lpm_write_wait 
 
 p_dpll_on:
-0071 6fe0c099 fetch 1 ,mem_fcomp_div 
-0072 c00c0077 beq xtal_24m ,p_dpll_on_24m 
-0073 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
-0074 1fe1fe06 or_into 0x06 ,pdata 
-0075 67f08a02 store 1 ,0x8a02 
-0076 708a05e0 jam 0xe0 ,0x8a05 
+0073 6fe0c099 fetch 1 ,mem_fcomp_div 
+0074 c00c0079 beq xtal_24m ,p_dpll_on_24m 
+0075 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+0076 1fe1fe06 or_into 0x06 ,pdata 
+0077 67f08a02 store 1 ,0x8a02 
+0078 708a05e0 jam 0xe0 ,0x8a05 
 
 p_dpll_on_24m:
-0077 708a00d8 jam 0xd8 ,0x8a00 
-0078 2000003c nop 60 
-0079 708a01a0 jam 0xa0 ,0x8a01 
-007a 708a00df jam 0xdf ,0x8a00 
-007b 708a01fa jam 0xfa ,0x8a01 
-007c 20000014 nop 20 
-007d 708a009f jam 0x9f ,0x8a00 
-007e 20600000 rtn 
+0079 708a00d8 jam 0xd8 ,0x8a00 
+007a 2000003c nop 60 
+007b 708a01a0 jam 0xa0 ,0x8a01 
+007c 708a00df jam 0xdf ,0x8a00 
+007d 708a01fa jam 0xfa ,0x8a01 
+007e 20000014 nop 20 
+007f 708a009f jam 0x9f ,0x8a00 
+0080 20600000 rtn 
 
 p_initialize_radio_16m:
-007f 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
-0080 1fe1fe06 or_into 0x06 ,pdata 
-0081 67f08a02 store 1 ,0x8a02 
-0082 70890f00 jam 0x00 ,0x890f 
-0083 708a8023 jam 0x23 ,0x8a80 
-0084 708a81b0 jam 0xb0 ,0x8a81 
-0085 58e40909 setarg 0xe40909 
-0086 67f18a73 store 3 ,0x8a73 
-0087 708a762a jam 0x2a ,0x8a76 
-0088 70890204 jam 0x04 ,0x8902 
-0089 2020005e branch p_initialize_radio2 
+0081 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+0082 1fe1fe06 or_into 0x06 ,pdata 
+0083 67f08a02 store 1 ,0x8a02 
+0084 70890f00 jam 0x00 ,0x890f 
+0085 708a8023 jam 0x23 ,0x8a80 
+0086 708a81b0 jam 0xb0 ,0x8a81 
+0087 58e40909 setarg 0xe40909 
+0088 67f18a73 store 3 ,0x8a73 
+0089 708a762a jam 0x2a ,0x8a76 
+008a 70890204 jam 0x04 ,0x8902 
+008b 20200060 branch p_initialize_radio2 
 
 p_set_tx_power:
-008a 6fe0c141 fetch 1 ,mem_tx_power 
-008b c0032225 beq tx_power_6db ,set_tx_power_7db 
-008c c04f0090 beq tx_power_f30db ,p_set_tx_power_f30db 
-008d c04f8094 beq tx_power_f35db ,p_set_tx_power_f35db 
-008e c0500098 beq tx_power_f40db ,p_set_tx_power_f40db 
-008f 2020220e branch set_tx_power + 2 
+008c 6fe0c141 fetch 1 ,mem_tx_power 
+008d c0032225 beq tx_power_6db ,set_tx_power_7db 
+008e c04f0092 beq tx_power_f30db ,p_set_tx_power_f30db 
+008f c04f8096 beq tx_power_f35db ,p_set_tx_power_f35db 
+0090 c050009a beq tx_power_f40db ,p_set_tx_power_f40db 
+0091 2020220e branch set_tx_power + 2 
 
 p_set_tx_power_f30db:
-0090 708a1417 jam 0x17 ,0x8a14 
-0091 58250300 setarg 0x250300 
-0092 67f18a60 store 3 ,0x8a60 
-0093 2020221a branch set_tx_power_8a63_28 
+0092 708a1417 jam 0x17 ,0x8a14 
+0093 58250300 setarg 0x250300 
+0094 67f18a60 store 3 ,0x8a60 
+0095 2020221a branch set_tx_power_8a63_28 
 
 p_set_tx_power_f35db:
-0094 708a1417 jam 0x17 ,0x8a14 
-0095 58250100 setarg 0x250100 
-0096 67f18a60 store 3 ,0x8a60 
-0097 2020221a branch set_tx_power_8a63_28 
+0096 708a1417 jam 0x17 ,0x8a14 
+0097 58250100 setarg 0x250100 
+0098 67f18a60 store 3 ,0x8a60 
+0099 2020221a branch set_tx_power_8a63_28 
 
 p_set_tx_power_f40db:
-0098 708a1417 jam 0x17 ,0x8a14 
-0099 58250000 setarg 0x250000 
-009a 67f18a60 store 3 ,0x8a60 
-009b 2020221a branch set_tx_power_8a63_28 
+009a 708a1417 jam 0x17 ,0x8a14 
+009b 58250000 setarg 0x250000 
+009c 67f18a60 store 3 ,0x8a60 
+009d 2020221a branch set_tx_power_8a63_28 
 
 p_otp_read_data:
-009c 20406b3a call enable_otp_read 
-009d 20406b75 call otp_read_data + 1 
-009e 20206b38 branch otp_disable_chgpump 
+009e 20406b3a call enable_otp_read 
+009f 20406b75 call otp_read_data + 1 
+00a0 20206b38 branch otp_disable_chgpump 
 
 p_dongle_write_kb_bind_status:
-009f df200001 arg 1 ,loopcnt 
-00a0 da204648 arg mem_dg_kb_bind_flag ,rega 
-00a1 da401f00 arg dongle_kb_bind_otp_offect ,regb 
-00a2 20206b45 branch otp_write 
+00a1 df200001 arg 1 ,loopcnt 
+00a2 da204648 arg mem_dg_kb_bind_flag ,rega 
+00a3 da401f00 arg dongle_kb_bind_otp_offect ,regb 
+00a4 20206b45 branch otp_write 
 
 p_dongle_read_kb_bind_status:
-00a3 da401f00 arg dongle_kb_bind_otp_offect ,regb 
-00a4 202047f1 branch dongle_read_kb_bind_status + 2 
+00a5 da401f00 arg dongle_kb_bind_otp_offect ,regb 
+00a6 202047f1 branch dongle_read_kb_bind_status + 2 
 
 p_set_otp_config:
-00a5 203580cc branch p_set_otp_config_wake ,wake 
-00a6 6fe2020d fetch 4 ,mem_otp_core_ldo 
-00a7 207a0000 rtn blank 
-00a8 37d98200 until null ,lpo_edge 
-00a9 6ff08136 fetch 1 ,0x8136 
-00aa 1fe17ef0 and pdata ,0xf0 ,pdata 
-00ab 6848820d fetcht 1 ,mem_otp_core_ldo 
-00ac 9841fe00 ior temp ,pdata 
-00ad 67f08136 store 1 ,0x8136 
-00ae 37d98200 until null ,lpo_edge 
-00af 6ff08138 fetch 1 ,0x8138 
-00b0 1fe17e07 and pdata ,0x7 ,pdata 
-00b1 6848820e fetcht 1 ,mem_otp_verf_bg 
-00b2 18498400 lshift3 temp ,temp 
-00b3 9841fe00 ior temp ,pdata 
-00b4 67f08138 store 1 ,0x8138 
-00b5 37d98200 until null ,lpo_edge 
+00a7 203580ce branch p_set_otp_config_wake ,wake 
+00a8 6fe2020d fetch 4 ,mem_otp_core_ldo 
+00a9 207a0000 rtn blank 
+00aa 37d98200 until null ,lpo_edge 
+00ab 6ff08136 fetch 1 ,0x8136 
+00ac 1fe17ef0 and pdata ,0xf0 ,pdata 
+00ad 6848820d fetcht 1 ,mem_otp_core_ldo 
+00ae 9841fe00 ior temp ,pdata 
+00af 67f08136 store 1 ,0x8136 
+00b0 37d98200 until null ,lpo_edge 
+00b1 6ff08138 fetch 1 ,0x8138 
+00b2 1fe17e07 and pdata ,0x7 ,pdata 
+00b3 6848820e fetcht 1 ,mem_otp_verf_bg 
+00b4 18498400 lshift3 temp ,temp 
+00b5 9841fe00 ior temp ,pdata 
+00b6 67f08138 store 1 ,0x8138 
+00b7 37d98200 until null ,lpo_edge 
 
 p_set_otp_config2:
-00b6 6ff08acb fetch 1 ,0x8acb 
-00b7 1fe17ef0 and pdata ,0xf0 ,pdata 
-00b8 6848820f fetcht 1 ,mem_otp_charge_pump 
-00b9 6048c15b storet 1 ,mem_otp_charge_pump_x 
-00ba 9841fe00 ior temp ,pdata 
-00bb 67f08acb store 1 ,0x8acb 
-00bc 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
-00bd 67e0c15c store 1 ,mem_otp_dpll_ibais_x 
-00be 2feffe03 isolate1 3 ,pdata 
-00bf 6ff08a06 fetch 1 ,0x8a06 
-00c0 7920fe07 setflag true ,7 ,pdata 
-00c1 67f08a06 store 1 ,0x8a06 
-00c2 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
-00c3 1fe10407 and pdata ,7 ,temp 
-00c4 18520400 lshift4 temp ,temp 
-00c5 18438400 lshift temp ,temp 
-00c6 6048c438 storet 1 ,mem_ring_ibias_trim 
-00c7 6ff08a02 fetch 1 ,0x8a02 
-00c8 1fe17e1f and pdata ,0x1f ,pdata 
-00c9 9841fe00 ior temp ,pdata 
-00ca 67f08a02 store 1 ,0x8a02 
-00cb 20600000 rtn 
+00b8 6ff08acb fetch 1 ,0x8acb 
+00b9 1fe17ef0 and pdata ,0xf0 ,pdata 
+00ba 6848820f fetcht 1 ,mem_otp_charge_pump 
+00bb 6048c15b storet 1 ,mem_otp_charge_pump_x 
+00bc 9841fe00 ior temp ,pdata 
+00bd 67f08acb store 1 ,0x8acb 
+00be 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
+00bf 67e0c15c store 1 ,mem_otp_dpll_ibais_x 
+00c0 2feffe03 isolate1 3 ,pdata 
+00c1 6ff08a06 fetch 1 ,0x8a06 
+00c2 7920fe07 setflag true ,7 ,pdata 
+00c3 67f08a06 store 1 ,0x8a06 
+00c4 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
+00c5 1fe10407 and pdata ,7 ,temp 
+00c6 18520400 lshift4 temp ,temp 
+00c7 18438400 lshift temp ,temp 
+00c8 6048c438 storet 1 ,mem_ring_ibias_trim 
+00c9 6ff08a02 fetch 1 ,0x8a02 
+00ca 1fe17e1f and pdata ,0x1f ,pdata 
+00cb 9841fe00 ior temp ,pdata 
+00cc 67f08a02 store 1 ,0x8a02 
+00cd 20600000 rtn 
 
 p_set_otp_config_wake:
-00cc 6fe1415b fetch 2 ,mem_otp_charge_pump_x 
-00cd 207a0000 rtn blank 
-00ce 67e1020f store 2 ,mem_otp_charge_pump 
-00cf 202000b6 branch p_set_otp_config2 
+00ce 6fe1415b fetch 2 ,mem_otp_charge_pump_x 
+00cf 207a0000 rtn blank 
+00d0 67e1020f store 2 ,mem_otp_charge_pump 
+00d1 202000b8 branch p_set_otp_config2 
 
 p_rf_rx_enable:
-00d0 2040686f call rf_debug_rx_gpio_high 
-00d1 204021ba call rf_rx_agc_set 
-00d2 18002a08 force 8 ,radio_ctrl 
-00d3 18002a00 force 0 ,radio_ctrl 
-00d4 580aaada setarg 0x0aaada 
-00d5 67f18a0f store 3 ,0x8a0f 
-00d6 708a2540 jam 0x40 ,0x8a25 
-00d7 708a2610 jam 0x10 ,0x8a26 
-00d8 2000003c nop 60 
-00d9 708a01fb jam 0xfb ,0x8a01 
-00da 708a25ff jam 0xff ,0x8a25 
-00db 708a2630 jam 0x30 ,0x8a26 
-00dc 708a16fe jam 0xfe ,0x8a16 
-00dd 202021b4 branch rf_rx_enable + 14 
+00d2 2040686f call rf_debug_rx_gpio_high 
+00d3 204021ba call rf_rx_agc_set 
+00d4 18002a08 force 8 ,radio_ctrl 
+00d5 18002a00 force 0 ,radio_ctrl 
+00d6 580aaada setarg 0x0aaada 
+00d7 67f18a0f store 3 ,0x8a0f 
+00d8 708a2540 jam 0x40 ,0x8a25 
+00d9 708a2610 jam 0x10 ,0x8a26 
+00da 2000003c nop 60 
+00db 708a01fb jam 0xfb ,0x8a01 
+00dc 708a25ff jam 0xff ,0x8a25 
+00dd 708a2630 jam 0x30 ,0x8a26 
+00de 708a16fe jam 0xfe ,0x8a16 
+00df 202021b4 branch rf_rx_enable + 14 
 
 p_txon:
-00de 580aaa7e setarg 0x0aaa7e 
-00df 67f18a0f store 3 ,0x8a0f 
-00e0 2000003c nop 60 
-00e1 708a2500 jam 0x00 ,0x8a25 
-00e2 708a260d jam 0x0d ,0x8a26 
-00e3 708a16f6 jam 0xf6 ,0x8a16 
-00e4 20202203 branch txon + 7 
+00e0 580aaa7e setarg 0x0aaa7e 
+00e1 67f18a0f store 3 ,0x8a0f 
+00e2 2000003c nop 60 
+00e3 708a2500 jam 0x00 ,0x8a25 
+00e4 708a260d jam 0x0d ,0x8a26 
+00e5 708a16f6 jam 0xf6 ,0x8a16 
+00e6 20202203 branch txon + 7 
 
 p_usb_rx_data:
-00e5 6ff08c25 fetch 1 ,core_usb_txbusy 
-00e6 c3830000 rtnbit1 usb_status_rxfull 
-00e7 20207993 branch usb_rx_data 
+00e7 6ff08c25 fetch 1 ,core_usb_txbusy 
+00e8 c3830000 rtnbit1 usb_status_rxfull 
+00e9 20207993 branch usb_rx_data 
 
 p_usb_rx:
-00e8 6fe08709 fetch 1 ,mem_usb_status 
-00e9 c4028000 rtnbit0 usb_status_rxready 
-00ea 20407989 call usb_rx_len 
-00eb 2841fe0d compare 13 ,temp ,0xff 
-00ec 2020f999 branch usb_rx_ep13 ,true 
-00ed 6fe0c696 fetch 1 ,mem_setreport_count 
-00ee c00080f7 beq 1 ,p_setreport_next_page_data 
-00ef d8a0086d arg mem_usb_setup ,contw 
-00f0 20407994 call usb_rx_read 
+00ea 6fe08709 fetch 1 ,mem_usb_status 
+00eb c4028000 rtnbit0 usb_status_rxready 
+00ec 20407989 call usb_rx_len 
+00ed 2841fe0d compare 13 ,temp ,0xff 
+00ee 2020f999 branch usb_rx_ep13 ,true 
+00ef 6fe0c696 fetch 1 ,mem_setreport_count 
+00f0 c00080f9 beq 1 ,p_setreport_next_page_data 
+00f1 d8a0086d arg mem_usb_setup ,contw 
+00f2 20407994 call usb_rx_read 
 
 p_usb_rx_next:
-00f1 6fe0870c fetch 1 ,mem_usb_read_len 
-00f2 c0007986 beq 0x00 ,usb_rx_no_data 
-00f3 c000f9b6 beq 0x01 ,usb_out_one_byte 
-00f4 1fe67c07 sub pdata ,7 ,null 
-00f5 20610000 rtn positive 
-00f6 20200103 branch p_usb_class_type 
+00f3 6fe0870c fetch 1 ,mem_usb_read_len 
+00f4 c0007986 beq 0x00 ,usb_rx_no_data 
+00f5 c000f9b6 beq 0x01 ,usb_out_one_byte 
+00f6 1fe67c07 sub pdata ,7 ,null 
+00f7 20610000 rtn positive 
+00f8 20200105 branch p_usb_class_type 
 
 p_setreport_next_page_data:
-00f7 d8a00875 arg mem_usb0_set_report_data ,contw 
-00f8 20407994 call usb_rx_read 
-00f9 70469600 jam 0 ,mem_setreport_count 
-00fa 6fe0870c fetch 1 ,mem_usb_read_len 
-00fb c00080ff beq 0x01 ,p_usb_out_one_byte 
-00fc 7008f701 jam 1 ,mem_usb0_get_set_report 
-00fd 708c1b03 jam 0x03 ,core_usb_clear_nak 
-00fe 20600000 rtn 
+00f9 d8a00875 arg mem_usb0_set_report_data ,contw 
+00fa 20407994 call usb_rx_read 
+00fb 70469600 jam 0 ,mem_setreport_count 
+00fc 6fe0870c fetch 1 ,mem_usb_read_len 
+00fd c0008101 beq 0x01 ,p_usb_out_one_byte 
+00fe 7008f701 jam 1 ,mem_usb0_get_set_report 
+00ff 708c1b03 jam 0x03 ,core_usb_clear_nak 
+0100 20600000 rtn 
 
 p_usb_out_one_byte:
-00ff 6fe0886d fetch 1 ,mem_usb_setup 
-0100 c3838000 rtnbit1 7 
-0101 6fe08875 fetch 1 ,mem_usb0_set_report_data 
-0102 202079b8 branch usb_out_one_byte + 2 
+0101 6fe0886d fetch 1 ,mem_usb_setup 
+0102 c3838000 rtnbit1 7 
+0103 6fe08875 fetch 1 ,mem_usb0_set_report_data 
+0104 202079b8 branch usb_out_one_byte + 2 
 
 p_usb_class_type:
-0103 793f8023 set0 mark_isstr ,mark 
-0104 6fe0886d fetch 1 ,mem_usb_setup_bmrequesttype 
-0105 1fe17e80 and_into 0x80 ,pdata 
-0106 c04079ba beq in_device ,usb_in_device 
-0107 c0000109 beq out_device ,p_usb_out_device 
-0108 2020235a branch assert 
+0105 793f8023 set0 mark_isstr ,mark 
+0106 6fe0886d fetch 1 ,mem_usb_setup_bmrequesttype 
+0107 1fe17e80 and_into 0x80 ,pdata 
+0108 c04079ba beq in_device ,usb_in_device 
+0109 c000010b beq out_device ,p_usb_out_device 
+010a 2020235a branch assert 
 
 p_usb_out_device:
-0109 6fe0886d fetch 1 ,mem_usb_setup_bmrequesttype 
-010a 1ff1fe00 rshift4 pdata ,pdata 
-010b 1fe37e00 rshift pdata ,pdata 
-010c 1fe17e03 and_into 0x03 ,pdata 
-010d c00079d6 beq standard_req ,usb_out_standard_req 
-010e c0008111 beq class_req ,p_usb_out_class_req 
-010f c00179e3 beq manufacturer_req ,usb_out_manufacturer_req 
-0110 2020235a branch assert 
+010b 6fe0886d fetch 1 ,mem_usb_setup_bmrequesttype 
+010c 1ff1fe00 rshift4 pdata ,pdata 
+010d 1fe37e00 rshift pdata ,pdata 
+010e 1fe17e03 and_into 0x03 ,pdata 
+010f c00079d6 beq standard_req ,usb_out_standard_req 
+0110 c0008113 beq class_req ,p_usb_out_class_req 
+0111 c00179e3 beq manufacturer_req ,usb_out_manufacturer_req 
+0112 2020235a branch assert 
 
 p_usb_out_class_req:
-0111 6fe0886e fetch 1 ,mem_usb_setup_brequest 
-0112 c0057b4b beq set_idle ,usb_set_idle 
-0113 c0048116 beq set_report ,p_usb_set_report 
-0114 c005fb7c beq set_protocol ,usb_set_protocol_req 
-0115 202079e4 branch usb0_force_stall 
+0113 6fe0886e fetch 1 ,mem_usb_setup_brequest 
+0114 c0057b4b beq set_idle ,usb_set_idle 
+0115 c0048118 beq set_report ,p_usb_set_report 
+0116 c005fb7c beq set_protocol ,usb_set_protocol_req 
+0117 202079e4 branch usb0_force_stall 
 
 p_usb_set_report:
-0116 20003a98 nop 15000 
-0117 d8a00875 arg mem_usb0_set_report_data ,contw 
-0118 204000e5 call p_usb_rx_data 
-0119 7008f701 jam 1 ,mem_usb0_get_set_report 
-011a 20407b6e call usb_set_report_resume_judge 
-011b 6fe0c696 fetch 1 ,mem_setreport_count 
-011c 1fe0fe01 pincrease 1 
-011d 67e0c696 store 1 ,mem_setreport_count 
-011e 6fe1086f fetch 2 ,mem_usb_setup_bvalue 
-011f 67e108f5 store 2 ,mem_usb_setup_bvalue_temp 
-0120 708c1b02 jam 0x2 ,core_usb_clear_nak 
-0121 20207b65 branch usb_set_report_next 
+0118 20003a98 nop 15000 
+0119 d8a00875 arg mem_usb0_set_report_data ,contw 
+011a 204000e7 call p_usb_rx_data 
+011b 7008f701 jam 1 ,mem_usb0_get_set_report 
+011c 20407b6e call usb_set_report_resume_judge 
+011d 6fe0c696 fetch 1 ,mem_setreport_count 
+011e 1fe0fe01 pincrease 1 
+011f 67e0c696 store 1 ,mem_setreport_count 
+0120 6fe1086f fetch 2 ,mem_usb_setup_bvalue 
+0121 67e108f5 store 2 ,mem_usb_setup_bvalue_temp 
+0122 708c1b02 jam 0x2 ,core_usb_clear_nak 
+0123 20207b65 branch usb_set_report_next 
 
 p_usb_tx:
-0122 6fe0890d fetch 1 ,mem_usb_tx_enable 
-0123 207a0000 rtn blank 
-0124 6ff08c25 fetch 1 ,core_usb_txbusy 
-0125 1fe17e0f and_into 0x0f ,pdata 
-0126 243a7c30 nbranch usb_inwake_state_tx_dispose ,blank 
-0127 6fe0890e fetch 1 ,mem_usb_device_enumeration_endflag 
-0128 203a7c06 branch usb_tx_fifo_release ,blank 
-0129 6fe08900 fetch 1 ,mem_usb_state 
-012a c001fc40 beq usb_sleep ,usb_windows_wakeup 
-012b c0817c06 bne usb_connected ,usb_tx_fifo_release 
-012c 6fe08902 fetch 1 ,mem_usb_clear_remote_wakeup 
-012d 243a7c06 nbranch usb_tx_fifo_release ,blank 
-012e 20400130 call p_usb_tx_data_ep1 
-012f 20200134 branch p_usb_tx_data_ep2 
+0124 6fe0890d fetch 1 ,mem_usb_tx_enable 
+0125 207a0000 rtn blank 
+0126 6ff08c25 fetch 1 ,core_usb_txbusy 
+0127 1fe17e0f and_into 0x0f ,pdata 
+0128 243a7c30 nbranch usb_inwake_state_tx_dispose ,blank 
+0129 6fe0890e fetch 1 ,mem_usb_device_enumeration_endflag 
+012a 203a7c06 branch usb_tx_fifo_release ,blank 
+012b 6fe08900 fetch 1 ,mem_usb_state 
+012c c001fc40 beq usb_sleep ,usb_windows_wakeup 
+012d c0817c06 bne usb_connected ,usb_tx_fifo_release 
+012e 6fe08902 fetch 1 ,mem_usb_clear_remote_wakeup 
+012f 243a7c06 nbranch usb_tx_fifo_release ,blank 
+0130 20400132 call p_usb_tx_data_ep1 
+0131 20200136 branch p_usb_tx_data_ep2 
 
 p_usb_tx_data_ep1:
-0130 6ff08c25 fetch 1 ,core_usb_txbusy 
-0131 1fe17e0f and_into 0x0f ,pdata 
-0132 247a0000 nrtn blank 
-0133 20207bf0 branch usb_tx_data_ep1 + 2 
+0132 6ff08c25 fetch 1 ,core_usb_txbusy 
+0133 1fe17e0f and_into 0x0f ,pdata 
+0134 247a0000 nrtn blank 
+0135 20207bf0 branch usb_tx_data_ep1 + 2 
 
 p_usb_tx_data_ep2:
-0134 6ff08c25 fetch 1 ,core_usb_txbusy 
-0135 1fe17e0f and_into 0x0f ,pdata 
-0136 247a0000 nrtn blank 
-0137 20207bfb branch usb_tx_data_ep2 + 2 
+0136 6ff08c25 fetch 1 ,core_usb_txbusy 
+0137 1fe17e0f and_into 0x0f ,pdata 
+0138 247a0000 nrtn blank 
+0139 20207bfb branch usb_tx_data_ep2 + 2 
 
 p_rx_dcoc:
-0138 20758000 rtn wake 
-0139 20402160 call set_sync_on 
-013a d8400027 arg 39 ,temp 
-013b 2040216f call set_freq_rx 
-013c 204021a6 call rf_rx_enable 
-013d 708a257f jam 0x7f ,0x8a25 
-013e 708a301a jam 0x1a ,0x8a30 
-013f 708a3178 jam 0x78 ,0x8a31 
-0140 708a8fb2 jam 0xb2 ,0x8a8f 
-0141 708ac200 jam 0 ,0x8ac2 
-0142 708ac300 jam 0 ,0x8ac3 
-0143 d8e00006 arg 6 ,queue 
-0144 20400155 call p_rx_dcoc_avg 
-0145 2a2ffe0d isolate1 13 ,rega 
-0146 2040211d call qset_start 
-0147 2a4ffe0d isolate1 13 ,regb 
-0148 2040211e call qset_p 
-0149 d8e00005 arg 5 ,queue 
+013a 20758000 rtn wake 
+013b 20402160 call set_sync_on 
+013c d8400027 arg 39 ,temp 
+013d 2040216f call set_freq_rx 
+013e 204021a6 call rf_rx_enable 
+013f 708a257f jam 0x7f ,0x8a25 
+0140 708a301a jam 0x1a ,0x8a30 
+0141 708a3178 jam 0x78 ,0x8a31 
+0142 708a8fb2 jam 0xb2 ,0x8a8f 
+0143 708ac200 jam 0 ,0x8ac2 
+0144 708ac300 jam 0 ,0x8ac3 
+0145 d8e00006 arg 6 ,queue 
+0146 20400157 call p_rx_dcoc_avg 
+0147 2a2ffe0d isolate1 13 ,rega 
+0148 2040211d call qset_start 
+0149 2a4ffe0d isolate1 13 ,regb 
+014a 2040211e call qset_p 
+014b d8e00005 arg 5 ,queue 
 
 p_rx_dcoc_loop2:
-014a 2040211c call qset1_p 
-014b 2040211e call qset_p 
-014c 20400155 call p_rx_dcoc_avg 
-014d d8a08ac2 arg 0x8ac2 ,contw 
-014e 1a31fe00 rshift4 rega ,pdata 
-014f 20402117 call qsetxor 
-0150 1a51fe00 rshift4 regb ,pdata 
+014c 2040211c call qset1_p 
+014d 2040211e call qset_p 
+014e 20400157 call p_rx_dcoc_avg 
+014f d8a08ac2 arg 0x8ac2 ,contw 
+0150 1a31fe00 rshift4 rega ,pdata 
 0151 20402117 call qsetxor 
-0152 18e08fff increase -1 ,queue 
-0153 2021014a branch p_rx_dcoc_loop2 ,positive 
-0154 2020214f branch rx_dcoc_loop2 + 10 
+0152 1a51fe00 rshift4 regb ,pdata 
+0153 20402117 call qsetxor 
+0154 18e08fff increase -1 ,queue 
+0155 2021014c branch p_rx_dcoc_loop2 ,positive 
+0156 2020214f branch rx_dcoc_loop2 + 10 
 
 p_rx_dcoc_avg:
-0155 2000003c nop 60 
-0156 58000f00 setarg mem_dcoc_buf 
-0157 67f10982 store 2 ,0x8982 
-0158 58000ff0 setarg mem_dcoc_buf_end 
-0159 67f10984 store 2 ,0x8984 
-015a 70898109 jam 0x9 ,0x8981 
-015b 70898103 jam 0x3 ,0x8981 
-015c 70898006 jam 0x6 ,0x8980 
-015d 2000003c nop 60 
-015e da200000 arg 0 ,rega 
-015f da400000 arg 0 ,regb 
-0160 df200010 arg 16 ,loopcnt 
-0161 d8c00f00 arg mem_dcoc_buf ,contr 
-0162 2020212d branch rx_dcoc_loop 
+0157 2000003c nop 60 
+0158 58000f00 setarg mem_dcoc_buf 
+0159 67f10982 store 2 ,0x8982 
+015a 58000ff0 setarg mem_dcoc_buf_end 
+015b 67f10984 store 2 ,0x8984 
+015c 70898109 jam 0x9 ,0x8981 
+015d 70898103 jam 0x3 ,0x8981 
+015e 70898006 jam 0x6 ,0x8980 
+015f 2000003c nop 60 
+0160 da200000 arg 0 ,rega 
+0161 da400000 arg 0 ,regb 
+0162 df200010 arg 16 ,loopcnt 
+0163 d8c00f00 arg mem_dcoc_buf ,contr 
+0164 2020212d branch rx_dcoc_loop 
 
 p_rfpll_aac_ghpc:
-0163 20758000 rtn wake 
-0164 20202272 branch rfpll_aac_ghpc + 1 
+0165 20758000 rtn wake 
+0166 20202272 branch rfpll_aac_ghpc + 1 
 
 p_dpll_ring_ibias_calc:
-0165 20600000 rtn 
+0167 20600000 rtn 
 
 p_sadc_calibration:
-0166 20758000 rtn wake 
-0167 708a0777 jam 0x77 ,core_gpadc_ctrl 
-0168 708a08c9 jam 0xc9 ,core_gpadc_cfg0 
-0169 708a0b01 jam 0x01 ,core_gpadc_cfg3 
-016a 6fe0c409 fetch 1 ,mem_adc_clkdiv 
-016b 67f080cd store 1 ,core_sadc_clkdiv 
-016c 20000bb8 nop 3000 
-016d 2040018e call p_sadc_read 
-016e 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
-016f 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
-0170 df200008 arg 8 ,loopcnt 
-0171 20406f58 call sadc_cal_read + 1 
-0172 6fe0c419 fetch 1 ,mem_spi_write_addr 
-0173 67e0c433 store 1 ,mem_adc_cal_c7 
-0174 6240c419 storer regb ,1 ,mem_spi_write_addr 
-0175 20600000 rtn 
+0168 20758000 rtn wake 
+0169 708a0777 jam 0x77 ,core_gpadc_ctrl 
+016a 708a08c9 jam 0xc9 ,core_gpadc_cfg0 
+016b 708a0b01 jam 0x01 ,core_gpadc_cfg3 
+016c 6fe0c409 fetch 1 ,mem_adc_clkdiv 
+016d 67f080cd store 1 ,core_sadc_clkdiv 
+016e 20000bb8 nop 3000 
+016f 20400190 call p_sadc_read 
+0170 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
+0171 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
+0172 df200008 arg 8 ,loopcnt 
+0173 20406f58 call sadc_cal_read + 1 
+0174 6fe0c419 fetch 1 ,mem_spi_write_addr 
+0175 67e0c433 store 1 ,mem_adc_cal_c7 
+0176 6240c419 storer regb ,1 ,mem_spi_write_addr 
+0177 20600000 rtn 
 
 p_enable_adc:
-0176 20400184 call p_sadc_cal_write 
-0177 6ff08a09 fetch 1 ,core_gpadc_cfg1 
-0178 793ffe07 set0 7 ,pdata 
-0179 67f08a09 store 1 ,core_gpadc_cfg1 
-017a 708a0777 jam 0x77 ,core_gpadc_ctrl 
-017b 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
-017c 708a0b01 jam 0x01 ,core_gpadc_cfg3 
-017d 20406f90 call sadc_channel 
-017e 6fe0c409 fetch 1 ,mem_adc_clkdiv 
-017f 67f080cd store 1 ,core_sadc_clkdiv 
-0180 20000bb8 nop 3000 
-0181 2040018e call p_sadc_read 
-0182 7080cd00 jam 0 ,core_sadc_clkdiv 
-0183 20206fa1 branch sadc_dma 
+0178 20400186 call p_sadc_cal_write 
+0179 6ff08a09 fetch 1 ,core_gpadc_cfg1 
+017a 793ffe07 set0 7 ,pdata 
+017b 67f08a09 store 1 ,core_gpadc_cfg1 
+017c 708a0777 jam 0x77 ,core_gpadc_ctrl 
+017d 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
+017e 708a0b01 jam 0x01 ,core_gpadc_cfg3 
+017f 20406f90 call sadc_channel 
+0180 6fe0c409 fetch 1 ,mem_adc_clkdiv 
+0181 67f080cd store 1 ,core_sadc_clkdiv 
+0182 20000bb8 nop 3000 
+0183 20400190 call p_sadc_read 
+0184 7080cd00 jam 0 ,core_sadc_clkdiv 
+0185 20206fa1 branch sadc_dma 
 
 p_sadc_cal_write:
-0184 6ff080cc fetch 1 ,core_sadc_ctrl 
-0185 79207e01 set1 1 ,pdata 
-0186 67f080cc store 1 ,core_sadc_ctrl 
-0187 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
-0188 6fe0c433 fetch 1 ,mem_adc_cal_c7 
-0189 67e0c419 store 1 ,mem_spi_write_addr 
-018a df200008 arg 8 ,loopcnt 
-018b 20406f67 call sadc_cal_write + 4 
-018c 6240c419 storer regb ,1 ,mem_spi_write_addr 
-018d 20600000 rtn 
+0186 6ff080cc fetch 1 ,core_sadc_ctrl 
+0187 79207e01 set1 1 ,pdata 
+0188 67f080cc store 1 ,core_sadc_ctrl 
+0189 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
+018a 6fe0c433 fetch 1 ,mem_adc_cal_c7 
+018b 67e0c419 store 1 ,mem_spi_write_addr 
+018c df200008 arg 8 ,loopcnt 
+018d 20406f67 call sadc_cal_write + 4 
+018e 6240c419 storer regb ,1 ,mem_spi_write_addr 
+018f 20600000 rtn 
 
 p_sadc_read:
-018e 7080cc03 jam 0x03 ,core_sadc_ctrl 
+0190 7080cc03 jam 0x03 ,core_sadc_ctrl 
 
 p_sadc_read_wait:
-018f 6ff08129 fetch 1 ,core_perf_status 
-0190 c302818f bbit0 saradc_done ,p_sadc_read_wait 
-0191 68590164 fetcht 2 ,core_sadc_data 
-0192 6049440a storet 2 ,mem_adc_current_value 
-0193 7080cc00 jam 0x00 ,core_sadc_ctrl 
-0194 20600000 rtn 
+0191 6ff08129 fetch 1 ,core_perf_status 
+0192 c3028191 bbit0 saradc_done ,p_sadc_read_wait 
+0193 68590164 fetcht 2 ,core_sadc_data 
+0194 6049440a storet 2 ,mem_adc_current_value 
+0195 7080cc00 jam 0x00 ,core_sadc_ctrl 
+0196 20600000 rtn 
 
 p_set_lemode:
-0195 708a8211 jam 0x11 ,0x8a82 
-0196 708a8d12 jam 0x12 ,0x8a8d 
-0197 708a8e0a jam 0x0a ,0x8a8e 
-0198 6fe0c099 fetch 1 ,mem_fcomp_div 
-0199 c00801ae beq xtal_16m ,p_set_lemode_2m_16m 
-019a 58005762 setarg 0x5762 
-019b 67f10907 store 2 ,0x8907 
+0197 708a8211 jam 0x11 ,0x8a82 
+0198 708a8d12 jam 0x12 ,0x8a8d 
+0199 708a8e0a jam 0x0a ,0x8a8e 
+019a 6fe0c099 fetch 1 ,mem_fcomp_div 
+019b c00801b0 beq xtal_16m ,p_set_lemode_2m_16m 
+019c 58005762 setarg 0x5762 
+019d 67f10907 store 2 ,0x8907 
 
 p_set_lemode_2m:
-019c 70890103 jam 3 ,0x8901 
-019d 70893003 jam 3 ,0x8930 
-019e c6168000 rtnmark1 mark_ble_2m 
-019f 70890101 jam 1 ,0x8901 
-01a0 708a8207 jam 0x07 ,0x8a82 
-01a1 708a8d44 jam 0x44 ,0x8a8d 
-01a2 708a8e0a jam 0x0a ,0x8a8e 
-01a3 6fe0c099 fetch 1 ,mem_fcomp_div 
-01a4 c00801ab beq xtal_16m ,p_set_lemode_1m_16m 
-01a5 58002bb1 setarg 0x2bb1 
-01a6 67f10907 store 2 ,0x8907 
+019e 70890103 jam 3 ,0x8901 
+019f 70893003 jam 3 ,0x8930 
+01a0 c6168000 rtnmark1 mark_ble_2m 
+01a1 70890101 jam 1 ,0x8901 
+01a2 708a8207 jam 0x07 ,0x8a82 
+01a3 708a8d44 jam 0x44 ,0x8a8d 
+01a4 708a8e0a jam 0x0a ,0x8a8e 
+01a5 6fe0c099 fetch 1 ,mem_fcomp_div 
+01a6 c00801ad beq xtal_16m ,p_set_lemode_1m_16m 
+01a7 58002bb1 setarg 0x2bb1 
+01a8 67f10907 store 2 ,0x8907 
 
 p_set_lemode_1m:
-01a7 c6978000 rtnmark0 mark_ble_lr 
-01a8 70893024 jam 0x24 ,0x8930 
-01a9 70890105 jam 5 ,0x8901 
-01aa 20600000 rtn 
+01a9 c6978000 rtnmark0 mark_ble_lr 
+01aa 70893024 jam 0x24 ,0x8930 
+01ab 70890105 jam 5 ,0x8901 
+01ac 20600000 rtn 
 
 p_set_lemode_1m_16m:
-01ab 58004189 setarg 0x4189 
-01ac 67f10907 store 2 ,0x8907 
-01ad 202001a7 branch p_set_lemode_1m 
+01ad 58004189 setarg 0x4189 
+01ae 67f10907 store 2 ,0x8907 
+01af 202001a9 branch p_set_lemode_1m 
 
 p_set_lemode_2m_16m:
-01ae 58008312 setarg 0x8312 
-01af 67f10907 store 2 ,0x8907 
-01b0 2020019c branch p_set_lemode_2m 
+01b0 58008312 setarg 0x8312 
+01b1 67f10907 store 2 ,0x8907 
+01b2 2020019e branch p_set_lemode_2m 
 
 p_usb0_request_get_descriptor:
-01b1 6fe08870 fetch 1 ,mem_usb_setup_bvalueh 
-01b2 c000fa14 beq dsc_device ,dsc_device_info 
-01b3 c0017a2d beq dsc_config ,dsc_config_info 
-01b4 c001fa30 beq dsc_string ,dsc_string_info 
-01b5 c01081b8 beq dsc_hid ,p_dsc_hid_info 
-01b6 c01101c7 beq dsc_hid_report ,p_dsc_hid_report_info 
-01b7 202079e4 branch usb0_force_stall 
+01b3 6fe08870 fetch 1 ,mem_usb_setup_bvalueh 
+01b4 c000fa14 beq dsc_device ,dsc_device_info 
+01b5 c00101ba beq dsc_config ,p_dsc_config_info 
+01b6 c001fa30 beq dsc_string ,dsc_string_info 
+01b7 c01081bd beq dsc_hid ,p_dsc_hid_info 
+01b8 c01101cc beq dsc_hid_report ,p_dsc_hid_report_info 
+01b9 202079e4 branch usb0_force_stall 
+
+p_dsc_config_info:
+01ba 5800470f setarg mem_confdesc_all 
+01bb 6848c70f fetcht 1 ,mem_confdesc_all 
+01bc 20207a18 branch dsc_info_set_data_len 
 
 p_dsc_hid_info:
-01b8 7008fd00 jam 0 ,mem_usb_get_protocol_flag 
-01b9 6fe08871 fetch 1 ,mem_usb_setup_windex 
-01ba c00001be beq 0 ,p_dsc_hid_info_interface0 
-01bb c00081c1 beq 1 ,p_dsc_hid_info_interface1 
-01bc c00101c4 beq 2 ,p_dsc_hid_info_interface2 
-01bd 202079e4 branch usb0_force_stall 
+01bd 7008fd00 jam 0 ,mem_usb_get_protocol_flag 
+01be 6fe08871 fetch 1 ,mem_usb_setup_windex 
+01bf c00001c3 beq 0 ,p_dsc_hid_info_interface0 
+01c0 c00081c6 beq 1 ,p_dsc_hid_info_interface1 
+01c1 c00101c9 beq 2 ,p_dsc_hid_info_interface2 
+01c2 202079e4 branch usb0_force_stall 
 
 p_dsc_hid_info_interface0:
-01be 6a40c722 fetchr regb ,1 ,mem_confdesc_all + 19 
-01bf da204722 arg mem_confdesc_all + 19 ,rega 
-01c0 20207b8b branch usb0_respond 
+01c3 6a40c722 fetchr regb ,1 ,mem_confdesc_all + 19 
+01c4 da204722 arg mem_confdesc_all + 19 ,rega 
+01c5 20207b8b branch usb0_respond 
 
 p_dsc_hid_info_interface1:
-01c1 6a40c73b fetchr regb ,1 ,mem_confdesc_all + 44 
-01c2 da20473b arg mem_confdesc_all + 44 ,rega 
-01c3 20207b8b branch usb0_respond 
+01c6 6a40c73b fetchr regb ,1 ,mem_confdesc_all + 44 
+01c7 da20473b arg mem_confdesc_all + 44 ,rega 
+01c8 20207b8b branch usb0_respond 
 
 p_dsc_hid_info_interface2:
-01c4 6a40c754 fetchr regb ,1 ,mem_confdesc_all + 69 
-01c5 da204754 arg mem_confdesc_all + 69 ,rega 
-01c6 20207b8b branch usb0_respond 
+01c9 6a40c754 fetchr regb ,1 ,mem_confdesc_all + 69 
+01ca da204754 arg mem_confdesc_all + 69 ,rega 
+01cb 20207b8b branch usb0_respond 
 
 p_dsc_hid_report_info:
-01c7 6fe10871 fetch 2 ,mem_usb_setup_windex 
-01c8 c00001cc beq 0 ,p_dsc_hid_report_info0 
-01c9 c00081ce beq 1 ,p_dsc_hid_report_info1 
-01ca c00101d0 beq 2 ,p_dsc_hid_report_info2 
-01cb 202079e4 branch usb0_force_stall 
+01cc 6fe10871 fetch 2 ,mem_usb_setup_windex 
+01cd c00001d1 beq 0 ,p_dsc_hid_report_info0 
+01ce c00081d3 beq 1 ,p_dsc_hid_report_info1 
+01cf c00101d5 beq 2 ,p_dsc_hid_report_info2 
+01d0 202079e4 branch usb0_force_stall 
 
 p_dsc_hid_report_info0:
-01cc 6a2107a7 fetchr rega ,2 ,mem_hidreportdesc_kb 
-01cd 20207b89 branch usb0_respond_length 
+01d1 6a2107a7 fetchr rega ,2 ,mem_hidreportdesc_kb 
+01d2 20207b89 branch usb0_respond_length 
 
 p_dsc_hid_report_info1:
-01ce 6a2107a9 fetchr rega ,2 ,mem_hidreportdesc_m 
-01cf 20207b89 branch usb0_respond_length 
+01d3 6a2107a9 fetchr rega ,2 ,mem_hidreportdesc_m 
+01d4 20207b89 branch usb0_respond_length 
 
 p_dsc_hid_report_info2:
-01d0 70090e01 jam 1 ,mem_usb_device_enumeration_endflag 
-01d1 70090001 jam usb_got_report_req ,mem_usb_state 
-01d2 6a214697 fetchr rega ,2 ,mem_hidreportdesc_interface2_pc 
-01d3 20207b89 branch usb0_respond_length 
+01d5 70090e01 jam 1 ,mem_usb_device_enumeration_endflag 
+01d6 70090001 jam usb_got_report_req ,mem_usb_state 
+01d7 6a40c697 fetchr regb ,1 ,mem_hidreportdesc_interface2_pc 
+01d8 58004697 setarg mem_hidreportdesc_interface2_pc 
+01d9 1fe0fe01 increase 1 ,pdata 
+01da 1fe22200 copy pdata ,rega 
+01db 20207b8b branch usb0_respond 
+
+p_usb_init:
+01dc 20407396 call enable_authrom 
+01dd 20407932 call usb_init_param 
+
+p_usb_init_restart:
+01de 58004914 setarg mem_usb_clear_mem0_end 
+01df d8a04810 arg mem_usb_clear_mem0_start ,contw 
+01e0 98a67200 isub contw ,loopcnt 
+01e1 20407ca1 call clear_mem 
+01e2 708c0000 jam 0x00 ,core_usb_config 
+01e3 20002710 nop 10000 
+01e4 708c1200 jam 0x0 ,core_usb_hmode 
+01e5 6ff10050 fetch 2 ,core_clkoff 
+01e6 793ffe0a set0 clock_off_usb ,pdata 
+01e7 67f10050 store 2 ,core_clkoff 
+01e8 708c1021 jam 0x21 ,core_usb_epmap 
+01e9 708c119d jam 0x9d ,core_usb_pupd 
+01ea 708c003c jam 0x3c ,core_usb_config 
+01eb 58004773 setarg mem_usb_rxbuf_new 
+01ec 67f10c02 store 2 ,core_usb_rx_saddr 
+01ed 67f10c06 store 2 ,core_usb_rxptr 
+01ee 5800480f setarg mem_usb_rxbuf_new_end 
+01ef 67f10c04 store 2 ,core_usb_rx_eaddr 
+01f0 20207923 branch usb_init_next 
+
+p_usb_isr:
+01f1 6ff08c22 fetch 1 ,core_usb_status 
+01f2 2feffe03 isolate1 usb_status_reset ,pdata 
+01f3 204081de call p_usb_init_restart ,true 
+01f4 2020790a branch usb_isr + 4 
 
 p_g24_search_mode_auto:
-01d4 6fe0c616 fetch 1 ,mem_24g_work_mode 
-01d5 c1838000 rtnne dongle_search 
-01d6 20403476 call g24_search_mode_init 
-01d7 204034ae call g24_auto_addr_ch_search 
-01d8 204033f1 call g24_receive_transmit_ack 
-01d9 2437b3be nbranch g24_rx_interrupt_clear ,user3 
-01da 20403506 call g24_receiver_addr_check 
-01db 2042b3ad call g24_receive_packet_parse ,zero 
-01dc 6fe0c60a fetch 1 ,mem_24g_abort_packet 
-01dd 205a344d call g24_mode_b_s_switch_stop ,blank 
-01de 204034ec call g24_auto_bind_config_self 
-01df 20203493 branch g24_search_mode_auto + 11 
+01f5 6fe0c616 fetch 1 ,mem_24g_work_mode 
+01f6 c1838000 rtnne dongle_search 
+01f7 20403476 call g24_search_mode_init 
+01f8 204034ae call g24_auto_addr_ch_search 
+01f9 204033f1 call g24_receive_transmit_ack 
+01fa 2437b3be nbranch g24_rx_interrupt_clear ,user3 
+01fb 20403506 call g24_receiver_addr_check 
+01fc 2042b3ad call g24_receive_packet_parse ,zero 
+01fd 6fe0c60a fetch 1 ,mem_24g_abort_packet 
+01fe 205a344d call g24_mode_b_s_switch_stop ,blank 
+01ff 204034ec call g24_auto_bind_config_self 
+0200 20203493 branch g24_search_mode_auto + 11 
 
 p_g24_bind_data_parse_next:
-01e0 6fe0c5ea fetch 1 ,mem_24g_rxdata_temp + 2 
-01e1 c0553329 beq datatype_bind ,g24_bind_first_step 
-01e2 c02ab33a beq datatype_config ,g24_bind_second_step 
-01e3 c01101e6 beq datatype_ok ,p_g24_bind_third_step 
-01e4 c07fb59b beq datatype_attemp ,g24_data_attemp 
-01e5 20600000 rtn 
+0201 6fe0c5ea fetch 1 ,mem_24g_rxdata_temp + 2 
+0202 c0553329 beq datatype_bind ,g24_bind_first_step 
+0203 c02ab33a beq datatype_config ,g24_bind_second_step 
+0204 c0110207 beq datatype_ok ,p_g24_bind_third_step 
+0205 c07fb59b beq datatype_attemp ,g24_data_attemp 
+0206 20600000 rtn 
 
 p_g24_bind_third_step:
-01e6 6fe0c5ae fetch 1 ,mem_24g_pair_switch 
-01e7 203a01ec branch p_g24_bind_third_step_skip ,blank 
-01e8 6fe245ec fetch 4 ,mem_24g_rxdata_temp + 4 
-01e9 684a462c fetcht 4 ,mem_24g_transmitter_addr 
-01ea 98467c00 isub temp ,null 
-01eb 24628000 nrtn zero 
+0207 6fe0c5ae fetch 1 ,mem_24g_pair_switch 
+0208 203a020d branch p_g24_bind_third_step_skip ,blank 
+0209 6fe245ec fetch 4 ,mem_24g_rxdata_temp + 4 
+020a 684a462c fetcht 4 ,mem_24g_transmitter_addr 
+020b 98467c00 isub temp ,null 
+020c 24628000 nrtn zero 
 
 p_g24_bind_third_step_skip:
-01ec 6fe0c5eb fetch 1 ,mem_24g_rxdata_temp + 3 
-01ed c00081f0 beq datatype_device1 ,p_g24_bind_third_step_device1 
-01ee c00101f8 beq datatype_device2 ,p_g24_bind_third_step_device2 
-01ef 20600000 rtn 
+020d 6fe0c5eb fetch 1 ,mem_24g_rxdata_temp + 3 
+020e c0008211 beq datatype_device1 ,p_g24_bind_third_step_device1 
+020f c0010219 beq datatype_device2 ,p_g24_bind_third_step_device2 
+0210 20600000 rtn 
 
 p_g24_bind_third_step_device1:
-01f0 6fe0c5de fetch 1 ,mem_24g_device1_bind_disable 
-01f1 247a0000 nrtn blank 
-01f2 6fe0c5d3 fetch 1 ,mem_24g_device1_bind_step 
-01f3 c00101f5 beq 2 ,p_g24_bind_dvc1_step_success 
-01f4 20600000 rtn 
+0211 6fe0c5de fetch 1 ,mem_24g_device1_bind_disable 
+0212 247a0000 nrtn blank 
+0213 6fe0c5d3 fetch 1 ,mem_24g_device1_bind_step 
+0214 c0010216 beq 2 ,p_g24_bind_dvc1_step_success 
+0215 20600000 rtn 
 
 p_g24_bind_dvc1_step_success:
-01f5 7045de01 jam 1 ,mem_24g_device1_bind_disable 
-01f6 2040338d call g24_binding_dvc1_living 
-01f7 2020336b branch g24_bind_dvc1_step_success + 1 
+0216 7045de01 jam 1 ,mem_24g_device1_bind_disable 
+0217 2040338d call g24_binding_dvc1_living 
+0218 2020336b branch g24_bind_dvc1_step_success + 1 
 
 p_g24_bind_third_step_device2:
-01f8 6fe0c5df fetch 1 ,mem_24g_device2_bind_disable 
-01f9 247a0000 nrtn blank 
-01fa 6fe0c5d4 fetch 1 ,mem_24g_device2_bind_step 
-01fb c08001fd bne 0 ,p_g24_bind_dvc2_step_success 
-01fc 20600000 rtn 
+0219 6fe0c5df fetch 1 ,mem_24g_device2_bind_disable 
+021a 247a0000 nrtn blank 
+021b 6fe0c5d4 fetch 1 ,mem_24g_device2_bind_step 
+021c c080021e bne 0 ,p_g24_bind_dvc2_step_success 
+021d 20600000 rtn 
 
 p_g24_bind_dvc2_step_success:
-01fd 7045df01 jam 1 ,mem_24g_device2_bind_disable 
-01fe 20403393 call g24_binding_dvc2_living 
-01ff 20203378 branch g24_bind_dvc2_step_success + 1 
+021e 7045df01 jam 1 ,mem_24g_device2_bind_disable 
+021f 20403393 call g24_binding_dvc2_living 
+0220 20203378 branch g24_bind_dvc2_step_success + 1 
 
 p_g24_mode_switch_bind_search:
-0200 6fe0c616 fetch 1 ,mem_24g_work_mode 
-0201 c1000000 rtneq dongle_work 
-0202 6fe0c62a fetch 1 ,mem_24g_b_s_mode_switch_disable 
-0203 247a0000 nrtn blank 
-0204 6fe0c628 fetch 1 ,mem_24g_mode_b_s_switch_exit 
-0205 247a0000 nrtn blank 
-0206 6fe0c624 fetch 1 ,mem_24g_mode_b_s_switch 
-0207 207a0000 rtn blank 
-0208 6fe0c5d3 fetch 1 ,mem_24g_device1_bind_step 
-0209 c1800000 rtnne 0 
-020a 6fe0c5d4 fetch 1 ,mem_24g_device2_bind_step 
-020b c1800000 rtnne 0 
-020c 20203436 branch g24_mode_switch_bind_search + 9 
+0221 6fe0c616 fetch 1 ,mem_24g_work_mode 
+0222 c1000000 rtneq dongle_work 
+0223 6fe0c62a fetch 1 ,mem_24g_b_s_mode_switch_disable 
+0224 247a0000 nrtn blank 
+0225 6fe0c628 fetch 1 ,mem_24g_mode_b_s_switch_exit 
+0226 247a0000 nrtn blank 
+0227 6fe0c624 fetch 1 ,mem_24g_mode_b_s_switch 
+0228 207a0000 rtn blank 
+0229 6fe0c5d3 fetch 1 ,mem_24g_device1_bind_step 
+022a c1800000 rtnne 0 
+022b 6fe0c5d4 fetch 1 ,mem_24g_device2_bind_step 
+022c c1800000 rtnne 0 
+022d 20203436 branch g24_mode_switch_bind_search + 9 
 
 p_g24_bind_mode_auto:
-020d 6fe0c616 fetch 1 ,mem_24g_work_mode 
-020e c1808000 rtnne dongle_bind 
-020f 20400211 call p_g24_bind_init 
-0210 2020346d branch g24_bind_mode_auto + 4 
+022e 6fe0c616 fetch 1 ,mem_24g_work_mode 
+022f c1808000 rtnne dongle_bind 
+0230 20400232 call p_g24_bind_init 
+0231 2020346d branch g24_bind_mode_auto + 4 
 
 p_g24_bind_init:
-0211 6fe0c615 fetch 1 ,mem_24g_mode_init 
-0212 c3808000 rtnbit1 dongle_bind 
-0213 79207e01 set1 dongle_bind ,pdata 
-0214 67e0c615 store 1 ,mem_24g_mode_init 
-0215 58000000 setarg 0 
-0216 67e1c5d3 store 3 ,mem_24g_device1_bind_step 
-0217 20203307 branch g24_bind_init + 8 
+0232 6fe0c615 fetch 1 ,mem_24g_mode_init 
+0233 c3808000 rtnbit1 dongle_bind 
+0234 79207e01 set1 dongle_bind ,pdata 
+0235 67e0c615 store 1 ,mem_24g_mode_init 
+0236 58000000 setarg 0 
+0237 67e1c5d3 store 3 ,mem_24g_device1_bind_step 
+0238 20203307 branch g24_bind_init + 8 
 
 p_dongle_usb_dispatch:
-0218 20204868 branch dongle_usb_dispatch + 1 
+0239 20204868 branch dongle_usb_dispatch + 1 
 
 p_wdt_kick:
-0219 58000010 setarg 16 
-021a 202070c8 branch wdt_init_config 
+023a 58000010 setarg 16 
+023b 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 
+023c 204047c3 call dongle_default_init + 1 
+023d 6fe0c695 fetch 1 ,mem_24g_pair_tx_power_init 
+023e 67e0c5d1 store 1 ,mem_24g_pair_tx_power 
+023f 7045ca00 jam off ,mem_24g_disable_fec1 
+0240 20403281 call g24_enable_1m 
+0241 6fe0c669 fetch 1 ,mem_dg_sys_config 
+0242 c4000000 rtnbit0 dg_enable_new_revision 
+0243 7045ca01 jam on ,mem_24g_disable_fec1 
+0244 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 
+0245 6fe0c669 fetch 1 ,mem_dg_sys_config 
+0246 c3003165 bbit0 dg_enable_new_revision ,g24_receive_skip_end + 1 
+0247 7837fc00 enable user3 
+0248 20000018 nop 24 
+0249 6fe0c4f8 fetch 1 ,mem_24g_rxbuf + 1 
+024a 79207e00 set1 bit_ack_24g ,pdata 
+024b 67e0c4f8 store 1 ,mem_24g_rxbuf + 1 
+024c 204033a5 call g24_ackpayload_prep 
+024d 204031e5 call g24_transmit_prep 
+024e 20203195 branch g24_transmit 
               org 0x2000
 
 start:
@@ -31194,6 +31235,8 @@
 7920 67f10c06 store 2 ,core_usb_rxptr 
 7921 580007a3 setarg mem_usb_rxbuf_end 
 7922 67f10c04 store 2 ,core_usb_rx_eaddr 
+
+usb_init_next:
 7923 708c1280 jam 0x80 ,core_usb_hmode 
 7924 708c0100 jam 0 ,core_usb_addr 
 7925 708c22ff jam 0xff ,core_usb_status 
Index: program/patch.prog
===================================================================
--- /1121s/branch/dongle/1m/usb_pc/usb_pc_public/program/patch.prog	(revision 4609)
+++ /1121s/branch/dongle/1m/usb_pc/usb_pc_public/program/patch.prog	(working copy)
@@ -19,6 +19,8 @@
 	beq patch18_5,p_otp_read_data
 	beq patch1b_2,p_sadc_calibration
 	beq patch1b_4,p_enable_adc
+	beq patch1f_5,p_usb_isr
+	beq patch1f_6,p_usb_init
 	beq patch1f_7,p_usb_rx
 	branch assert
 
@@ -565,12 +567,17 @@
 p_usb0_request_get_descriptor:
 	fetch 1,mem_usb_setup_bValueH
 	beq DSC_DEVICE,dsc_device_info
-	beq DSC_CONFIG,dsc_config_info	
+	beq DSC_CONFIG,p_dsc_config_info	
 	beq DSC_STRING,dsc_string_info
 	beq DSC_HID,p_dsc_hid_info
 	beq DSC_HID_REPORT,p_dsc_hid_report_info
 	branch usb0_force_stall
 
+p_dsc_config_info:
+	setarg mem_confdesc_all
+	fetcht 1,mem_confdesc_all
+	branch dsc_info_set_data_len
+
 p_dsc_hid_info:
 	jam 0,mem_usb_get_protocol_flag
 	fetch 1,mem_usb_setup_wIndex
@@ -613,8 +620,46 @@
 p_dsc_hid_report_info2:
 	jam 1,mem_usb_device_enumeration_endflag
 	jam USB_GOT_REPORT_REQ,mem_usb_state
-	fetchr rega,2,mem_hidreportdesc_Interface2_pc
-	branch usb0_respond_length
+	fetchr regb,1,mem_hidreportdesc_Interface2_pc
+	setarg mem_hidreportdesc_Interface2_pc
+	increase 1,pdata
+	copy pdata,rega
+	branch usb0_respond
+
+p_usb_init:
+	call enable_authrom
+	call usb_init_param
+p_usb_init_restart:
+	setarg mem_usb_clear_mem0_end
+	arg mem_usb_clear_mem0_start,contw
+	isub contw,loopcnt
+	call clear_mem
+
+	jam 0x00,core_usb_config
+ifdef SIM
+	nop 10
+else
+	nop 10000
+endif
+	jam 0x0,core_usb_hmode
+	fetch 2,core_clkoff
+	set0 CLOCK_OFF_USB,pdata
+	store 2,core_clkoff
+	jam 0x21,core_usb_epmap
+	jam 0x9d,core_usb_pupd
+	jam 0x3c,core_usb_config
+	setarg mem_usb_rxbuf_new
+	store 2,core_usb_rx_saddr
+	store 2,core_usb_rxptr
+	setarg mem_usb_rxbuf_new_end
+	store 2,core_usb_rx_eaddr
+	branch usb_init_next
+
+p_usb_isr:
+	fetch 1,core_usb_status
+	isolate1 USB_STATUS_RESET,pdata
+	call p_usb_init_restart,true
+	branch usb_isr+4
 
 //=================================================Application Interface===================================================//
 p_g24_search_mode_auto:
Index: program/usb.prog
===================================================================
--- /1121s/branch/dongle/1m/usb_pc/usb_pc_public/program/usb.prog	(revision 4609)
+++ /1121s/branch/dongle/1m/usb_pc/usb_pc_public/program/usb.prog	(working copy)
@@ -37,6 +37,7 @@
 	store 2,core_usb_rxptr
 	setarg mem_usb_rxbuf_end
 	store 2,core_usb_rx_eaddr
+usb_init_next:
 	jam 0x80,core_usb_hmode
 	jam 0,core_usb_addr
 	jam 0xff,core_usb_status
Index: sched/dongle.dat
===================================================================
--- /1121s/branch/dongle/1m/usb_pc/usb_pc_public/sched/dongle.dat	(revision 4609)
+++ /1121s/branch/dongle/1m/usb_pc/usb_pc_public/sched/dongle.dat	(working copy)
@@ -55,7 +55,7 @@
 #mem_24g_ch_update_map3
 #mem_24g_ch_update_map4
 
-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
@@ -76,63 +76,64 @@
 09 04 01 00 01 03 01 02 00
 09 21 00 02 00 01 22 a3 00
 07 05 82 03 40 00 02
-09 04 02 00 01 03 00 00 00
-09 21 00 02 00 01 22 5e 00
+09 04 02 00 01 03 01 02 00
+09 21 00 02 00 01 22 62 00
 07 05 02 03 40 00 01
 
 mem_hidreportdesc_Interface2_pc:
-5E			   # Total  Len
-0x06, 0xA0, 0xFF,  # Usage Page (Vendor Defined 0xFFA0)
-0x09, 0x02,        # Usage (0x02)
-0xA1, 0x01,        # Collection (Application)
+62		 # Total  Len
 #---------------report id=A0[Audio IN]-----------------#
-0x06, 0xA2, 0xFF,  # Usage Page (Vendor Defined 0xFFA2)
-0x09, 0x01,        # Usage (0x01)
-0xA1, 0x01,        # Collection (Application)
-0x85, 0xA0,        #   Report ID (A0)
-0x95, 0x3F,        #   Report Count (63)
-0x75, 0x08,        #   Report Size (8)
-0x25, 0xFF,        #   Logical Maximum (-1)
-0x15, 0x00,        #   Logical Minimum (0)
-0x09, 0x01,        #   Usage (0x01)
-0x81, 0x02,        #   Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
-0xC0,                    # 	End Collection
+06 A0 FF  # Usage Page (Vendor Defined FFA0)
+09 0E        # Usage (0e)
+A1 01        # Collection (Application)
+85 A0        #   Report ID (A0)
+95 3F        #   Report Count (63)
+75 08        #   Report Size (8)
+26 FF 00  #Logical Maximum (255)
+15 00        #   Logical Minimum (0)
+09 01        #   Usage (01)
+81 02        #   Input (DataVarAbsNo WrapLinearPreferred StateNo Null Position)
+C0              #  End Collection
 #================================================================#
-0x06, 0xA1, 0xFF,  # Usage Page (Vendor Defined 0xFFA1)
-0x09, 0x02,        # Usage (0x02)
-0xA1, 0x01,        # Collection (Application)
+06 A1 FF  # Usage Page (Vendor Defined FFA1)
+09 0e        # Usage (0e)
+A1 01        # Collection (Application)
 #---------------report id=A1[Protocol IN]--------------#
-0x85, 0xA1,        #   Report ID (A1)
-0x95, 0x3F,        #   Report Count (63)
-0x75, 0x08,        #   Report Size (8)
-0x25, 0xFF,        #   Logical Maximum (-1)
-0x15, 0x00,        #   Logical Minimum (0)
-0x09, 0x01,        #   Usage (0x01)
-0x81, 0x02,        #   Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
+85 A1        #   Report ID (A1)
+95 3F        #   Report Count (63)
+75 08        #   Report Size (8)
+25 FF        #   Logical Maximum (255)
+15 00        #   Logical Minimum (0)
+09 01        #   Usage (01)
+81 02        #   Input (DataVarAbsNo WrapLinearPreferred StateNo Null Position)
 #---------------report id=A2[Protocol OUT]----------#
-0x85, 0xA2,        #   Report ID (A2)
-0x95, 0x3F,        #   Report Count (63)
-0x75, 0x08,        #   Report Size (8)
-0x25, 0xFF,        #   Logical Maximum (-1)
-0x15, 0x00,        #   Logical Minimum (0)
-0x09, 0x01,        #   Usage (0x01)
-0xb1, 0x02,        #   Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)
-0xC0,                    # End Collection
+85 A2        #   Report ID (A2)
+95 3F        #   Report Count (63)
+75 08        #   Report Size (8)
+26 FF 00  #Logical Maximum (255)
+15 00        #   Logical Minimum (0)
+09 01        #   Usage (01)
+b1 02        #   Feature (DataVarAbsNo WrapLinearPreferred StateNo Null PositionNon-volatile)
+C0             #   End Collection
 #================================================================#
+06 A2 FF  # Usage Page (Vendor Defined FFA2)
+09 0e        # Usage (0e)
+A1 01        # Collection (Application)
 #---------------report id=A2[Auth IN]--------------#
-0x85, 0xA3,        #   Report ID (A3)
-0x95, 0x3F,        #   Report Count (63)
-0x75, 0x08,        #   Report Size (8)
-0x25, 0xFF,        #   Logical Maximum (-1)
-0x15, 0x00,        #   Logical Minimum (0)
-0x09, 0x01,        #   Usage (0x01)
-0x81, 0x02,        #   Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
+85 A3        #   Report ID (A3)
+95 3F        #   Report Count (63)
+75 08        #   Report Size (8)
+26 FF 00  #Logical Maximum (255)
+15 00        #   Logical Minimum (0)
+09 01        #   Usage (01)
+81 02        #   Input (DataVarAbsNo WrapLinearPreferred StateNo Null Position)
 #---------------report id=A4[Auth OUT]------------#
-0x85, 0xA4,        #   Report ID (A4)
-0x95, 0x3F,        #   Report Count (63)
-0x75, 0x08,        #   Report Size (8)
-0x25, 0xFF,        #   Logical Maximum (-1)
-0x15, 0x00,        #   Logical Minimum (0)
-0x09, 0x01,        #   Usage (0x01)
-0x91, 0x02,        #   Output (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)
-0xC0,             	    # End Collection
+85 A4        #   Report ID (A4)
+95 3F        #   Report Count (63)
+75 08        #   Report Size (8)
+26 FF 00  #Logical Maximum (255)
+15 00        #   Logical Minimum (0)
+09 01        #   Usage (01)
+91 02        #   Output (DataVarAbsNo WrapLinearPreferred StateNo Null PositionNon-volatile)
+C0              #   End Collection
+
