Index: output/eeprom.dat
===================================================================
--- /1121s/branch/shutter/branch/shutter/jxy_project/yc1386s_yibei_r1_shutter/output/eeprom.dat	(revision 4442)
+++ /1121s/branch/shutter/branch/shutter/jxy_project/yc1386s_yibei_r1_shutter/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-2a
+66
 0b
 c2
 84
@@ -23,19 +23,19 @@
 c0
 0a
 02
-12
+17
 c0
 0a
 81
-21
+22
 c0
 0c
 01
-2f
+30
 c0
 0c
 80
-ee
+ef
 c0
 0d
 00
@@ -47,11 +47,11 @@
 c0
 12
 82
-34
+39
 c0
 13
 82
-7a
+89
 c0
 14
 00
@@ -59,19 +59,19 @@
 c0
 58
 81
-39
+3a
 c0
 62
 81
-36
+37
 c0
 6d
 01
-e3
+e8
 c0
 6e
 01
-f3
+f8
 20
 20
 23
@@ -79,7 +79,7 @@
 c0
 12
 02
-53
+62
 c0
 12
 80
@@ -91,7 +91,7 @@
 c0
 1c
 82
-2e
+33
 c0
 1f
 80
@@ -99,7 +99,7 @@
 c0
 26
 82
-32
+37
 c1
 7f
 80
@@ -579,7 +579,7 @@
 20
 20
 01
-40
+41
 6f
 f0
 81
@@ -698,6 +698,10 @@
 10
 70
 8a
+88
+40
+70
+8a
 06
 10
 70
@@ -715,7 +719,7 @@
 20
 40
 00
-f6
+f7
 6f
 e0
 c4
@@ -743,7 +747,7 @@
 c0
 08
 00
-e3
+e4
 6f
 e0
 c4
@@ -787,7 +791,7 @@
 20
 40
 00
-d5
+d6
 70
 80
 43
@@ -811,15 +815,15 @@
 20
 40
 01
-b5
+ba
 20
 40
 01
-e0
+e5
 20
 40
 00
-cf
+d0
 70
 41
 48
@@ -831,7 +835,7 @@
 20
 20
 01
-e2
+e7
 20
 75
 80
@@ -863,7 +867,7 @@
 c0
 0c
 00
-db
+dc
 6f
 e0
 c4
@@ -955,7 +959,7 @@
 20
 20
 00
-c1
+c2
 6f
 e0
 c1
@@ -963,7 +967,7 @@
 c0
 05
 00
-f1
+f2
 20
 20
 22
@@ -991,7 +995,7 @@
 20
 35
 81
-1d
+1e
 6f
 e2
 02
@@ -1159,7 +1163,7 @@
 20
 20
 01
-07
+08
 20
 40
 68
@@ -1284,6 +1288,10 @@
 75
 80
 00
+20
+40
+70
+d7
 58
 00
 00
@@ -1354,8 +1362,8 @@
 fa
 58
 00
-63
-27
+01
+74
 67
 e1
 43
@@ -1363,7 +1371,7 @@
 58
 00
 02
-85
+94
 67
 e1
 43
@@ -1379,7 +1387,7 @@
 58
 00
 02
-ac
+bb
 67
 e1
 43
@@ -1387,7 +1395,7 @@
 58
 00
 01
-82
+87
 67
 e1
 45
@@ -1395,7 +1403,7 @@
 58
 00
 01
-72
+77
 67
 e1
 43
@@ -1431,7 +1439,7 @@
 c0
 00
 82
-97
+a6
 6f
 e0
 c5
@@ -1447,7 +1455,7 @@
 20
 40
 01
-b0
+b5
 70
 44
 e4
@@ -1463,7 +1471,7 @@
 20
 3a
 01
-6f
+71
 6f
 f0
 81
@@ -1484,6 +1492,18 @@
 20
 43
 27
+df
+e0
+00
+0a
+20
+40
+70
+c8
+20
+20
+63
+27
 20
 40
 6f
@@ -1563,7 +1583,7 @@
 20
 3a
 01
-89
+8e
 70
 48
 cf
@@ -1575,7 +1595,7 @@
 20
 20
 01
-96
+9b
 70
 48
 cf
@@ -1619,7 +1639,7 @@
 24
 3a
 01
-95
+9a
 70
 48
 af
@@ -1643,11 +1663,11 @@
 c0
 00
 01
-a6
+ab
 c0
 00
 81
-9c
+a1
 20
 60
 00
@@ -1691,7 +1711,7 @@
 20
 20
 01
-8d
+92
 58
 00
 00
@@ -1731,7 +1751,7 @@
 20
 20
 01
-8d
+92
 68
 49
 44
@@ -1803,7 +1823,7 @@
 20
 40
 01
-d2
+d7
 2a
 2f
 fe
@@ -1835,7 +1855,7 @@
 20
 40
 01
-d2
+d7
 d8
 a0
 8a
@@ -1863,7 +1883,7 @@
 20
 21
 01
-c7
+cc
 20
 20
 21
@@ -1967,7 +1987,7 @@
 20
 40
 02
-0b
+10
 70
 8a
 08
@@ -2003,7 +2023,7 @@
 20
 40
 02
-01
+06
 6f
 f0
 8a
@@ -2047,7 +2067,7 @@
 20
 40
 02
-0b
+10
 70
 80
 cd
@@ -2107,7 +2127,7 @@
 c3
 02
 82
-0c
+11
 68
 59
 01
@@ -2143,7 +2163,7 @@
 c0
 08
 02
-2b
+30
 58
 00
 57
@@ -2187,7 +2207,7 @@
 c0
 08
 02
-28
+2d
 58
 00
 2b
@@ -2223,7 +2243,7 @@
 20
 20
 02
-24
+29
 58
 00
 83
@@ -2235,7 +2255,7 @@
 20
 20
 02
-19
+1e
 6f
 e0
 c3
@@ -2283,11 +2303,51 @@
 20
 40
 02
-3b
+4a
+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
@@ -2355,7 +2415,7 @@
 20
 22
 82
-4e
+5d
 e7
 e0
 80
@@ -2375,7 +2435,7 @@
 c2
 00
 02
-48
+57
 1a
 42
 04
@@ -2391,7 +2451,7 @@
 c5
 97
 82
-59
+68
 78
 3c
 fc
@@ -2435,7 +2495,7 @@
 20
 37
 02
-62
+71
 1b
 42
 04
@@ -2483,7 +2543,7 @@
 20
 40
 02
-70
+7f
 6f
 e0
 81
@@ -2591,27 +2651,27 @@
 c0
 0a
 02
-8d
+9c
 c0
 08
 02
-93
+a2
 c0
 16
 02
-90
+9f
 c0
 18
 81
-7a
+7f
 c0
 0a
 81
-7e
+83
 c0
 1f
 81
-7c
+81
 20
 20
 62
@@ -2651,7 +2711,7 @@
 c0
 00
 82
-9f
+ae
 70
 48
 da
@@ -2735,7 +2795,7 @@
 20
 3a
 02
-c3
+d2
 20
 20
 7d
@@ -2743,11 +2803,11 @@
 20
 40
 02
-af
+be
 20
 40
 02
-ba
+c9
 20
 20
 63
@@ -2759,7 +2819,7 @@
 da
 40
 02
-b2
+c1
 20
 20
 42
@@ -2803,7 +2863,7 @@
 da
 40
 02
-bd
+cc
 20
 20
 42
@@ -2860,8 +2920,8 @@
 20
 43
 27
-6e
-6c
+ca
+2a
 aa
 55
 40
@@ -3267,68 +3327,8 @@
 55
 c8
 57
-44
-bc
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+98
+8a
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-a8
-c1
+fb
+df
Index: output/flash.dat
===================================================================
--- /1121s/branch/shutter/branch/shutter/jxy_project/yc1386s_yibei_r1_shutter/output/flash.dat	(revision 4442)
+++ /1121s/branch/shutter/branch/shutter/jxy_project/yc1386s_yibei_r1_shutter/output/flash.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-2a
+66
 0b
 c2
 84
@@ -23,19 +23,19 @@
 c0
 0a
 02
-12
+17
 c0
 0a
 81
-21
+22
 c0
 0c
 01
-2f
+30
 c0
 0c
 80
-ee
+ef
 c0
 0d
 00
@@ -47,11 +47,11 @@
 c0
 12
 82
-34
+39
 c0
 13
 82
-7a
+89
 c0
 14
 00
@@ -59,19 +59,19 @@
 c0
 58
 81
-39
+3a
 c0
 62
 81
-36
+37
 c0
 6d
 01
-e3
+e8
 c0
 6e
 01
-f3
+f8
 20
 20
 23
@@ -79,7 +79,7 @@
 c0
 12
 02
-53
+62
 c0
 12
 80
@@ -91,7 +91,7 @@
 c0
 1c
 82
-2e
+33
 c0
 1f
 80
@@ -99,7 +99,7 @@
 c0
 26
 82
-32
+37
 c1
 7f
 80
@@ -579,7 +579,7 @@
 20
 20
 01
-40
+41
 6f
 f0
 81
@@ -698,6 +698,10 @@
 10
 70
 8a
+88
+40
+70
+8a
 06
 10
 70
@@ -715,7 +719,7 @@
 20
 40
 00
-f6
+f7
 6f
 e0
 c4
@@ -743,7 +747,7 @@
 c0
 08
 00
-e3
+e4
 6f
 e0
 c4
@@ -787,7 +791,7 @@
 20
 40
 00
-d5
+d6
 70
 80
 43
@@ -811,15 +815,15 @@
 20
 40
 01
-b5
+ba
 20
 40
 01
-e0
+e5
 20
 40
 00
-cf
+d0
 70
 41
 48
@@ -831,7 +835,7 @@
 20
 20
 01
-e2
+e7
 20
 75
 80
@@ -863,7 +867,7 @@
 c0
 0c
 00
-db
+dc
 6f
 e0
 c4
@@ -955,7 +959,7 @@
 20
 20
 00
-c1
+c2
 6f
 e0
 c1
@@ -963,7 +967,7 @@
 c0
 05
 00
-f1
+f2
 20
 20
 22
@@ -991,7 +995,7 @@
 20
 35
 81
-1d
+1e
 6f
 e2
 02
@@ -1159,7 +1163,7 @@
 20
 20
 01
-07
+08
 20
 40
 68
@@ -1284,6 +1288,10 @@
 75
 80
 00
+20
+40
+70
+d7
 58
 00
 00
@@ -1354,8 +1362,8 @@
 fa
 58
 00
-63
-27
+01
+74
 67
 e1
 43
@@ -1363,7 +1371,7 @@
 58
 00
 02
-85
+94
 67
 e1
 43
@@ -1379,7 +1387,7 @@
 58
 00
 02
-ac
+bb
 67
 e1
 43
@@ -1387,7 +1395,7 @@
 58
 00
 01
-82
+87
 67
 e1
 45
@@ -1395,7 +1403,7 @@
 58
 00
 01
-72
+77
 67
 e1
 43
@@ -1431,7 +1439,7 @@
 c0
 00
 82
-97
+a6
 6f
 e0
 c5
@@ -1447,7 +1455,7 @@
 20
 40
 01
-b0
+b5
 70
 44
 e4
@@ -1463,7 +1471,7 @@
 20
 3a
 01
-6f
+71
 6f
 f0
 81
@@ -1484,6 +1492,18 @@
 20
 43
 27
+df
+e0
+00
+0a
+20
+40
+70
+c8
+20
+20
+63
+27
 20
 40
 6f
@@ -1563,7 +1583,7 @@
 20
 3a
 01
-89
+8e
 70
 48
 cf
@@ -1575,7 +1595,7 @@
 20
 20
 01
-96
+9b
 70
 48
 cf
@@ -1619,7 +1639,7 @@
 24
 3a
 01
-95
+9a
 70
 48
 af
@@ -1643,11 +1663,11 @@
 c0
 00
 01
-a6
+ab
 c0
 00
 81
-9c
+a1
 20
 60
 00
@@ -1691,7 +1711,7 @@
 20
 20
 01
-8d
+92
 58
 00
 00
@@ -1731,7 +1751,7 @@
 20
 20
 01
-8d
+92
 68
 49
 44
@@ -1803,7 +1823,7 @@
 20
 40
 01
-d2
+d7
 2a
 2f
 fe
@@ -1835,7 +1855,7 @@
 20
 40
 01
-d2
+d7
 d8
 a0
 8a
@@ -1863,7 +1883,7 @@
 20
 21
 01
-c7
+cc
 20
 20
 21
@@ -1967,7 +1987,7 @@
 20
 40
 02
-0b
+10
 70
 8a
 08
@@ -2003,7 +2023,7 @@
 20
 40
 02
-01
+06
 6f
 f0
 8a
@@ -2047,7 +2067,7 @@
 20
 40
 02
-0b
+10
 70
 80
 cd
@@ -2107,7 +2127,7 @@
 c3
 02
 82
-0c
+11
 68
 59
 01
@@ -2143,7 +2163,7 @@
 c0
 08
 02
-2b
+30
 58
 00
 57
@@ -2187,7 +2207,7 @@
 c0
 08
 02
-28
+2d
 58
 00
 2b
@@ -2223,7 +2243,7 @@
 20
 20
 02
-24
+29
 58
 00
 83
@@ -2235,7 +2255,7 @@
 20
 20
 02
-19
+1e
 6f
 e0
 c3
@@ -2283,11 +2303,51 @@
 20
 40
 02
