Index: output/eeprom.dat
===================================================================
--- /1121s/branch/shutter/branch/shutter/dq_project/dq_yc1386p_shutter_ws8000_dj/output/eeprom.dat	(revision 4688)
+++ /1121s/branch/shutter/branch/shutter/dq_project/dq_yc1386p_shutter_ws8000_dj/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-16
+3a
 08
 c2
 84
@@ -23,19 +23,19 @@
 c0
 0a
 01
-92
+91
 c0
 0a
 80
-dd
+de
 c0
 0c
 00
-eb
+ec
 c0
 0c
 80
-aa
+ab
 c0
 0d
 00
@@ -43,27 +43,27 @@
 c0
 12
 81
-e6
+e5
 c0
 13
 81
-db
+da
 c0
 58
 80
-f5
+f6
 c0
 62
 80
-f2
+f3
 c0
 6d
 01
-63
+62
 c0
 6e
 01
-73
+72
 20
 20
 23
@@ -71,7 +71,7 @@
 c0
 12
 01
-b4
+b3
 c0
 12
 80
@@ -83,7 +83,7 @@
 c0
 1c
 81
-ae
+ad
 c0
 1f
 80
@@ -91,7 +91,7 @@
 c0
 26
 81
-b2
+b1
 c1
 7f
 80
@@ -422,6 +422,10 @@
 10
 70
 8a
+88
+40
+70
+8a
 13
 cd
 70
@@ -443,7 +447,7 @@
 20
 40
 00
-b2
+b3
 6f
 e0
 c4
@@ -471,7 +475,7 @@
 c0
 08
 00
-9f
+a0
 6f
 e0
 c4
@@ -515,7 +519,7 @@
 20
 40
 00
-91
+92
 70
 80
 43
@@ -539,15 +543,15 @@
 20
 40
 01
-35
+34
 20
 40
 01
-60
+5f
 20
 40
 00
-8b
+8c
 70
 41
 48
@@ -559,7 +563,7 @@
 20
 20
 01
-62
+61
 20
 75
 80
@@ -591,7 +595,7 @@
 c0
 0c
 00
-97
+98
 6f
 e0
 c4
@@ -683,7 +687,7 @@
 20
 20
 00
-7d
+7e
 6f
 e0
 c1
@@ -691,7 +695,7 @@
 c0
 05
 00
-ad
+ae
 20
 20
 22
@@ -719,7 +723,7 @@
 20
 35
 80
-d9
+da
 6f
 e2
 02
@@ -887,7 +891,7 @@
 20
 20
 00
-c3
+c4
 20
 40
 68
@@ -1039,7 +1043,7 @@
 58
 00
 00
-00
+02
 67
 e1
 45
@@ -1047,19 +1051,11 @@
 58
 00
 00
-00
+01
 67
 e1
 45
 33
-58
-00
-06
-02
-67
-e1
-45
-56
 6f
 e4
 48
@@ -1079,7 +1075,7 @@
 58
 00
 01
-20
+1f
 67
 e1
 43
@@ -1087,7 +1083,7 @@
 58
 00
 01
-23
+22
 67
 e1
 43
@@ -1131,7 +1127,7 @@
 c0
 00
 01
-1d
+1c
 6f
 e0
 c5
@@ -1175,7 +1171,7 @@
 c0
 18
 81
-28
+27
 c0
 0a
 e2
@@ -1291,7 +1287,7 @@
 20
 40
 01
-52
+51
 2a
 2f
 fe
@@ -1323,7 +1319,7 @@
 20
 40
 01
-52
+51
 d8
 a0
 8a
@@ -1351,7 +1347,7 @@
 20
 21
 01
-47
+46
 20
 20
 21
@@ -1455,7 +1451,7 @@
 20
 40
 01
-8b
+8a
 70
 8a
 08
@@ -1491,7 +1487,7 @@
 20
 40
 01
-81
+80
 6f
 f0
 8a
@@ -1535,7 +1531,7 @@
 20
 40
 01
-8b
+8a
 70
 80
 cd
@@ -1595,7 +1591,7 @@
 c3
 02
 81
-8c
+8b
 68
 59
 01
@@ -1631,7 +1627,7 @@
 c0
 08
 01
-ab
+aa
 58
 00
 57
@@ -1675,7 +1671,7 @@
 c0
 08
 01
-a8
+a7
 58
 00
 2b
@@ -1711,7 +1707,7 @@
 20
 20
 01
-a4
+a3
 58
 00
 83
@@ -1723,7 +1719,7 @@
 20
 20
 01
-99
+98
 6f
 e0
 c3
@@ -1755,7 +1751,7 @@
 c5
 97
 81
-ba
+b9
 78
 3c
 fc
@@ -1799,7 +1795,7 @@
 20
 37
 01
-c3
+c2
 1b
 42
 04
@@ -1847,7 +1843,7 @@
 20
 40
 01
-d1
+d0
 6f
 e0
 81
@@ -1971,11 +1967,51 @@
 20
 40
 01
-ed
+f6
+6f
+e0
+c0
+cb
+79
 20
+7e
+04
 20
+40
+23
+e1
 24
-25
+55
+a3
+cb
+37
+d9
+82
+00
+1b
+22
+7e
+00
+67
+e3
+40
+b1
+6f
+e1
+c0
+c6
+6a
+20
+c0
+c9
+df
+20
+00
+03
+20
+20
+24
+2e
 60
 04
 40
@@ -2043,7 +2079,7 @@
 20
 22
 82
-00
+09
 e7
 e0
 80
@@ -2062,8 +2098,8 @@
 01
 c2
 00
-01
-fa
+02
+03
 1a
 42
 04
@@ -2072,8 +2108,8 @@
 60
 00
 00
-37
-4b
+d8
+2a
 aa
 55
 40
@@ -2179,14 +2215,19 @@
 2a
 aa
 55
-04
+09
 00
 6b
 42
-03
-41
-33
-37
+08
+4f
+6c
+64
+53
+68
+61
+72
+6b
 aa
 55
 06
@@ -2198,7 +2239,7 @@
 91
 01
 06
-00
+01
 aa
 55
 01
@@ -2283,7 +2324,7 @@
 00
 1c
 41
-7f
+3e
 aa
 55
 0c
@@ -2427,51 +2468,10 @@
 aa
 aa
 55
-6b
-4a
-d1
-7b
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+a2
+4c
+90
+0a
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-0b
-9e
+8c
+ae
Index: output/flash.dat
===================================================================
--- /1121s/branch/shutter/branch/shutter/dq_project/dq_yc1386p_shutter_ws8000_dj/output/flash.dat	(revision 4688)
+++ /1121s/branch/shutter/branch/shutter/dq_project/dq_yc1386p_shutter_ws8000_dj/output/flash.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-16
+3a
 08
 c2
 84
@@ -23,19 +23,19 @@
 c0
 0a
 01
-92
+91
 c0
 0a
 80
-dd
+de
 c0
 0c
 00
-eb
+ec
 c0
 0c
 80
-aa
+ab
 c0
 0d
 00
@@ -43,27 +43,27 @@
 c0
 12
 81
-e6
+e5
 c0
 13
 81
-db
+da
 c0
 58
 80
-f5
+f6
 c0
 62
 80
-f2
+f3
 c0
 6d
 01
-63
+62
 c0
 6e
 01
-73
+72
 20
 20
 23
@@ -71,7 +71,7 @@
 c0
 12
 01
-b4
+b3
 c0
 12
 80
@@ -83,7 +83,7 @@
 c0
 1c
 81
-ae
+ad
 c0
 1f
 80
@@ -91,7 +91,7 @@
 c0
 26
 81
-b2
+b1
 c1
 7f
 80
@@ -422,6 +422,10 @@
 10
 70
 8a
+88
+40
+70
+8a
 13
 cd
 70
@@ -443,7 +447,7 @@
 20
 40
 00
-b2
+b3
 6f
 e0
 c4
@@ -471,7 +475,7 @@
 c0
 08
 00
-9f
+a0
 6f
 e0
 c4
@@ -515,7 +519,7 @@
 20
 40
 00
-91
+92
 70
 80
 43
@@ -539,15 +543,15 @@
 20
 40
 01
-35
+34
 20
 40
 01
-60
+5f
 20
 40
 00
-8b
+8c
 70
 41
 48
@@ -559,7 +563,7 @@
 20
 20
 01
-62
+61
 20
 75
 80
@@ -591,7 +595,7 @@
 c0
 0c
 00
-97
+98
 6f
 e0
 c4
@@ -683,7 +687,7 @@
 20
 20
 00
-7d
+7e
 6f
 e0
 c1
@@ -691,7 +695,7 @@
 c0
 05
 00
-ad
+ae
 20
 20
 22
@@ -719,7 +723,7 @@
 20
 35
 80
-d9
+da
 6f
 e2
 02
@@ -887,7 +891,7 @@
 20
 20
 00
-c3
+c4
 20
 40
 68
@@ -1039,7 +1043,7 @@
 58
 00
 00
-00
+02
 67
 e1
 45
@@ -1047,19 +1051,11 @@
 58
 00
 00
-00
+01
 67
 e1
 45
 33
-58
-00
-06
-02
-67
-e1
-45
-56
 6f
 e4
 48
@@ -1079,7 +1075,7 @@
 58
 00
 01
-20
+1f
 67
 e1
 43
@@ -1087,7 +1083,7 @@
 58
 00
 01
-23
+22
 67
 e1
 43
@@ -1131,7 +1127,7 @@
 c0
 00
 01
-1d
+1c
 6f
 e0
 c5
@@ -1175,7 +1171,7 @@
 c0
 18
 81
-28
+27
 c0
 0a
 e2
@@ -1291,7 +1287,7 @@
 20
 40
 01
-52
+51
 2a
 2f
 fe
@@ -1323,7 +1319,7 @@
 20
 40
 01
-52
+51
 d8
 a0
 8a
@@ -1351,7 +1347,7 @@
 20
 21
 01
-47
+46
 20
 20
 21
@@ -1455,7 +1451,7 @@
 20
 40
 01
-8b
+8a
 70
 8a
 08
@@ -1491,7 +1487,7 @@
 20
 40
 01
-81
+80
 6f
 f0
 8a
@@ -1535,7 +1531,7 @@
 20
 40
 01
-8b
+8a
 70
 80
 cd
@@ -1595,7 +1591,7 @@
 c3
 02
 81
-8c
+8b
 68
 59
 01
@@ -1631,7 +1627,7 @@
 c0
 08
 01
-ab
+aa
 58
 00
 57
@@ -1675,7 +1671,7 @@
 c0
 08
 01
