Index: output/eeprom.dat
===================================================================
--- /1121s/branch/shutter/branch/shutter/dq_project/dq_yc1386p_shutter_ws8000_dj/output/eeprom.dat	(revision 6157)
+++ /1121s/branch/shutter/branch/shutter/dq_project/dq_yc1386p_shutter_ws8000_dj/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-a2
+ba
 08
 c2
 84
@@ -23,47 +23,47 @@
 c0
 0a
 01
-ab
+b1
 c0
 0a
 80
-e2
+e3
 c0
 0c
 00
-f0
+f1
 c0
 0c
 80
-af
+b0
 c0
 0d
 00
 63
 c0
 12
-81
-ff
+82
+05
 c0
 13
 81
-f4
+fa
 c0
 58
 80
-fa
+fb
 c0
 62
 80
-f7
+f8
 c0
 6d
 01
-7c
+82
 c0
 6e
 01
-8c
+92
 20
 20
 23
@@ -71,7 +71,7 @@
 c0
 12
 01
-cd
+d3
 c0
 12
 80
@@ -83,7 +83,7 @@
 c0
 1c
 81
-c7
+cd
 c0
 1f
 80
@@ -91,7 +91,7 @@
 c0
 26
 81
-cb
+d1
 c1
 7f
 80
@@ -447,7 +447,7 @@
 20
 40
 00
-b7
+b8
 6f
 e0
 c4
@@ -475,7 +475,7 @@
 c0
 08
 00
-a4
+a5
 6f
 e0
 c4
@@ -519,7 +519,7 @@
 20
 40
 00
-96
+97
 70
 80
 43
@@ -543,19 +543,19 @@
 20
 40
 01
-4e
+54
 20
 40
 01
-79
+7f
 20
 40
 00
-90
+91
 70
 8a
 30
-1e
+06
 70
 8a
 32
@@ -563,12 +563,16 @@
 70
 8a
 88
-e4
+e0
 70
 8a
 8c
 2d
 70
+8a
+31
+78
+70
 41
 48
 0c
@@ -579,7 +583,7 @@
 20
 20
 01
-7b
+81
 20
 75
 80
@@ -611,7 +615,7 @@
 c0
 0c
 00
-9c
+9d
 6f
 e0
 c4
@@ -711,7 +715,7 @@
 c0
 05
 00
-b2
+b3
 20
 20
 22
@@ -739,7 +743,7 @@
 20
 35
 80
-de
+df
 6f
 e2
 02
@@ -907,7 +911,7 @@
 20
 20
 00
-c8
+c9
 20
 40
 68
@@ -1056,6 +1060,26 @@
 e1
 43
 89
+70
+46
+b3
+02
+58
+00
+01
+a0
+67
+e1
+46
+b5
+58
+00
+01
+a0
+67
+e1
+46
+b7
 58
 00
 00
@@ -1091,7 +1115,7 @@
 58
 00
 01
-25
+2b
 67
 e1
 43
@@ -1099,7 +1123,7 @@
 58
 00
 01
-39
+3f
 67
 e1
 43
@@ -1107,7 +1131,7 @@
 58
 00
 01
-3c
+42
 67
 e1
 43
@@ -1151,7 +1175,7 @@
 c0
 00
 01
-22
+28
 6f
 e0
 c5
@@ -1183,7 +1207,7 @@
 20
 40
 01
-29
+2f
 20
 40
 63
@@ -1227,7 +1251,7 @@
 20
 22
 81
-34
+3a
 1f
 e2
 04
@@ -1235,7 +1259,7 @@
 20
 40
 01
-37
+3d
 1a
 20
 a2
@@ -1243,7 +1267,7 @@
 c2
 00
 01
-2e
+34
 20
 60
 00
@@ -1275,15 +1299,15 @@
 c0
 18
 81
-41
+47
 c0
 0a
 81
-43
+49
 c0
 1f
 81
-47
+4d
 20
 20
 62
@@ -1391,7 +1415,7 @@
 20
 40
 01
-6b
+71
 2a
 2f
 fe
@@ -1423,7 +1447,7 @@
 20
 40
 01
-6b
+71
 d8
 a0
 8a
@@ -1451,7 +1475,7 @@
 20
 21
 01
-60
+66
 20
 20
 21
@@ -1555,7 +1579,7 @@
 20
 40
 01
-a4
+aa
 70
 8a
 08
@@ -1591,7 +1615,7 @@
 20
 40
 01
-9a
+a0
 6f
 f0
 8a
@@ -1635,7 +1659,7 @@
 20
 40
 01
-a4
+aa
 70
 80
 cd
@@ -1695,7 +1719,7 @@
 c3
 02
 81
-a5
+ab
 68
 59
 01
@@ -1731,7 +1755,7 @@
 c0
 08
 01
-c4
+ca
 58
 00
 57
@@ -1775,7 +1799,7 @@
 c0
 08
 01
-c1
+c7
 58
 00
 2b
@@ -1811,7 +1835,7 @@
 20
 20
 01
-bd
+c3
 58
 00
 83
@@ -1823,7 +1847,7 @@
 20
 20
 01
-b2
+b8
 6f
 e0
 c3
@@ -1855,7 +1879,7 @@
 c5
 97
 81
-d3
+d9
 78
 3c
 fc
@@ -1899,7 +1923,7 @@
 20
 37
 01
-dc
+e2
 1b
 42
 04
@@ -1947,7 +1971,7 @@
 20
 40
 01
-ea
+f0
 6f
 e0
 81
@@ -2071,7 +2095,7 @@
 20
 40
 02
-10
+16
 6f
 e0
 c0
@@ -2183,7 +2207,7 @@
 20
 22
 82
-23
+29
 e7
 e0
 80
@@ -2203,7 +2227,7 @@
 c2
 00
 02
-1d
+23
 1a
 42
 04
@@ -2212,8 +2236,8 @@
 60
 00
 00
-33
-4d
+6e
+93
 aa
 55
 40
@@ -2343,7 +2367,7 @@
 91
 01
 06
-01
+00
 aa
 55
 01
@@ -2372,10 +2396,10 @@
 0b
 b8
 0b
-02
-01
-02
-01
+96
+03
+96
+03
 96
 02
 96
@@ -2572,34 +2596,10 @@
 aa
 aa
 55
-a2
-4c
-3e
-ee
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+cd
+4d
+a0
+64
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-6c
-3f
+e8
+14
Index: output/flash.dat
===================================================================
--- /1121s/branch/shutter/branch/shutter/dq_project/dq_yc1386p_shutter_ws8000_dj/output/flash.dat	(revision 6157)
+++ /1121s/branch/shutter/branch/shutter/dq_project/dq_yc1386p_shutter_ws8000_dj/output/flash.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-a2
+ba
 08
 c2
 84
@@ -23,47 +23,47 @@
 c0
 0a
 01
-ab
+b1
 c0
 0a
 80
-e2
+e3
 c0
 0c
 00
-f0
+f1
 c0
 0c
 80
-af
+b0
 c0
 0d
 00
 63
 c0
 12
-81
-ff
+82
+05
 c0
 13
 81
-f4
+fa
 c0
 58
 80
-fa
+fb
 c0
 62
 80
-f7
+f8
 c0
 6d
 01
-7c
+82
 c0
 6e
 01
-8c
+92
 20
 20
 23
@@ -71,7 +71,7 @@
 c0
 12
 01
-cd
+d3
 c0
 12
 80
@@ -83,7 +83,7 @@
 c0
 1c
 81
-c7
+cd
 c0
 1f
 80
@@ -91,7 +91,7 @@
 c0
 26
 81
-cb
+d1
 c1
 7f
 80
@@ -447,7 +447,7 @@
 20
 40
 00
-b7
+b8
 6f
 e0
 c4
@@ -475,7 +475,7 @@
 c0
 08
 00
-a4
+a5
 6f
 e0
 c4
@@ -519,7 +519,7 @@
 20
 40
 00
-96
+97
 70
 80
 43
@@ -543,19 +543,19 @@
 20
 40
 01
-4e
+54
 20
 40
 01
-79
+7f
 20
 40
 00
-90
+91
 70
 8a
 30
-1e
+06
 70
 8a
 32
@@ -563,12 +563,16 @@
 70
 8a
 88
-e4
+e0
 70
 8a
 8c
 2d
 70
+8a
+31
+78
+70
 41
 48
 0c
@@ -579,7 +583,7 @@
 20
 20
 01
-7b
+81
 20
 75
 80
@@ -611,7 +615,7 @@
 c0
 0c
 00
-9c
+9d
 6f
 e0
 c4
@@ -711,7 +715,7 @@
 c0
 05
 00
-b2
+b3
 20
 20
 22
@@ -739,7 +743,7 @@
 20
 35
 80
-de
+df
 6f
 e2
 02
@@ -907,7 +911,7 @@
 20
 20
 00
-c8
+c9
 20
 40
 68
@@ -1056,6 +1060,26 @@
 e1
 43
 89
+70
+46
+b3
+02
+58
+00
+01
+a0
+67
+e1
+46
+b5
+58
+00
+01
+a0
+67
+e1
+46
+b7
 58
 00
 00
@@ -1091,7 +1115,7 @@
 58
 00
 01
-25
+2b
 67
 e1
 43
@@ -1099,7 +1123,7 @@
 58
 00
 01
-39
+3f
 67
 e1
 43
@@ -1107,7 +1131,7 @@
 58
 00
 01
-3c
+42
 67
 e1
 43
@@ -1151,7 +1175,7 @@
 c0
 00
 01
-22
+28
 6f
 e0
 c5
@@ -1183,7 +1207,7 @@
 20
 40
 01
-29
+2f
 20
 40
 63
@@ -1227,7 +1251,7 @@
 20
 22
 81
-34
+3a
 1f
 e2
 04
@@ -1235,7 +1259,7 @@
 20
 40
 01
-37
+3d
 1a
 20
 a2
@@ -1243,7 +1267,7 @@
 c2
 00
 01
-2e
+34
 20
 60
 00
@@ -1275,15 +1299,15 @@
 c0
 18
 81
-41
+47
 c0
 0a
 81
-43
+49
 c0
 1f
 81
-47
+4d
 20
 20
 62
@@ -1391,7 +1415,7 @@
 20
 40
 01
-6b
+71
 2a
 2f
 fe
@@ -1423,7 +1447,7 @@
 20
 40
 01
-6b
+71
 d8
 a0
 8a
@@ -1451,7 +1475,7 @@
 20
 21
 01
-60
+66
 20
 20
 21
@@ -1555,7 +1579,7 @@
 20
 40
 01