-3b
+4a
+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
@@ -2355,7 +2415,7 @@
 20
 22
 82
-4e
+5d
 e7
 e0
 80
@@ -2375,7 +2435,7 @@
 c2
 00
 02
-48
+57
 1a
 42
 04
@@ -2391,7 +2451,7 @@
 c5
 97
 82
-59
+68
 78
 3c
 fc
@@ -2435,7 +2495,7 @@
 20
 37
 02
-62
+71
 1b
 42
 04
@@ -2483,7 +2543,7 @@
 20
 40
 02
-70
+7f
 6f
 e0
 81
@@ -2591,27 +2651,27 @@
 c0
 0a
 02
-8d
+9c
 c0
 08
 02
-93
+a2
 c0
 16
 02
-90
+9f
 c0
 18
 81
-7a
+7f
 c0
 0a
 81
-7e
+83
 c0
 1f
 81
-7c
+81
 20
 20
 62
@@ -2651,7 +2711,7 @@
 c0
 00
 82
-9f
+ae
 70
 48
 da
@@ -2735,7 +2795,7 @@
 20
 3a
 02
-c3
+d2
 20
 20
 7d
@@ -2743,11 +2803,11 @@
 20
 40
 02
-af
+be
 20
 40
 02
-ba
+c9
 20
 20
 63
@@ -2759,7 +2819,7 @@
 da
 40
 02
-b2
+c1
 20
 20
 42
@@ -2803,7 +2863,7 @@
 da
 40
 02
-bd
+cc
 20
 20
 42
@@ -2860,8 +2920,8 @@
 20
 43
 27
-6e
-6c
+ca
+2a
 aa
 55
 40
@@ -3267,68 +3327,8 @@
 55
 c8
 57
-44
-bc
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+98
+8a
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-a8
-c1
+fb
+df
Index: output/otp.dat
===================================================================
--- /1121s/branch/shutter/branch/shutter/jxy_project/yc1386s_yibei_r1_shutter/output/otp.dat	(revision 4442)
+++ /1121s/branch/shutter/branch/shutter/jxy_project/yc1386s_yibei_r1_shutter/output/otp.dat	(working copy)
@@ -11,7 +11,7 @@
 00
 aa
 55
-26
+66
 0b
 c2
 84
@@ -32,19 +32,19 @@
 c0
 0a
 02
-11
+17
 c0
 0a
 81
-21
+22
 c0
 0c
 01
-2f
+30
 c0
 0c
 80
-ee
+ef
 c0
 0d
 00
@@ -56,11 +56,11 @@
 c0
 12
 82
-33
+39
 c0
 13
 82
-79
+89
 c0
 14
 00
@@ -68,19 +68,19 @@
 c0
 58
 81
-39
+3a
 c0
 62
 81
-36
+37
 c0
 6d
 01
-e2
+e8
 c0
 6e
 01
-f2
+f8
 20
 20
 23
@@ -88,7 +88,7 @@
 c0
 12
 02
-52
+62
 c0
 12
 80
@@ -100,7 +100,7 @@
 c0
 1c
 82
-2d
+33
 c0
 1f
 80
@@ -108,7 +108,7 @@
 c0
 26
 82
-31
+37
 c1
 7f
 80
@@ -588,7 +588,7 @@
 20
 20
 01
-40
+41
 6f
 f0
 81
@@ -707,6 +707,10 @@
 10
 70
 8a
+88
+40
+70
+8a
 06
 10
 70
@@ -724,7 +728,7 @@
 20
 40
 00
-f6
+f7
 6f
 e0
 c4
@@ -752,7 +756,7 @@
 c0
 08
 00
-e3
+e4
 6f
 e0
 c4
@@ -796,7 +800,7 @@
 20
 40
 00
-d5
+d6
 70
 80
 43
@@ -820,15 +824,15 @@
 20
 40
 01
-b4
+ba
 20
 40
 01
-df
+e5
 20
 40
 00
-cf
+d0
 70
 41
 48
@@ -840,7 +844,7 @@
 20
 20
 01
-e1
+e7
 20
 75
 80
@@ -872,7 +876,7 @@
 c0
 0c
 00
-db
+dc
 6f
 e0
 c4
@@ -964,7 +968,7 @@
 20
 20
 00
-c1
+c2
 6f
 e0
 c1
@@ -972,7 +976,7 @@
 c0
 05
 00
-f1
+f2
 20
 20
 22
@@ -1000,7 +1004,7 @@
 20
 35
 81
-1d
+1e
 6f
 e2
 02
@@ -1168,7 +1172,7 @@
 20
 20
 01
-07
+08
 20
 40
 68
@@ -1293,6 +1297,10 @@
 75
 80
 00
+20
+40
+70
+d7
 58
 00
 00
@@ -1305,6 +1313,10 @@
 40
 63
 d9
+70
+40
+a6
+0a
 58
 00
 00
@@ -1359,8 +1371,8 @@
 fa
 58
 00
-63
-27
+01
+74
 67
 e1
 43
@@ -1368,7 +1380,7 @@
 58
 00
 02
-84
+94
 67
 e1
 43
@@ -1384,7 +1396,7 @@
 58
 00
 02
-ab
+bb
 67
 e1
 43
@@ -1392,7 +1404,7 @@
 58
 00
 01
-81
+87
 67
 e1
 45
@@ -1400,7 +1412,7 @@
 58
 00
 01
-71
+77
 67
 e1
 43
@@ -1436,7 +1448,7 @@
 c0
 00
 82
-96
+a6
 6f
 e0
 c5
@@ -1452,7 +1464,7 @@
 20
 40
 01
-af
+b5
 70
 44
 e4
@@ -1468,7 +1480,7 @@
 20
 3a
 01
-6e
+71
 6f
 f0
 81
@@ -1489,6 +1501,18 @@
 20
 43
 27
+df
+e0
+00
+0a
+20
+40
+70
+c8
+20
+20
+63
+27
 20
 40
 6f
@@ -1568,7 +1592,7 @@
 20
 3a
 01
-88
+8e
 70
 48
 cf
@@ -1580,7 +1604,7 @@
 20
 20
 01
-95
+9b
 70
 48
 cf
@@ -1624,7 +1648,7 @@
 24
 3a
 01
-94
+9a
 70
 48
 af
@@ -1648,11 +1672,11 @@
 c0
 00
 01
-a5
+ab
 c0
 00
 81
-9b
+a1
 20
 60
 00
@@ -1696,7 +1720,7 @@
 20
 20
 01
-8c
+92
 58
 00
 00
@@ -1736,7 +1760,7 @@
 20
 20
 01
-8c
+92
 68
 49
 44
@@ -1808,7 +1832,7 @@
 20
 40
 01
-d1
+d7
 2a
 2f
 fe
@@ -1840,7 +1864,7 @@
 20
 40
 01
-d1
+d7
 d8
 a0
 8a
@@ -1868,7 +1892,7 @@
 20
 21
 01
-c6
+cc
 20
 20
 21
@@ -1972,7 +1996,7 @@
 20
 40
 02
-0a
+10
 70
 8a
 08
@@ -2008,7 +2032,7 @@
 20
 40
 02
-00
+06
 6f
 f0
 8a
@@ -2052,7 +2076,7 @@
 20
 40
 02
-0a
+10
 70
 80
 cd
@@ -2112,7 +2136,7 @@
 c3
 02
 82
-0b
+11
 68
 59
 01
@@ -2148,7 +2172,7 @@
 c0
 08
 02
-2a
+30
 58
 00
 57
@@ -2192,7 +2216,7 @@
 c0
 08
 02
-27
+2d
 58
 00
 2b
@@ -2228,7 +2252,7 @@
 20
 20
 02
-23
+29
 58
 00
 83
@@ -2240,7 +2264,7 @@
 20
 20
 02
-18
+1e
 6f
 e0
 c3
@@ -2288,11 +2312,51 @@
 20
 40
 02
-3a
+4a
+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
@@ -2360,7 +2424,7 @@
 20
 22
 82
-4d
+5d
 e7
 e0
 80
@@ -2380,7 +2444,7 @@
 c2
 00
 02
-47
+57
 1a
 42
 04
@@ -2396,7 +2460,7 @@
 c5
 97
 82
-58
+68
 78
 3c
 fc
@@ -2440,7 +2504,7 @@
 20
 37
 02
-61
+71
 1b
 42
 04
@@ -2488,7 +2552,7 @@
 20
 40
 02
-6f
+7f
 6f
 e0
 81
@@ -2596,27 +2660,27 @@
 c0
 0a
 02
-8c
+9c
 c0
 08
 02
-92
+a2
 c0
 16
 02
-8f
+9f
 c0
 18
 81
-79
+7f
 c0
 0a
 81
-7d
+83
 c0
 1f
 81
-7b
+81
 20
 20
 62
@@ -2656,7 +2720,7 @@
 c0
 00
 82
-9e
+ae
 70
 48
 da
@@ -2740,7 +2804,7 @@
 20
 3a
 02
-c2
+d2
 20
 20
 7d
@@ -2748,11 +2812,11 @@
 20
 40
 02
-ae
+be
 20
 40
 02
-b9
+c9
 20
 20
 63
@@ -2764,7 +2828,7 @@
 da
 40
 02
-b1
+c1
 20
 20
 42
@@ -2808,7 +2872,7 @@
 da
 40
 02
-bc
+cc
 20
 20
 42
@@ -2865,8 +2929,8 @@
 20
 43
 27
-aa
-c2
+ca
+2a
 aa
 55
 40
@@ -3170,7 +3234,7 @@
 9a
 40
 00
-0c
+30
 aa
 55
 05
@@ -3270,7 +3334,7 @@
 aa
 aa
 55
-a4
+c8
 57
-ed
-91
+98
+8a
Index: output/program.lis
===================================================================
--- /1121s/branch/shutter/branch/shutter/jxy_project/yc1386s_yibei_r1_shutter/output/program.lis	(revision 4442)
+++ /1121s/branch/shutter/branch/shutter/jxy_project/yc1386s_yibei_r1_shutter/output/program.lis	(working copy)
@@ -4,28 +4,28 @@
 0001 c000001a beq patch00_0 ,p_soft_reset 
 0002 c0010058 beq patch00_2 ,p_main_loop 
 0003 c0088095 beq patch02_1 ,p_set_sync_on 
-0004 c00a0212 beq patch02_4 ,p_set_lemode 
-0005 c00a8121 beq patch02_5 ,p_rf_rx_enable 
-0006 c00c012f beq patch03_0 ,p_txon 
-0007 c00c80ee beq patch03_1 ,p_set_tx_power 
+0004 c00a0217 beq patch02_4 ,p_set_lemode 
+0005 c00a8122 beq patch02_5 ,p_rf_rx_enable 
+0006 c00c0130 beq patch03_0 ,p_txon 
+0007 c00c80ef beq patch03_1 ,p_set_tx_power 
 0008 c00d00a7 beq patch03_2 ,p_initialize_radio_cont 
 0009 c00e0035 beq patch03_4 ,p_aac_ghpc 
-000a c0128234 beq patch04_5 ,p_lpm_sleep 
-000b c013827a beq patch04_7 ,p_lpm_adjust_clk 
+000a c0128239 beq patch04_5 ,p_lpm_sleep 
+000b c0138289 beq patch04_7 ,p_lpm_adjust_clk 
 000c c0140081 beq patch05_0 ,p_lpm_dispatch 
-000d c0588139 beq patch16_1 ,p_app_init 
-000e c0628136 beq patch18_5 ,p_otp_read_data 
-000f c06d01e3 beq patch1b_2 ,p_sadc_calibration 
-0010 c06e01f3 beq patch1b_4 ,p_enable_adc 
+000d c058813a beq patch16_1 ,p_app_init 
+000e c0628137 beq patch18_5 ,p_otp_read_data 
+000f c06d01e8 beq patch1b_2 ,p_sadc_calibration 
+0010 c06e01f8 beq patch1b_4 ,p_enable_adc 
 0011 2020235a branch assert 
 
 pf_patch_ext:
-0012 c0120253 beq patch24_4 ,p_le_receive_rxon 
+0012 c0120262 beq patch24_4 ,p_le_receive_rxon 
 0013 c0128053 beq patch24_5 ,p_le_rx_dec 
 0014 c0130043 beq patch24_6 ,p_le_rx_nopayload 
-0015 c01c822e beq patch27_1 ,p_le_parse 
+0015 c01c8233 beq patch27_1 ,p_le_parse 
 0016 c01f801e beq patch27_7 ,p_le_lpm_set_mult 
-0017 c0268232 beq patch29_5 ,p_le_init_adv 
+0017 c0268237 beq patch29_5 ,p_le_init_adv 
 0018 c17f8000 rtneq patch3f_7 
 0019 2020235a branch assert 
 
@@ -181,7 +181,7 @@
 008c 793f8034 set0 mark_shutter_long_sleep ,mark 
 008d 7048da00 jam 0 ,mem_power_on_led_status_modify 
 008e 7044ee01 jam 1 ,mem_ui_led_struct_num 
-008f 20200140 branch p_shutter_init_next 
+008f 20200141 branch p_shutter_init_next 
 
 p_shutter_clean_long_wake:
 0090 6ff0811e fetch 1 ,core_gpio_in + 2 
@@ -219,701 +219,718 @@
 00aa 708a13cd jam 0xcd ,0x8a13 
 00ab 7089460d jam 0x0d ,0x8946 
 00ac 70896f10 jam 0x10 ,0x896f 