-a8
+a7
 58
 00
 2b
@@ -1711,7 +1707,7 @@
 20
 20
 01
-a4
+a3
 58
 00
 83
@@ -1723,7 +1719,7 @@
 20
 20
 01
-99
+98
 6f
 e0
 c3
@@ -1755,7 +1751,7 @@
 c5
 97
 81
-ba
+b9
 78
 3c
 fc
@@ -1799,7 +1795,7 @@
 20
 37
 01
-c3
+c2
 1b
 42
 04
@@ -1847,7 +1843,7 @@
 20
 40
 01
-d1
+d0
 6f
 e0
 81
@@ -1971,11 +1967,51 @@
 20
 40
 01
-ed
+f6
+6f
+e0
+c0
+cb
+79
 20
+7e
+04
 20
+40
+23
+e1
 24
-25
+55
+a3
+cb
+37
+d9
+82
+00
+1b
+22
+7e
+00
+67
+e3
+40
+b1
+6f
+e1
+c0
+c6
+6a
+20
+c0
+c9
+df
+20
+00
+03
+20
+20
+24
+2e
 60
 04
 40
@@ -2043,7 +2079,7 @@
 20
 22
 82
-00
+09
 e7
 e0
 80
@@ -2062,8 +2098,8 @@
 01
 c2
 00
-01
-fa
+02
+03
 1a
 42
 04
@@ -2072,8 +2108,8 @@
 60
 00
 00
-37
-4b
+d8
+2a
 aa
 55
 40
@@ -2179,14 +2215,19 @@
 2a
 aa
 55
-04
+09
 00
 6b
 42
-03
-41
-33
-37
+08
+4f
+6c
+64
+53
+68
+61
+72
+6b
 aa
 55
 06
@@ -2198,7 +2239,7 @@
 91
 01
 06
-00
+01
 aa
 55
 01
@@ -2283,7 +2324,7 @@
 00
 1c
 41
-7f
+3e
 aa
 55
 0c
@@ -2427,51 +2468,10 @@
 aa
 aa
 55
-6b
-4a
-d1
-7b
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+a2
+4c
+90
+0a
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-0b
-9e
+8c
+ae
Index: output/otp.dat
===================================================================
--- /1121s/branch/shutter/branch/shutter/dq_project/dq_yc1386p_shutter_ws8000_dj/output/otp.dat	(revision 4688)
+++ /1121s/branch/shutter/branch/shutter/dq_project/dq_yc1386p_shutter_ws8000_dj/output/otp.dat	(working copy)
@@ -11,7 +11,7 @@
 00
 aa
 55
-16
+3a
 08
 c2
 84
@@ -32,19 +32,19 @@
 c0
 0a
 01
-92
+91
 c0
 0a
 80
-dd
+de
 c0
 0c
 00
-eb
+ec
 c0
 0c
 80
-aa
+ab
 c0
 0d
 00
@@ -52,27 +52,27 @@
 c0
 12
 81
-e6
+e5
 c0
 13
 81
-db
+da
 c0
 58
 80
-f5
+f6
 c0
 62
 80
-f2
+f3
 c0
 6d
 01
-63
+62
 c0
 6e
 01
-73
+72
 20
 20
 23
@@ -80,7 +80,7 @@
 c0
 12
 01
-b4
+b3
 c0
 12
 80
@@ -92,7 +92,7 @@
 c0
 1c
 81
-ae
+ad
 c0
 1f
 80
@@ -100,7 +100,7 @@
 c0
 26
 81
-b2
+b1
 c1
 7f
 80
@@ -431,6 +431,10 @@
 10
 70
 8a
+88
+40
+70
+8a
 13
 cd
 70
@@ -452,7 +456,7 @@
 20
 40
 00
-b2
+b3
 6f
 e0
 c4
@@ -480,7 +484,7 @@
 c0
 08
 00
-9f
+a0
 6f
 e0
 c4
@@ -524,7 +528,7 @@
 20
 40
 00
-91
+92
 70
 80
 43
@@ -548,15 +552,15 @@
 20
 40
 01
-35
+34
 20
 40
 01
-60
+5f
 20
 40
 00
-8b
+8c
 70
 41
 48
@@ -568,7 +572,7 @@
 20
 20
 01
-62
+61
 20
 75
 80
@@ -600,7 +604,7 @@
 c0
 0c
 00
-97
+98
 6f
 e0
 c4
@@ -692,7 +696,7 @@
 20
 20
 00
-7d
+7e
 6f
 e0
 c1
@@ -700,7 +704,7 @@
 c0
 05
 00
-ad
+ae
 20
 20
 22
@@ -728,7 +732,7 @@
 20
 35
 80
-d9
+da
 6f
 e2
 02
@@ -896,7 +900,7 @@
 20
 20
 00
-c3
+c4
 20
 40
 68
@@ -1048,7 +1052,7 @@
 58
 00
 00
-00
+02
 67
 e1
 45
@@ -1056,19 +1060,11 @@
 58
 00
 00
-00
+01
 67
 e1
 45
 33
-58
-00
-06
-02
-67
-e1
-45
-56
 6f
 e4
 48
@@ -1088,7 +1084,7 @@
 58
 00
 01
-20
+1f
 67
 e1
 43
@@ -1096,7 +1092,7 @@
 58
 00
 01
-23
+22
 67
 e1
 43
@@ -1140,7 +1136,7 @@
 c0
 00
 01
-1d
+1c
 6f
 e0
 c5
@@ -1184,7 +1180,7 @@
 c0
 18
 81
-28
+27
 c0
 0a
 e2
@@ -1300,7 +1296,7 @@
 20
 40
 01
-52
+51
 2a
 2f
 fe
@@ -1332,7 +1328,7 @@
 20
 40
 01
-52
+51
 d8
 a0
 8a
@@ -1360,7 +1356,7 @@
 20
 21
 01
-47
+46
 20
 20
 21
@@ -1464,7 +1460,7 @@
 20
 40
 01
-8b
+8a
 70
 8a
 08
@@ -1500,7 +1496,7 @@
 20
 40
 01
-81
+80
 6f
 f0
 8a
@@ -1544,7 +1540,7 @@
 20
 40
 01
-8b
+8a
 70
 80
 cd
@@ -1604,7 +1600,7 @@
 c3
 02
 81
-8c
+8b
 68
 59
 01
@@ -1640,7 +1636,7 @@
 c0
 08
 01
-ab
+aa
 58
 00
 57
@@ -1684,7 +1680,7 @@
 c0
 08
 01
-a8
+a7
 58
 00
 2b
@@ -1720,7 +1716,7 @@
 20
 20
 01
-a4
+a3
 58
 00
 83
@@ -1732,7 +1728,7 @@
 20
 20
 01
-99
+98
 6f
 e0
 c3
@@ -1764,7 +1760,7 @@
 c5
 97
 81
-ba
+b9
 78
 3c
 fc
@@ -1808,7 +1804,7 @@
 20
 37
 01
-c3
+c2
 1b
 42
 04
@@ -1856,7 +1852,7 @@
 20
 40
 01
-d1
+d0
 6f
 e0
 81
@@ -1980,11 +1976,51 @@
 20
 40
 01
-ed
+f6
+6f
+e0
+c0
+cb
+79
 20
+7e
+04
 20
+40
+23
+e1
 24
-25
+55
+a3
+cb
+37
+d9
+82
+00
+1b
+22
+7e
+00
+67
+e3
+40
+b1
+6f
+e1
+c0
+c6
+6a
+20
+c0
+c9
+df
+20
+00
+03
+20
+20
+24
+2e
 60
 04
 40
@@ -2052,7 +2088,7 @@
 20
 22
 82
-00
+09
 e7
 e0
 80
@@ -2071,8 +2107,8 @@
 01
 c2
 00
-01
-fa
+02
+03
 1a
 42
 04
@@ -2081,8 +2117,8 @@
 60
 00
 00
-37
-4b
+d8
+2a
 aa
 55
 40
@@ -2188,14 +2224,19 @@
 2a
 aa
 55
-04
+09
 00
 6b
 42
-03
-41
-33
-37
+08
+4f
+6c
+64
+53
+68
+61
+72
+6b
 aa
 55
 06
@@ -2207,7 +2248,7 @@
 91
 01
 06
-00
+01
 aa
 55
 01
@@ -2292,7 +2333,7 @@
 00
 1c
 41
-7f
+3e
 aa
 55
 0c
@@ -2436,7 +2477,7 @@
 aa
 aa
 55
-6b
-4a
-d1
-7b
+a2
+4c
+90
+0a
Index: output/program.lis
===================================================================
--- /1121s/branch/shutter/branch/shutter/dq_project/dq_yc1386p_shutter_ws8000_dj/output/program.lis	(revision 4688)
+++ /1121s/branch/shutter/branch/shutter/dq_project/dq_yc1386p_shutter_ws8000_dj/output/program.lis	(working copy)
@@ -4,26 +4,26 @@
 0001 c0000018 beq patch00_0 ,p_soft_reset 
 0002 c0010048 beq patch00_2 ,p_main_loop 
 0003 c0088051 beq patch02_1 ,p_set_sync_on 
-0004 c00a0192 beq patch02_4 ,p_set_lemode 
-0005 c00a80dd beq patch02_5 ,p_rf_rx_enable 
-0006 c00c00eb beq patch03_0 ,p_txon 
-0007 c00c80aa beq patch03_1 ,p_set_tx_power 
+0004 c00a0191 beq patch02_4 ,p_set_lemode 
+0005 c00a80de beq patch02_5 ,p_rf_rx_enable 
+0006 c00c00ec beq patch03_0 ,p_txon 
+0007 c00c80ab beq patch03_1 ,p_set_tx_power 
 0008 c00d0063 beq patch03_2 ,p_initialize_radio_cont 
-0009 c01281e6 beq patch04_5 ,p_lpm_sleep 
-000a c01381db beq patch04_7 ,p_lpm_adjust_clk 
-000b c05880f5 beq patch16_1 ,p_shutter_init 
-000c c06280f2 beq patch18_5 ,p_otp_read_data 
-000d c06d0163 beq patch1b_2 ,p_sadc_calibration 
-000e c06e0173 beq patch1b_4 ,p_enable_adc 
+0009 c01281e5 beq patch04_5 ,p_lpm_sleep 
+000a c01381da beq patch04_7 ,p_lpm_adjust_clk 
+000b c05880f6 beq patch16_1 ,p_shutter_init 
+000c c06280f3 beq patch18_5 ,p_otp_read_data 
+000d c06d0162 beq patch1b_2 ,p_sadc_calibration 
+000e c06e0172 beq patch1b_4 ,p_enable_adc 
 000f 2020235a branch assert 
 
 pf_patch_ext:
-0010 c01201b4 beq patch24_4 ,p_le_receive_rxon 
+0010 c01201b3 beq patch24_4 ,p_le_receive_rxon 
 0011 c0128043 beq patch24_5 ,p_le_rx_dec 
 0012 c0130033 beq patch24_6 ,p_le_rx_nopayload 
-0013 c01c81ae beq patch27_1 ,p_le_parse 
+0013 c01c81ad beq patch27_1 ,p_le_parse 
 0014 c01f801c beq patch27_7 ,p_le_lpm_set_mult 
-0015 c02681b2 beq patch29_5 ,p_le_init_adv 
+0015 c02681b1 beq patch29_5 ,p_le_init_adv 
 0016 c17f8000 rtneq patch3f_7 
 0017 2020235a branch assert 
 
@@ -126,517 +126,526 @@
 0065 37d98200 until null ,lpo_edge 
 0066 7089460d jam 0x0d ,0x8946 
 0067 70896f10 jam 0x10 ,0x896f 
-0068 708a13cd jam 0xcd ,0x8a13 
-0069 708a0610 jam 0x10 ,0x8a06 
-006a 708a844a jam 0x4a ,0x8a84 
-006b 708a8540 jam 0x40 ,0x8a85 
-006c 708a16fe jam 0xfe ,0x8a16 
-006d 204000b2 call p_set_otp_config 
-006e 6fe0c436 fetch 1 ,mem_wdt_always_work 
-006f 205a70d7 call wdt_set_disable ,blank 
-0070 2455805f ncall p_set_ck2rfp11 ,wake 
-0071 37d98200 until null ,lpo_edge 
-0072 70813b5f jam 0x5f ,0x813b 
-0073 6fe0c099 fetch 1 ,mem_fcomp_div 
-0074 c008009f beq xtal_16m ,p_initialize_radio_16m 
-0075 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
-0076 1fe1fe04 or_into 0x04 ,pdata 
-0077 67f08a02 store 1 ,0x8a02 
-0078 70890f01 jam 0x01 ,0x890f 
-0079 708a8024 jam 0x24 ,0x8a80 
-007a 708a8162 jam 0x62 ,0x8a81 
-007b 58e61212 setarg 0xe61212 
-007c 67f18a73 store 3 ,0x8a73 
+0068 708a8840 jam 0x40 ,core_rx_cfg0 
+0069 708a13cd jam 0xcd ,0x8a13 
+006a 708a0610 jam 0x10 ,0x8a06 
+006b 708a844a jam 0x4a ,0x8a84 
+006c 708a8540 jam 0x40 ,0x8a85 
+006d 708a16fe jam 0xfe ,0x8a16 
+006e 204000b3 call p_set_otp_config 
+006f 6fe0c436 fetch 1 ,mem_wdt_always_work 
+0070 205a70d7 call wdt_set_disable ,blank 
+0071 2455805f ncall p_set_ck2rfp11 ,wake 
+0072 37d98200 until null ,lpo_edge 
+0073 70813b5f jam 0x5f ,0x813b 
+0074 6fe0c099 fetch 1 ,mem_fcomp_div 
+0075 c00800a0 beq xtal_16m ,p_initialize_radio_16m 
+0076 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+0077 1fe1fe04 or_into 0x04 ,pdata 
+0078 67f08a02 store 1 ,0x8a02 
+0079 70890f01 jam 0x01 ,0x890f 
+007a 708a8024 jam 0x24 ,0x8a80 
+007b 708a8162 jam 0x62 ,0x8a81 
+007c 58e61212 setarg 0xe61212 
+007d 67f18a73 store 3 ,0x8a73 
 
 p_initialize_radio2:
-007d 708a8660 jam 0x60 ,0x8a86 
-007e 708a8b3b jam 0x3b ,0x8a8b 
-007f 20400091 call p_dpll_on 
-0080 70804300 jam 0 ,core_config 
-0081 70804205 jam clksel_dpll ,core_clksel 
-0082 58557474 setarg 0x557474 
-0083 67f18968 store 3 ,0x8968 
-0084 7089606e jam 0x6e ,0x8960 
-0085 20400135 call p_rx_dcoc 
-0086 20400160 call p_rfpll_aac_ghpc 
-0087 2040008b call p_set_xtal_cap 
-0088 7041480c jam system_clk_12m ,mem_system_clk 
-0089 20406f4e call sadc_calibration 
-008a 20200162 branch p_dpll_ring_ibias_calc 
+007e 708a8660 jam 0x60 ,0x8a86 
+007f 708a8b3b jam 0x3b ,0x8a8b 
+0080 20400092 call p_dpll_on 
+0081 70804300 jam 0 ,core_config 
+0082 70804205 jam clksel_dpll ,core_clksel 
+0083 58557474 setarg 0x557474 
+0084 67f18968 store 3 ,0x8968 
+0085 7089606e jam 0x6e ,0x8960 
+0086 20400134 call p_rx_dcoc 
+0087 2040015f call p_rfpll_aac_ghpc 
+0088 2040008c call p_set_xtal_cap 
+0089 7041480c jam system_clk_12m ,mem_system_clk 
+008a 20406f4e call sadc_calibration 
+008b 20200161 branch p_dpll_ring_ibias_calc 
 
 p_set_xtal_cap:
-008b 20758000 rtn wake 
-008c 37d98200 until null ,lpo_edge 
-008d 6fe0c11c fetch 1 ,mem_xtal_c_sel 
-008e 67f0813a store 1 ,core_xtal_cap 
-008f 37d98200 until null ,lpo_edge 
-0090 20600000 rtn 
+008c 20758000 rtn wake 
+008d 37d98200 until null ,lpo_edge 
+008e 6fe0c11c fetch 1 ,mem_xtal_c_sel 
+008f 67f0813a store 1 ,core_xtal_cap 
+0090 37d98200 until null ,lpo_edge 
+0091 20600000 rtn 
 
 p_dpll_on:
-0091 6fe0c099 fetch 1 ,mem_fcomp_div 
-0092 c00c0097 beq xtal_24m ,p_dpll_on_24m 
-0093 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
-0094 1fe1fe06 or_into 0x06 ,pdata 
-0095 67f08a02 store 1 ,0x8a02 
-0096 708a05e0 jam 0xe0 ,0x8a05 
+0092 6fe0c099 fetch 1 ,mem_fcomp_div 
+0093 c00c0098 beq xtal_24m ,p_dpll_on_24m 
+0094 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+0095 1fe1fe06 or_into 0x06 ,pdata 
+0096 67f08a02 store 1 ,0x8a02 
+0097 708a05e0 jam 0xe0 ,0x8a05 
 
 p_dpll_on_24m:
-0097 708a00d8 jam 0xd8 ,0x8a00 
-0098 2000003c nop 60 
-0099 708a01a0 jam 0xa0 ,0x8a01 
-009a 708a00df jam 0xdf ,0x8a00 
-009b 708a01fa jam 0xfa ,0x8a01 
-009c 20000014 nop 20 
-009d 708a009f jam 0x9f ,0x8a00 
-009e 20600000 rtn 
+0098 708a00d8 jam 0xd8 ,0x8a00 
+0099 2000003c nop 60 
+009a 708a01a0 jam 0xa0 ,0x8a01 
+009b 708a00df jam 0xdf ,0x8a00 
+009c 708a01fa jam 0xfa ,0x8a01 
+009d 20000014 nop 20 
+009e 708a009f jam 0x9f ,0x8a00 
+009f 20600000 rtn 
 
 p_initialize_radio_16m:
-009f 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
-00a0 1fe1fe06 or_into 0x06 ,pdata 
-00a1 67f08a02 store 1 ,0x8a02 
-00a2 70890f00 jam 0x00 ,0x890f 
-00a3 708a8023 jam 0x23 ,0x8a80 
-00a4 708a81b0 jam 0xb0 ,0x8a81 
-00a5 58e40909 setarg 0xe40909 
-00a6 67f18a73 store 3 ,0x8a73 
-00a7 708a762a jam 0x2a ,0x8a76 
-00a8 70890204 jam 0x04 ,0x8902 
-00a9 2020007d branch p_initialize_radio2 
+00a0 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+00a1 1fe1fe06 or_into 0x06 ,pdata 
+00a2 67f08a02 store 1 ,0x8a02 
+00a3 70890f00 jam 0x00 ,0x890f 
+00a4 708a8023 jam 0x23 ,0x8a80 
+00a5 708a81b0 jam 0xb0 ,0x8a81 
+00a6 58e40909 setarg 0xe40909 
+00a7 67f18a73 store 3 ,0x8a73 
+00a8 708a762a jam 0x2a ,0x8a76 
+00a9 70890204 jam 0x04 ,0x8902 
+00aa 2020007e branch p_initialize_radio2 
 
 p_set_tx_power:
-00aa 6fe0c141 fetch 1 ,mem_tx_power 
-00ab c00500ad beq tx_power_10db ,p_set_tx_power_10db 
-00ac 2020220e branch set_tx_power + 2 
+00ab 6fe0c141 fetch 1 ,mem_tx_power 
+00ac c00500ae beq tx_power_10db ,p_set_tx_power_10db 
+00ad 2020220e branch set_tx_power + 2 
 
 p_set_tx_power_10db:
-00ad 708a1425 jam 0x25 ,0x8a14 
-00ae 58a93f3f setarg 0xa93f3f 
-00af 67f18a60 store 3 ,0x8a60 
-00b0 708a631f jam 0x1f ,0x8a63 
-00b1 20600000 rtn 
+00ae 708a1425 jam 0x25 ,0x8a14 
+00af 58a93f3f setarg 0xa93f3f 
+00b0 67f18a60 store 3 ,0x8a60 
+00b1 708a631f jam 0x1f ,0x8a63 
+00b2 20600000 rtn 
 
 p_set_otp_config:
-00b2 203580d9 branch p_set_otp_config_wake ,wake 
-00b3 6fe2020d fetch 4 ,mem_otp_core_ldo 
-00b4 207a0000 rtn blank 
-00b5 37d98200 until null ,lpo_edge 
-00b6 6ff08136 fetch 1 ,0x8136 
-00b7 1fe17ef0 and pdata ,0xf0 ,pdata 
-00b8 6848820d fetcht 1 ,mem_otp_core_ldo 
-00b9 9841fe00 ior temp ,pdata 
-00ba 67f08136 store 1 ,0x8136 
-00bb 37d98200 until null ,lpo_edge 
-00bc 6ff08138 fetch 1 ,0x8138 
-00bd 1fe17e07 and pdata ,0x7 ,pdata 
-00be 6848820e fetcht 1 ,mem_otp_verf_bg 
-00bf 18498400 lshift3 temp ,temp 
-00c0 9841fe00 ior temp ,pdata 
-00c1 67f08138 store 1 ,0x8138 
-00c2 37d98200 until null ,lpo_edge 
+00b3 203580da branch p_set_otp_config_wake ,wake 
+00b4 6fe2020d fetch 4 ,mem_otp_core_ldo 
+00b5 207a0000 rtn blank 
+00b6 37d98200 until null ,lpo_edge 
+00b7 6ff08136 fetch 1 ,0x8136 
+00b8 1fe17ef0 and pdata ,0xf0 ,pdata 
+00b9 6848820d fetcht 1 ,mem_otp_core_ldo 
+00ba 9841fe00 ior temp ,pdata 
+00bb 67f08136 store 1 ,0x8136 
+00bc 37d98200 until null ,lpo_edge 
+00bd 6ff08138 fetch 1 ,0x8138 
+00be 1fe17e07 and pdata ,0x7 ,pdata 
+00bf 6848820e fetcht 1 ,mem_otp_verf_bg 
+00c0 18498400 lshift3 temp ,temp 
+00c1 9841fe00 ior temp ,pdata 
+00c2 67f08138 store 1 ,0x8138 
+00c3 37d98200 until null ,lpo_edge 
 
 p_set_otp_config2:
-00c3 6ff08acb fetch 1 ,0x8acb 
-00c4 1fe17ef0 and pdata ,0xf0 ,pdata 
-00c5 6848820f fetcht 1 ,mem_otp_charge_pump 
-00c6 6048c15b storet 1 ,mem_otp_charge_pump_x 
-00c7 9841fe00 ior temp ,pdata 
-00c8 67f08acb store 1 ,0x8acb 
-00c9 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
-00ca 67e0c15c store 1 ,mem_otp_dpll_ibais_x 
-00cb 2feffe03 isolate1 3 ,pdata 
-00cc 6ff08a06 fetch 1 ,0x8a06 
-00cd 7920fe07 setflag true ,7 ,pdata 
-00ce 67f08a06 store 1 ,0x8a06 
-00cf 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
-00d0 1fe10407 and pdata ,7 ,temp 
-00d1 18520400 lshift4 temp ,temp 
-00d2 18438400 lshift temp ,temp 
-00d3 6048c438 storet 1 ,mem_ring_ibias_trim 
-00d4 6ff08a02 fetch 1 ,0x8a02 
-00d5 1fe17e1f and pdata ,0x1f ,pdata 
-00d6 9841fe00 ior temp ,pdata 
-00d7 67f08a02 store 1 ,0x8a02 
-00d8 20600000 rtn 
+00c4 6ff08acb fetch 1 ,0x8acb 
+00c5 1fe17ef0 and pdata ,0xf0 ,pdata 
+00c6 6848820f fetcht 1 ,mem_otp_charge_pump 
+00c7 6048c15b storet 1 ,mem_otp_charge_pump_x 
+00c8 9841fe00 ior temp ,pdata 
+00c9 67f08acb store 1 ,0x8acb 
+00ca 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
+00cb 67e0c15c store 1 ,mem_otp_dpll_ibais_x 
+00cc 2feffe03 isolate1 3 ,pdata 
+00cd 6ff08a06 fetch 1 ,0x8a06 
+00ce 7920fe07 setflag true ,7 ,pdata 
+00cf 67f08a06 store 1 ,0x8a06 
+00d0 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
+00d1 1fe10407 and pdata ,7 ,temp 
+00d2 18520400 lshift4 temp ,temp 
+00d3 18438400 lshift temp ,temp 
+00d4 6048c438 storet 1 ,mem_ring_ibias_trim 
+00d5 6ff08a02 fetch 1 ,0x8a02 
+00d6 1fe17e1f and pdata ,0x1f ,pdata 
+00d7 9841fe00 ior temp ,pdata 
+00d8 67f08a02 store 1 ,0x8a02 
+00d9 20600000 rtn 
 
 p_set_otp_config_wake:
-00d9 6fe1415b fetch 2 ,mem_otp_charge_pump_x 
-00da 207a0000 rtn blank 
-00db 67e1020f store 2 ,mem_otp_charge_pump 
-00dc 202000c3 branch p_set_otp_config2 
+00da 6fe1415b fetch 2 ,mem_otp_charge_pump_x 
+00db 207a0000 rtn blank 
+00dc 67e1020f store 2 ,mem_otp_charge_pump 
+00dd 202000c4 branch p_set_otp_config2 
 
 p_rf_rx_enable:
-00dd 2040686f call rf_debug_rx_gpio_high 
-00de 204021ba call rf_rx_agc_set 
-00df 18002a08 force 8 ,radio_ctrl 
-00e0 18002a00 force 0 ,radio_ctrl 
-00e1 580aaada setarg 0x0aaada 
-00e2 67f18a0f store 3 ,0x8a0f 
-00e3 708a2540 jam 0x40 ,0x8a25 
-00e4 708a2610 jam 0x10 ,0x8a26 
-00e5 2000003c nop 60 
-00e6 708a01fb jam 0xfb ,0x8a01 
-00e7 708a25ff jam 0xff ,0x8a25 
-00e8 708a2630 jam 0x30 ,0x8a26 
-00e9 708a16fe jam 0xfe ,0x8a16 
-00ea 202021b4 branch rf_rx_enable + 14 
+00de 2040686f call rf_debug_rx_gpio_high 
+00df 204021ba call rf_rx_agc_set 
+00e0 18002a08 force 8 ,radio_ctrl 
+00e1 18002a00 force 0 ,radio_ctrl 
+00e2 580aaada setarg 0x0aaada 
+00e3 67f18a0f store 3 ,0x8a0f 
+00e4 708a2540 jam 0x40 ,0x8a25 
+00e5 708a2610 jam 0x10 ,0x8a26 
+00e6 2000003c nop 60 
+00e7 708a01fb jam 0xfb ,0x8a01 
+00e8 708a25ff jam 0xff ,0x8a25 
+00e9 708a2630 jam 0x30 ,0x8a26 
+00ea 708a16fe jam 0xfe ,0x8a16 
+00eb 202021b4 branch rf_rx_enable + 14 
 
 p_txon:
-00eb 580aaa7e setarg 0x0aaa7e 
-00ec 67f18a0f store 3 ,0x8a0f 
-00ed 2000003c nop 60 
-00ee 708a2500 jam 0x00 ,0x8a25 
-00ef 708a260d jam 0x0d ,0x8a26 
-00f0 708a16f6 jam 0xf6 ,0x8a16 
-00f1 20202203 branch txon + 7 
+00ec 580aaa7e setarg 0x0aaa7e 
+00ed 67f18a0f store 3 ,0x8a0f 
+00ee 2000003c nop 60 
+00ef 708a2500 jam 0x00 ,0x8a25 
+00f0 708a260d jam 0x0d ,0x8a26 
+00f1 708a16f6 jam 0xf6 ,0x8a16 
+00f2 20202203 branch txon + 7 
 
 p_otp_read_data:
-00f2 20406b3a call enable_otp_read 
-00f3 20406b75 call otp_read_data + 1 
-00f4 20206b38 branch otp_disable_chgpump 
+00f3 20406b3a call enable_otp_read 
+00f4 20406b75 call otp_read_data + 1 
+00f5 20206b38 branch otp_disable_chgpump 
 
 p_shutter_init:
-00f5 70807dc0 jam 0xc0 ,0x807d 
-00f6 7080d6c0 jam 0xc0 ,0x80d6 
-00f7 70807fc0 jam 0xc0 ,0x807f 
-00f8 7080d4c0 jam 0xc0 ,0x80d4 
-00f9 20407396 call enable_authrom 
-00fa 20758000 rtn wake 
-00fb 204070d7 call wdt_set_disable 
-00fc 7040a60a jam 0x0a ,mem_lpm_overhead 
-00fd 5800000e setarg 0x000e 
-00fe 67e144f2 store 2 ,mem_ble_shutter_reconn_adv_interval 
-00ff 58000140 setarg 0x0140 
-0100 67e144f4 store 2 ,mem_ble_shutter_discovery_adv_interval 
-0101 67e14389 store 2 ,mem_le_adv_interval 
-0102 58000000 setarg 0x0000 
-0103 67e1452e store 2 ,mem_key0_press 
-0104 58000000 setarg 0x0000 
-0105 67e14533 store 2 ,mem_key1_press 
-0106 58000602 setarg 0x0602 
-0107 67e14556 store 2 ,mem_key0_release 
-0108 6fe4489e fetch 8 ,mem_shutter_discovery_time_conf 
-0109 67e44512 store 8 ,mem_ble_shutter_discovery_timeout 
-010a 6fe448a6 fetch 8 ,mem_shutter_reconn_or_discovery_blink_time_conf 
-010b 67e444fa store 8 ,mem_ble_shutter_reconn_blink_on_time 
-010c 58000120 setarg p_shutter_process_idle 
-010d 67e143db store 2 ,mem_cb_idle_process 
-010e 58000123 setarg p_shutter_process_bb_event 
-010f 67e143dd store 2 ,mem_cb_bb_event_process 
-0110 5800638a setarg ble_shutter_receive_data 
-0111 67e143df store 2 ,mem_cb_att_write 
-0112 5800630e setarg shutter_le_bb_event_timer 
-0113 67e143e3 store 2 ,mem_cb_event_timer 
-0114 58006365 setarg shutter_key_change 
-0115 67e14524 store 2 ,mem_cb_shutter_keycan 
-0116 204062c2 call shutter_common_init 
-0117 20406396 call shutter_load_buffer_config_form_datarom 
+00f6 70807dc0 jam 0xc0 ,0x807d 
+00f7 7080d6c0 jam 0xc0 ,0x80d6 
+00f8 70807fc0 jam 0xc0 ,0x807f 
+00f9 7080d4c0 jam 0xc0 ,0x80d4 
+00fa 20407396 call enable_authrom 
+00fb 20758000 rtn wake 
+00fc 204070d7 call wdt_set_disable 
+00fd 7040a60a jam 0x0a ,mem_lpm_overhead 
+00fe 5800000e setarg 0x000e 
+00ff 67e144f2 store 2 ,mem_ble_shutter_reconn_adv_interval 
+0100 58000140 setarg 0x0140 
+0101 67e144f4 store 2 ,mem_ble_shutter_discovery_adv_interval 
+0102 67e14389 store 2 ,mem_le_adv_interval 
+0103 58000002 setarg 0x0002 
+0104 67e1452e store 2 ,mem_key0_press 
+0105 58000001 setarg 0x0001 
+0106 67e14533 store 2 ,mem_key1_press 
+0107 6fe4489e fetch 8 ,mem_shutter_discovery_time_conf 
+0108 67e44512 store 8 ,mem_ble_shutter_discovery_timeout 
+0109 6fe448a6 fetch 8 ,mem_shutter_reconn_or_discovery_blink_time_conf 
+010a 67e444fa store 8 ,mem_ble_shutter_reconn_blink_on_time 
+010b 5800011f setarg p_shutter_process_idle 
+010c 67e143db store 2 ,mem_cb_idle_process 
+010d 58000122 setarg p_shutter_process_bb_event 
+010e 67e143dd store 2 ,mem_cb_bb_event_process 
+010f 5800638a setarg ble_shutter_receive_data 
+0110 67e143df store 2 ,mem_cb_att_write 
+0111 5800630e setarg shutter_le_bb_event_timer 
+0112 67e143e3 store 2 ,mem_cb_event_timer 
+0113 58006365 setarg shutter_key_change 
+0114 67e14524 store 2 ,mem_cb_shutter_keycan 
+0115 204062c2 call shutter_common_init 
+0116 20406396 call shutter_load_buffer_config_form_datarom 
 
 p_shutter_power_switch:
-0118 6fe0c51a fetch 1 ,mem_shutter_hard_soft_switch_case 
-0119 c000011d beq hard_switch ,p_shutter_hart_swtich_power_on 
-011a 6fe0c51b fetch 1 ,mem_shutter_soft_switch_button_gpio 
-011b 67e0c4ec store 1 ,mem_ui_button_gpio 
-011c 202063a1 branch ui_soft_swtich_init 
+0117 6fe0c51a fetch 1 ,mem_shutter_hard_soft_switch_case 
+0118 c000011c beq hard_switch ,p_shutter_hart_swtich_power_on 
+0119 6fe0c51b fetch 1 ,mem_shutter_soft_switch_button_gpio 
+011a 67e0c4ec store 1 ,mem_ui_button_gpio 
+011b 202063a1 branch ui_soft_swtich_init 
 
 p_shutter_hart_swtich_power_on:
-011d 7044ecff jam ui_button_gpio_disable ,mem_ui_button_gpio 
-011e 70451c01 jam ss_state_power_on ,mem_shutter_soft_switch_power_state 
-011f 20206340 branch shutter_start_reconnect 
+011c 7044ecff jam ui_button_gpio_disable ,mem_ui_button_gpio 
+011d 70451c01 jam ss_state_power_on ,mem_shutter_soft_switch_power_state 
+011e 20206340 branch shutter_start_reconnect 
 
 p_shutter_process_idle:
-0120 dfe0000a arg 10 ,pdata 
-0121 204070c8 call wdt_init_config 
-0122 20206327 branch shutter_process_idle 
+011f dfe0000a arg 10 ,pdata 
+0120 204070c8 call wdt_init_config 
+0121 20206327 branch shutter_process_idle 
 
 p_shutter_process_bb_event:
-0123 1a627e00 copy regc ,pdata 
-0124 c0188128 beq bt_evt_le_pairing_success ,p_ble_shutter_pair_success 
-0125 c00ae2e6 beq bt_evt_le_disconnected ,ble_shutter_process_baseband_disconnect 
-0126 c01fe2e9 beq bt_evt_le_reconnect_complete ,ble_shutter_process_reconnect_complete 
-0127 202062da branch shutter_process_bb_event + 1 
+0122 1a627e00 copy regc ,pdata 
+0123 c0188127 beq bt_evt_le_pairing_success ,p_ble_shutter_pair_success 
+0124 c00ae2e6 beq bt_evt_le_disconnected ,ble_shutter_process_baseband_disconnect 
+0125 c01fe2e9 beq bt_evt_le_reconnect_complete ,ble_shutter_process_reconnect_complete 
+0126 202062da branch shutter_process_bb_event + 1 
 
 p_ble_shutter_pair_success:
-0128 7048ae01 jam 1 ,mem_shutter_ble_connect_flag 
-0129 20600000 rtn 
+0127 7048ae01 jam 1 ,mem_shutter_ble_connect_flag 
+0128 20600000 rtn 
 
 p_ble_shutter_process_baseband_disconnect:
-012a 7048ae00 jam 0 ,mem_shutter_ble_connect_flag 
-012b 204078ad call queue_init 
-012c 7044f100 jam 0 ,mem_ble_shutter_enable_notify 
-012d 20206340 branch shutter_start_reconnect 
+0129 7048ae00 jam 0 ,mem_shutter_ble_connect_flag 
+012a 204078ad call queue_init 
+012b 7044f100 jam 0 ,mem_ble_shutter_enable_notify 
+012c 20206340 branch shutter_start_reconnect 
 
 p_ble_shutter_process_reconnect_complete:
-012e 7048ae01 jam 1 ,mem_shutter_ble_connect_flag 
-012f 204078ad call queue_init 
-0130 7044f101 jam 1 ,mem_ble_shutter_enable_notify 
-0131 6fe44502 fetch 8 ,mem_ble_shutter_interval_min 
-0132 67e442d3 store 8 ,mem_le_interval_min 
-0133 2040432b call app_lpm_mult_enable 
-0134 20202e93 branch le_l2cap_tx_update_req 
+012d 7048ae01 jam 1 ,mem_shutter_ble_connect_flag 
+012e 204078ad call queue_init 
+012f 7044f101 jam 1 ,mem_ble_shutter_enable_notify 
+0130 6fe44502 fetch 8 ,mem_ble_shutter_interval_min 
+0131 67e442d3 store 8 ,mem_le_interval_min 
+0132 2040432b call app_lpm_mult_enable 
+0133 20202e93 branch le_l2cap_tx_update_req 
 
 p_rx_dcoc:
-0135 20758000 rtn wake 
-0136 20402160 call set_sync_on 
-0137 d8400027 arg 39 ,temp 
-0138 2040216f call set_freq_rx 
-0139 204021a6 call rf_rx_enable 
-013a 708a257f jam 0x7f ,0x8a25 
-013b 708a301a jam 0x1a ,0x8a30 
-013c 708a3178 jam 0x78 ,0x8a31 
-013d 708a8fb2 jam 0xb2 ,0x8a8f 
-013e 708ac200 jam 0 ,0x8ac2 
-013f 708ac300 jam 0 ,0x8ac3 
-0140 d8e00006 arg 6 ,queue 
-0141 20400152 call p_rx_dcoc_avg 
-0142 2a2ffe0d isolate1 13 ,rega 
-0143 2040211d call qset_start 
-0144 2a4ffe0d isolate1 13 ,regb 
-0145 2040211e call qset_p 
-0146 d8e00005 arg 5 ,queue 
+0134 20758000 rtn wake 
+0135 20402160 call set_sync_on 
+0136 d8400027 arg 39 ,temp 
+0137 2040216f call set_freq_rx 
+0138 204021a6 call rf_rx_enable 
+0139 708a257f jam 0x7f ,0x8a25 
+013a 708a301a jam 0x1a ,0x8a30 
+013b 708a3178 jam 0x78 ,0x8a31 
+013c 708a8fb2 jam 0xb2 ,0x8a8f 
+013d 708ac200 jam 0 ,0x8ac2 
+013e 708ac300 jam 0 ,0x8ac3 
+013f d8e00006 arg 6 ,queue 
+0140 20400151 call p_rx_dcoc_avg 
+0141 2a2ffe0d isolate1 13 ,rega 
+0142 2040211d call qset_start 
+0143 2a4ffe0d isolate1 13 ,regb 
+0144 2040211e call qset_p 
+0145 d8e00005 arg 5 ,queue 
 
 p_rx_dcoc_loop2:
-0147 2040211c call qset1_p 
-0148 2040211e call qset_p 
-0149 20400152 call p_rx_dcoc_avg 
-014a d8a08ac2 arg 0x8ac2 ,contw 
-014b 1a31fe00 rshift4 rega ,pdata 
-014c 20402117 call qsetxor 
-014d 1a51fe00 rshift4 regb ,pdata 
-014e 20402117 call qsetxor 
-014f 18e08fff increase -1 ,queue 
-0150 20210147 branch p_rx_dcoc_loop2 ,positive 
-0151 2020214f branch rx_dcoc_loop2 + 10 
+0146 2040211c call qset1_p 
+0147 2040211e call qset_p 
+0148 20400151 call p_rx_dcoc_avg 
+0149 d8a08ac2 arg 0x8ac2 ,contw 
+014a 1a31fe00 rshift4 rega ,pdata 
+014b 20402117 call qsetxor 
+014c 1a51fe00 rshift4 regb ,pdata 
+014d 20402117 call qsetxor 
+014e 18e08fff increase -1 ,queue 
+014f 20210146 branch p_rx_dcoc_loop2 ,positive 
+0150 2020214f branch rx_dcoc_loop2 + 10 
 
 p_rx_dcoc_avg:
-0152 2000003c nop 60 
-0153 58000f00 setarg mem_dcoc_buf 
-0154 67f10982 store 2 ,0x8982 
-0155 58000ff0 setarg mem_dcoc_buf_end 
-0156 67f10984 store 2 ,0x8984 
-0157 70898109 jam 0x9 ,0x8981 
-0158 70898103 jam 0x3 ,0x8981 
-0159 70898006 jam 0x6 ,0x8980 
-015a 2000003c nop 60 
-015b da200000 arg 0 ,rega 
-015c da400000 arg 0 ,regb 
-015d df200010 arg 16 ,loopcnt 
-015e d8c00f00 arg mem_dcoc_buf ,contr 
-015f 2020212d branch rx_dcoc_loop 
+0151 2000003c nop 60 
+0152 58000f00 setarg mem_dcoc_buf 
+0153 67f10982 store 2 ,0x8982 
+0154 58000ff0 setarg mem_dcoc_buf_end 
+0155 67f10984 store 2 ,0x8984 
+0156 70898109 jam 0x9 ,0x8981 
+0157 70898103 jam 0x3 ,0x8981 
+0158 70898006 jam 0x6 ,0x8980 
+0159 2000003c nop 60 
+015a da200000 arg 0 ,rega 
+015b da400000 arg 0 ,regb 
+015c df200010 arg 16 ,loopcnt 
+015d d8c00f00 arg mem_dcoc_buf ,contr 
+015e 2020212d branch rx_dcoc_loop 
 
 p_rfpll_aac_ghpc:
-0160 20758000 rtn wake 
-0161 20202272 branch rfpll_aac_ghpc + 1 
+015f 20758000 rtn wake 
+0160 20202272 branch rfpll_aac_ghpc + 1 
 
 p_dpll_ring_ibias_calc:
-0162 20600000 rtn 
+0161 20600000 rtn 
 
 p_sadc_calibration:
-0163 20758000 rtn wake 
-0164 708a0777 jam 0x77 ,core_gpadc_ctrl 
-0165 708a08c9 jam 0xc9 ,core_gpadc_cfg0 
-0166 708a0b01 jam 0x01 ,core_gpadc_cfg3 
-0167 6fe0c409 fetch 1 ,mem_adc_clkdiv 
-0168 67f080cd store 1 ,core_sadc_clkdiv 
-0169 20000bb8 nop 3000 
-016a 2040018b call p_sadc_read 
-016b 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
-016c 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
-016d df200008 arg 8 ,loopcnt 
-016e 20406f58 call sadc_cal_read + 1 
-016f 6fe0c419 fetch 1 ,mem_spi_write_addr 
-0170 67e0c433 store 1 ,mem_adc_cal_c7 
-0171 6240c419 storer regb ,1 ,mem_spi_write_addr 
-0172 20600000 rtn 
+0162 20758000 rtn wake 
+0163 708a0777 jam 0x77 ,core_gpadc_ctrl 
+0164 708a08c9 jam 0xc9 ,core_gpadc_cfg0 
+0165 708a0b01 jam 0x01 ,core_gpadc_cfg3 
+0166 6fe0c409 fetch 1 ,mem_adc_clkdiv 
+0167 67f080cd store 1 ,core_sadc_clkdiv 
+0168 20000bb8 nop 3000 
+0169 2040018a call p_sadc_read 
+016a 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
+016b 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
+016c df200008 arg 8 ,loopcnt 
+016d 20406f58 call sadc_cal_read + 1 
+016e 6fe0c419 fetch 1 ,mem_spi_write_addr 
+016f 67e0c433 store 1 ,mem_adc_cal_c7 
+0170 6240c419 storer regb ,1 ,mem_spi_write_addr 
+0171 20600000 rtn 
 
 p_enable_adc:
-0173 20400181 call p_sadc_cal_write 
-0174 6ff08a09 fetch 1 ,core_gpadc_cfg1 
-0175 793ffe07 set0 7 ,pdata 
-0176 67f08a09 store 1 ,core_gpadc_cfg1 
-0177 708a0777 jam 0x77 ,core_gpadc_ctrl 
-0178 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
-0179 708a0b01 jam 0x01 ,core_gpadc_cfg3 
-017a 20406f90 call sadc_channel 
-017b 6fe0c409 fetch 1 ,mem_adc_clkdiv 
-017c 67f080cd store 1 ,core_sadc_clkdiv 
-017d 20000bb8 nop 3000 
-017e 2040018b call p_sadc_read 
-017f 7080cd00 jam 0 ,core_sadc_clkdiv 
-0180 20206fa1 branch sadc_dma 
+0172 20400180 call p_sadc_cal_write 
+0173 6ff08a09 fetch 1 ,core_gpadc_cfg1 
+0174 793ffe07 set0 7 ,pdata 
+0175 67f08a09 store 1 ,core_gpadc_cfg1 
+0176 708a0777 jam 0x77 ,core_gpadc_ctrl 
+0177 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
+0178 708a0b01 jam 0x01 ,core_gpadc_cfg3 
+0179 20406f90 call sadc_channel 
+017a 6fe0c409 fetch 1 ,mem_adc_clkdiv 
+017b 67f080cd store 1 ,core_sadc_clkdiv 
+017c 20000bb8 nop 3000 
+017d 2040018a call p_sadc_read 
+017e 7080cd00 jam 0 ,core_sadc_clkdiv 
+017f 20206fa1 branch sadc_dma 
 
 p_sadc_cal_write:
-0181 6ff080cc fetch 1 ,core_sadc_ctrl 
-0182 79207e01 set1 1 ,pdata 
-0183 67f080cc store 1 ,core_sadc_ctrl 
-0184 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
-0185 6fe0c433 fetch 1 ,mem_adc_cal_c7 
-0186 67e0c419 store 1 ,mem_spi_write_addr 
-0187 df200008 arg 8 ,loopcnt 
-0188 20406f67 call sadc_cal_write + 4 
-0189 6240c419 storer regb ,1 ,mem_spi_write_addr 
-018a 20600000 rtn 
+0180 6ff080cc fetch 1 ,core_sadc_ctrl 
+0181 79207e01 set1 1 ,pdata 
+0182 67f080cc store 1 ,core_sadc_ctrl 
+0183 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
+0184 6fe0c433 fetch 1 ,mem_adc_cal_c7 
+0185 67e0c419 store 1 ,mem_spi_write_addr 
+0186 df200008 arg 8 ,loopcnt 
+0187 20406f67 call sadc_cal_write + 4 
+0188 6240c419 storer regb ,1 ,mem_spi_write_addr 
+0189 20600000 rtn 
 
 p_sadc_read:
-018b 7080cc03 jam 0x03 ,core_sadc_ctrl 
+018a 7080cc03 jam 0x03 ,core_sadc_ctrl 
 
 p_sadc_read_wait:
-018c 6ff08129 fetch 1 ,core_perf_status 
-018d c302818c bbit0 saradc_done ,p_sadc_read_wait 
-018e 68590164 fetcht 2 ,core_sadc_data 
-018f 6049440a storet 2 ,mem_adc_current_value 
-0190 7080cc00 jam 0x00 ,core_sadc_ctrl 
-0191 20600000 rtn 
+018b 6ff08129 fetch 1 ,core_perf_status 
+018c c302818b bbit0 saradc_done ,p_sadc_read_wait 
+018d 68590164 fetcht 2 ,core_sadc_data 
+018e 6049440a storet 2 ,mem_adc_current_value 
+018f 7080cc00 jam 0x00 ,core_sadc_ctrl 
+0190 20600000 rtn 
 
 p_set_lemode:
-0192 708a8211 jam 0x11 ,0x8a82 
-0193 708a8d12 jam 0x12 ,0x8a8d 
-0194 708a8e0a jam 0x0a ,0x8a8e 
-0195 6fe0c099 fetch 1 ,mem_fcomp_div 
-0196 c00801ab beq xtal_16m ,p_set_lemode_2m_16m 
-0197 58005762 setarg 0x5762 
-0198 67f10907 store 2 ,0x8907 
+0191 708a8211 jam 0x11 ,0x8a82 
+0192 708a8d12 jam 0x12 ,0x8a8d 
+0193 708a8e0a jam 0x0a ,0x8a8e 
+0194 6fe0c099 fetch 1 ,mem_fcomp_div 
+0195 c00801aa beq xtal_16m ,p_set_lemode_2m_16m 
+0196 58005762 setarg 0x5762 
+0197 67f10907 store 2 ,0x8907 
 
 p_set_lemode_2m:
-0199 70890103 jam 3 ,0x8901 
-019a 70893003 jam 3 ,0x8930 
-019b c6168000 rtnmark1 mark_ble_2m 
-019c 70890101 jam 1 ,0x8901 
-019d 708a8207 jam 0x07 ,0x8a82 
-019e 708a8d44 jam 0x44 ,0x8a8d 
-019f 708a8e0a jam 0x0a ,0x8a8e 
-01a0 6fe0c099 fetch 1 ,mem_fcomp_div 
-01a1 c00801a8 beq xtal_16m ,p_set_lemode_1m_16m 
-01a2 58002bb1 setarg 0x2bb1 
-01a3 67f10907 store 2 ,0x8907 
+0198 70890103 jam 3 ,0x8901 
+0199 70893003 jam 3 ,0x8930 
+019a c6168000 rtnmark1 mark_ble_2m 
+019b 70890101 jam 1 ,0x8901 
+019c 708a8207 jam 0x07 ,0x8a82 
+019d 708a8d44 jam 0x44 ,0x8a8d 
+019e 708a8e0a jam 0x0a ,0x8a8e 
+019f 6fe0c099 fetch 1 ,mem_fcomp_div 
+01a0 c00801a7 beq xtal_16m ,p_set_lemode_1m_16m 
+01a1 58002bb1 setarg 0x2bb1 
+01a2 67f10907 store 2 ,0x8907 
 
 p_set_lemode_1m:
-01a4 c6978000 rtnmark0 mark_ble_lr 
-01a5 70893024 jam 0x24 ,0x8930 
-01a6 70890105 jam 5 ,0x8901 
-01a7 20600000 rtn 
+01a3 c6978000 rtnmark0 mark_ble_lr 
+01a4 70893024 jam 0x24 ,0x8930 
+01a5 70890105 jam 5 ,0x8901 
+01a6 20600000 rtn 
 
 p_set_lemode_1m_16m:
-01a8 58004189 setarg 0x4189 
-01a9 67f10907 store 2 ,0x8907 
-01aa 202001a4 branch p_set_lemode_1m 
+01a7 58004189 setarg 0x4189 
+01a8 67f10907 store 2 ,0x8907 
+01a9 202001a3 branch p_set_lemode_1m 
 
 p_set_lemode_2m_16m:
-01ab 58008312 setarg 0x8312 
-01ac 67f10907 store 2 ,0x8907 
-01ad 20200199 branch p_set_lemode_2m 
+01aa 58008312 setarg 0x8312 
+01ab 67f10907 store 2 ,0x8907 
+01ac 20200198 branch p_set_lemode_2m 
 
 p_le_parse:
-01ae 6fe0c334 fetch 1 ,mem_le_packet_llid 
-01af c1000000 rtneq llid_reserved 
-01b0 c001b04a beq llid_le_ll ,le_parse_ll 
-01b1 202028e1 branch le_parse_l2cap 
+01ad 6fe0c334 fetch 1 ,mem_le_packet_llid 
+01ae c1000000 rtneq llid_reserved 
+01af c001b04a beq llid_le_ll ,le_parse_ll 
+01b0 202028e1 branch le_parse_l2cap 
 
 p_le_init_adv:
-01b2 793f8030 set0 mark_ble_crc_fail ,mark 
-01b3 20202af6 branch le_init_adv + 1 
+01b1 793f8030 set0 mark_ble_crc_fail ,mark 
+01b2 20202af6 branch le_init_adv + 1 
 
 p_le_receive_rxon:
-01b4 204025c2 call le_prep 
-01b5 c59781ba bmark0 mark_ble_lr ,p_le_receive_nolr 
-01b6 783cfc00 pulse dewhiten_code_calc 
-01b7 2000001e nop 30 
-01b8 204025c2 call le_prep 
-01b9 19699600 lshift3 timeup ,timeup 
+01b3 204025c2 call le_prep 
+01b4 c59781b9 bmark0 mark_ble_lr ,p_le_receive_nolr 
+01b5 783cfc00 pulse dewhiten_code_calc 
+01b6 2000001e nop 30 
+01b7 204025c2 call le_prep 
+01b8 19699600 lshift3 timeup ,timeup 
 
 p_le_receive_nolr:
-01ba 7856fc00 disable match 
-01bb 7826fc00 enable decode_fec0 
-01bc 7830fc00 enable is_rx 
-01bd 78507c00 disable is_tx 
-01be 19623600 copy timeup ,stop_watch 
-01bf 37c18400 correlate null ,timeout 
-01c0 203701c3 branch p_le_receive_on_attempt ,attempt 
-01c1 1b420400 copy clke ,temp 
-01c2 604b000f storet 6 ,mem_sync_clke 
+01b9 7856fc00 disable match 
+01ba 7826fc00 enable decode_fec0 
+01bb 7830fc00 enable is_rx 
+01bc 78507c00 disable is_tx 
+01bd 19623600 copy timeup ,stop_watch 
+01be 37c18400 correlate null ,timeout 
+01bf 203701c2 branch p_le_receive_on_attempt ,attempt 
+01c0 1b420400 copy clke ,temp 
+01c1 604b000f storet 6 ,mem_sync_clke 
 
 p_le_receive_on_attempt:
-01c3 242c26fa nbranch le_unsync_end ,sync 
-01c4 78287c00 enable swfine 
-01c5 6fe0c167 fetch 1 ,mem_le_tx_ifs_defference 
-01c6 d8404e20 arg param_20ms_init ,temp 
-01c7 98408400 iadd temp ,temp 
-01c8 6fe0c148 fetch 1 ,mem_system_clk 
-01c9 984fb600 imul32 temp ,stop_watch 
-01ca 20406877 call rf_debug_rx_sync_line 
-01cb 20372677 branch le_receive_skip ,attempt 
-01cc 204001d1 call p_calc_clke_all_modem 
-01cd 6fe08168 fetch 1 ,mem_le_state 
-01ce c301a677 bbit0 lestate_got_first_packet ,le_receive_skip 
-01cf 2055a477 call lpm_adjust_clk ,wake 
-01d0 20202677 branch le_receive_skip 
+01c2 242c26fa nbranch le_unsync_end ,sync 
+01c3 78287c00 enable swfine 
+01c4 6fe0c167 fetch 1 ,mem_le_tx_ifs_defference 
+01c5 d8404e20 arg param_20ms_init ,temp 
+01c6 98408400 iadd temp ,temp 
+01c7 6fe0c148 fetch 1 ,mem_system_clk 
+01c8 984fb600 imul32 temp ,stop_watch 
+01c9 20406877 call rf_debug_rx_sync_line 
+01ca 20372677 branch le_receive_skip ,attempt 
+01cb 204001d0 call p_calc_clke_all_modem 
+01cc 6fe08168 fetch 1 ,mem_le_state 
+01cd c301a677 bbit0 lestate_got_first_packet ,le_receive_skip 
+01ce 2055a477 call lpm_adjust_clk ,wake 
+01cf 20202677 branch le_receive_skip 
 
 p_calc_clke_all_modem:
-01d1 684b000f fetcht 6 ,mem_sync_clke 
-01d2 1b427e00 copy clke ,pdata 
-01d3 20407d12 call clk_diff 
-01d4 1fe20400 copy pdata ,temp 
-01d5 204026ff call calc_clke_all_modem 
-01d6 1b425600 copy clke ,rege 
-01d7 1d227e00 copy clke_rt ,pdata 
-01d8 9840fe00 iadd temp ,pdata 
-01d9 1fe25200 copy pdata ,clke_rt 
-01da 20600000 rtn 
+01d0 684b000f fetcht 6 ,mem_sync_clke 
+01d1 1b427e00 copy clke ,pdata 
+01d2 20407d12 call clk_diff 
+01d3 1fe20400 copy pdata ,temp 
+01d4 204026ff call calc_clke_all_modem 
+01d5 1b425600 copy clke ,rege 
+01d6 1d227e00 copy clke_rt ,pdata 
+01d7 9840fe00 iadd temp ,pdata 
+01d8 1fe25200 copy pdata ,clke_rt 
+01d9 20600000 rtn 
 
 p_lpm_adjust_clk:
-01db c584a489 bmark0 mark_context ,lpm_clear_counter 
-01dc 684a40ad fetcht 4 ,mem_sleep_counter_all 
-01dd dfe00600 arg 0x600 ,pdata 
-01de 98467c00 isub temp ,null 
-01df 20610000 rtn positive 
-01e0 18422200 copy temp ,rega 
-01e1 684b000f fetcht 6 ,mem_sync_clke 
-01e2 1d627e00 deposit rege 
-01e3 20407d10 call clk_diff_rt 
-01e4 1a220400 copy rega ,temp 
-01e5 2020247d branch lpm_adjust_clk + 6 
+01da c584a489 bmark0 mark_context ,lpm_clear_counter 
+01db 684a40ad fetcht 4 ,mem_sleep_counter_all 
+01dc dfe00600 arg 0x600 ,pdata 
+01dd 98467c00 isub temp ,null 
+01de 20610000 rtn positive 
+01df 18422200 copy temp ,rega 
+01e0 684b000f fetcht 6 ,mem_sync_clke 
+01e1 1d627e00 deposit rege 
+01e2 20407d10 call clk_diff_rt 
+01e3 1a220400 copy rega ,temp 
+01e4 2020247d branch lpm_adjust_clk + 6 
 
 p_lpm_sleep:
-01e6 6fe143e9 fetch 2 ,mem_cb_before_lpm_sleep 
-01e7 20407d79 call callback_func 
+01e5 6fe143e9 fetch 2 ,mem_cb_before_lpm_sleep 
+01e6 20407d79 call callback_func 
 
 p_lpm_sleep_skip_cb_function:
-01e8 6fe240ad fetch 4 ,mem_sleep_counter_all 
-01e9 9840fe00 iadd temp ,pdata 
-01ea 67e240ad store 4 ,mem_sleep_counter_all 
-01eb 204001ed call p_lpm_save_context 
-01ec 20202425 branch lpm_sleep_skip_cb_function + 4 
+01e7 6fe240ad fetch 4 ,mem_sleep_counter_all 
+01e8 9840fe00 iadd temp ,pdata 
+01e9 67e240ad store 4 ,mem_sleep_counter_all 
+01ea 204001f6 call p_lpm_save_context 
+01eb 6fe0c0cb fetch 1 ,mem_lpm_hv_sel 
+01ec 79207e04 set1 lpm_doze_en_bit ,pdata 
+01ed 204023e1 call lpm_write_sel_hv 
+01ee 2455a3cb ncall lpm_preon_counter ,wake 
+01ef 37d98200 until null ,lpo_edge 
+01f0 1b227e00 copy clkn ,pdata 
+01f1 67e340b1 store 6 ,mem_sleep_clkn 
+01f2 6fe1c0c6 fetch 3 ,mem_lpm_isogate 
+01f3 6a20c0c9 fetchr rega ,1 ,mem_lpm_ldo_sel 
+01f4 df200003 arg 3 ,loopcnt 
+01f5 2020242e branch lpm_sleep_loop 
 
 p_lpm_save_context:
-01ed 600440e7 storer mark ,8 ,mem_saved_mark 
-01ee d8c08070 arg core_gpio_conf ,contr 
-01ef d8a040cc arg mem_saved_gpio ,contw 
-01f0 20407c8f call memcpy16 
-01f1 d8c080d4 arg core_gpio_conf_hi ,contr 
-01f2 20407c89 call memcpy8 
-01f3 6ff08080 fetch 1 ,core_spid_ctrl 
-01f4 67e0c0ef store 1 ,mem_saved_spidctrl 
-01f5 18422400 copy temp ,regb 
+01f6 600440e7 storer mark ,8 ,mem_saved_mark 
+01f7 d8c08070 arg core_gpio_conf ,contr 
+01f8 d8a040cc arg mem_saved_gpio ,contw 
+01f9 20407c8f call memcpy16 
+01fa d8c080d4 arg core_gpio_conf_hi ,contr 
+01fb 20407c89 call memcpy8 
+01fc 6ff08080 fetch 1 ,core_spid_ctrl 
+01fd 67e0c0ef store 1 ,mem_saved_spidctrl 
+01fe 18422400 copy temp ,regb 
 
 p_lpm_write_gpio_wakeup:
-01f6 df20000c arg 12 ,loopcnt 
-01f7 da200016 arg mem_gpio_wakeup_cfg ,rega 
-01f8 da60814d arg core_gpio_wakeup_cfg ,regc 
-01f9 37d98200 until null ,lpo_edge 
+01ff df20000c arg 12 ,loopcnt 
+0200 da200016 arg mem_gpio_wakeup_cfg ,rega 
+0201 da60814d arg core_gpio_wakeup_cfg ,regc 
+0202 37d98200 until null ,lpo_edge 
 
 p_lpm_write_gpio_loop:
-01fa efe08011 ifetch 1 ,rega 
-01fb e8408013 ifetcht 1 ,regc 
-01fc 98467c00 isub temp ,null 
-01fd 20228200 branch p_lpm_write_gpio_loop_next ,zero 
-01fe e7e08013 istore 1 ,regc 
-01ff 37d98200 until null ,lpo_edge 
+0203 efe08011 ifetch 1 ,rega 
+0204 e8408013 ifetcht 1 ,regc 
+0205 98467c00 isub temp ,null 
+0206 20228209 branch p_lpm_write_gpio_loop_next ,zero 
+0207 e7e08013 istore 1 ,regc 
+0208 37d98200 until null ,lpo_edge 
 
 p_lpm_write_gpio_loop_next:
-0200 1a20a201 increase 1 ,rega 
-0201 1a60a601 increase 1 ,regc 
-0202 c20001fa loop p_lpm_write_gpio_loop 
-0203 1a420400 copy regb ,temp 
-0204 20600000 rtn 
+0209 1a20a201 increase 1 ,rega 
+020a 1a60a601 increase 1 ,regc 
+020b c2000203 loop p_lpm_write_gpio_loop 
+020c 1a420400 copy regb ,temp 
+020d 20600000 rtn 
               org 0x2000
 
 start:
Index: output/ramcode.rom
===================================================================
--- /1121s/branch/shutter/branch/shutter/dq_project/dq_yc1386p_shutter_ws8000_dj/output/ramcode.rom	(revision 4688)
+++ /1121s/branch/shutter/branch/shutter/dq_project/dq_yc1386p_shutter_ws8000_dj/output/ramcode.rom	(working copy)
@@ -2,24 +2,24 @@
 c0000018
 c0010048
 c0088051
-c00a0192
-c00a80dd
-c00c00eb
-c00c80aa
+c00a0191
+c00a80de
+c00c00ec
+c00c80ab
 c00d0063
-c01281e6
-c01381db
-c05880f5
-c06280f2
-c06d0163
-c06e0173
+c01281e5
+c01381da
+c05880f6
+c06280f3
+c06d0162
+c06e0172
 2020235a
-c01201b4
+c01201b3
 c0128043
 c0130033
-c01c81ae
+c01c81ad
 c01f801c
-c02681b2
+c02681b1
 c17f8000
 2020235a
 2435a002
@@ -102,19 +102,20 @@
 37d98200
 7089460d
 70896f10
+708a8840
 708a13cd
 708a0610
 708a844a
 708a8540
 708a16fe
-204000b2
+204000b3
 6fe0c436
 205a70d7
 2455805f
 37d98200
 70813b5f
 6fe0c099
-c008009f
+c00800a0
 6fe0c438
 1fe1fe04
 67f08a02
@@ -125,18 +126,18 @@
 67f18a73
 708a8660
 708a8b3b
-20400091
+20400092
 70804300
 70804205
 58557474
 67f18968
 7089606e
-20400135
-20400160
-2040008b
+20400134
+2040015f
+2040008c
 7041480c
 20406f4e
-20200162
+20200161
 20758000
 37d98200
 6fe0c11c
@@ -144,7 +145,7 @@
 37d98200
 20600000
 6fe0c099
-c00c0097
+c00c0098
 6fe0c438
 1fe1fe06
 67f08a02
@@ -167,16 +168,16 @@
 67f18a73
 708a762a
 70890204
-2020007d
+2020007e
 6fe0c141
-c00500ad
+c00500ae
 2020220e
 708a1425
 58a93f3f
 67f18a60
 708a631f
 20600000
-203580d9
+203580da
 6fe2020d
 207a0000
 37d98200
@@ -218,7 +219,7 @@
 6fe1415b
 207a0000
 67e1020f
-202000c3
+202000c4
 2040686f
 204021ba
 18002a08
@@ -256,19 +257,17 @@
 58000140
 67e144f4
 67e14389
-58000000
+58000002
 67e1452e
-58000000
+58000001
 67e14533
-58000602
-67e14556
 6fe4489e
 67e44512
 6fe448a6
 67e444fa
-58000120
+5800011f
 67e143db
-58000123
+58000122
 67e143dd
 5800638a
 67e143df
@@ -279,7 +278,7 @@
 204062c2
 20406396
 6fe0c51a
-c000011d
+c000011c
 6fe0c51b
 67e0c4ec
 202063a1
@@ -290,7 +289,7 @@
 204070c8
 20206327
 1a627e00
-c0188128
+c0188127
 c00ae2e6
 c01fe2e9
 202062da
@@ -319,7 +318,7 @@
 708ac200
 708ac300
 d8e00006
-20400152
+20400151
 2a2ffe0d
 2040211d
 2a4ffe0d
@@ -327,14 +326,14 @@
 d8e00005
 2040211c
 2040211e
-20400152
+20400151
 d8a08ac2
 1a31fe00
 20402117
 1a51fe00
 20402117
 18e08fff
-20210147
+20210146
 2020214f
 2000003c
 58000f00
@@ -360,7 +359,7 @@
 6fe0c409
 67f080cd
 20000bb8
-2040018b
+2040018a
 708a08c1
 6a40c419
 df200008
@@ -369,7 +368,7 @@
 67e0c433
 6240c419
 20600000
-20400181
+20400180
 6ff08a09
 793ffe07
 67f08a09
@@ -380,7 +379,7 @@
 6fe0c409
 67f080cd
 20000bb8
-2040018b
+2040018a
 7080cd00
 20206fa1
 6ff080cc
@@ -395,7 +394,7 @@
 20600000
 7080cc03
 6ff08129
-c302818c
+c302818b
 68590164
 6049440a
 7080cc00
@@ -404,7 +403,7 @@
 708a8d12
 708a8e0a
 6fe0c099
-c00801ab
+c00801aa
 58005762
 67f10907
 70890103
@@ -415,7 +414,7 @@
 708a8d44
 708a8e0a
 6fe0c099
-c00801a8
+c00801a7
 58002bb1
 67f10907
 c6978000
@@ -424,10 +423,10 @@
 20600000
 58004189
 67f10907
-202001a4
+202001a3
 58008312
 67f10907
-20200199
+20200198
 6fe0c334
 c1000000
 c001b04a
@@ -435,7 +434,7 @@
 793f8030
 20202af6
 204025c2
-c59781ba
+c59781b9
 783cfc00
 2000001e
 204025c2
@@ -446,7 +445,7 @@
 78507c00
 19623600
 37c18400
-203701c3
+203701c2
 1b420400
 604b000f
 242c26fa
@@ -458,7 +457,7 @@
 984fb600
 20406877
 20372677
-204001d1
+204001d0
 6fe08168
 c301a677
 2055a477
@@ -489,8 +488,18 @@
 6fe240ad
 9840fe00
 67e240ad
-204001ed
-20202425
+204001f6
+6fe0c0cb
+79207e04
+204023e1
+2455a3cb
+37d98200
+1b227e00
+67e340b1
+6fe1c0c6
+6a20c0c9
+df200003
+2020242e
 600440e7
 d8c08070
 d8a040cc
@@ -507,11 +516,11 @@
 efe08011
 e8408013
 98467c00
-20228200
+20228209
 e7e08013
 37d98200
 1a20a201
 1a60a601
-c20001fa
+c2000203
 1a420400
 20600000
Index: output/sched.rom
===================================================================
--- /1121s/branch/shutter/branch/shutter/dq_project/dq_yc1386p_shutter_ws8000_dj/output/sched.rom	(revision 4688)
+++ /1121s/branch/shutter/branch/shutter/dq_project/dq_yc1386p_shutter_ws8000_dj/output/sched.rom	(working copy)
@@ -71,12 +71,12 @@
 
 mem_le_lap:3a 31 1f 98 07 2a
 mem_le_name_len:
-'A37
+'OldShark
 
 mem_shutter_key_conf0_temp:06 ff 91 01 06
 #mem_shutter_key_conf0_temp:06 ff 90 01 06  #socket
 # mem_shutter_key_conf0_temp:15 ff 8c 01 15 #调试版
-mem_shutter_soft_switch_first_power_on:00
+mem_shutter_soft_switch_first_power_on:01
 
 mem_tx_power:05
 
@@ -107,7 +107,7 @@
 mem_lpm_hv_sel:b4
 
 mem_fcomp_div:18
-mem_xtal_c_sel:7f
+mem_xtal_c_sel:3e
 mem_gpio_wakeup_cfg:00 00 20 00 00 00 00 00 00 00 00 00
 
 mem_version:08 0e 05 03 00
Index: program/patch.prog
===================================================================
--- /1121s/branch/shutter/branch/shutter/dq_project/dq_yc1386p_shutter_ws8000_dj/program/patch.prog	(revision 4688)
+++ /1121s/branch/shutter/branch/shutter/dq_project/dq_yc1386p_shutter_ws8000_dj/program/patch.prog	(working copy)
@@ -131,7 +131,7 @@
 
 	jam 0x0d,0x8946
 	jam 0x10,0x896f
-
+	jam 0x40,core_rx_cfg0
 	jam 0xcd,0x8a13
 	jam 0x10,0x8a06
 	jam 0x4a,0x8a84
@@ -323,12 +323,10 @@
 	store 2,mem_ble_shutter_discovery_adv_interval
 	store 2,mem_le_adv_interval
 
-	setarg 0x0000
+	setarg 0x0002
 	store 2,mem_key0_press
-	setarg 0x0000
+	setarg 0x0001
 	store 2,mem_key1_press
-	setarg 0x0602
-	store 2,mem_key0_release
 
 	fetch 8,mem_shutter_discovery_time_conf
 	store 8,mem_ble_shutter_discovery_timeout
@@ -632,7 +630,18 @@
 	iadd temp,pdata
 	store 4,mem_sleep_counter_all
 	call p_lpm_save_context
-	branch lpm_sleep_skip_cb_function+4
+	fetch 1,mem_lpm_hv_sel
+	set1 LPM_DOZE_EN_BIT, pdata
+	call lpm_write_sel_hv
+	ncall lpm_preon_counter,wake
+	until null,lpo_edge
+	copy clkn,pdata
+	store 6,mem_sleep_clkn
+	// storer clkn,6,mem_sleep_clkn
+	fetch 3,mem_lpm_isogate
+	fetchr rega,1,mem_lpm_ldo_sel
+	arg 3,loopcnt
+	branch lpm_sleep_loop
 
 p_lpm_save_context:
 	storer mark,8,mem_saved_mark
Index: sched/1305.dat
===================================================================
--- /1121s/branch/shutter/branch/shutter/dq_project/dq_yc1386p_shutter_ws8000_dj/sched/1305.dat	(revision 4688)
+++ /1121s/branch/shutter/branch/shutter/dq_project/dq_yc1386p_shutter_ws8000_dj/sched/1305.dat	(working copy)
@@ -9,7 +9,7 @@
 mem_lpm_hv_sel:b4
 
 mem_fcomp_div:18
-mem_xtal_c_sel:7f
+mem_xtal_c_sel:3e
 mem_gpio_wakeup_cfg:00 00 20 00 00 00 00 00 00 00 00 00
 
 mem_version:08 0e 05 03 00
Index: sched/shutter.dat
===================================================================
--- /1121s/branch/shutter/branch/shutter/dq_project/dq_yc1386p_shutter_ws8000_dj/sched/shutter.dat	(revision 4688)
+++ /1121s/branch/shutter/branch/shutter/dq_project/dq_yc1386p_shutter_ws8000_dj/sched/shutter.dat	(working copy)
@@ -4,12 +4,12 @@
 
 mem_le_lap:3a 31 1f 98 07 2a
 mem_le_name_len:
-'A37
+'OldShark
 
 mem_shutter_key_conf0_temp:06 ff 91 01 06
 #mem_shutter_key_conf0_temp:06 ff 90 01 06  #socket
 # mem_shutter_key_conf0_temp:15 ff 8c 01 15 #调试版
-mem_shutter_soft_switch_first_power_on:00
+mem_shutter_soft_switch_first_power_on:01
 
 mem_tx_power:05
 