-a4
+aa
 70
 8a
 08
@@ -1591,7 +1615,7 @@
 20
 40
 01
-9a
+a0
 6f
 f0
 8a
@@ -1635,7 +1659,7 @@
 20
 40
 01
-a4
+aa
 70
 80
 cd
@@ -1695,7 +1719,7 @@
 c3
 02
 81
-a5
+ab
 68
 59
 01
@@ -1731,7 +1755,7 @@
 c0
 08
 01
-c4
+ca
 58
 00
 57
@@ -1775,7 +1799,7 @@
 c0
 08
 01
-c1
+c7
 58
 00
 2b
@@ -1811,7 +1835,7 @@
 20
 20
 01
-bd
+c3
 58
 00
 83
@@ -1823,7 +1847,7 @@
 20
 20
 01
-b2
+b8
 6f
 e0
 c3
@@ -1855,7 +1879,7 @@
 c5
 97
 81
-d3
+d9
 78
 3c
 fc
@@ -1899,7 +1923,7 @@
 20
 37
 01
-dc
+e2
 1b
 42
 04
@@ -1947,7 +1971,7 @@
 20
 40
 01
-ea
+f0
 6f
 e0
 81
@@ -2071,7 +2095,7 @@
 20
 40
 02
-10
+16
 6f
 e0
 c0
@@ -2183,7 +2207,7 @@
 20
 22
 82
-23
+29
 e7
 e0
 80
@@ -2203,7 +2227,7 @@
 c2
 00
 02
-1d
+23
 1a
 42
 04
@@ -2212,8 +2236,8 @@
 60
 00
 00
-33
-4d
+6e
+93
 aa
 55
 40
@@ -2343,7 +2367,7 @@
 91
 01
 06
-01
+00
 aa
 55
 01
@@ -2372,10 +2396,10 @@
 0b
 b8
 0b
-02
-01
-02
-01
+96
+03
+96
+03
 96
 02
 96
@@ -2572,34 +2596,10 @@
 aa
 aa
 55
-a2
-4c
-3e
-ee
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+cd
+4d
+a0
+64
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-6c
-3f
+e8
+14
Index: output/otp.dat
===================================================================
--- /1121s/branch/shutter/branch/shutter/dq_project/dq_yc1386p_shutter_ws8000_dj/output/otp.dat	(revision 6157)
+++ /1121s/branch/shutter/branch/shutter/dq_project/dq_yc1386p_shutter_ws8000_dj/output/otp.dat	(working copy)
@@ -11,7 +11,7 @@
 00
 aa
 55
-a2
+ba
 08
 c2
 84
@@ -32,47 +32,47 @@
 c0
 0a
 01
-ab
+b1
 c0
 0a
 80
-e2
+e3
 c0
 0c
 00
-f0
+f1
 c0
 0c
 80
-af
+b0
 c0
 0d
 00
 63
 c0
 12
-81
-ff
+82
+05
 c0
 13
 81
-f4
+fa
 c0
 58
 80
-fa
+fb
 c0
 62
 80
-f7
+f8
 c0
 6d
 01
-7c
+82
 c0
 6e
 01
-8c
+92
 20
 20
 23
@@ -80,7 +80,7 @@
 c0
 12
 01
-cd
+d3
 c0
 12
 80
@@ -92,7 +92,7 @@
 c0
 1c
 81
-c7
+cd
 c0
 1f
 80
@@ -100,7 +100,7 @@
 c0
 26
 81
-cb
+d1
 c1
 7f
 80
@@ -456,7 +456,7 @@
 20
 40
 00
-b7
+b8
 6f
 e0
 c4
@@ -484,7 +484,7 @@
 c0
 08
 00
-a4
+a5
 6f
 e0
 c4
@@ -528,7 +528,7 @@
 20
 40
 00
-96
+97
 70
 80
 43
@@ -552,19 +552,19 @@
 20
 40
 01
-4e
+54
 20
 40
 01
-79
+7f
 20
 40
 00
-90
+91
 70
 8a
 30
-1e
+06
 70
 8a
 32
@@ -572,12 +572,16 @@
 70
 8a
 88
-e4
+e0
 70
 8a
 8c
 2d
 70
+8a
+31
+78
+70
 41
 48
 0c
@@ -588,7 +592,7 @@
 20
 20
 01
-7b
+81
 20
 75
 80
@@ -620,7 +624,7 @@
 c0
 0c
 00
-9c
+9d
 6f
 e0
 c4
@@ -720,7 +724,7 @@
 c0
 05
 00
-b2
+b3
 20
 20
 22
@@ -748,7 +752,7 @@
 20
 35
 80
-de
+df
 6f
 e2
 02
@@ -916,7 +920,7 @@
 20
 20
 00
-c8
+c9
 20
 40
 68
@@ -1065,6 +1069,26 @@
 e1
 43
 89
+70
+46
+b3
+02
+58
+00
+01
+a0
+67
+e1
+46
+b5
+58
+00
+01
+a0
+67
+e1
+46
+b7
 58
 00
 00
@@ -1100,7 +1124,7 @@
 58
 00
 01
-25
+2b
 67
 e1
 43
@@ -1108,7 +1132,7 @@
 58
 00
 01
-39
+3f
 67
 e1
 43
@@ -1116,7 +1140,7 @@
 58
 00
 01
-3c
+42
 67
 e1
 43
@@ -1160,7 +1184,7 @@
 c0
 00
 01
-22
+28
 6f
 e0
 c5
@@ -1192,7 +1216,7 @@
 20
 40
 01
-29
+2f
 20
 40
 63
@@ -1236,7 +1260,7 @@
 20
 22
 81
-34
+3a
 1f
 e2
 04
@@ -1244,7 +1268,7 @@
 20
 40
 01
-37
+3d
 1a
 20
 a2
@@ -1252,7 +1276,7 @@
 c2
 00
 01
-2e
+34
 20
 60
 00
@@ -1284,15 +1308,15 @@
 c0
 18
 81
-41
+47
 c0
 0a
 81
-43
+49
 c0
 1f
 81
-47
+4d
 20
 20
 62
@@ -1400,7 +1424,7 @@
 20
 40
 01
-6b
+71
 2a
 2f
 fe
@@ -1432,7 +1456,7 @@
 20
 40
 01
-6b
+71
 d8
 a0
 8a
@@ -1460,7 +1484,7 @@
 20
 21
 01
-60
+66
 20
 20
 21
@@ -1564,7 +1588,7 @@
 20
 40
 01
-a4
+aa
 70
 8a
 08
@@ -1600,7 +1624,7 @@
 20
 40
 01
-9a
+a0
 6f
 f0
 8a
@@ -1644,7 +1668,7 @@
 20
 40
 01
-a4
+aa
 70
 80
 cd
@@ -1704,7 +1728,7 @@
 c3
 02
 81
-a5
+ab
 68
 59
 01
@@ -1740,7 +1764,7 @@
 c0
 08
 01
-c4
+ca
 58
 00
 57
@@ -1784,7 +1808,7 @@
 c0
 08
 01
-c1
+c7
 58
 00
 2b
@@ -1820,7 +1844,7 @@
 20
 20
 01
-bd
+c3
 58
 00
 83
@@ -1832,7 +1856,7 @@
 20
 20
 01
-b2
+b8
 6f
 e0
 c3
@@ -1864,7 +1888,7 @@
 c5
 97
 81
-d3
+d9
 78
 3c
 fc
@@ -1908,7 +1932,7 @@
 20
 37
 01
-dc
+e2
 1b
 42
 04
@@ -1956,7 +1980,7 @@
 20
 40
 01
-ea
+f0
 6f
 e0
 81
@@ -2080,7 +2104,7 @@
 20
 40
 02
-10
+16
 6f
 e0
 c0
@@ -2192,7 +2216,7 @@
 20
 22
 82
-23
+29
 e7
 e0
 80
@@ -2212,7 +2236,7 @@
 c2
 00
 02
-1d
+23
 1a
 42
 04
@@ -2221,8 +2245,8 @@
 60
 00
 00
-33
-4d
+6e
+93
 aa
 55
 40
@@ -2352,7 +2376,7 @@
 91
 01
 06
-01
+00
 aa
 55
 01
@@ -2381,10 +2405,10 @@
 0b
 b8
 0b
-02
-01
-02
-01
+96
+03
+96
+03
 96
 02
 96
@@ -2581,7 +2605,7 @@
 aa
 aa
 55
-a2
-4c
-3e
-ee
+cd
+4d
+a0
+64
Index: output/program.lis
===================================================================
--- /1121s/branch/shutter/branch/shutter/dq_project/dq_yc1386p_shutter_ws8000_dj/output/program.lis	(revision 6157)
+++ /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 c00a01ab beq patch02_4 ,p_set_lemode 
-0005 c00a80e2 beq patch02_5 ,p_rf_rx_enable 
-0006 c00c00f0 beq patch03_0 ,p_txon 
-0007 c00c80af beq patch03_1 ,p_set_tx_power 
+0004 c00a01b1 beq patch02_4 ,p_set_lemode 
+0005 c00a80e3 beq patch02_5 ,p_rf_rx_enable 
+0006 c00c00f1 beq patch03_0 ,p_txon 
+0007 c00c80b0 beq patch03_1 ,p_set_tx_power 
 0008 c00d0063 beq patch03_2 ,p_initialize_radio_cont 
-0009 c01281ff beq patch04_5 ,p_lpm_sleep 
-000a c01381f4 beq patch04_7 ,p_lpm_adjust_clk 
-000b c05880fa beq patch16_1 ,p_shutter_init 
-000c c06280f7 beq patch18_5 ,p_otp_read_data 
-000d c06d017c beq patch1b_2 ,p_sadc_calibration 
-000e c06e018c beq patch1b_4 ,p_enable_adc 
+0009 c0128205 beq patch04_5 ,p_lpm_sleep 
+000a c01381fa beq patch04_7 ,p_lpm_adjust_clk 
+000b c05880fb beq patch16_1 ,p_shutter_init 
+000c c06280f8 beq patch18_5 ,p_otp_read_data 
+000d c06d0182 beq patch1b_2 ,p_sadc_calibration 
+000e c06e0192 beq patch1b_4 ,p_enable_adc 
 000f 2020235a branch assert 
 
 pf_patch_ext:
-0010 c01201cd beq patch24_4 ,p_le_receive_rxon 
+0010 c01201d3 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 c01c81c7 beq patch27_1 ,p_le_parse 
+0013 c01c81cd beq patch27_1 ,p_le_parse 
 0014 c01f801c beq patch27_7 ,p_le_lpm_set_mult 