-00ad 708a0610 jam 0x10 ,0x8a06 
-00ae 708a844a jam 0x4a ,0x8a84 
-00af 708a8540 jam 0x40 ,0x8a85 
-00b0 708a16fe jam 0xfe ,0x8a16 
-00b1 204000f6 call p_set_otp_config 
-00b2 6fe0c436 fetch 1 ,mem_wdt_always_work 
-00b3 205a70d7 call wdt_set_disable ,blank 
-00b4 245580a3 ncall p_set_ck2rfpll ,wake 
-00b5 37d98200 until null ,lpo_edge 
-00b6 70813b5f jam 0x5f ,0x813b 
-00b7 6fe0c099 fetch 1 ,mem_fcomp_div 
-00b8 c00800e3 beq xtal_16m ,p_initialize_radio_16m 
-00b9 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
-00ba 1fe1fe04 or_into 0x04 ,pdata 
-00bb 67f08a02 store 1 ,0x8a02 
-00bc 70890f01 jam 0x01 ,0x890f 
-00bd 708a8024 jam 0x24 ,0x8a80 
-00be 708a8162 jam 0x62 ,0x8a81 
-00bf 58e61212 setarg 0xe61212 
-00c0 67f18a73 store 3 ,0x8a73 
+00ad 708a8840 jam 0x40 ,core_rx_cfg0 
+00ae 708a0610 jam 0x10 ,0x8a06 
+00af 708a844a jam 0x4a ,0x8a84 
+00b0 708a8540 jam 0x40 ,0x8a85 
+00b1 708a16fe jam 0xfe ,0x8a16 
+00b2 204000f7 call p_set_otp_config 
+00b3 6fe0c436 fetch 1 ,mem_wdt_always_work 
+00b4 205a70d7 call wdt_set_disable ,blank 
+00b5 245580a3 ncall p_set_ck2rfpll ,wake 
+00b6 37d98200 until null ,lpo_edge 
+00b7 70813b5f jam 0x5f ,0x813b 
+00b8 6fe0c099 fetch 1 ,mem_fcomp_div 
+00b9 c00800e4 beq xtal_16m ,p_initialize_radio_16m 
+00ba 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+00bb 1fe1fe04 or_into 0x04 ,pdata 
+00bc 67f08a02 store 1 ,0x8a02 
+00bd 70890f01 jam 0x01 ,0x890f 
+00be 708a8024 jam 0x24 ,0x8a80 
+00bf 708a8162 jam 0x62 ,0x8a81 
+00c0 58e61212 setarg 0xe61212 
+00c1 67f18a73 store 3 ,0x8a73 
 
 p_initialize_radio2:
-00c1 708a8660 jam 0x60 ,0x8a86 
-00c2 708a8b3b jam 0x3b ,0x8a8b 
-00c3 204000d5 call p_dpll_on 
-00c4 70804300 jam 0 ,core_config 
-00c5 70804205 jam clksel_dpll ,core_clksel 
-00c6 58557474 setarg 0x557474 
-00c7 67f18968 store 3 ,0x8968 
-00c8 7089606e jam 0x6e ,0x8960 
-00c9 204001b5 call p_rx_dcoc 
-00ca 204001e0 call p_rfpll_aac_ghpc 
-00cb 204000cf call p_set_xtal_cap 
-00cc 7041480c jam system_clk_12m ,mem_system_clk 
-00cd 20406f4e call sadc_calibration 
-00ce 202001e2 branch p_dpll_ring_ibias_calc 
+00c2 708a8660 jam 0x60 ,0x8a86 
+00c3 708a8b3b jam 0x3b ,0x8a8b 
+00c4 204000d6 call p_dpll_on 
+00c5 70804300 jam 0 ,core_config 
+00c6 70804205 jam clksel_dpll ,core_clksel 
+00c7 58557474 setarg 0x557474 
+00c8 67f18968 store 3 ,0x8968 
+00c9 7089606e jam 0x6e ,0x8960 
+00ca 204001ba call p_rx_dcoc 
+00cb 204001e5 call p_rfpll_aac_ghpc 
+00cc 204000d0 call p_set_xtal_cap 
+00cd 7041480c jam system_clk_12m ,mem_system_clk 
+00ce 20406f4e call sadc_calibration 
+00cf 202001e7 branch p_dpll_ring_ibias_calc 
 
 p_set_xtal_cap:
-00cf 20758000 rtn wake 
-00d0 37d98200 until null ,lpo_edge 
-00d1 6fe0c11c fetch 1 ,mem_xtal_c_sel 
-00d2 67f0813a store 1 ,core_xtal_cap 
-00d3 37d98200 until null ,lpo_edge 
-00d4 20600000 rtn 
+00d0 20758000 rtn wake 
+00d1 37d98200 until null ,lpo_edge 
+00d2 6fe0c11c fetch 1 ,mem_xtal_c_sel 
+00d3 67f0813a store 1 ,core_xtal_cap 
+00d4 37d98200 until null ,lpo_edge 
+00d5 20600000 rtn 
 
 p_dpll_on:
-00d5 6fe0c099 fetch 1 ,mem_fcomp_div 
-00d6 c00c00db beq xtal_24m ,p_dpll_on_24m 
-00d7 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
-00d8 1fe1fe06 or_into 0x06 ,pdata 
-00d9 67f08a02 store 1 ,0x8a02 
-00da 708a05e0 jam 0xe0 ,0x8a05 
+00d6 6fe0c099 fetch 1 ,mem_fcomp_div 
+00d7 c00c00dc beq xtal_24m ,p_dpll_on_24m 
+00d8 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+00d9 1fe1fe06 or_into 0x06 ,pdata 
+00da 67f08a02 store 1 ,0x8a02 
+00db 708a05e0 jam 0xe0 ,0x8a05 
 
 p_dpll_on_24m:
-00db 708a00d8 jam 0xd8 ,0x8a00 
-00dc 2000003c nop 60 
-00dd 708a01a0 jam 0xa0 ,0x8a01 
-00de 708a00df jam 0xdf ,0x8a00 
-00df 708a01fa jam 0xfa ,0x8a01 
-00e0 20000014 nop 20 
-00e1 708a009f jam 0x9f ,0x8a00 
-00e2 20600000 rtn 
+00dc 708a00d8 jam 0xd8 ,0x8a00 
+00dd 2000003c nop 60 
+00de 708a01a0 jam 0xa0 ,0x8a01 
+00df 708a00df jam 0xdf ,0x8a00 
+00e0 708a01fa jam 0xfa ,0x8a01 
+00e1 20000014 nop 20 
+00e2 708a009f jam 0x9f ,0x8a00 
+00e3 20600000 rtn 
 
 p_initialize_radio_16m:
-00e3 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
-00e4 1fe1fe06 or_into 0x06 ,pdata 
-00e5 67f08a02 store 1 ,0x8a02 
-00e6 70890f00 jam 0x00 ,0x890f 
-00e7 708a8023 jam 0x23 ,0x8a80 
-00e8 708a81b0 jam 0xb0 ,0x8a81 
-00e9 58e40909 setarg 0xe40909 
-00ea 67f18a73 store 3 ,0x8a73 
-00eb 708a762a jam 0x2a ,0x8a76 
-00ec 70890204 jam 0x04 ,0x8902 
-00ed 202000c1 branch p_initialize_radio2 
+00e4 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+00e5 1fe1fe06 or_into 0x06 ,pdata 
+00e6 67f08a02 store 1 ,0x8a02 
+00e7 70890f00 jam 0x00 ,0x890f 
+00e8 708a8023 jam 0x23 ,0x8a80 
+00e9 708a81b0 jam 0xb0 ,0x8a81 
+00ea 58e40909 setarg 0xe40909 
+00eb 67f18a73 store 3 ,0x8a73 
+00ec 708a762a jam 0x2a ,0x8a76 
+00ed 70890204 jam 0x04 ,0x8902 
+00ee 202000c2 branch p_initialize_radio2 
 
 p_set_tx_power:
-00ee 6fe0c141 fetch 1 ,mem_tx_power 
-00ef c00500f1 beq tx_power_10db ,p_set_tx_power_10db 
-00f0 2020220e branch set_tx_power + 2 
+00ef 6fe0c141 fetch 1 ,mem_tx_power 
+00f0 c00500f2 beq tx_power_10db ,p_set_tx_power_10db 
+00f1 2020220e branch set_tx_power + 2 
 
 p_set_tx_power_10db:
-00f1 708a1425 jam 0x25 ,0x8a14 
-00f2 58a93f3f setarg 0xa93f3f 
-00f3 67f18a60 store 3 ,0x8a60 
-00f4 708a631f jam 0x1f ,0x8a63 
-00f5 20600000 rtn 
+00f2 708a1425 jam 0x25 ,0x8a14 
+00f3 58a93f3f setarg 0xa93f3f 
+00f4 67f18a60 store 3 ,0x8a60 
+00f5 708a631f jam 0x1f ,0x8a63 
+00f6 20600000 rtn 
 
 p_set_otp_config:
-00f6 2035811d branch p_set_otp_config_wake ,wake 
-00f7 6fe2020d fetch 4 ,mem_otp_core_ldo 
-00f8 207a0000 rtn blank 
-00f9 37d98200 until null ,lpo_edge 
-00fa 6ff08136 fetch 1 ,0x8136 
-00fb 1fe17ef0 and pdata ,0xf0 ,pdata 
-00fc 6848820d fetcht 1 ,mem_otp_core_ldo 
-00fd 9841fe00 ior temp ,pdata 
-00fe 67f08136 store 1 ,0x8136 
-00ff 37d98200 until null ,lpo_edge 
-0100 6ff08138 fetch 1 ,0x8138 
-0101 1fe17e07 and pdata ,0x7 ,pdata 
-0102 6848820e fetcht 1 ,mem_otp_verf_bg 
-0103 18498400 lshift3 temp ,temp 
-0104 9841fe00 ior temp ,pdata 
-0105 67f08138 store 1 ,0x8138 
-0106 37d98200 until null ,lpo_edge 
+00f7 2035811e branch p_set_otp_config_wake ,wake 
+00f8 6fe2020d fetch 4 ,mem_otp_core_ldo 
+00f9 207a0000 rtn blank 
+00fa 37d98200 until null ,lpo_edge 
+00fb 6ff08136 fetch 1 ,0x8136 
+00fc 1fe17ef0 and pdata ,0xf0 ,pdata 
+00fd 6848820d fetcht 1 ,mem_otp_core_ldo 
+00fe 9841fe00 ior temp ,pdata 
+00ff 67f08136 store 1 ,0x8136 
+0100 37d98200 until null ,lpo_edge 
+0101 6ff08138 fetch 1 ,0x8138 
+0102 1fe17e07 and pdata ,0x7 ,pdata 
+0103 6848820e fetcht 1 ,mem_otp_verf_bg 
+0104 18498400 lshift3 temp ,temp 
+0105 9841fe00 ior temp ,pdata 
+0106 67f08138 store 1 ,0x8138 
+0107 37d98200 until null ,lpo_edge 
 
 p_set_otp_config2:
-0107 6ff08acb fetch 1 ,0x8acb 
-0108 1fe17ef0 and pdata ,0xf0 ,pdata 
-0109 6848820f fetcht 1 ,mem_otp_charge_pump 
-010a 6048c15b storet 1 ,mem_otp_charge_pump_x 
-010b 9841fe00 ior temp ,pdata 
-010c 67f08acb store 1 ,0x8acb 
-010d 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
-010e 67e0c15c store 1 ,mem_otp_dpll_ibais_x 
-010f 2feffe03 isolate1 3 ,pdata 
-0110 6ff08a06 fetch 1 ,0x8a06 
-0111 7920fe07 setflag true ,7 ,pdata 
-0112 67f08a06 store 1 ,0x8a06 
-0113 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
-0114 1fe10407 and pdata ,7 ,temp 
-0115 18520400 lshift4 temp ,temp 
-0116 18438400 lshift temp ,temp 
-0117 6048c438 storet 1 ,mem_ring_ibias_trim 
-0118 6ff08a02 fetch 1 ,0x8a02 
-0119 1fe17e1f and pdata ,0x1f ,pdata 
-011a 9841fe00 ior temp ,pdata 
-011b 67f08a02 store 1 ,0x8a02 
-011c 20600000 rtn 
+0108 6ff08acb fetch 1 ,0x8acb 
+0109 1fe17ef0 and pdata ,0xf0 ,pdata 
+010a 6848820f fetcht 1 ,mem_otp_charge_pump 
+010b 6048c15b storet 1 ,mem_otp_charge_pump_x 
+010c 9841fe00 ior temp ,pdata 
+010d 67f08acb store 1 ,0x8acb 
+010e 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
+010f 67e0c15c store 1 ,mem_otp_dpll_ibais_x 
+0110 2feffe03 isolate1 3 ,pdata 
+0111 6ff08a06 fetch 1 ,0x8a06 
+0112 7920fe07 setflag true ,7 ,pdata 
+0113 67f08a06 store 1 ,0x8a06 
+0114 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
+0115 1fe10407 and pdata ,7 ,temp 
+0116 18520400 lshift4 temp ,temp 
+0117 18438400 lshift temp ,temp 
+0118 6048c438 storet 1 ,mem_ring_ibias_trim 
+0119 6ff08a02 fetch 1 ,0x8a02 
+011a 1fe17e1f and pdata ,0x1f ,pdata 
+011b 9841fe00 ior temp ,pdata 
+011c 67f08a02 store 1 ,0x8a02 
+011d 20600000 rtn 
 
 p_set_otp_config_wake:
-011d 6fe1415b fetch 2 ,mem_otp_charge_pump_x 
-011e 207a0000 rtn blank 
-011f 67e1020f store 2 ,mem_otp_charge_pump 
-0120 20200107 branch p_set_otp_config2 
+011e 6fe1415b fetch 2 ,mem_otp_charge_pump_x 
+011f 207a0000 rtn blank 
+0120 67e1020f store 2 ,mem_otp_charge_pump 
+0121 20200108 branch p_set_otp_config2 
 
 p_rf_rx_enable:
-0121 2040686f call rf_debug_rx_gpio_high 
-0122 204021ba call rf_rx_agc_set 
-0123 18002a08 force 8 ,radio_ctrl 
-0124 18002a00 force 0 ,radio_ctrl 
-0125 580aaada setarg 0x0aaada 
-0126 67f18a0f store 3 ,0x8a0f 
-0127 708a2540 jam 0x40 ,0x8a25 
-0128 708a2610 jam 0x10 ,0x8a26 
-0129 2000003c nop 60 
-012a 708a01fb jam 0xfb ,0x8a01 
-012b 708a25ff jam 0xff ,0x8a25 
-012c 708a2630 jam 0x30 ,0x8a26 
-012d 708a16fe jam 0xfe ,0x8a16 
-012e 202021b4 branch rf_rx_enable + 14 
+0122 2040686f call rf_debug_rx_gpio_high 
+0123 204021ba call rf_rx_agc_set 
+0124 18002a08 force 8 ,radio_ctrl 
+0125 18002a00 force 0 ,radio_ctrl 
+0126 580aaada setarg 0x0aaada 
+0127 67f18a0f store 3 ,0x8a0f 
+0128 708a2540 jam 0x40 ,0x8a25 
+0129 708a2610 jam 0x10 ,0x8a26 
+012a 2000003c nop 60 
+012b 708a01fb jam 0xfb ,0x8a01 
+012c 708a25ff jam 0xff ,0x8a25 
+012d 708a2630 jam 0x30 ,0x8a26 
+012e 708a16fe jam 0xfe ,0x8a16 
+012f 202021b4 branch rf_rx_enable + 14 
 
 p_txon:
-012f 580aaa7e setarg 0x0aaa7e 
-0130 67f18a0f store 3 ,0x8a0f 
-0131 2000003c nop 60 
-0132 708a2500 jam 0x00 ,0x8a25 
-0133 708a260d jam 0x0d ,0x8a26 
-0134 708a16f6 jam 0xf6 ,0x8a16 
-0135 20202203 branch txon + 7 
+0130 580aaa7e setarg 0x0aaa7e 
+0131 67f18a0f store 3 ,0x8a0f 
+0132 2000003c nop 60 
+0133 708a2500 jam 0x00 ,0x8a25 
+0134 708a260d jam 0x0d ,0x8a26 
+0135 708a16f6 jam 0xf6 ,0x8a16 
+0136 20202203 branch txon + 7 
 
 p_otp_read_data:
-0136 20406b3a call enable_otp_read 
-0137 20406b75 call otp_read_data + 1 
-0138 20206b38 branch otp_disable_chgpump 
+0137 20406b3a call enable_otp_read 
+0138 20406b75 call otp_read_data + 1 
+0139 20206b38 branch otp_disable_chgpump 
 
 p_app_init:
-0139 70807dc0 jam 0xc0 ,0x807d 
-013a 7080d6c0 jam 0xc0 ,0x80d6 
-013b 20407396 call enable_authrom 
+013a 70807dc0 jam 0xc0 ,0x807d 
+013b 7080d6c0 jam 0xc0 ,0x80d6 
+013c 20407396 call enable_authrom 
 
 p_shutter_init:
-013c 6fe144e9 fetch 2 ,mem_ui_state_map 
-013d c3848000 rtnbit1 ui_state_ble_connected 
-013e c51a0090 bmark1 mark_shutter_long_sleep ,p_shutter_clean_long_wake 
-013f 20758000 rtn wake 
+013d 6fe144e9 fetch 2 ,mem_ui_state_map 
+013e c3848000 rtnbit1 ui_state_ble_connected 
+013f c51a0090 bmark1 mark_shutter_long_sleep ,p_shutter_clean_long_wake 
+0140 20758000 rtn wake 
 
 p_shutter_init_next:
-0140 58000014 setarg 0x14 
-0141 67e0c51d store 1 ,mem_shutter_soft_switch_poweron_time 
-0142 204063d9 call shutter_default_init 
-0143 7040a60a jam 0x0a ,mem_lpm_overhead 
-0144 5800000a setarg 0x000a 
-0145 67e144f6 store 2 ,mem_ble_shutter_reconn_timeout 
-0146 58000090 setarg 0x0090 
-0147 67e144f2 store 2 ,mem_ble_shutter_reconn_adv_interval 
-0148 58000140 setarg 0x0140 
-0149 67e144f4 store 2 ,mem_ble_shutter_discovery_adv_interval 
-014a 67e14389 store 2 ,mem_le_adv_interval 
-014b 6fe44f40 fetch 8 ,mem_ble_shutter_dy_interval_min_new 
-014c 67e4450a store 8 ,mem_ble_shutter_interval_min_new 
-014d 6fe4489e fetch 8 ,mem_shutter_discovery_time_conf 
-014e 67e44512 store 8 ,mem_ble_shutter_discovery_timeout 
-014f 6fe448a6 fetch 8 ,mem_shutter_reconn_or_discovery_blink_time_conf 
-0150 67e444fa store 8 ,mem_ble_shutter_reconn_blink_on_time 
-0151 58006327 setarg shutter_process_idle 
-0152 67e143db store 2 ,mem_cb_idle_process 
-0153 58000285 setarg p_shutter_process_bb_event 
-0154 67e143dd store 2 ,mem_cb_bb_event_process 
-0155 5800638a setarg ble_shutter_receive_data 
-0156 67e143df store 2 ,mem_cb_att_write 
-0157 580002ac setarg p_shutter_le_bb_event_timer 
-0158 67e143e3 store 2 ,mem_cb_event_timer 
-0159 58000182 setarg p_shutter_key_change 
-015a 67e14524 store 2 ,mem_cb_shutter_keycan 
-015b 58000172 setarg p_shutter_le_before_hibernate 
-015c 67e143d5 store 2 ,mem_cb_before_hibernate 
-015d 204062c4 call shutter_common_init + 2 
-015e 20406396 call shutter_load_buffer_config_form_datarom 
+0141 204070d7 call wdt_set_disable 
+0142 58000014 setarg 0x14 
+0143 67e0c51d store 1 ,mem_shutter_soft_switch_poweron_time 
+0144 204063d9 call shutter_default_init 
+0145 7040a60a jam 0x0a ,mem_lpm_overhead 
+0146 5800000a setarg 0x000a 
+0147 67e144f6 store 2 ,mem_ble_shutter_reconn_timeout 
+0148 58000090 setarg 0x0090 
+0149 67e144f2 store 2 ,mem_ble_shutter_reconn_adv_interval 
+014a 58000140 setarg 0x0140 
+014b 67e144f4 store 2 ,mem_ble_shutter_discovery_adv_interval 
+014c 67e14389 store 2 ,mem_le_adv_interval 
+014d 6fe44f40 fetch 8 ,mem_ble_shutter_dy_interval_min_new 
+014e 67e4450a store 8 ,mem_ble_shutter_interval_min_new 
+014f 6fe4489e fetch 8 ,mem_shutter_discovery_time_conf 
+0150 67e44512 store 8 ,mem_ble_shutter_discovery_timeout 
+0151 6fe448a6 fetch 8 ,mem_shutter_reconn_or_discovery_blink_time_conf 
+0152 67e444fa store 8 ,mem_ble_shutter_reconn_blink_on_time 
+0153 58000174 setarg p_shutter_process_idle 
+0154 67e143db store 2 ,mem_cb_idle_process 
+0155 58000294 setarg p_shutter_process_bb_event 
+0156 67e143dd store 2 ,mem_cb_bb_event_process 
+0157 5800638a setarg ble_shutter_receive_data 
+0158 67e143df store 2 ,mem_cb_att_write 
+0159 580002bb setarg p_shutter_le_bb_event_timer 
+015a 67e143e3 store 2 ,mem_cb_event_timer 
+015b 58000187 setarg p_shutter_key_change 
+015c 67e14524 store 2 ,mem_cb_shutter_keycan 
+015d 58000177 setarg p_shutter_le_before_hibernate 
+015e 67e143d5 store 2 ,mem_cb_before_hibernate 
+015f 204062c4 call shutter_common_init + 2 
+0160 20406396 call shutter_load_buffer_config_form_datarom 
 
 p_shutter_power_switch:
-015f 6fe0c51a fetch 1 ,mem_shutter_hard_soft_switch_case 
-0160 c00062d0 beq hard_switch ,shutter_hart_swtich_power_on 
-0161 6fe144e9 fetch 2 ,mem_ui_state_map 
-0162 c3860000 rtnbit1 ui_state_btn_down 
-0163 6fe0c8ce fetch 1 ,mem_le_shutter_long_press_flag 
-0164 c0008297 beq 1 ,p_shutter_work_start 
-0165 6fe0c51b fetch 1 ,mem_shutter_soft_switch_button_gpio 
-0166 67e0c4ec store 1 ,mem_ui_button_gpio 
+0161 6fe0c51a fetch 1 ,mem_shutter_hard_soft_switch_case 
+0162 c00062d0 beq hard_switch ,shutter_hart_swtich_power_on 
+0163 6fe144e9 fetch 2 ,mem_ui_state_map 
+0164 c3860000 rtnbit1 ui_state_btn_down 
+0165 6fe0c8ce fetch 1 ,mem_le_shutter_long_press_flag 
+0166 c00082a6 beq 1 ,p_shutter_work_start 
+0167 6fe0c51b fetch 1 ,mem_shutter_soft_switch_button_gpio 
+0168 67e0c4ec store 1 ,mem_ui_button_gpio 
 
 p_ui_soft_swtich_init:
-0167 58000000 setarg ss_state_power_up 
-0168 204001b0 call p_ui_soft_swtich_init_power_on_time 
-0169 7044e401 jam ui_button_state_up ,mem_ui_button_last_state 
-016a 20407776 call ui_button_init 
+0169 58000000 setarg ss_state_power_up 
+016a 204001b5 call p_ui_soft_swtich_init_power_on_time 
+016b 7044e401 jam ui_button_state_up ,mem_ui_button_last_state 
+016c 20407776 call ui_button_init 
 
 p_ui_soft_switch_first_power_on:
-016b 6fe0c6d0 fetch 1 ,mem_shutter_soft_switch_first_power_on 
-016c 203a016f branch p_ui_soft_swtich_init_next ,blank 
-016d 6ff08132 fetch 1 ,core_lpm_isogate 
-016e c28263b9 bbit1 cold_wake ,ui_soft_switch_power_on 
+016d 6fe0c6d0 fetch 1 ,mem_shutter_soft_switch_first_power_on 
+016e 203a0171 branch p_ui_soft_swtich_init_next ,blank 
+016f 6ff08132 fetch 1 ,core_lpm_isogate 
+0170 c28263b9 bbit1 cold_wake ,ui_soft_switch_power_on 
 
 p_ui_soft_swtich_init_next:
-016f 6fe144e9 fetch 2 ,mem_ui_state_map 
-0170 c3860000 rtnbit1 ui_state_btn_down 
-0171 20204327 branch app_enter_hibernate 
+0171 6fe144e9 fetch 2 ,mem_ui_state_map 
+0172 c3860000 rtnbit1 ui_state_btn_down 
+0173 20204327 branch app_enter_hibernate 
+
+p_shutter_process_idle:
+0174 dfe0000a arg 10 ,pdata 
+0175 204070c8 call wdt_init_config 
+0176 20206327 branch shutter_process_idle 
 
 p_shutter_le_before_hibernate:
-0172 20406f35 call gpio_set_before_lpm 
-0173 6848c51b fetcht 1 ,mem_shutter_soft_switch_button_gpio 
-0174 793f8407 set0 gpio_active_bit ,temp 
-0175 20406edd call gpio_config_input 
-0176 6848c51b fetcht 1 ,mem_shutter_soft_switch_button_gpio 
-0177 793f8407 set0 gpio_active_bit ,temp 
-0178 20406eb6 call gpio_set_wake 
-0179 2020739a branch disable_authrom 
+0177 20406f35 call gpio_set_before_lpm 
+0178 6848c51b fetcht 1 ,mem_shutter_soft_switch_button_gpio 
+0179 793f8407 set0 gpio_active_bit ,temp 
+017a 20406edd call gpio_config_input 
+017b 6848c51b fetcht 1 ,mem_shutter_soft_switch_button_gpio 
+017c 793f8407 set0 gpio_active_bit ,temp 
+017d 20406eb6 call gpio_set_wake 
+017e 2020739a branch disable_authrom 
 
 p_ble_shutter_pair_success:
-017a 7048b101 jam 1 ,mem_shutter_ble_connect_flag 
-017b 20600000 rtn 
+017f 7048b101 jam 1 ,mem_shutter_ble_connect_flag 
+0180 20600000 rtn 
 
 p_ble_shutter_process_reconnect_complete:
-017c 7048b101 jam 1 ,mem_shutter_ble_connect_flag 
-017d 202062e9 branch ble_shutter_process_reconnect_complete 
+0181 7048b101 jam 1 ,mem_shutter_ble_connect_flag 
+0182 202062e9 branch ble_shutter_process_reconnect_complete 
 
 p_ble_shutter_process_baseband_disconnect:
-017e 7048b100 jam 0 ,mem_shutter_ble_connect_flag 
-017f 204078ad call queue_init 
-0180 7044f100 jam 0 ,mem_ble_shutter_enable_notify 
-0181 20206340 branch shutter_start_reconnect 
+0183 7048b100 jam 0 ,mem_shutter_ble_connect_flag 
+0184 204078ad call queue_init 
+0185 7044f100 jam 0 ,mem_ble_shutter_enable_notify 
+0186 20206340 branch shutter_start_reconnect 
 
 p_shutter_key_change:
-0182 2040635d call shutter_check_send_data 
-0183 24760000 nrtn user2 
-0184 1a227e00 deposit rega 
-0185 203a0189 branch p_shutter_key_release ,blank 
+0187 2040635d call shutter_check_send_data 
+0188 24760000 nrtn user2 
+0189 1a227e00 deposit rega 
+018a 203a018e branch p_shutter_key_release ,blank 
 
 p_shutter_key_press:
-0186 7048cf00 jam 0 ,mem_shutter_release_flag 
-0187 20404323 call app_led_on 
-0188 20200196 branch p_le_get_release_ptr_volume 
+018b 7048cf00 jam 0 ,mem_shutter_release_flag 
+018c 20404323 call app_led_on 
+018d 2020019b branch p_le_get_release_ptr_volume 
 
 p_shutter_key_release:
-0189 7048cf01 jam 1 ,mem_shutter_release_flag 
-018a 7048af00 jam 0 ,mem_shutter_long_press_flag 
-018b 20404325 call app_led_off 
-018c da604556 arg mem_key0_release ,regc 
+018e 7048cf01 jam 1 ,mem_shutter_release_flag 
+018f 7048af00 jam 0 ,mem_shutter_long_press_flag 
+0190 20404325 call app_led_off 
+0191 da604556 arg mem_key0_release ,regc 
 
 p_push_queue_press_or_release:
-018d dfe00005 arg max_queue_num ,pdata 
-018e 98effe00 imul32 queue ,pdata 
-018f 9a60a600 iadd regc ,regc 
+0192 dfe00005 arg max_queue_num ,pdata 
+0193 98effe00 imul32 queue ,pdata 
+0194 9a60a600 iadd regc ,regc 
 
 p_push_buffer_in_queue:
-0190 6fe0c8af fetch 1 ,mem_shutter_long_press_flag 
-0191 247a0000 nrtn blank 
+0195 6fe0c8af fetch 1 ,mem_shutter_long_press_flag 
+0196 247a0000 nrtn blank 
 
 p_push_buffer_in_queue_before:
-0192 6fe0c8cf fetch 1 ,mem_shutter_release_flag 
-0193 243a0195 nbranch p_push_buffer_in_queue_next ,blank 
-0194 7048af01 jam 1 ,mem_shutter_long_press_flag 
+0197 6fe0c8cf fetch 1 ,mem_shutter_release_flag 
+0198 243a019a nbranch p_push_buffer_in_queue_next ,blank 
+0199 7048af01 jam 1 ,mem_shutter_long_press_flag 
 
 p_push_buffer_in_queue_next:
-0195 20206371 branch push_buffer_in_queue 
+019a 20206371 branch push_buffer_in_queue 
 
 p_le_get_release_ptr_volume:
-0196 6fe0c8b0 fetch 1 ,mem_shutter_key_count 
-0197 79407e00 setflip 0 ,pdata 
-0198 67e0c8b0 store 1 ,mem_shutter_key_count 
-0199 c00001a6 beq 0 ,p_key_release_set_volume_dec 
-019a c000819c beq 1 ,p_key_release_set_volume_inc 
-019b 20600000 rtn 
+019b 6fe0c8b0 fetch 1 ,mem_shutter_key_count 
+019c 79407e00 setflip 0 ,pdata 
+019d 67e0c8b0 store 1 ,mem_shutter_key_count 
+019e c00001ab beq 0 ,p_key_release_set_volume_dec 
+019f c00081a1 beq 1 ,p_key_release_set_volume_inc 
+01a0 20600000 rtn 
 
 p_key_release_set_volume_inc:
-019c 58000000 setarg 0x0000 
-019d 67e1452e store 2 ,mem_key0_press 
-019e 58000001 setarg 0x0001 
-019f 67e14533 store 2 ,mem_key1_press 
-01a0 58000601 setarg 0x0601 
-01a1 67e14556 store 2 ,mem_key0_release 
-01a2 58000006 setarg 0x0006 
-01a3 67e1455b store 2 ,mem_key1_release 
-01a4 da60452e arg mem_key0_press ,regc 
-01a5 2020018d branch p_push_queue_press_or_release 
+01a1 58000000 setarg 0x0000 
+01a2 67e1452e store 2 ,mem_key0_press 
+01a3 58000001 setarg 0x0001 
+01a4 67e14533 store 2 ,mem_key1_press 
+01a5 58000601 setarg 0x0601 
+01a6 67e14556 store 2 ,mem_key0_release 
+01a7 58000006 setarg 0x0006 
+01a8 67e1455b store 2 ,mem_key1_release 
+01a9 da60452e arg mem_key0_press ,regc 
+01aa 20200192 branch p_push_queue_press_or_release 
 
 p_key_release_set_volume_dec:
-01a6 58000000 setarg 0x0000 
-01a7 67e1452e store 2 ,mem_key0_press 
-01a8 58000002 setarg 0x0002 
-01a9 67e14533 store 2 ,mem_key1_press 
-01aa 58000602 setarg 0x0602 
-01ab 67e14556 store 2 ,mem_key0_release 
-01ac 58000006 setarg 0x0006 
-01ad 67e1455b store 2 ,mem_key1_release 
-01ae da60452e arg mem_key0_press ,regc 
-01af 2020018d branch p_push_queue_press_or_release 
+01ab 58000000 setarg 0x0000 
+01ac 67e1452e store 2 ,mem_key0_press 
+01ad 58000002 setarg 0x0002 
+01ae 67e14533 store 2 ,mem_key1_press 
+01af 58000602 setarg 0x0602 
+01b0 67e14556 store 2 ,mem_key0_release 
+01b1 58000006 setarg 0x0006 
+01b2 67e1455b store 2 ,mem_key1_release 
+01b3 da60452e arg mem_key0_press ,regc 
+01b4 20200192 branch p_push_queue_press_or_release 
 
 p_ui_soft_swtich_init_power_on_time:
-01b0 68494430 fetcht 2 ,mem_power_param_ptr 
-01b1 e7e08002 istore 1 ,temp 
-01b2 efe08005 ifetch 1 ,contw 
-01b3 67e0c4eb store 1 ,mem_ui_button_timeout 
-01b4 20600000 rtn 
+01b5 68494430 fetcht 2 ,mem_power_param_ptr 
+01b6 e7e08002 istore 1 ,temp 
+01b7 efe08005 ifetch 1 ,contw 
+01b8 67e0c4eb store 1 ,mem_ui_button_timeout 
+01b9 20600000 rtn 
 
 p_rx_dcoc:
-01b5 20758000 rtn wake 
-01b6 20402160 call set_sync_on 
-01b7 d8400027 arg 39 ,temp 
-01b8 2040216f call set_freq_rx 
-01b9 204021a6 call rf_rx_enable 
-01ba 708a257f jam 0x7f ,0x8a25 
-01bb 708a301a jam 0x1a ,0x8a30 
-01bc 708a3178 jam 0x78 ,0x8a31 
-01bd 708a8fb2 jam 0xb2 ,0x8a8f 
-01be 708ac200 jam 0 ,0x8ac2 
-01bf 708ac300 jam 0 ,0x8ac3 
-01c0 d8e00006 arg 6 ,queue 
-01c1 204001d2 call p_rx_dcoc_avg 
-01c2 2a2ffe0d isolate1 13 ,rega 
-01c3 2040211d call qset_start 
-01c4 2a4ffe0d isolate1 13 ,regb 
-01c5 2040211e call qset_p 
-01c6 d8e00005 arg 5 ,queue 
+01ba 20758000 rtn wake 
+01bb 20402160 call set_sync_on 
+01bc d8400027 arg 39 ,temp 
+01bd 2040216f call set_freq_rx 
+01be 204021a6 call rf_rx_enable 
+01bf 708a257f jam 0x7f ,0x8a25 
+01c0 708a301a jam 0x1a ,0x8a30 
+01c1 708a3178 jam 0x78 ,0x8a31 
+01c2 708a8fb2 jam 0xb2 ,0x8a8f 
+01c3 708ac200 jam 0 ,0x8ac2 
+01c4 708ac300 jam 0 ,0x8ac3 
+01c5 d8e00006 arg 6 ,queue 
+01c6 204001d7 call p_rx_dcoc_avg 
+01c7 2a2ffe0d isolate1 13 ,rega 
+01c8 2040211d call qset_start 
+01c9 2a4ffe0d isolate1 13 ,regb 
+01ca 2040211e call qset_p 
+01cb d8e00005 arg 5 ,queue 
 
 p_rx_dcoc_loop2:
-01c7 2040211c call qset1_p 
-01c8 2040211e call qset_p 
-01c9 204001d2 call p_rx_dcoc_avg 
-01ca d8a08ac2 arg 0x8ac2 ,contw 
-01cb 1a31fe00 rshift4 rega ,pdata 
-01cc 20402117 call qsetxor 
-01cd 1a51fe00 rshift4 regb ,pdata 
-01ce 20402117 call qsetxor 
-01cf 18e08fff increase -1 ,queue 
-01d0 202101c7 branch p_rx_dcoc_loop2 ,positive 
-01d1 2020214f branch rx_dcoc_loop2 + 10 
+01cc 2040211c call qset1_p 
+01cd 2040211e call qset_p 
+01ce 204001d7 call p_rx_dcoc_avg 
+01cf d8a08ac2 arg 0x8ac2 ,contw 
+01d0 1a31fe00 rshift4 rega ,pdata 
+01d1 20402117 call qsetxor 
+01d2 1a51fe00 rshift4 regb ,pdata 
+01d3 20402117 call qsetxor 
+01d4 18e08fff increase -1 ,queue 
+01d5 202101cc branch p_rx_dcoc_loop2 ,positive 
+01d6 2020214f branch rx_dcoc_loop2 + 10 
 
 p_rx_dcoc_avg:
-01d2 2000003c nop 60 
-01d3 58000f00 setarg mem_dcoc_buf 
-01d4 67f10982 store 2 ,0x8982 
-01d5 58000ff0 setarg mem_dcoc_buf_end 
-01d6 67f10984 store 2 ,0x8984 
-01d7 70898109 jam 0x9 ,0x8981 
-01d8 70898103 jam 0x3 ,0x8981 
-01d9 70898006 jam 0x6 ,0x8980 
-01da 2000003c nop 60 
-01db da200000 arg 0 ,rega 
-01dc da400000 arg 0 ,regb 
-01dd df200010 arg 16 ,loopcnt 
-01de d8c00f00 arg mem_dcoc_buf ,contr 
-01df 2020212d branch rx_dcoc_loop 
+01d7 2000003c nop 60 
+01d8 58000f00 setarg mem_dcoc_buf 
+01d9 67f10982 store 2 ,0x8982 
+01da 58000ff0 setarg mem_dcoc_buf_end 
+01db 67f10984 store 2 ,0x8984 
+01dc 70898109 jam 0x9 ,0x8981 
+01dd 70898103 jam 0x3 ,0x8981 
+01de 70898006 jam 0x6 ,0x8980 
+01df 2000003c nop 60 
+01e0 da200000 arg 0 ,rega 
+01e1 da400000 arg 0 ,regb 
+01e2 df200010 arg 16 ,loopcnt 
+01e3 d8c00f00 arg mem_dcoc_buf ,contr 
+01e4 2020212d branch rx_dcoc_loop 
 
 p_rfpll_aac_ghpc:
-01e0 20758000 rtn wake 
-01e1 20202272 branch rfpll_aac_ghpc + 1 
+01e5 20758000 rtn wake 
+01e6 20202272 branch rfpll_aac_ghpc + 1 
 
 p_dpll_ring_ibias_calc:
-01e2 20600000 rtn 
+01e7 20600000 rtn 
 
 p_sadc_calibration:
-01e3 20758000 rtn wake 
-01e4 708a0777 jam 0x77 ,core_gpadc_ctrl 
-01e5 708a08c9 jam 0xc9 ,core_gpadc_cfg0 
-01e6 708a0b01 jam 0x01 ,core_gpadc_cfg3 
-01e7 6fe0c409 fetch 1 ,mem_adc_clkdiv 
-01e8 67f080cd store 1 ,core_sadc_clkdiv 
-01e9 20000bb8 nop 3000 
-01ea 2040020b call p_sadc_read 
-01eb 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
-01ec 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
-01ed df200008 arg 8 ,loopcnt 
-01ee 20406f58 call sadc_cal_read + 1 
-01ef 6fe0c419 fetch 1 ,mem_spi_write_addr 
-01f0 67e0c433 store 1 ,mem_adc_cal_c7 
-01f1 6240c419 storer regb ,1 ,mem_spi_write_addr 
-01f2 20600000 rtn 
+01e8 20758000 rtn wake 
+01e9 708a0777 jam 0x77 ,core_gpadc_ctrl 
+01ea 708a08c9 jam 0xc9 ,core_gpadc_cfg0 
+01eb 708a0b01 jam 0x01 ,core_gpadc_cfg3 
+01ec 6fe0c409 fetch 1 ,mem_adc_clkdiv 
+01ed 67f080cd store 1 ,core_sadc_clkdiv 
+01ee 20000bb8 nop 3000 
+01ef 20400210 call p_sadc_read 
+01f0 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
+01f1 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
+01f2 df200008 arg 8 ,loopcnt 
+01f3 20406f58 call sadc_cal_read + 1 
+01f4 6fe0c419 fetch 1 ,mem_spi_write_addr 
+01f5 67e0c433 store 1 ,mem_adc_cal_c7 
+01f6 6240c419 storer regb ,1 ,mem_spi_write_addr 
+01f7 20600000 rtn 
 
 p_enable_adc:
-01f3 20400201 call p_sadc_cal_write 
-01f4 6ff08a09 fetch 1 ,core_gpadc_cfg1 
-01f5 793ffe07 set0 7 ,pdata 
-01f6 67f08a09 store 1 ,core_gpadc_cfg1 
-01f7 708a0777 jam 0x77 ,core_gpadc_ctrl 
-01f8 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
-01f9 708a0b01 jam 0x01 ,core_gpadc_cfg3 
-01fa 20406f90 call sadc_channel 
-01fb 6fe0c409 fetch 1 ,mem_adc_clkdiv 
-01fc 67f080cd store 1 ,core_sadc_clkdiv 
-01fd 20000bb8 nop 3000 
-01fe 2040020b call p_sadc_read 
-01ff 7080cd00 jam 0 ,core_sadc_clkdiv 
-0200 20206fa1 branch sadc_dma 
+01f8 20400206 call p_sadc_cal_write 
+01f9 6ff08a09 fetch 1 ,core_gpadc_cfg1 
+01fa 793ffe07 set0 7 ,pdata 
+01fb 67f08a09 store 1 ,core_gpadc_cfg1 
+01fc 708a0777 jam 0x77 ,core_gpadc_ctrl 
+01fd 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
+01fe 708a0b01 jam 0x01 ,core_gpadc_cfg3 
+01ff 20406f90 call sadc_channel 
+0200 6fe0c409 fetch 1 ,mem_adc_clkdiv 
+0201 67f080cd store 1 ,core_sadc_clkdiv 
+0202 20000bb8 nop 3000 
+0203 20400210 call p_sadc_read 
+0204 7080cd00 jam 0 ,core_sadc_clkdiv 
+0205 20206fa1 branch sadc_dma 
 
 p_sadc_cal_write:
-0201 6ff080cc fetch 1 ,core_sadc_ctrl 
-0202 79207e01 set1 1 ,pdata 
-0203 67f080cc store 1 ,core_sadc_ctrl 
-0204 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
-0205 6fe0c433 fetch 1 ,mem_adc_cal_c7 
-0206 67e0c419 store 1 ,mem_spi_write_addr 
-0207 df200008 arg 8 ,loopcnt 
-0208 20406f67 call sadc_cal_write + 4 
-0209 6240c419 storer regb ,1 ,mem_spi_write_addr 
-020a 20600000 rtn 
+0206 6ff080cc fetch 1 ,core_sadc_ctrl 
+0207 79207e01 set1 1 ,pdata 
+0208 67f080cc store 1 ,core_sadc_ctrl 
+0209 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
+020a 6fe0c433 fetch 1 ,mem_adc_cal_c7 
+020b 67e0c419 store 1 ,mem_spi_write_addr 
+020c df200008 arg 8 ,loopcnt 
+020d 20406f67 call sadc_cal_write + 4 
+020e 6240c419 storer regb ,1 ,mem_spi_write_addr 
+020f 20600000 rtn 
 
 p_sadc_read:
-020b 7080cc03 jam 0x03 ,core_sadc_ctrl 
+0210 7080cc03 jam 0x03 ,core_sadc_ctrl 
 
 p_sadc_read_wait:
-020c 6ff08129 fetch 1 ,core_perf_status 
-020d c302820c bbit0 saradc_done ,p_sadc_read_wait 
-020e 68590164 fetcht 2 ,core_sadc_data 
-020f 6049440a storet 2 ,mem_adc_current_value 
-0210 7080cc00 jam 0x00 ,core_sadc_ctrl 
-0211 20600000 rtn 
+0211 6ff08129 fetch 1 ,core_perf_status 
+0212 c3028211 bbit0 saradc_done ,p_sadc_read_wait 
+0213 68590164 fetcht 2 ,core_sadc_data 
+0214 6049440a storet 2 ,mem_adc_current_value 
+0215 7080cc00 jam 0x00 ,core_sadc_ctrl 
+0216 20600000 rtn 
 
 p_set_lemode:
-0212 708a8211 jam 0x11 ,0x8a82 
-0213 708a8d12 jam 0x12 ,0x8a8d 
-0214 708a8e0a jam 0x0a ,0x8a8e 
-0215 6fe0c099 fetch 1 ,mem_fcomp_div 
-0216 c008022b beq xtal_16m ,p_set_lemode_2m_16m 
-0217 58005762 setarg 0x5762 
-0218 67f10907 store 2 ,0x8907 
+0217 708a8211 jam 0x11 ,0x8a82 
+0218 708a8d12 jam 0x12 ,0x8a8d 
+0219 708a8e0a jam 0x0a ,0x8a8e 
+021a 6fe0c099 fetch 1 ,mem_fcomp_div 
+021b c0080230 beq xtal_16m ,p_set_lemode_2m_16m 
+021c 58005762 setarg 0x5762 
+021d 67f10907 store 2 ,0x8907 
 
 p_set_lemode_2m:
-0219 70890103 jam 3 ,0x8901 
-021a 70893003 jam 3 ,0x8930 
-021b c6168000 rtnmark1 mark_ble_2m 
-021c 70890101 jam 1 ,0x8901 
-021d 708a8207 jam 0x07 ,0x8a82 
-021e 708a8d44 jam 0x44 ,0x8a8d 
-021f 708a8e0a jam 0x0a ,0x8a8e 
-0220 6fe0c099 fetch 1 ,mem_fcomp_div 
-0221 c0080228 beq xtal_16m ,p_set_lemode_1m_16m 
-0222 58002bb1 setarg 0x2bb1 
-0223 67f10907 store 2 ,0x8907 
+021e 70890103 jam 3 ,0x8901 
+021f 70893003 jam 3 ,0x8930 
+0220 c6168000 rtnmark1 mark_ble_2m 
+0221 70890101 jam 1 ,0x8901 
+0222 708a8207 jam 0x07 ,0x8a82 
+0223 708a8d44 jam 0x44 ,0x8a8d 
+0224 708a8e0a jam 0x0a ,0x8a8e 
+0225 6fe0c099 fetch 1 ,mem_fcomp_div 
+0226 c008022d beq xtal_16m ,p_set_lemode_1m_16m 
+0227 58002bb1 setarg 0x2bb1 
+0228 67f10907 store 2 ,0x8907 
 
 p_set_lemode_1m:
-0224 c6978000 rtnmark0 mark_ble_lr 
-0225 70893024 jam 0x24 ,0x8930 
-0226 70890105 jam 5 ,0x8901 
-0227 20600000 rtn 
+0229 c6978000 rtnmark0 mark_ble_lr 
+022a 70893024 jam 0x24 ,0x8930 
+022b 70890105 jam 5 ,0x8901 
+022c 20600000 rtn 
 
 p_set_lemode_1m_16m:
-0228 58004189 setarg 0x4189 
-0229 67f10907 store 2 ,0x8907 
-022a 20200224 branch p_set_lemode_1m 
+022d 58004189 setarg 0x4189 
+022e 67f10907 store 2 ,0x8907 
+022f 20200229 branch p_set_lemode_1m 
 
 p_set_lemode_2m_16m:
-022b 58008312 setarg 0x8312 
-022c 67f10907 store 2 ,0x8907 
-022d 20200219 branch p_set_lemode_2m 
+0230 58008312 setarg 0x8312 
+0231 67f10907 store 2 ,0x8907 
+0232 2020021e branch p_set_lemode_2m 
 
 p_le_parse:
-022e 6fe0c334 fetch 1 ,mem_le_packet_llid 
-022f c1000000 rtneq llid_reserved 
-0230 c001b04a beq llid_le_ll ,le_parse_ll 
-0231 202028e1 branch le_parse_l2cap 
+0233 6fe0c334 fetch 1 ,mem_le_packet_llid 
+0234 c1000000 rtneq llid_reserved 
+0235 c001b04a beq llid_le_ll ,le_parse_ll 
+0236 202028e1 branch le_parse_l2cap 
 
 p_le_init_adv:
-0232 793f8030 set0 mark_ble_crc_fail ,mark 
-0233 20202af6 branch le_init_adv + 1 
+0237 793f8030 set0 mark_ble_crc_fail ,mark 
+0238 20202af6 branch le_init_adv + 1 
 
 p_lpm_sleep:
-0234 6fe143e9 fetch 2 ,mem_cb_before_lpm_sleep 
-0235 20407d79 call callback_func 
+0239 6fe143e9 fetch 2 ,mem_cb_before_lpm_sleep 
+023a 20407d79 call callback_func 
 
 p_lpm_sleep_skip_cb_function:
-0236 6fe240ad fetch 4 ,mem_sleep_counter_all 
-0237 9840fe00 iadd temp ,pdata 
-0238 67e240ad store 4 ,mem_sleep_counter_all 
-0239 2040023b call p_lpm_save_context 
-023a 20202425 branch lpm_sleep_skip_cb_function + 4 
+023b 6fe240ad fetch 4 ,mem_sleep_counter_all 
+023c 9840fe00 iadd temp ,pdata 
+023d 67e240ad store 4 ,mem_sleep_counter_all 
+023e 2040024a call p_lpm_save_context 
+023f 6fe0c0cb fetch 1 ,mem_lpm_hv_sel 
+0240 79207e04 set1 lpm_doze_en_bit ,pdata 
+0241 204023e1 call lpm_write_sel_hv 
+0242 2455a3cb ncall lpm_preon_counter ,wake 
+0243 37d98200 until null ,lpo_edge 
+0244 1b227e00 copy clkn ,pdata 
+0245 67e340b1 store 6 ,mem_sleep_clkn 
+0246 6fe1c0c6 fetch 3 ,mem_lpm_isogate 
+0247 6a20c0c9 fetchr rega ,1 ,mem_lpm_ldo_sel 
+0248 df200003 arg 3 ,loopcnt 
+0249 2020242e branch lpm_sleep_loop 
 
 p_lpm_save_context:
-023b 600440e7 storer mark ,8 ,mem_saved_mark 
-023c d8c08070 arg core_gpio_conf ,contr 
-023d d8a040cc arg mem_saved_gpio ,contw 
-023e 20407c8f call memcpy16 
-023f d8c080d4 arg core_gpio_conf_hi ,contr 
-0240 20407c89 call memcpy8 
-0241 6ff08080 fetch 1 ,core_spid_ctrl 
-0242 67e0c0ef store 1 ,mem_saved_spidctrl 
-0243 18422400 copy temp ,regb 
+024a 600440e7 storer mark ,8 ,mem_saved_mark 
+024b d8c08070 arg core_gpio_conf ,contr 
+024c d8a040cc arg mem_saved_gpio ,contw 
+024d 20407c8f call memcpy16 
+024e d8c080d4 arg core_gpio_conf_hi ,contr 
+024f 20407c89 call memcpy8 
+0250 6ff08080 fetch 1 ,core_spid_ctrl 
+0251 67e0c0ef store 1 ,mem_saved_spidctrl 
+0252 18422400 copy temp ,regb 
 
 p_lpm_write_gpio_wakeup:
-0244 df20000c arg 12 ,loopcnt 
-0245 da200016 arg mem_gpio_wakeup_cfg ,rega 
-0246 da60814d arg core_gpio_wakeup_cfg ,regc 
-0247 37d98200 until null ,lpo_edge 
+0253 df20000c arg 12 ,loopcnt 
+0254 da200016 arg mem_gpio_wakeup_cfg ,rega 
+0255 da60814d arg core_gpio_wakeup_cfg ,regc 
+0256 37d98200 until null ,lpo_edge 
 
 p_lpm_write_gpio_loop:
-0248 efe08011 ifetch 1 ,rega 
-0249 e8408013 ifetcht 1 ,regc 
-024a 98467c00 isub temp ,null 
-024b 2022824e branch p_lpm_write_gpio_loop_next ,zero 
-024c e7e08013 istore 1 ,regc 
-024d 37d98200 until null ,lpo_edge 
+0257 efe08011 ifetch 1 ,rega 
+0258 e8408013 ifetcht 1 ,regc 
+0259 98467c00 isub temp ,null 
+025a 2022825d branch p_lpm_write_gpio_loop_next ,zero 
+025b e7e08013 istore 1 ,regc 
+025c 37d98200 until null ,lpo_edge 
 
 p_lpm_write_gpio_loop_next:
-024e 1a20a201 increase 1 ,rega 
-024f 1a60a601 increase 1 ,regc 
-0250 c2000248 loop p_lpm_write_gpio_loop 
-0251 1a420400 copy regb ,temp 
-0252 20600000 rtn 
+025d 1a20a201 increase 1 ,rega 
+025e 1a60a601 increase 1 ,regc 
+025f c2000257 loop p_lpm_write_gpio_loop 
+0260 1a420400 copy regb ,temp 
+0261 20600000 rtn 
 
 p_le_receive_rxon:
-0253 204025c2 call le_prep 
-0254 c5978259 bmark0 mark_ble_lr ,p_le_receive_nolr 
-0255 783cfc00 pulse dewhiten_code_calc 
-0256 2000001e nop 30 
-0257 204025c2 call le_prep 
-0258 19699600 lshift3 timeup ,timeup 
+0262 204025c2 call le_prep 
+0263 c5978268 bmark0 mark_ble_lr ,p_le_receive_nolr 
+0264 783cfc00 pulse dewhiten_code_calc 
+0265 2000001e nop 30 
+0266 204025c2 call le_prep 
+0267 19699600 lshift3 timeup ,timeup 
 
 p_le_receive_nolr:
-0259 7856fc00 disable match 
-025a 7826fc00 enable decode_fec0 
-025b 7830fc00 enable is_rx 
-025c 78507c00 disable is_tx 
-025d 19623600 copy timeup ,stop_watch 
-025e 37c18400 correlate null ,timeout 
-025f 20370262 branch p_le_receive_on_attempt ,attempt 
-0260 1b420400 copy clke ,temp 
-0261 604b000f storet 6 ,mem_sync_clke 
+0268 7856fc00 disable match 
+0269 7826fc00 enable decode_fec0 
+026a 7830fc00 enable is_rx 
+026b 78507c00 disable is_tx 
+026c 19623600 copy timeup ,stop_watch 
+026d 37c18400 correlate null ,timeout 
+026e 20370271 branch p_le_receive_on_attempt ,attempt 
+026f 1b420400 copy clke ,temp 
+0270 604b000f storet 6 ,mem_sync_clke 
 
 p_le_receive_on_attempt:
-0262 242c26fa nbranch le_unsync_end ,sync 
-0263 78287c00 enable swfine 
-0264 6fe0c167 fetch 1 ,mem_le_tx_ifs_defference 
-0265 d8404e20 arg param_20ms_init ,temp 
-0266 98408400 iadd temp ,temp 
-0267 6fe0c148 fetch 1 ,mem_system_clk 
-0268 984fb600 imul32 temp ,stop_watch 
-0269 20406877 call rf_debug_rx_sync_line 
-026a 20372677 branch le_receive_skip ,attempt 
-026b 20400270 call p_calc_clke_all_modem 
-026c 6fe08168 fetch 1 ,mem_le_state 
-026d c301a677 bbit0 lestate_got_first_packet ,le_receive_skip 
-026e 2055a477 call lpm_adjust_clk ,wake 
-026f 20202677 branch le_receive_skip 
+0271 242c26fa nbranch le_unsync_end ,sync 
+0272 78287c00 enable swfine 
+0273 6fe0c167 fetch 1 ,mem_le_tx_ifs_defference 
+0274 d8404e20 arg param_20ms_init ,temp 
+0275 98408400 iadd temp ,temp 
+0276 6fe0c148 fetch 1 ,mem_system_clk 
+0277 984fb600 imul32 temp ,stop_watch 
+0278 20406877 call rf_debug_rx_sync_line 
+0279 20372677 branch le_receive_skip ,attempt 
+027a 2040027f call p_calc_clke_all_modem 
+027b 6fe08168 fetch 1 ,mem_le_state 
+027c c301a677 bbit0 lestate_got_first_packet ,le_receive_skip 
+027d 2055a477 call lpm_adjust_clk ,wake 
+027e 20202677 branch le_receive_skip 
 
 p_calc_clke_all_modem:
-0270 684b000f fetcht 6 ,mem_sync_clke 
-0271 1b427e00 copy clke ,pdata 
-0272 20407d12 call clk_diff 
-0273 1fe20400 copy pdata ,temp 
-0274 204026ff call calc_clke_all_modem 
-0275 1b425600 copy clke ,rege 
-0276 1d227e00 copy clke_rt ,pdata 
-0277 9840fe00 iadd temp ,pdata 
-0278 1fe25200 copy pdata ,clke_rt 
-0279 20600000 rtn 
+027f 684b000f fetcht 6 ,mem_sync_clke 
+0280 1b427e00 copy clke ,pdata 
+0281 20407d12 call clk_diff 
+0282 1fe20400 copy pdata ,temp 
+0283 204026ff call calc_clke_all_modem 
+0284 1b425600 copy clke ,rege 
+0285 1d227e00 copy clke_rt ,pdata 
+0286 9840fe00 iadd temp ,pdata 
+0287 1fe25200 copy pdata ,clke_rt 
+0288 20600000 rtn 
 
 p_lpm_adjust_clk:
-027a c584a489 bmark0 mark_context ,lpm_clear_counter 
-027b 684a40ad fetcht 4 ,mem_sleep_counter_all 
-027c dfe00600 arg 0x600 ,pdata 
-027d 98467c00 isub temp ,null 
-027e 20610000 rtn positive 
-027f 18422200 copy temp ,rega 
-0280 684b000f fetcht 6 ,mem_sync_clke 
-0281 1d627e00 deposit rege 
-0282 20407d10 call clk_diff_rt 
-0283 1a220400 copy rega ,temp 
-0284 2020247d branch lpm_adjust_clk + 6 
+0289 c584a489 bmark0 mark_context ,lpm_clear_counter 
+028a 684a40ad fetcht 4 ,mem_sleep_counter_all 
+028b dfe00600 arg 0x600 ,pdata 
+028c 98467c00 isub temp ,null 
+028d 20610000 rtn positive 
+028e 18422200 copy temp ,rega 
+028f 684b000f fetcht 6 ,mem_sync_clke 
+0290 1d627e00 deposit rege 
+0291 20407d10 call clk_diff_rt 
+0292 1a220400 copy rega ,temp 
+0293 2020247d branch lpm_adjust_clk + 6 
 
 p_shutter_process_bb_event:
-0285 1a627e00 copy regc ,pdata 
-0286 c00a028d beq bt_evt_le_connected ,p_ble_shutter_process_baseband_connect 
-0287 c0080293 beq bt_evt_button_long_pressed ,p_shutter_process_soft_swtich_button_long_press 
-0288 c0160290 beq bt_evt_button_down ,p_shutter_process_soft_swtich_button_down 
-0289 c018817a beq bt_evt_le_pairing_success ,p_ble_shutter_pair_success 
-028a c00a817e beq bt_evt_le_disconnected ,p_ble_shutter_process_baseband_disconnect 
-028b c01f817c beq bt_evt_le_reconnect_complete ,p_ble_shutter_process_reconnect_complete 
-028c 202062db branch shutter_process_bb_event + 2 
+0294 1a627e00 copy regc ,pdata 
+0295 c00a029c beq bt_evt_le_connected ,p_ble_shutter_process_baseband_connect 
+0296 c00802a2 beq bt_evt_button_long_pressed ,p_shutter_process_soft_swtich_button_long_press 
+0297 c016029f beq bt_evt_button_down ,p_shutter_process_soft_swtich_button_down 
+0298 c018817f beq bt_evt_le_pairing_success ,p_ble_shutter_pair_success 
+0299 c00a8183 beq bt_evt_le_disconnected ,p_ble_shutter_process_baseband_disconnect 
+029a c01f8181 beq bt_evt_le_reconnect_complete ,p_ble_shutter_process_reconnect_complete 
+029b 202062db branch shutter_process_bb_event + 2 
 
 p_ble_shutter_process_baseband_connect:
-028d 7048b401 jam 1 ,mem_shutter_conn_state_flag 
-028e 7048da00 jam 0 ,mem_power_on_led_status_modify 
-028f 202062e2 branch ble_shutter_process_baseband_connect 
+029c 7048b401 jam 1 ,mem_shutter_conn_state_flag 
+029d 7048da00 jam 0 ,mem_power_on_led_status_modify 
+029e 202062e2 branch ble_shutter_process_baseband_connect 
 
 p_shutter_process_soft_swtich_button_down:
-0290 6fe0c51a fetch 1 ,mem_shutter_hard_soft_switch_case 
-0291 c1000000 rtneq hard_switch 
-0292 20600000 rtn 
+029f 6fe0c51a fetch 1 ,mem_shutter_hard_soft_switch_case 
+02a0 c1000000 rtneq hard_switch 
+02a1 20600000 rtn 
 
 p_shutter_process_soft_swtich_button_long_press:
-0293 68494430 fetcht 2 ,mem_power_param_ptr 
-0294 efe08002 ifetch 1 ,temp 
-0295 c000829f beq ss_state_power_on ,p_ui_soft_switch_power_off 
+02a2 68494430 fetcht 2 ,mem_power_param_ptr 
+02a3 efe08002 ifetch 1 ,temp 
+02a4 c00082ae beq ss_state_power_on ,p_ui_soft_switch_power_off 
 
 p_shutter_evt_button_long_pressed0:
-0296 7048da01 jam 1 ,mem_power_on_led_status_modify 
+02a5 7048da01 jam 1 ,mem_power_on_led_status_modify 
 
 p_shutter_work_start:
-0297 7048b500 jam 0 ,mem_power_off_enter_hibernate_flag 
-0298 6fe0c51c fetch 1 ,mem_shutter_soft_switch_power_state 
-0299 c000e305 beq ss_state_power_on ,shutter_load_currenct_led_state 
-029a 6fe0c8d8 fetch 1 ,mem_tank_powerup_flag 
-029b 70438801 jam on ,mem_le_adv_enable 
-029c 793f8034 set0 mark_shutter_long_sleep ,mark 
-029d 7048ce01 jam 1 ,mem_le_shutter_long_press_flag 
-029e 202063b9 branch ui_soft_switch_power_on 
+02a6 7048b500 jam 0 ,mem_power_off_enter_hibernate_flag 
+02a7 6fe0c51c fetch 1 ,mem_shutter_soft_switch_power_state 
+02a8 c000e305 beq ss_state_power_on ,shutter_load_currenct_led_state 
+02a9 6fe0c8d8 fetch 1 ,mem_tank_powerup_flag 
+02aa 70438801 jam on ,mem_le_adv_enable 
+02ab 793f8034 set0 mark_shutter_long_sleep ,mark 
+02ac 7048ce01 jam 1 ,mem_le_shutter_long_press_flag 
+02ad 202063b9 branch ui_soft_switch_power_on 
 
 p_ui_soft_switch_power_off:
-029f 7048d700 jam 0 ,mem_shtter_init_flag 
-02a0 7048b400 jam 0 ,mem_shutter_conn_state_flag 
-02a1 7048b500 jam 0 ,mem_power_off_enter_hibernate_flag 
-02a2 7048d802 jam ss_state_power_off ,mem_tank_powerup_flag 
-02a3 7048d900 jam 0 ,mem_enable_key_scan 
-02a4 70438800 jam off ,mem_le_adv_enable 
-02a5 7048ce00 jam 0 ,mem_le_shutter_long_press_flag 
-02a6 58000002 setarg ss_state_power_off 
-02a7 204063ad call ui_soft_swtich_init_power_on_time 
-02a8 18408c05 add temp ,ss_power_off_cb ,contr 
-02a9 efe10006 ifetch 2 ,contr 
-02aa 203a02c3 branch p_shutter_shutter_power_off_signal ,blank 
-02ab 20207d79 branch callback_func 
+02ae 7048d700 jam 0 ,mem_shtter_init_flag 
+02af 7048b400 jam 0 ,mem_shutter_conn_state_flag 
+02b0 7048b500 jam 0 ,mem_power_off_enter_hibernate_flag 
+02b1 7048d802 jam ss_state_power_off ,mem_tank_powerup_flag 
+02b2 7048d900 jam 0 ,mem_enable_key_scan 
+02b3 70438800 jam off ,mem_le_adv_enable 
+02b4 7048ce00 jam 0 ,mem_le_shutter_long_press_flag 
+02b5 58000002 setarg ss_state_power_off 
+02b6 204063ad call ui_soft_swtich_init_power_on_time 
+02b7 18408c05 add temp ,ss_power_off_cb ,contr 
+02b8 efe10006 ifetch 2 ,contr 
+02b9 203a02d2 branch p_shutter_shutter_power_off_signal ,blank 
+02ba 20207d79 branch callback_func 
 
 p_shutter_le_bb_event_timer:
-02ac 204002af call p_shutter_check_sleep_timer 
-02ad 204002ba call p_shutter_check_power_off_timer 
-02ae 20206322 branch ble_shutter_reconn_timer 
+02bb 204002be call p_shutter_check_sleep_timer 
+02bc 204002c9 call p_shutter_check_power_off_timer 
+02bd 20206322 branch ble_shutter_reconn_timer 
 
 p_shutter_check_sleep_timer:
-02af da604518 arg mem_shutter_sleep_timer ,regc 
-02b0 da4002b2 arg p_shutter_sleep_timeout ,regb 
-02b1 202042e7 branch timer_single_step_2b 
+02be da604518 arg mem_shutter_sleep_timer ,regc 
+02bf da4002c1 arg p_shutter_sleep_timeout ,regb 
+02c0 202042e7 branch timer_single_step_2b 
 
 p_shutter_sleep_timeout:
-02b2 7048d700 jam 0 ,mem_shtter_init_flag 
-02b3 7048b300 jam 0 ,mem_shutter_start_adc_flag 
-02b4 7048b501 jam 1 ,mem_power_off_enter_hibernate_flag 
-02b5 70451c02 jam ss_state_power_off ,mem_shutter_soft_switch_power_state 
-02b6 20404325 call app_led_off 
-02b7 7044ee00 jam 0 ,mem_ui_led_struct_num 
-02b8 2040634e call shutter_disconnect_current_connection 
-02b9 2020639e branch shutter_wait_power_off 
+02c1 7048d700 jam 0 ,mem_shtter_init_flag 
+02c2 7048b300 jam 0 ,mem_shutter_start_adc_flag 
+02c3 7048b501 jam 1 ,mem_power_off_enter_hibernate_flag 
+02c4 70451c02 jam ss_state_power_off ,mem_shutter_soft_switch_power_state 
+02c5 20404325 call app_led_off 
+02c6 7044ee00 jam 0 ,mem_ui_led_struct_num 
+02c7 2040634e call shutter_disconnect_current_connection 
+02c8 2020639e branch shutter_wait_power_off 
 
 p_shutter_check_power_off_timer:
-02ba da6046ca arg mem_shutter_power_off_timer ,regc 
-02bb da4002bd arg p_shutter_check_power_off_timeout ,regb 
-02bc 202042e0 branch timer_single_step 
+02c9 da6046ca arg mem_shutter_power_off_timer ,regc 
+02ca da4002cc arg p_shutter_check_power_off_timeout ,regb 
+02cb 202042e0 branch timer_single_step 
 
 p_shutter_check_power_off_timeout:
-02bd 6fe144e9 fetch 2 ,mem_ui_state_map 
-02be c284e39e bbit1 ui_state_ble_connected ,shutter_wait_power_off 
-02bf 6fe0c6a7 fetch 1 ,mem_shutter_led_struct_app_led_type 
-02c0 c000e39e beq ui_led_state_blink_start ,shutter_wait_power_off 
-02c1 c002639e beq ui_led_state_blink_lighting ,shutter_wait_power_off 
-02c2 c002e39e beq ui_led_state_blink_darking ,shutter_wait_power_off 
+02cc 6fe144e9 fetch 2 ,mem_ui_state_map 
+02cd c284e39e bbit1 ui_state_ble_connected ,shutter_wait_power_off 
+02ce 6fe0c6a7 fetch 1 ,mem_shutter_led_struct_app_led_type 
+02cf c000e39e beq ui_led_state_blink_start ,shutter_wait_power_off 
+02d0 c002639e beq ui_led_state_blink_lighting ,shutter_wait_power_off 
+02d1 c002e39e beq ui_led_state_blink_darking ,shutter_wait_power_off 
 
 p_shutter_shutter_power_off_signal:
-02c3 6fe0c8b2 fetch 1 ,mem_shutter_power_off_flag 
-02c4 243a4327 nbranch app_enter_hibernate ,blank 
-02c5 79200034 set1 mark_shutter_long_sleep ,mark 
-02c6 6fe0c8b5 fetch 1 ,mem_power_off_enter_hibernate_flag 
-02c7 247a0000 nrtn blank 
+02d2 6fe0c8b2 fetch 1 ,mem_shutter_power_off_flag 
+02d3 243a4327 nbranch app_enter_hibernate ,blank 
+02d4 79200034 set1 mark_shutter_long_sleep ,mark 
+02d5 6fe0c8b5 fetch 1 ,mem_power_off_enter_hibernate_flag 
+02d6 247a0000 nrtn blank 
 
 p_app_enter_hibernate:
-02c8 793f8034 set0 mark_shutter_long_sleep ,mark 
-02c9 20204327 branch app_enter_hibernate 
+02d7 793f8034 set0 mark_shutter_long_sleep ,mark 
+02d8 20204327 branch app_enter_hibernate 
               org 0x2000
 
 start:
Index: output/ramcode.rom
===================================================================
--- /1121s/branch/shutter/branch/shutter/jxy_project/yc1386s_yibei_r1_shutter/output/ramcode.rom	(revision 4442)
+++ /1121s/branch/shutter/branch/shutter/jxy_project/yc1386s_yibei_r1_shutter/output/ramcode.rom	(working copy)
@@ -2,26 +2,26 @@
 c000001a
 c0010058
 c0088095
-c00a0212
-c00a8121
-c00c012f
-c00c80ee
+c00a0217
+c00a8122
+c00c0130
+c00c80ef
 c00d00a7
 c00e0035
-c0128234
-c013827a
+c0128239
+c0138289
 c0140081
-c0588139
-c0628136
-c06d01e3
-c06e01f3
+c058813a
+c0628137
+c06d01e8
+c06e01f8
 2020235a
-c0120253
+c0120262
 c0128053
 c0130043
-c01c822e
+c01c8233
 c01f801e
-c0268232
+c0268237
 c17f8000
 2020235a
 2435a002
@@ -141,7 +141,7 @@
 793f8034
 7048da00
 7044ee01
-20200140
+20200141
 6ff0811e
 c300808c
 6ff0811d
@@ -171,18 +171,19 @@
 708a13cd
 7089460d
 70896f10
+708a8840
 708a0610
 708a844a
 708a8540
 708a16fe
-204000f6
+204000f7
 6fe0c436
 205a70d7
 245580a3
 37d98200
 70813b5f
 6fe0c099
-c00800e3
+c00800e4
 6fe0c438
 1fe1fe04
 67f08a02
@@ -193,18 +194,18 @@
 67f18a73
 708a8660
 708a8b3b
-204000d5
+204000d6
 70804300
 70804205
 58557474
 67f18968
 7089606e
-204001b5
-204001e0
-204000cf
+204001ba
+204001e5
+204000d0
 7041480c
 20406f4e
-202001e2
+202001e7
 20758000
 37d98200
 6fe0c11c
@@ -212,7 +213,7 @@
 37d98200
 20600000
 6fe0c099
-c00c00db
+c00c00dc
 6fe0c438
 1fe1fe06
 67f08a02
@@ -235,16 +236,16 @@
 67f18a73
 708a762a
 70890204
-202000c1
+202000c2
 6fe0c141
-c00500f1
+c00500f2
 2020220e
 708a1425
 58a93f3f
 67f18a60
 708a631f
 20600000
-2035811d
+2035811e
 6fe2020d
 207a0000
 37d98200
@@ -286,7 +287,7 @@
 6fe1415b
 207a0000
 67e1020f
-20200107
+20200108
 2040686f
 204021ba
 18002a08
@@ -318,6 +319,7 @@
 c3848000
 c51a0090
 20758000
+204070d7
 58000014
 67e0c51d
 204063d9
@@ -335,17 +337,17 @@
 67e44512
 6fe448a6
 67e444fa
-58006327
+58000174
 67e143db
-58000285
+58000294
 67e143dd
 5800638a
 67e143df
-580002ac
+580002bb
 67e143e3
-58000182
+58000187
 67e14524
-58000172
+58000177
 67e143d5
 204062c4
 20406396
@@ -354,20 +356,23 @@
 6fe144e9
 c3860000
 6fe0c8ce
-c0008297
+c00082a6
 6fe0c51b
 67e0c4ec
 58000000
-204001b0
+204001b5
 7044e401
 20407776
 6fe0c6d0
-203a016f
+203a0171
 6ff08132
 c28263b9
 6fe144e9
 c3860000
 20204327
+dfe0000a
+204070c8
+20206327
 20406f35
 6848c51b
 793f8407
@@ -387,10 +392,10 @@
 2040635d
 24760000
 1a227e00
-203a0189
+203a018e
 7048cf00
 20404323
-20200196
+2020019b
 7048cf01
 7048af00
 20404325
@@ -401,14 +406,14 @@
 6fe0c8af
 247a0000
 6fe0c8cf
-243a0195
+243a019a
 7048af01
 20206371
 6fe0c8b0
 79407e00
 67e0c8b0
-c00001a6
-c000819c
+c00001ab
+c00081a1
 20600000
 58000000
 67e1452e
@@ -419,7 +424,7 @@
 58000006
 67e1455b
 da60452e
-2020018d
+20200192
 58000000
 67e1452e
 58000002
@@ -429,7 +434,7 @@
 58000006
 67e1455b
 da60452e
-2020018d
+20200192
 68494430
 e7e08002
 efe08005
@@ -447,7 +452,7 @@
 708ac200
 708ac300
 d8e00006
-204001d2
+204001d7
 2a2ffe0d
 2040211d
 2a4ffe0d
@@ -455,14 +460,14 @@
 d8e00005
 2040211c
 2040211e
-204001d2
+204001d7
 d8a08ac2
 1a31fe00
 20402117
 1a51fe00
 20402117
 18e08fff
-202101c7
+202101cc
 2020214f
 2000003c
 58000f00
@@ -488,7 +493,7 @@
 6fe0c409
 67f080cd
 20000bb8
-2040020b
+20400210
 708a08c1
 6a40c419
 df200008
@@ -497,7 +502,7 @@
 67e0c433
 6240c419
 20600000
-20400201
+20400206
 6ff08a09
 793ffe07
 67f08a09
@@ -508,7 +513,7 @@
 6fe0c409
 67f080cd
 20000bb8
-2040020b
+20400210
 7080cd00
 20206fa1
 6ff080cc
@@ -523,7 +528,7 @@
 20600000
 7080cc03
 6ff08129
-c302820c
+c3028211
 68590164
 6049440a
 7080cc00
@@ -532,7 +537,7 @@
 708a8d12
 708a8e0a
 6fe0c099
-c008022b
+c0080230
 58005762
 67f10907
 70890103
@@ -543,7 +548,7 @@
 708a8d44
 708a8e0a
 6fe0c099
-c0080228
+c008022d
 58002bb1
 67f10907
 c6978000
@@ -552,10 +557,10 @@
 20600000
 58004189
 67f10907
-20200224
+20200229
 58008312
 67f10907
-20200219
+2020021e
 6fe0c334
 c1000000
 c001b04a
@@ -567,8 +572,18 @@
 6fe240ad
 9840fe00
 67e240ad
-2040023b
-20202425
+2040024a
+6fe0c0cb
+79207e04
+204023e1
+2455a3cb
+37d98200
+1b227e00
+67e340b1
+6fe1c0c6
+6a20c0c9
+df200003
+2020242e
 600440e7
 d8c08070
 d8a040cc
@@ -585,16 +600,16 @@
 efe08011
 e8408013
 98467c00
-2022824e
+2022825d
 e7e08013
 37d98200
 1a20a201
 1a60a601
-c2000248
+c2000257
 1a420400
 20600000
 204025c2
-c5978259
+c5978268
 783cfc00
 2000001e
 204025c2
@@ -605,7 +620,7 @@
 78507c00
 19623600
 37c18400
-20370262
+20370271
 1b420400
 604b000f
 242c26fa
@@ -617,7 +632,7 @@
 984fb600
 20406877
 20372677
-20400270
+2040027f
 6fe08168
 c301a677
 2055a477
@@ -644,12 +659,12 @@
 1a220400
 2020247d
 1a627e00
-c00a028d
-c0080293
-c0160290
-c018817a
-c00a817e
-c01f817c
+c00a029c
+c00802a2
+c016029f
+c018817f
+c00a8183
+c01f8181
 202062db
 7048b401
 7048da00
@@ -659,7 +674,7 @@
 20600000
 68494430
 efe08002
-c000829f
+c00082ae
 7048da01
 7048b500
 6fe0c51c
@@ -680,13 +695,13 @@
 204063ad
 18408c05
 efe10006
-203a02c3
+203a02d2
 20207d79
-204002af
-204002ba
+204002be
+204002c9
 20206322
 da604518
-da4002b2
+da4002c1
 202042e7
 7048d700
 7048b300
@@ -697,7 +712,7 @@
 2040634e
 2020639e
 da6046ca
-da4002bd
+da4002cc
 202042e0
 6fe144e9
 c284e39e
Index: program/patch.prog
===================================================================
--- /1121s/branch/shutter/branch/shutter/jxy_project/yc1386s_yibei_r1_shutter/program/patch.prog	(revision 4442)
+++ /1121s/branch/shutter/branch/shutter/jxy_project/yc1386s_yibei_r1_shutter/program/patch.prog	(working copy)
@@ -221,7 +221,7 @@
 	jam 0xcd,0x8a13
 	jam 0x0d,0x8946
 	jam 0x10,0x896f
-
+	jam 0x40,core_rx_cfg0
 	jam 0x10,0x8a06
 	jam 0x4a,0x8a84
 	jam 0x40,0x8a85
@@ -404,6 +404,7 @@
 	bmark1 mark_shutter_long_sleep,p_shutter_clean_long_wake
 	rtn wake
 p_shutter_init_next:
+	call wdt_set_disable
 	setarg 0x14
 	store 1,mem_shutter_soft_switch_poweron_time
 	
@@ -425,7 +426,7 @@
 	fetch 8,mem_shutter_reconn_or_discovery_blink_time_conf
 	store 8,mem_ble_shutter_reconn_blink_on_time
 
-	setarg shutter_process_idle
+	setarg p_shutter_process_idle
 	store 2,mem_cb_idle_process
 
 	setarg p_shutter_process_bb_event
@@ -472,6 +473,11 @@
 	rtnbit1 UI_STATE_BTN_DOWN
 	branch app_enter_hibernate
 
+p_shutter_process_idle:
+	arg 10, pdata //Լ96ms
+	call wdt_init_config
+	branch shutter_process_idle
+
 p_shutter_le_before_hibernate:
 	call gpio_set_before_lpm
 	fetcht 1,mem_shutter_soft_switch_button_gpio
@@ -740,7 +746,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