-0015 c02681cb beq patch29_5 ,p_le_init_adv 
+0015 c02681d1 beq patch29_5 ,p_le_init_adv 
 0016 c17f8000 rtneq patch3f_7 
 0017 2020235a branch assert 
 
@@ -132,14 +132,14 @@
 006b 708a844a jam 0x4a ,0x8a84 
 006c 708a8540 jam 0x40 ,0x8a85 
 006d 708a16fe jam 0xfe ,0x8a16 
-006e 204000b7 call p_set_otp_config 
+006e 204000b8 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 c00800a4 beq xtal_16m ,p_initialize_radio_16m 
+0075 c00800a5 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 
@@ -152,536 +152,542 @@
 p_initialize_radio2:
 007e 708a8660 jam 0x60 ,0x8a86 
 007f 708a8b3b jam 0x3b ,0x8a8b 
-0080 20400096 call p_dpll_on 
+0080 20400097 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 2040014e call p_rx_dcoc 
-0087 20400179 call p_rfpll_aac_ghpc 
-0088 20400090 call p_set_xtal_cap 
-0089 708a301e jam 0x1e ,0x8a30 
+0086 20400154 call p_rx_dcoc 
+0087 2040017f call p_rfpll_aac_ghpc 
+0088 20400091 call p_set_xtal_cap 
+0089 708a3006 jam 0x06 ,0x8a30 
 008a 708a32dd jam 0xdd ,0x8a32 
-008b 708a88e4 jam 0xe4 ,0x8a88 
+008b 708a88e0 jam 0xe0 ,0x8a88 
 008c 708a8c2d jam 0x2d ,0x8a8c 
-008d 7041480c jam system_clk_12m ,mem_system_clk 
-008e 20406f4e call sadc_calibration 
-008f 2020017b branch p_dpll_ring_ibias_calc 
+008d 708a3178 jam 0x78 ,0x8a31 
+008e 7041480c jam system_clk_12m ,mem_system_clk 
+008f 20406f4e call sadc_calibration 
+0090 20200181 branch p_dpll_ring_ibias_calc 
 
 p_set_xtal_cap:
-0090 20758000 rtn wake 
-0091 37d98200 until null ,lpo_edge 
-0092 6fe0c11c fetch 1 ,mem_xtal_c_sel 
-0093 67f0813a store 1 ,core_xtal_cap 
-0094 37d98200 until null ,lpo_edge 
-0095 20600000 rtn 
+0091 20758000 rtn wake 
+0092 37d98200 until null ,lpo_edge 
+0093 6fe0c11c fetch 1 ,mem_xtal_c_sel 
+0094 67f0813a store 1 ,core_xtal_cap 
+0095 37d98200 until null ,lpo_edge 
+0096 20600000 rtn 
 
 p_dpll_on:
-0096 6fe0c099 fetch 1 ,mem_fcomp_div 
-0097 c00c009c beq xtal_24m ,p_dpll_on_24m 
-0098 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
-0099 1fe1fe06 or_into 0x06 ,pdata 
-009a 67f08a02 store 1 ,0x8a02 
-009b 708a05e0 jam 0xe0 ,0x8a05 
+0097 6fe0c099 fetch 1 ,mem_fcomp_div 
+0098 c00c009d beq xtal_24m ,p_dpll_on_24m 
+0099 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+009a 1fe1fe06 or_into 0x06 ,pdata 
+009b 67f08a02 store 1 ,0x8a02 
+009c 708a05e0 jam 0xe0 ,0x8a05 
 
 p_dpll_on_24m:
-009c 708a00d8 jam 0xd8 ,0x8a00 
-009d 2000003c nop 60 
-009e 708a01a0 jam 0xa0 ,0x8a01 
-009f 708a00df jam 0xdf ,0x8a00 
-00a0 708a01fa jam 0xfa ,0x8a01 
-00a1 20000014 nop 20 
-00a2 708a009f jam 0x9f ,0x8a00 
-00a3 20600000 rtn 
+009d 708a00d8 jam 0xd8 ,0x8a00 
+009e 2000003c nop 60 
+009f 708a01a0 jam 0xa0 ,0x8a01 
+00a0 708a00df jam 0xdf ,0x8a00 
+00a1 708a01fa jam 0xfa ,0x8a01 
+00a2 20000014 nop 20 
+00a3 708a009f jam 0x9f ,0x8a00 
+00a4 20600000 rtn 
 
 p_initialize_radio_16m:
-00a4 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
-00a5 1fe1fe06 or_into 0x06 ,pdata 
-00a6 67f08a02 store 1 ,0x8a02 
-00a7 70890f00 jam 0x00 ,0x890f 
-00a8 708a8023 jam 0x23 ,0x8a80 
-00a9 708a81b0 jam 0xb0 ,0x8a81 
-00aa 58e40909 setarg 0xe40909 
-00ab 67f18a73 store 3 ,0x8a73 
-00ac 708a762a jam 0x2a ,0x8a76 
-00ad 70890204 jam 0x04 ,0x8902 
-00ae 2020007e branch p_initialize_radio2 
+00a5 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+00a6 1fe1fe06 or_into 0x06 ,pdata 
+00a7 67f08a02 store 1 ,0x8a02 
+00a8 70890f00 jam 0x00 ,0x890f 
+00a9 708a8023 jam 0x23 ,0x8a80 
+00aa 708a81b0 jam 0xb0 ,0x8a81 
+00ab 58e40909 setarg 0xe40909 
+00ac 67f18a73 store 3 ,0x8a73 
+00ad 708a762a jam 0x2a ,0x8a76 
+00ae 70890204 jam 0x04 ,0x8902 
+00af 2020007e branch p_initialize_radio2 
 
 p_set_tx_power:
-00af 6fe0c141 fetch 1 ,mem_tx_power 
-00b0 c00500b2 beq tx_power_10db ,p_set_tx_power_10db 
-00b1 2020220e branch set_tx_power + 2 
+00b0 6fe0c141 fetch 1 ,mem_tx_power 
+00b1 c00500b3 beq tx_power_10db ,p_set_tx_power_10db 
+00b2 2020220e branch set_tx_power + 2 
 
 p_set_tx_power_10db:
-00b2 708a1425 jam 0x25 ,0x8a14 
-00b3 58a93f3f setarg 0xa93f3f 
-00b4 67f18a60 store 3 ,0x8a60 
-00b5 708a631f jam 0x1f ,0x8a63 
-00b6 20600000 rtn 
+00b3 708a1425 jam 0x25 ,0x8a14 
+00b4 58a93f3f setarg 0xa93f3f 
+00b5 67f18a60 store 3 ,0x8a60 
+00b6 708a631f jam 0x1f ,0x8a63 
+00b7 20600000 rtn 
 
 p_set_otp_config:
-00b7 203580de branch p_set_otp_config_wake ,wake 
-00b8 6fe2020d fetch 4 ,mem_otp_core_ldo 
-00b9 207a0000 rtn blank 
-00ba 37d98200 until null ,lpo_edge 
-00bb 6ff08136 fetch 1 ,0x8136 
-00bc 1fe17ef0 and pdata ,0xf0 ,pdata 
-00bd 6848820d fetcht 1 ,mem_otp_core_ldo 
-00be 9841fe00 ior temp ,pdata 
-00bf 67f08136 store 1 ,0x8136 
-00c0 37d98200 until null ,lpo_edge 
-00c1 6ff08138 fetch 1 ,0x8138 
-00c2 1fe17e07 and pdata ,0x7 ,pdata 
-00c3 6848820e fetcht 1 ,mem_otp_verf_bg 
-00c4 18498400 lshift3 temp ,temp 
-00c5 9841fe00 ior temp ,pdata 
-00c6 67f08138 store 1 ,0x8138 
-00c7 37d98200 until null ,lpo_edge 
+00b8 203580df branch p_set_otp_config_wake ,wake 
+00b9 6fe2020d fetch 4 ,mem_otp_core_ldo 
+00ba 207a0000 rtn blank 
+00bb 37d98200 until null ,lpo_edge 
+00bc 6ff08136 fetch 1 ,0x8136 
+00bd 1fe17ef0 and pdata ,0xf0 ,pdata 
+00be 6848820d fetcht 1 ,mem_otp_core_ldo 
+00bf 9841fe00 ior temp ,pdata 
+00c0 67f08136 store 1 ,0x8136 
+00c1 37d98200 until null ,lpo_edge 
+00c2 6ff08138 fetch 1 ,0x8138 
+00c3 1fe17e07 and pdata ,0x7 ,pdata 
+00c4 6848820e fetcht 1 ,mem_otp_verf_bg 
+00c5 18498400 lshift3 temp ,temp 
+00c6 9841fe00 ior temp ,pdata 
+00c7 67f08138 store 1 ,0x8138 
+00c8 37d98200 until null ,lpo_edge 
 
 p_set_otp_config2:
-00c8 6ff08acb fetch 1 ,0x8acb 
-00c9 1fe17ef0 and pdata ,0xf0 ,pdata 
-00ca 6848820f fetcht 1 ,mem_otp_charge_pump 
-00cb 6048c15b storet 1 ,mem_otp_charge_pump_x 
-00cc 9841fe00 ior temp ,pdata 
-00cd 67f08acb store 1 ,0x8acb 
-00ce 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
-00cf 67e0c15c store 1 ,mem_otp_dpll_ibais_x 
-00d0 2feffe03 isolate1 3 ,pdata 
-00d1 6ff08a06 fetch 1 ,0x8a06 
-00d2 7920fe07 setflag true ,7 ,pdata 
-00d3 67f08a06 store 1 ,0x8a06 
-00d4 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
-00d5 1fe10407 and pdata ,7 ,temp 
-00d6 18520400 lshift4 temp ,temp 
-00d7 18438400 lshift temp ,temp 
-00d8 6048c438 storet 1 ,mem_ring_ibias_trim 
-00d9 6ff08a02 fetch 1 ,0x8a02 
-00da 1fe17e1f and pdata ,0x1f ,pdata 
-00db 9841fe00 ior temp ,pdata 
-00dc 67f08a02 store 1 ,0x8a02 
-00dd 20600000 rtn 
+00c9 6ff08acb fetch 1 ,0x8acb 
+00ca 1fe17ef0 and pdata ,0xf0 ,pdata 
+00cb 6848820f fetcht 1 ,mem_otp_charge_pump 
+00cc 6048c15b storet 1 ,mem_otp_charge_pump_x 
+00cd 9841fe00 ior temp ,pdata 
+00ce 67f08acb store 1 ,0x8acb 
+00cf 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
+00d0 67e0c15c store 1 ,mem_otp_dpll_ibais_x 
+00d1 2feffe03 isolate1 3 ,pdata 
+00d2 6ff08a06 fetch 1 ,0x8a06 
+00d3 7920fe07 setflag true ,7 ,pdata 
+00d4 67f08a06 store 1 ,0x8a06 
+00d5 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
+00d6 1fe10407 and pdata ,7 ,temp 
+00d7 18520400 lshift4 temp ,temp 
+00d8 18438400 lshift temp ,temp 
+00d9 6048c438 storet 1 ,mem_ring_ibias_trim 
+00da 6ff08a02 fetch 1 ,0x8a02 
+00db 1fe17e1f and pdata ,0x1f ,pdata 
+00dc 9841fe00 ior temp ,pdata 
+00dd 67f08a02 store 1 ,0x8a02 
+00de 20600000 rtn 
 
 p_set_otp_config_wake:
-00de 6fe1415b fetch 2 ,mem_otp_charge_pump_x 
-00df 207a0000 rtn blank 
-00e0 67e1020f store 2 ,mem_otp_charge_pump 
-00e1 202000c8 branch p_set_otp_config2 
+00df 6fe1415b fetch 2 ,mem_otp_charge_pump_x 
+00e0 207a0000 rtn blank 
+00e1 67e1020f store 2 ,mem_otp_charge_pump 
+00e2 202000c9 branch p_set_otp_config2 
 
 p_rf_rx_enable:
-00e2 2040686f call rf_debug_rx_gpio_high 
-00e3 204021ba call rf_rx_agc_set 
-00e4 18002a08 force 8 ,radio_ctrl 
-00e5 18002a00 force 0 ,radio_ctrl 
-00e6 580aaada setarg 0x0aaada 
-00e7 67f18a0f store 3 ,0x8a0f 
-00e8 708a2540 jam 0x40 ,0x8a25 
-00e9 708a2610 jam 0x10 ,0x8a26 
-00ea 2000003c nop 60 
-00eb 708a01fb jam 0xfb ,0x8a01 
-00ec 708a25ff jam 0xff ,0x8a25 
-00ed 708a2630 jam 0x30 ,0x8a26 
-00ee 708a16fe jam 0xfe ,0x8a16 
-00ef 202021b4 branch rf_rx_enable + 14 
+00e3 2040686f call rf_debug_rx_gpio_high 
+00e4 204021ba call rf_rx_agc_set 
+00e5 18002a08 force 8 ,radio_ctrl 
+00e6 18002a00 force 0 ,radio_ctrl 
+00e7 580aaada setarg 0x0aaada 
+00e8 67f18a0f store 3 ,0x8a0f 
+00e9 708a2540 jam 0x40 ,0x8a25 
+00ea 708a2610 jam 0x10 ,0x8a26 
+00eb 2000003c nop 60 
+00ec 708a01fb jam 0xfb ,0x8a01 
+00ed 708a25ff jam 0xff ,0x8a25 
+00ee 708a2630 jam 0x30 ,0x8a26 
+00ef 708a16fe jam 0xfe ,0x8a16 
+00f0 202021b4 branch rf_rx_enable + 14 
 
 p_txon:
-00f0 580aaa7e setarg 0x0aaa7e 
-00f1 67f18a0f store 3 ,0x8a0f 
-00f2 2000003c nop 60 
-00f3 708a2500 jam 0x00 ,0x8a25 
-00f4 708a260d jam 0x0d ,0x8a26 
-00f5 708a16f6 jam 0xf6 ,0x8a16 
-00f6 20202203 branch txon + 7 
+00f1 580aaa7e setarg 0x0aaa7e 
+00f2 67f18a0f store 3 ,0x8a0f 
+00f3 2000003c nop 60 
+00f4 708a2500 jam 0x00 ,0x8a25 
+00f5 708a260d jam 0x0d ,0x8a26 
+00f6 708a16f6 jam 0xf6 ,0x8a16 
+00f7 20202203 branch txon + 7 
 
 p_otp_read_data:
-00f7 20406b3a call enable_otp_read 
-00f8 20406b75 call otp_read_data + 1 
-00f9 20206b38 branch otp_disable_chgpump 
+00f8 20406b3a call enable_otp_read 
+00f9 20406b75 call otp_read_data + 1 
+00fa 20206b38 branch otp_disable_chgpump 
 
 p_shutter_init:
-00fa 70807dc0 jam 0xc0 ,0x807d 
-00fb 7080d6c0 jam 0xc0 ,0x80d6 
-00fc 70807fc0 jam 0xc0 ,0x807f 
-00fd 7080d4c0 jam 0xc0 ,0x80d4 
-00fe 20407396 call enable_authrom 
-00ff 20758000 rtn wake 
-0100 204070d7 call wdt_set_disable 
-0101 7040a60a jam 0x0a ,mem_lpm_overhead 
-0102 5800000e setarg 0x000e 
-0103 67e144f2 store 2 ,mem_ble_shutter_reconn_adv_interval 
-0104 58000140 setarg 0x0140 
-0105 67e144f4 store 2 ,mem_ble_shutter_discovery_adv_interval 
-0106 67e14389 store 2 ,mem_le_adv_interval 
-0107 58000002 setarg 0x0002 
-0108 67e1452e store 2 ,mem_key0_press 
-0109 58000001 setarg 0x0001 
-010a 67e14533 store 2 ,mem_key1_press 
-010b 6fe4489e fetch 8 ,mem_shutter_discovery_time_conf 
-010c 67e44512 store 8 ,mem_ble_shutter_discovery_timeout 
-010d 6fe448a6 fetch 8 ,mem_shutter_reconn_or_discovery_blink_time_conf 
-010e 67e444fa store 8 ,mem_ble_shutter_reconn_blink_on_time 
-010f 58000125 setarg p_shutter_le_before_hibernate 
-0110 67e143d5 store 2 ,mem_cb_before_hibernate 
-0111 58000139 setarg p_shutter_process_idle 
-0112 67e143db store 2 ,mem_cb_idle_process 
-0113 5800013c setarg p_shutter_process_bb_event 
-0114 67e143dd store 2 ,mem_cb_bb_event_process 
-0115 5800638a setarg ble_shutter_receive_data 
-0116 67e143df store 2 ,mem_cb_att_write 
-0117 5800630e setarg shutter_le_bb_event_timer 
-0118 67e143e3 store 2 ,mem_cb_event_timer 
-0119 58006365 setarg shutter_key_change 
-011a 67e14524 store 2 ,mem_cb_shutter_keycan 
-011b 204062c4 call shutter_common_init + 2 
-011c 20406396 call shutter_load_buffer_config_form_datarom 
+00fb 70807dc0 jam 0xc0 ,0x807d 
+00fc 7080d6c0 jam 0xc0 ,0x80d6 
+00fd 70807fc0 jam 0xc0 ,0x807f 
+00fe 7080d4c0 jam 0xc0 ,0x80d4 
+00ff 20407396 call enable_authrom 
+0100 20758000 rtn wake 
+0101 204070d7 call wdt_set_disable 
+0102 7040a60a jam 0x0a ,mem_lpm_overhead 
+0103 5800000e setarg 0x000e 
+0104 67e144f2 store 2 ,mem_ble_shutter_reconn_adv_interval 
+0105 58000140 setarg 0x0140 
+0106 67e144f4 store 2 ,mem_ble_shutter_discovery_adv_interval 
+0107 67e14389 store 2 ,mem_le_adv_interval 
+0108 7046b302 jam 2 ,mem_shutter_power_off_led_style_blink_count 
+0109 580001a0 setarg 0x01a0 
+010a 67e146b5 store 2 ,mem_shutter_power_off_led_style_on_time 
+010b 580001a0 setarg 0x01a0 
+010c 67e146b7 store 2 ,mem_shutter_power_off_led_style_off_time 
+010d 58000002 setarg 0x0002 
+010e 67e1452e store 2 ,mem_key0_press 
+010f 58000001 setarg 0x0001 
+0110 67e14533 store 2 ,mem_key1_press 
+0111 6fe4489e fetch 8 ,mem_shutter_discovery_time_conf 
+0112 67e44512 store 8 ,mem_ble_shutter_discovery_timeout 
+0113 6fe448a6 fetch 8 ,mem_shutter_reconn_or_discovery_blink_time_conf 
+0114 67e444fa store 8 ,mem_ble_shutter_reconn_blink_on_time 
+0115 5800012b setarg p_shutter_le_before_hibernate 
+0116 67e143d5 store 2 ,mem_cb_before_hibernate 
+0117 5800013f setarg p_shutter_process_idle 
+0118 67e143db store 2 ,mem_cb_idle_process 
+0119 58000142 setarg p_shutter_process_bb_event 
+011a 67e143dd store 2 ,mem_cb_bb_event_process 
+011b 5800638a setarg ble_shutter_receive_data 
+011c 67e143df store 2 ,mem_cb_att_write 
+011d 5800630e setarg shutter_le_bb_event_timer 
+011e 67e143e3 store 2 ,mem_cb_event_timer 
+011f 58006365 setarg shutter_key_change 
+0120 67e14524 store 2 ,mem_cb_shutter_keycan 
+0121 204062c4 call shutter_common_init + 2 
+0122 20406396 call shutter_load_buffer_config_form_datarom 
 
 p_shutter_power_switch:
-011d 6fe0c51a fetch 1 ,mem_shutter_hard_soft_switch_case 
-011e c0000122 beq hard_switch ,p_shutter_hart_swtich_power_on 
-011f 6fe0c51b fetch 1 ,mem_shutter_soft_switch_button_gpio 
-0120 67e0c4ec store 1 ,mem_ui_button_gpio 
-0121 202063a1 branch ui_soft_swtich_init 
+0123 6fe0c51a fetch 1 ,mem_shutter_hard_soft_switch_case 
+0124 c0000128 beq hard_switch ,p_shutter_hart_swtich_power_on 
+0125 6fe0c51b fetch 1 ,mem_shutter_soft_switch_button_gpio 
+0126 67e0c4ec store 1 ,mem_ui_button_gpio 
+0127 202063a1 branch ui_soft_swtich_init 
 
 p_shutter_hart_swtich_power_on:
-0122 7044ecff jam ui_button_gpio_disable ,mem_ui_button_gpio 
-0123 70451c01 jam ss_state_power_on ,mem_shutter_soft_switch_power_state 
-0124 20206340 branch shutter_start_reconnect 
+0128 7044ecff jam ui_button_gpio_disable ,mem_ui_button_gpio 
+0129 70451c01 jam ss_state_power_on ,mem_shutter_soft_switch_power_state 
+012a 20206340 branch shutter_start_reconnect 
 
 p_shutter_le_before_hibernate:
-0125 7044ecff jam gpio_disable ,mem_ui_button_gpio 
-0126 20400129 call p_set_key_gpio_before_hiernate 
-0127 20406329 call shutter_process_lpm_before 
-0128 2020739a branch disable_authrom 
+012b 7044ecff jam gpio_disable ,mem_ui_button_gpio 
+012c 2040012f call p_set_key_gpio_before_hiernate 
+012d 20406329 call shutter_process_lpm_before 
+012e 2020739a branch disable_authrom 
 
 p_set_key_gpio_before_hiernate:
-0129 6fe0c6ce fetch 1 ,mem_shutter_hard_soft_switch_case_temp 
-012a 207a0000 rtn blank 
-012b 6fe0c523 fetch 1 ,mem_shutter_key_num 
-012c 1fe27200 copy pdata ,loopcnt 
-012d da204526 arg mem_shutter_key_conf0 ,rega 
+012f 6fe0c6ce fetch 1 ,mem_shutter_hard_soft_switch_case_temp 
+0130 207a0000 rtn blank 
+0131 6fe0c523 fetch 1 ,mem_shutter_key_num 
+0132 1fe27200 copy pdata ,loopcnt 
+0133 da204526 arg mem_shutter_key_conf0 ,rega 
 
 p_set_key_gpio_loop:
-012e efe08011 ifetch 1 ,rega 
-012f 6848c6cf fetcht 1 ,mem_shutter_soft_switch_button_gpio_temp 
-0130 98467c00 isub temp ,null 
-0131 20228134 branch p_set_key_gpio_loop_end ,zero 
-0132 1fe20400 copy pdata ,temp 
-0133 20400137 call p_shutter_gpio_config_input_pd 
+0134 efe08011 ifetch 1 ,rega 
+0135 6848c6cf fetcht 1 ,mem_shutter_soft_switch_button_gpio_temp 
+0136 98467c00 isub temp ,null 
+0137 2022813a branch p_set_key_gpio_loop_end ,zero 
+0138 1fe20400 copy pdata ,temp 
+0139 2040013d call p_shutter_gpio_config_input_pd 
 
 p_set_key_gpio_loop_end:
-0134 1a20a201 increase 1 ,rega 
-0135 c200012e loop p_set_key_gpio_loop 
-0136 20600000 rtn 
+013a 1a20a201 increase 1 ,rega 
+013b c2000134 loop p_set_key_gpio_loop 
+013c 20600000 rtn 
 
 p_shutter_gpio_config_input_pd:
-0137 79200407 set1 gpio_active_bit ,temp 
-0138 20206edd branch gpio_config_input 
+013d 79200407 set1 gpio_active_bit ,temp 
+013e 20206edd branch gpio_config_input 
 
 p_shutter_process_idle:
-0139 dfe0000a arg 10 ,pdata 
-013a 204070c8 call wdt_init_config 
-013b 20206327 branch shutter_process_idle 
+013f dfe0000a arg 10 ,pdata 
+0140 204070c8 call wdt_init_config 
+0141 20206327 branch shutter_process_idle 
 
 p_shutter_process_bb_event:
-013c 1a627e00 copy regc ,pdata 
-013d c0188141 beq bt_evt_le_pairing_success ,p_ble_shutter_pair_success 
-013e c00a8143 beq bt_evt_le_disconnected ,p_ble_shutter_process_baseband_disconnect 
-013f c01f8147 beq bt_evt_le_reconnect_complete ,p_ble_shutter_process_reconnect_complete 
-0140 202062da branch shutter_process_bb_event + 1 
+0142 1a627e00 copy regc ,pdata 
+0143 c0188147 beq bt_evt_le_pairing_success ,p_ble_shutter_pair_success 
+0144 c00a8149 beq bt_evt_le_disconnected ,p_ble_shutter_process_baseband_disconnect 
+0145 c01f814d beq bt_evt_le_reconnect_complete ,p_ble_shutter_process_reconnect_complete 
+0146 202062da branch shutter_process_bb_event + 1 
 
 p_ble_shutter_pair_success:
-0141 7048ae01 jam 1 ,mem_shutter_ble_connect_flag 
-0142 20600000 rtn 
+0147 7048ae01 jam 1 ,mem_shutter_ble_connect_flag 
+0148 20600000 rtn 
 
 p_ble_shutter_process_baseband_disconnect:
-0143 7048ae00 jam 0 ,mem_shutter_ble_connect_flag 
-0144 204078ad call queue_init 
-0145 7044f100 jam 0 ,mem_ble_shutter_enable_notify 
-0146 20206340 branch shutter_start_reconnect 
+0149 7048ae00 jam 0 ,mem_shutter_ble_connect_flag 
+014a 204078ad call queue_init 
+014b 7044f100 jam 0 ,mem_ble_shutter_enable_notify 
+014c 20206340 branch shutter_start_reconnect 
 
 p_ble_shutter_process_reconnect_complete:
-0147 7048ae01 jam 1 ,mem_shutter_ble_connect_flag 
-0148 204078ad call queue_init 
-0149 7044f101 jam 1 ,mem_ble_shutter_enable_notify 
-014a 6fe44502 fetch 8 ,mem_ble_shutter_interval_min 
-014b 67e442d3 store 8 ,mem_le_interval_min 
-014c 2040432b call app_lpm_mult_enable 
-014d 20202e93 branch le_l2cap_tx_update_req 
+014d 7048ae01 jam 1 ,mem_shutter_ble_connect_flag 
+014e 204078ad call queue_init 
+014f 7044f101 jam 1 ,mem_ble_shutter_enable_notify 
+0150 6fe44502 fetch 8 ,mem_ble_shutter_interval_min 
+0151 67e442d3 store 8 ,mem_le_interval_min 
+0152 2040432b call app_lpm_mult_enable 
+0153 20202e93 branch le_l2cap_tx_update_req 
 
 p_rx_dcoc:
-014e 20758000 rtn wake 
-014f 20402160 call set_sync_on 
-0150 d8400027 arg 39 ,temp 
-0151 2040216f call set_freq_rx 
-0152 204021a6 call rf_rx_enable 
-0153 708a257f jam 0x7f ,0x8a25 
-0154 708a301a jam 0x1a ,0x8a30 
-0155 708a3178 jam 0x78 ,0x8a31 
-0156 708a8fb2 jam 0xb2 ,0x8a8f 
-0157 708ac200 jam 0 ,0x8ac2 
-0158 708ac300 jam 0 ,0x8ac3 
-0159 d8e00006 arg 6 ,queue 
-015a 2040016b call p_rx_dcoc_avg 
-015b 2a2ffe0d isolate1 13 ,rega 
-015c 2040211d call qset_start 
-015d 2a4ffe0d isolate1 13 ,regb 
-015e 2040211e call qset_p 
-015f d8e00005 arg 5 ,queue 
+0154 20758000 rtn wake 
+0155 20402160 call set_sync_on 
+0156 d8400027 arg 39 ,temp 
+0157 2040216f call set_freq_rx 
+0158 204021a6 call rf_rx_enable 
+0159 708a257f jam 0x7f ,0x8a25 
+015a 708a301a jam 0x1a ,0x8a30 
+015b 708a3178 jam 0x78 ,0x8a31 
+015c 708a8fb2 jam 0xb2 ,0x8a8f 
+015d 708ac200 jam 0 ,0x8ac2 
+015e 708ac300 jam 0 ,0x8ac3 
+015f d8e00006 arg 6 ,queue 
+0160 20400171 call p_rx_dcoc_avg 
+0161 2a2ffe0d isolate1 13 ,rega 
+0162 2040211d call qset_start 
+0163 2a4ffe0d isolate1 13 ,regb 
+0164 2040211e call qset_p 
+0165 d8e00005 arg 5 ,queue 
 
 p_rx_dcoc_loop2:
-0160 2040211c call qset1_p 
-0161 2040211e call qset_p 
-0162 2040016b call p_rx_dcoc_avg 
-0163 d8a08ac2 arg 0x8ac2 ,contw 
-0164 1a31fe00 rshift4 rega ,pdata 
-0165 20402117 call qsetxor 
-0166 1a51fe00 rshift4 regb ,pdata 
-0167 20402117 call qsetxor 
-0168 18e08fff increase -1 ,queue 
-0169 20210160 branch p_rx_dcoc_loop2 ,positive 
-016a 2020214f branch rx_dcoc_loop2 + 10 
+0166 2040211c call qset1_p 
+0167 2040211e call qset_p 
+0168 20400171 call p_rx_dcoc_avg 
+0169 d8a08ac2 arg 0x8ac2 ,contw 
+016a 1a31fe00 rshift4 rega ,pdata 
+016b 20402117 call qsetxor 
+016c 1a51fe00 rshift4 regb ,pdata 
+016d 20402117 call qsetxor 
+016e 18e08fff increase -1 ,queue 
+016f 20210166 branch p_rx_dcoc_loop2 ,positive 
+0170 2020214f branch rx_dcoc_loop2 + 10 
 
 p_rx_dcoc_avg:
-016b 2000003c nop 60 
-016c 58000f00 setarg mem_dcoc_buf 
-016d 67f10982 store 2 ,0x8982 
-016e 58000ff0 setarg mem_dcoc_buf_end 
-016f 67f10984 store 2 ,0x8984 
-0170 70898109 jam 0x9 ,0x8981 
-0171 70898103 jam 0x3 ,0x8981 
-0172 70898006 jam 0x6 ,0x8980 
-0173 2000003c nop 60 
-0174 da200000 arg 0 ,rega 
-0175 da400000 arg 0 ,regb 
-0176 df200010 arg 16 ,loopcnt 
-0177 d8c00f00 arg mem_dcoc_buf ,contr 
-0178 2020212d branch rx_dcoc_loop 
+0171 2000003c nop 60 
+0172 58000f00 setarg mem_dcoc_buf 
+0173 67f10982 store 2 ,0x8982 
+0174 58000ff0 setarg mem_dcoc_buf_end 
+0175 67f10984 store 2 ,0x8984 
+0176 70898109 jam 0x9 ,0x8981 
+0177 70898103 jam 0x3 ,0x8981 
+0178 70898006 jam 0x6 ,0x8980 
+0179 2000003c nop 60 
+017a da200000 arg 0 ,rega 
+017b da400000 arg 0 ,regb 
+017c df200010 arg 16 ,loopcnt 
+017d d8c00f00 arg mem_dcoc_buf ,contr 
+017e 2020212d branch rx_dcoc_loop 
 
 p_rfpll_aac_ghpc:
-0179 20758000 rtn wake 
-017a 20202272 branch rfpll_aac_ghpc + 1 
+017f 20758000 rtn wake 
+0180 20202272 branch rfpll_aac_ghpc + 1 
 
 p_dpll_ring_ibias_calc:
-017b 20600000 rtn 
+0181 20600000 rtn 
 
 p_sadc_calibration:
-017c 20758000 rtn wake 
-017d 708a0777 jam 0x77 ,core_gpadc_ctrl 
-017e 708a08c9 jam 0xc9 ,core_gpadc_cfg0 
-017f 708a0b01 jam 0x01 ,core_gpadc_cfg3 
-0180 6fe0c409 fetch 1 ,mem_adc_clkdiv 
-0181 67f080cd store 1 ,core_sadc_clkdiv 
-0182 20000bb8 nop 3000 
-0183 204001a4 call p_sadc_read 
-0184 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
-0185 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
-0186 df200008 arg 8 ,loopcnt 
-0187 20406f58 call sadc_cal_read + 1 
-0188 6fe0c419 fetch 1 ,mem_spi_write_addr 
-0189 67e0c433 store 1 ,mem_adc_cal_c7 
-018a 6240c419 storer regb ,1 ,mem_spi_write_addr 
-018b 20600000 rtn 
+0182 20758000 rtn wake 
+0183 708a0777 jam 0x77 ,core_gpadc_ctrl 
+0184 708a08c9 jam 0xc9 ,core_gpadc_cfg0 
+0185 708a0b01 jam 0x01 ,core_gpadc_cfg3 
+0186 6fe0c409 fetch 1 ,mem_adc_clkdiv 
+0187 67f080cd store 1 ,core_sadc_clkdiv 
+0188 20000bb8 nop 3000 
+0189 204001aa call p_sadc_read 
+018a 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
+018b 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
+018c df200008 arg 8 ,loopcnt 
+018d 20406f58 call sadc_cal_read + 1 
+018e 6fe0c419 fetch 1 ,mem_spi_write_addr 
+018f 67e0c433 store 1 ,mem_adc_cal_c7 
+0190 6240c419 storer regb ,1 ,mem_spi_write_addr 
+0191 20600000 rtn 
 
 p_enable_adc:
-018c 2040019a call p_sadc_cal_write 
-018d 6ff08a09 fetch 1 ,core_gpadc_cfg1 
-018e 793ffe07 set0 7 ,pdata 
-018f 67f08a09 store 1 ,core_gpadc_cfg1 
-0190 708a0777 jam 0x77 ,core_gpadc_ctrl 
-0191 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
-0192 708a0b01 jam 0x01 ,core_gpadc_cfg3 
-0193 20406f90 call sadc_channel 
-0194 6fe0c409 fetch 1 ,mem_adc_clkdiv 
-0195 67f080cd store 1 ,core_sadc_clkdiv 
-0196 20000bb8 nop 3000 
-0197 204001a4 call p_sadc_read 
-0198 7080cd00 jam 0 ,core_sadc_clkdiv 
-0199 20206fa1 branch sadc_dma 
+0192 204001a0 call p_sadc_cal_write 
+0193 6ff08a09 fetch 1 ,core_gpadc_cfg1 
+0194 793ffe07 set0 7 ,pdata 
+0195 67f08a09 store 1 ,core_gpadc_cfg1 
+0196 708a0777 jam 0x77 ,core_gpadc_ctrl 
+0197 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
+0198 708a0b01 jam 0x01 ,core_gpadc_cfg3 
+0199 20406f90 call sadc_channel 
+019a 6fe0c409 fetch 1 ,mem_adc_clkdiv 
+019b 67f080cd store 1 ,core_sadc_clkdiv 
+019c 20000bb8 nop 3000 
+019d 204001aa call p_sadc_read 
+019e 7080cd00 jam 0 ,core_sadc_clkdiv 
+019f 20206fa1 branch sadc_dma 
 
 p_sadc_cal_write:
-019a 6ff080cc fetch 1 ,core_sadc_ctrl 
-019b 79207e01 set1 1 ,pdata 
-019c 67f080cc store 1 ,core_sadc_ctrl 
-019d 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
-019e 6fe0c433 fetch 1 ,mem_adc_cal_c7 
-019f 67e0c419 store 1 ,mem_spi_write_addr 
-01a0 df200008 arg 8 ,loopcnt 
-01a1 20406f67 call sadc_cal_write + 4 
-01a2 6240c419 storer regb ,1 ,mem_spi_write_addr 
-01a3 20600000 rtn 
+01a0 6ff080cc fetch 1 ,core_sadc_ctrl 
+01a1 79207e01 set1 1 ,pdata 
+01a2 67f080cc store 1 ,core_sadc_ctrl 
+01a3 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
+01a4 6fe0c433 fetch 1 ,mem_adc_cal_c7 
+01a5 67e0c419 store 1 ,mem_spi_write_addr 
+01a6 df200008 arg 8 ,loopcnt 
+01a7 20406f67 call sadc_cal_write + 4 
+01a8 6240c419 storer regb ,1 ,mem_spi_write_addr 
+01a9 20600000 rtn 
 
 p_sadc_read:
-01a4 7080cc03 jam 0x03 ,core_sadc_ctrl 
+01aa 7080cc03 jam 0x03 ,core_sadc_ctrl 
 
 p_sadc_read_wait:
-01a5 6ff08129 fetch 1 ,core_perf_status 
-01a6 c30281a5 bbit0 saradc_done ,p_sadc_read_wait 
-01a7 68590164 fetcht 2 ,core_sadc_data 
-01a8 6049440a storet 2 ,mem_adc_current_value 
-01a9 7080cc00 jam 0x00 ,core_sadc_ctrl 
-01aa 20600000 rtn 
+01ab 6ff08129 fetch 1 ,core_perf_status 
+01ac c30281ab bbit0 saradc_done ,p_sadc_read_wait 
+01ad 68590164 fetcht 2 ,core_sadc_data 
+01ae 6049440a storet 2 ,mem_adc_current_value 
+01af 7080cc00 jam 0x00 ,core_sadc_ctrl 
+01b0 20600000 rtn 
 
 p_set_lemode:
-01ab 708a8211 jam 0x11 ,0x8a82 
-01ac 708a8d12 jam 0x12 ,0x8a8d 
-01ad 708a8e0a jam 0x0a ,0x8a8e 
-01ae 6fe0c099 fetch 1 ,mem_fcomp_div 
-01af c00801c4 beq xtal_16m ,p_set_lemode_2m_16m 
-01b0 58005762 setarg 0x5762 
-01b1 67f10907 store 2 ,0x8907 
+01b1 708a8211 jam 0x11 ,0x8a82 
+01b2 708a8d12 jam 0x12 ,0x8a8d 
+01b3 708a8e0a jam 0x0a ,0x8a8e 
+01b4 6fe0c099 fetch 1 ,mem_fcomp_div 
+01b5 c00801ca beq xtal_16m ,p_set_lemode_2m_16m 
+01b6 58005762 setarg 0x5762 
+01b7 67f10907 store 2 ,0x8907 
 
 p_set_lemode_2m:
-01b2 70890103 jam 3 ,0x8901 
-01b3 70893003 jam 3 ,0x8930 
-01b4 c6168000 rtnmark1 mark_ble_2m 
-01b5 70890101 jam 1 ,0x8901 
-01b6 708a8207 jam 0x07 ,0x8a82 
-01b7 708a8d44 jam 0x44 ,0x8a8d 
-01b8 708a8e0a jam 0x0a ,0x8a8e 
-01b9 6fe0c099 fetch 1 ,mem_fcomp_div 
-01ba c00801c1 beq xtal_16m ,p_set_lemode_1m_16m 
-01bb 58002bb1 setarg 0x2bb1 
-01bc 67f10907 store 2 ,0x8907 
+01b8 70890103 jam 3 ,0x8901 
+01b9 70893003 jam 3 ,0x8930 
+01ba c6168000 rtnmark1 mark_ble_2m 
+01bb 70890101 jam 1 ,0x8901 
+01bc 708a8207 jam 0x07 ,0x8a82 
+01bd 708a8d44 jam 0x44 ,0x8a8d 
+01be 708a8e0a jam 0x0a ,0x8a8e 
+01bf 6fe0c099 fetch 1 ,mem_fcomp_div 
+01c0 c00801c7 beq xtal_16m ,p_set_lemode_1m_16m 
+01c1 58002bb1 setarg 0x2bb1 
+01c2 67f10907 store 2 ,0x8907 
 
 p_set_lemode_1m:
-01bd c6978000 rtnmark0 mark_ble_lr 
-01be 70893024 jam 0x24 ,0x8930 
-01bf 70890105 jam 5 ,0x8901 
-01c0 20600000 rtn 
+01c3 c6978000 rtnmark0 mark_ble_lr 
+01c4 70893024 jam 0x24 ,0x8930 
+01c5 70890105 jam 5 ,0x8901 
+01c6 20600000 rtn 
 
 p_set_lemode_1m_16m:
-01c1 58004189 setarg 0x4189 
-01c2 67f10907 store 2 ,0x8907 
-01c3 202001bd branch p_set_lemode_1m 
+01c7 58004189 setarg 0x4189 
+01c8 67f10907 store 2 ,0x8907 
+01c9 202001c3 branch p_set_lemode_1m 
 
 p_set_lemode_2m_16m:
-01c4 58008312 setarg 0x8312 
-01c5 67f10907 store 2 ,0x8907 
-01c6 202001b2 branch p_set_lemode_2m 
+01ca 58008312 setarg 0x8312 
+01cb 67f10907 store 2 ,0x8907 
+01cc 202001b8 branch p_set_lemode_2m 
 
 p_le_parse:
-01c7 6fe0c334 fetch 1 ,mem_le_packet_llid 
-01c8 c1000000 rtneq llid_reserved 
-01c9 c001b04a beq llid_le_ll ,le_parse_ll 
-01ca 202028e1 branch le_parse_l2cap 
+01cd 6fe0c334 fetch 1 ,mem_le_packet_llid 
+01ce c1000000 rtneq llid_reserved 
+01cf c001b04a beq llid_le_ll ,le_parse_ll 
+01d0 202028e1 branch le_parse_l2cap 
 
 p_le_init_adv:
-01cb 793f8030 set0 mark_ble_crc_fail ,mark 
-01cc 20202af6 branch le_init_adv + 1 
+01d1 793f8030 set0 mark_ble_crc_fail ,mark 
+01d2 20202af6 branch le_init_adv + 1 
 
 p_le_receive_rxon:
-01cd 204025c2 call le_prep 
-01ce c59781d3 bmark0 mark_ble_lr ,p_le_receive_nolr 
-01cf 783cfc00 pulse dewhiten_code_calc 
-01d0 2000001e nop 30 
-01d1 204025c2 call le_prep 
-01d2 19699600 lshift3 timeup ,timeup 
+01d3 204025c2 call le_prep 
+01d4 c59781d9 bmark0 mark_ble_lr ,p_le_receive_nolr 
+01d5 783cfc00 pulse dewhiten_code_calc 
+01d6 2000001e nop 30 
+01d7 204025c2 call le_prep 
+01d8 19699600 lshift3 timeup ,timeup 
 
 p_le_receive_nolr:
-01d3 7856fc00 disable match 
-01d4 7826fc00 enable decode_fec0 
-01d5 7830fc00 enable is_rx 
-01d6 78507c00 disable is_tx 
-01d7 19623600 copy timeup ,stop_watch 
-01d8 37c18400 correlate null ,timeout 
-01d9 203701dc branch p_le_receive_on_attempt ,attempt 
-01da 1b420400 copy clke ,temp 
-01db 604b000f storet 6 ,mem_sync_clke 
+01d9 7856fc00 disable match 
+01da 7826fc00 enable decode_fec0 
+01db 7830fc00 enable is_rx 
+01dc 78507c00 disable is_tx 
+01dd 19623600 copy timeup ,stop_watch 
+01de 37c18400 correlate null ,timeout 
+01df 203701e2 branch p_le_receive_on_attempt ,attempt 
+01e0 1b420400 copy clke ,temp 
+01e1 604b000f storet 6 ,mem_sync_clke 
 
 p_le_receive_on_attempt:
-01dc 242c26fa nbranch le_unsync_end ,sync 
-01dd 78287c00 enable swfine 
-01de 6fe0c167 fetch 1 ,mem_le_tx_ifs_defference 
-01df d8404e20 arg param_20ms_init ,temp 
-01e0 98408400 iadd temp ,temp 
-01e1 6fe0c148 fetch 1 ,mem_system_clk 
-01e2 984fb600 imul32 temp ,stop_watch 
-01e3 20406877 call rf_debug_rx_sync_line 
-01e4 20372677 branch le_receive_skip ,attempt 
-01e5 204001ea call p_calc_clke_all_modem 
-01e6 6fe08168 fetch 1 ,mem_le_state 
-01e7 c301a677 bbit0 lestate_got_first_packet ,le_receive_skip 
-01e8 2055a477 call lpm_adjust_clk ,wake 
-01e9 20202677 branch le_receive_skip 
+01e2 242c26fa nbranch le_unsync_end ,sync 
+01e3 78287c00 enable swfine 
+01e4 6fe0c167 fetch 1 ,mem_le_tx_ifs_defference 
+01e5 d8404e20 arg param_20ms_init ,temp 
+01e6 98408400 iadd temp ,temp 
+01e7 6fe0c148 fetch 1 ,mem_system_clk 
+01e8 984fb600 imul32 temp ,stop_watch 
+01e9 20406877 call rf_debug_rx_sync_line 
+01ea 20372677 branch le_receive_skip ,attempt 
+01eb 204001f0 call p_calc_clke_all_modem 
+01ec 6fe08168 fetch 1 ,mem_le_state 
+01ed c301a677 bbit0 lestate_got_first_packet ,le_receive_skip 
+01ee 2055a477 call lpm_adjust_clk ,wake 
+01ef 20202677 branch le_receive_skip 
 
 p_calc_clke_all_modem:
-01ea 684b000f fetcht 6 ,mem_sync_clke 
-01eb 1b427e00 copy clke ,pdata 
-01ec 20407d12 call clk_diff 
-01ed 1fe20400 copy pdata ,temp 
-01ee 204026ff call calc_clke_all_modem 
-01ef 1b425600 copy clke ,rege 
-01f0 1d227e00 copy clke_rt ,pdata 
-01f1 9840fe00 iadd temp ,pdata 
-01f2 1fe25200 copy pdata ,clke_rt 
-01f3 20600000 rtn 
+01f0 684b000f fetcht 6 ,mem_sync_clke 
+01f1 1b427e00 copy clke ,pdata 
+01f2 20407d12 call clk_diff 
+01f3 1fe20400 copy pdata ,temp 
+01f4 204026ff call calc_clke_all_modem 
+01f5 1b425600 copy clke ,rege 
+01f6 1d227e00 copy clke_rt ,pdata 
+01f7 9840fe00 iadd temp ,pdata 
+01f8 1fe25200 copy pdata ,clke_rt 
+01f9 20600000 rtn 
 
 p_lpm_adjust_clk:
-01f4 c584a489 bmark0 mark_context ,lpm_clear_counter 
-01f5 684a40ad fetcht 4 ,mem_sleep_counter_all 
-01f6 dfe00600 arg 0x600 ,pdata 
-01f7 98467c00 isub temp ,null 
-01f8 20610000 rtn positive 
-01f9 18422200 copy temp ,rega 
-01fa 684b000f fetcht 6 ,mem_sync_clke 
-01fb 1d627e00 deposit rege 
-01fc 20407d10 call clk_diff_rt 
-01fd 1a220400 copy rega ,temp 
-01fe 2020247d branch lpm_adjust_clk + 6 
+01fa c584a489 bmark0 mark_context ,lpm_clear_counter 
+01fb 684a40ad fetcht 4 ,mem_sleep_counter_all 
+01fc dfe00600 arg 0x600 ,pdata 
+01fd 98467c00 isub temp ,null 
+01fe 20610000 rtn positive 
+01ff 18422200 copy temp ,rega 
+0200 684b000f fetcht 6 ,mem_sync_clke 
+0201 1d627e00 deposit rege 
+0202 20407d10 call clk_diff_rt 
+0203 1a220400 copy rega ,temp 
+0204 2020247d branch lpm_adjust_clk + 6 
 
 p_lpm_sleep:
-01ff 6fe143e9 fetch 2 ,mem_cb_before_lpm_sleep 
-0200 20407d79 call callback_func 
+0205 6fe143e9 fetch 2 ,mem_cb_before_lpm_sleep 
+0206 20407d79 call callback_func 
 
 p_lpm_sleep_skip_cb_function:
-0201 6fe240ad fetch 4 ,mem_sleep_counter_all 
-0202 9840fe00 iadd temp ,pdata 
-0203 67e240ad store 4 ,mem_sleep_counter_all 
-0204 20400210 call p_lpm_save_context 
-0205 6fe0c0cb fetch 1 ,mem_lpm_hv_sel 
-0206 79207e04 set1 lpm_doze_en_bit ,pdata 
-0207 204023e1 call lpm_write_sel_hv 
-0208 2455a3cb ncall lpm_preon_counter ,wake 
-0209 37d98200 until null ,lpo_edge 
-020a 1b227e00 copy clkn ,pdata 
-020b 67e340b1 store 6 ,mem_sleep_clkn 
-020c 6fe1c0c6 fetch 3 ,mem_lpm_isogate 
-020d 6a20c0c9 fetchr rega ,1 ,mem_lpm_ldo_sel 
-020e df200003 arg 3 ,loopcnt 
-020f 2020242e branch lpm_sleep_loop 
+0207 6fe240ad fetch 4 ,mem_sleep_counter_all 
+0208 9840fe00 iadd temp ,pdata 
+0209 67e240ad store 4 ,mem_sleep_counter_all 
+020a 20400216 call p_lpm_save_context 
+020b 6fe0c0cb fetch 1 ,mem_lpm_hv_sel 
+020c 79207e04 set1 lpm_doze_en_bit ,pdata 
+020d 204023e1 call lpm_write_sel_hv 
+020e 2455a3cb ncall lpm_preon_counter ,wake 
+020f 37d98200 until null ,lpo_edge 
+0210 1b227e00 copy clkn ,pdata 
+0211 67e340b1 store 6 ,mem_sleep_clkn 
+0212 6fe1c0c6 fetch 3 ,mem_lpm_isogate 
+0213 6a20c0c9 fetchr rega ,1 ,mem_lpm_ldo_sel 
+0214 df200003 arg 3 ,loopcnt 
+0215 2020242e branch lpm_sleep_loop 
 
 p_lpm_save_context:
-0210 600440e7 storer mark ,8 ,mem_saved_mark 
-0211 d8c08070 arg core_gpio_conf ,contr 
-0212 d8a040cc arg mem_saved_gpio ,contw 
-0213 20407c8f call memcpy16 
-0214 d8c080d4 arg core_gpio_conf_hi ,contr 
-0215 20407c89 call memcpy8 
-0216 6ff08080 fetch 1 ,core_spid_ctrl 
-0217 67e0c0ef store 1 ,mem_saved_spidctrl 
-0218 18422400 copy temp ,regb 
+0216 600440e7 storer mark ,8 ,mem_saved_mark 
+0217 d8c08070 arg core_gpio_conf ,contr 
+0218 d8a040cc arg mem_saved_gpio ,contw 
+0219 20407c8f call memcpy16 
+021a d8c080d4 arg core_gpio_conf_hi ,contr 
+021b 20407c89 call memcpy8 
+021c 6ff08080 fetch 1 ,core_spid_ctrl 
+021d 67e0c0ef store 1 ,mem_saved_spidctrl 
+021e 18422400 copy temp ,regb 
 
 p_lpm_write_gpio_wakeup:
-0219 df20000c arg 12 ,loopcnt 
-021a da200016 arg mem_gpio_wakeup_cfg ,rega 
-021b da60814d arg core_gpio_wakeup_cfg ,regc 
-021c 37d98200 until null ,lpo_edge 
+021f df20000c arg 12 ,loopcnt 
+0220 da200016 arg mem_gpio_wakeup_cfg ,rega 
+0221 da60814d arg core_gpio_wakeup_cfg ,regc 
+0222 37d98200 until null ,lpo_edge 
 
 p_lpm_write_gpio_loop:
-021d efe08011 ifetch 1 ,rega 
-021e e8408013 ifetcht 1 ,regc 
-021f 98467c00 isub temp ,null 
-0220 20228223 branch p_lpm_write_gpio_loop_next ,zero 
-0221 e7e08013 istore 1 ,regc 
-0222 37d98200 until null ,lpo_edge 
+0223 efe08011 ifetch 1 ,rega 
+0224 e8408013 ifetcht 1 ,regc 
+0225 98467c00 isub temp ,null 
+0226 20228229 branch p_lpm_write_gpio_loop_next ,zero 
+0227 e7e08013 istore 1 ,regc 
+0228 37d98200 until null ,lpo_edge 
 
 p_lpm_write_gpio_loop_next:
-0223 1a20a201 increase 1 ,rega 
-0224 1a60a601 increase 1 ,regc 
-0225 c200021d loop p_lpm_write_gpio_loop 
-0226 1a420400 copy regb ,temp 
-0227 20600000 rtn 
+0229 1a20a201 increase 1 ,rega 
+022a 1a60a601 increase 1 ,regc 
+022b c2000223 loop p_lpm_write_gpio_loop 
+022c 1a420400 copy regb ,temp 
+022d 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 6157)
+++ /1121s/branch/shutter/branch/shutter/dq_project/dq_yc1386p_shutter_ws8000_dj/output/ramcode.rom	(working copy)
@@ -2,24 +2,24 @@
 c0000018
 c0010048
 c0088051
-c00a01ab
-c00a80e2
-c00c00f0
-c00c80af
+c00a01b1
+c00a80e3
+c00c00f1
+c00c80b0
 c00d0063
-c01281ff
-c01381f4
-c05880fa
-c06280f7
-c06d017c
-c06e018c
+c0128205
+c01381fa
+c05880fb
+c06280f8
+c06d0182
+c06e0192
 2020235a
-c01201cd
+c01201d3
 c0128043
 c0130033
-c01c81c7
+c01c81cd
 c01f801c
-c02681cb
+c02681d1
 c17f8000
 2020235a
 2435a002
@@ -108,14 +108,14 @@
 708a844a
 708a8540
 708a16fe
-204000b7
+204000b8
 6fe0c436
 205a70d7
 2455805f
 37d98200
 70813b5f
 6fe0c099
-c00800a4
+c00800a5
 6fe0c438
 1fe1fe04
 67f08a02
@@ -126,22 +126,23 @@
 67f18a73
 708a8660
 708a8b3b
-20400096
+20400097
 70804300
 70804205
 58557474
 67f18968
 7089606e
-2040014e
-20400179
-20400090
-708a301e
+20400154
+2040017f
+20400091
+708a3006
 708a32dd
-708a88e4
+708a88e0
 708a8c2d
+708a3178
 7041480c
 20406f4e
-2020017b
+20200181
 20758000
 37d98200
 6fe0c11c
@@ -149,7 +150,7 @@
 37d98200
 20600000
 6fe0c099
-c00c009c
+c00c009d
 6fe0c438
 1fe1fe06
 67f08a02
@@ -174,14 +175,14 @@
 70890204
 2020007e
 6fe0c141
-c00500b2
+c00500b3
 2020220e
 708a1425
 58a93f3f
 67f18a60
 708a631f
 20600000
-203580de
+203580df
 6fe2020d
 207a0000
 37d98200
@@ -223,7 +224,7 @@
 6fe1415b
 207a0000
 67e1020f
-202000c8
+202000c9
 2040686f
 204021ba
 18002a08
@@ -261,6 +262,11 @@
 58000140
 67e144f4
 67e14389
+7046b302
+580001a0
+67e146b5
+580001a0
+67e146b7
 58000002
 67e1452e
 58000001
@@ -269,11 +275,11 @@
 67e44512
 6fe448a6
 67e444fa
-58000125
+5800012b
 67e143d5
-58000139
+5800013f
 67e143db
-5800013c
+58000142
 67e143dd
 5800638a
 67e143df
@@ -284,7 +290,7 @@
 204062c4
 20406396
 6fe0c51a
-c0000122
+c0000128
 6fe0c51b
 67e0c4ec
 202063a1
@@ -292,7 +298,7 @@
 70451c01
 20206340
 7044ecff
-20400129
+2040012f
 20406329
 2020739a
 6fe0c6ce
@@ -303,11 +309,11 @@
 efe08011
 6848c6cf
 98467c00
-20228134
+2022813a
 1fe20400
-20400137
+2040013d
 1a20a201
-c200012e
+c2000134
 20600000
 79200407
 20206edd
@@ -315,9 +321,9 @@
 204070c8
 20206327
 1a627e00
-c0188141
-c00a8143
-c01f8147
+c0188147
+c00a8149
+c01f814d
 202062da
 7048ae01
 20600000
@@ -344,7 +350,7 @@
 708ac200
 708ac300
 d8e00006
-2040016b
+20400171
 2a2ffe0d
 2040211d
 2a4ffe0d
@@ -352,14 +358,14 @@
 d8e00005
 2040211c
 2040211e
-2040016b
+20400171
 d8a08ac2
 1a31fe00
 20402117
 1a51fe00
 20402117
 18e08fff
-20210160
+20210166
 2020214f
 2000003c
 58000f00
@@ -385,7 +391,7 @@
 6fe0c409
 67f080cd
 20000bb8
-204001a4
+204001aa
 708a08c1
 6a40c419
 df200008
@@ -394,7 +400,7 @@
 67e0c433
 6240c419
 20600000
-2040019a
+204001a0
 6ff08a09
 793ffe07
 67f08a09
@@ -405,7 +411,7 @@
 6fe0c409
 67f080cd
 20000bb8
-204001a4
+204001aa
 7080cd00
 20206fa1
 6ff080cc
@@ -420,7 +426,7 @@
 20600000
 7080cc03
 6ff08129
-c30281a5
+c30281ab
 68590164
 6049440a
 7080cc00
@@ -429,7 +435,7 @@
 708a8d12
 708a8e0a
 6fe0c099
-c00801c4
+c00801ca
 58005762
 67f10907
 70890103
@@ -440,7 +446,7 @@
 708a8d44
 708a8e0a
 6fe0c099
-c00801c1
+c00801c7
 58002bb1
 67f10907
 c6978000
@@ -449,10 +455,10 @@
 20600000
 58004189
 67f10907
-202001bd
+202001c3
 58008312
 67f10907
-202001b2
+202001b8
 6fe0c334
 c1000000
 c001b04a
@@ -460,7 +466,7 @@
 793f8030
 20202af6
 204025c2
-c59781d3
+c59781d9
 783cfc00
 2000001e
 204025c2
@@ -471,7 +477,7 @@
 78507c00
 19623600
 37c18400
-203701dc
+203701e2
 1b420400
 604b000f
 242c26fa
@@ -483,7 +489,7 @@
 984fb600
 20406877
 20372677
-204001ea
+204001f0
 6fe08168
 c301a677
 2055a477
@@ -514,7 +520,7 @@
 6fe240ad
 9840fe00
 67e240ad
-20400210
+20400216
 6fe0c0cb
 79207e04
 204023e1
@@ -542,11 +548,11 @@
 efe08011
 e8408013
 98467c00
-20228223
+20228229
 e7e08013
 37d98200
 1a20a201
 1a60a601
-c200021d
+c2000223
 1a420400
 20600000
Index: output/sched.rom
===================================================================
--- /1121s/branch/shutter/branch/shutter/dq_project/dq_yc1386p_shutter_ws8000_dj/output/sched.rom	(revision 6157)
+++ /1121s/branch/shutter/branch/shutter/dq_project/dq_yc1386p_shutter_ws8000_dj/output/sched.rom	(working copy)
@@ -76,7 +76,7 @@
 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:01
+mem_shutter_soft_switch_first_power_on:00
 
 mem_tx_power:05
 
@@ -91,8 +91,8 @@
 b8 0b #sleep_timer
 
 mem_shutter_reconn_or_discovery_blink_time_conf:
-02 01 #mem_ble_shutter_reconn_blink_on_time
-02 01 #mem_ble_shutter_reconn_blink_off_time
+96 03 #mem_ble_shutter_reconn_blink_on_time
+96 03 #mem_ble_shutter_reconn_blink_off_time
 96 02 #mem_ble_shutter_discovery_blink_on_time
 96 02 #mem_ble_shutter_discovery_blink_off_time
 
Index: program/patch.prog
===================================================================
--- /1121s/branch/shutter/branch/shutter/dq_project/dq_yc1386p_shutter_ws8000_dj/program/patch.prog	(revision 6157)
+++ /1121s/branch/shutter/branch/shutter/dq_project/dq_yc1386p_shutter_ws8000_dj/program/patch.prog	(working copy)
@@ -166,10 +166,11 @@
 	call p_rx_dcoc
 	call p_rfpll_aac_ghpc
 	call p_set_xtal_cap
-	jam 0x1e,0x8a30
+	jam 0x06,0x8a30
 	jam 0xdd,0x8a32
-	jam 0xe4,0x8a88
+	jam 0xe0,0x8a88
 	jam 0x2d,0x8a8c
+	jam 0x78,0x8a31
 	jam SYSTEM_CLK_12M,mem_system_clk
 	call sadc_calibration
 	branch p_dpll_ring_ibias_calc
@@ -318,7 +319,7 @@
 	rtn wake
 	call wdt_set_disable
 	jam 0x0a,mem_lpm_overhead
-	//call shutter_default_init
+	// call shutter_default_init
 	//setarg 0x0050
 	//store 2,mem_ble_shutter_reconn_timer
 	setarg 0x000e
@@ -326,7 +327,11 @@
 	setarg 0x0140
 	store 2,mem_ble_shutter_discovery_adv_interval
 	store 2,mem_le_adv_interval
-
+	jam 2,mem_shutter_power_off_led_style_blink_count
+	setarg 0x01a0
+	store 2,mem_shutter_power_off_led_style_on_time
+	setarg 0x01a0
+	store 2,mem_shutter_power_off_led_style_off_time
 	setarg 0x0002
 	store 2,mem_key0_press
 	setarg 0x0001
Index: sched/shutter.dat
===================================================================
--- /1121s/branch/shutter/branch/shutter/dq_project/dq_yc1386p_shutter_ws8000_dj/sched/shutter.dat	(revision 6157)
+++ /1121s/branch/shutter/branch/shutter/dq_project/dq_yc1386p_shutter_ws8000_dj/sched/shutter.dat	(working copy)
@@ -9,7 +9,7 @@
 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:01
+mem_shutter_soft_switch_first_power_on:00
 
 mem_tx_power:05
 
@@ -24,8 +24,8 @@
 b8 0b #sleep_timer
 
 mem_shutter_reconn_or_discovery_blink_time_conf:
-02 01 #mem_ble_shutter_reconn_blink_on_time
-02 01 #mem_ble_shutter_reconn_blink_off_time
+96 03 #mem_ble_shutter_reconn_blink_on_time
+96 03 #mem_ble_shutter_reconn_blink_off_time
 96 02 #mem_ble_shutter_discovery_blink_on_time
 96 02 #mem_ble_shutter_discovery_blink_off_time
 
