Index: output/eeprom.dat
===================================================================
--- /1121s/branch/shutter/branch/shutter/yb_project/yc1386s_shutter_H58/output/eeprom.dat	(revision 3585)
+++ /1121s/branch/shutter/branch/shutter/yb_project/yc1386s_shutter_H58/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-92
+aa
 08
 c2
 84
@@ -23,7 +23,7 @@
 c0
 0a
 01
-af
+b5
 c0
 0a
 80
@@ -47,11 +47,11 @@
 c0
 12
 82
-03
+09
 c0
 13
 81
-f8
+fe
 c0
 58
 81
@@ -63,7 +63,7 @@
 c0
 6d
 01
-98
+9e
 20
 20
 23
@@ -71,7 +71,7 @@
 c0
 12
 01
-d1
+d7
 c0
 12
 80
@@ -83,7 +83,7 @@
 c0
 1c
 81
-cb
+d1
 c0
 1f
 80
@@ -91,7 +91,7 @@
 c0
 26
 81
-cf
+d5
 c1
 7f
 80
@@ -595,11 +595,11 @@
 20
 40
 01
-6a
+70
 20
 40
 01
-95
+9b
 20
 40
 00
@@ -615,7 +615,7 @@
 20
 20
 01
-97
+9d
 37
 d9
 82
@@ -1052,6 +1052,10 @@
 75
 80
 00
+20
+40
+70
+d7
 70
 40
 a6
@@ -1059,7 +1063,15 @@
 58
 00
 00
-0e
+0a
+67
+e1
+44
+f6
+58
+00
+00
+90
 67
 e1
 44
@@ -1094,7 +1106,7 @@
 fa
 58
 00
-63
+01
 27
 67
 e1
@@ -1103,7 +1115,7 @@
 58
 00
 01
-24
+2a
 67
 e1
 43
@@ -1119,7 +1131,7 @@
 58
 00
 01
-62
+68
 67
 e1
 43
@@ -1127,7 +1139,7 @@
 58
 00
 01
-2f
+35
 67
 e1
 45
@@ -1147,7 +1159,7 @@
 c0
 00
 01
-21
+24
 6f
 e0
 c5
@@ -1172,6 +1184,18 @@
 20
 63
 40
+df
+e0
+00
+0a
+20
+40
+70
+c8
+20
+20
+63
+27
 1a
 62
 7e
@@ -1179,15 +1203,15 @@
 c0
 18
 81
-29
+2f
 c0
 0a
 81
-2b
+31
 c0
 1f
 81
-63
+69
 20
 20
 62
@@ -1231,7 +1255,7 @@
 20
 3a
 01
-36
+3c
 70
 48
 c2
@@ -1243,7 +1267,7 @@
 20
 20
 01
-40
+46
 70
 48
 c2
@@ -1275,7 +1299,7 @@
 24
 3a
 01
-3f
+45
 70
 48
 c1
@@ -1299,11 +1323,11 @@
 c0
 00
 01
-50
+56
 c0
 00
 81
-46
+4c
 20
 60
 00
@@ -1347,7 +1371,7 @@
 20
 20
 01
-5f
+65
 58
 00
 00
@@ -1387,7 +1411,7 @@
 20
 20
 01
-5f
+65
 68
 49
 44
@@ -1503,7 +1527,7 @@
 20
 40
 01
-87
+8d
 2a
 2f
 fe
@@ -1535,7 +1559,7 @@
 20
 40
 01
-87
+8d
 d8
 a0
 8a
@@ -1563,7 +1587,7 @@
 20
 21
 01
-7c
+82
 20
 20
 21
@@ -1667,7 +1691,7 @@
 20
 40
 01
-a8
+ae
 70
 8a
 08
@@ -1711,7 +1735,7 @@
 c3
 02
 81
-a9
+af
 68
 59
 01
@@ -1747,7 +1771,7 @@
 c0
 08
 01
-c8
+ce
 58
 00
 57
@@ -1791,7 +1815,7 @@
 c0
 08
 01
-c5
+cb
 58
 00
 2b
@@ -1827,7 +1851,7 @@
 20
 20
 01
-c1
+c7
 58
 00
 83
@@ -1839,7 +1863,7 @@
 20
 20
 01
-b6
+bc
 6f
 e0
 c3
@@ -1871,7 +1895,7 @@
 c5
 97
 81
-d7
+dd
 78
 3c
 fc
@@ -1915,7 +1939,7 @@
 20
 37
 01
-e0
+e6
 1b
 42
 04
@@ -1963,7 +1987,7 @@
 20
 40
 01
-ee
+f4
 6f
 e0
 81
@@ -2095,7 +2119,7 @@
 20
 40
 02
-0c
+12
 20
 20
 24
@@ -2167,7 +2191,7 @@
 20
 22
 82
-1f
+25
 e7
 e0
 80
@@ -2187,7 +2211,7 @@
 c2
 00
 02
-19
+1f
 1a
 42
 04
@@ -2196,8 +2220,8 @@
 60
 00
 00
-1b
-6e
+c1
+cd
 aa
 55
 40
@@ -2303,17 +2327,19 @@
 2a
 aa
 55
-07
+09
 00
 6b
 42
-06
-53
-65
-6c
-66
+08
+57
 69
-65
+2d
+53
+45
+30
+31
+35
 aa
 55
 06
@@ -2324,8 +2350,8 @@
 ff
 90
 00
-11
-01
+ff
+00
 aa
 55
 01
@@ -2355,9 +2381,9 @@
 70
 17
 a0
-01
+02
 a0
-01
+02
 20
 04
 20
@@ -2420,7 +2446,7 @@
 00
 c9
 40
-00
+20
 08
 b4
 aa
@@ -2580,36 +2606,10 @@
 aa
 aa
 55
-a1
-54
-20
-eb
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+77
+55
+4a
+6f
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-06
-b1
+05
+72
Index: output/flash.dat
===================================================================
--- /1121s/branch/shutter/branch/shutter/yb_project/yc1386s_shutter_H58/output/flash.dat	(revision 3585)
+++ /1121s/branch/shutter/branch/shutter/yb_project/yc1386s_shutter_H58/output/flash.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-92
+aa
 08
 c2
 84
@@ -23,7 +23,7 @@
 c0
 0a
 01
-af
+b5
 c0
 0a
 80
@@ -47,11 +47,11 @@
 c0
 12
 82
-03
+09
 c0
 13
 81
-f8
+fe
 c0
 58
 81
@@ -63,7 +63,7 @@
 c0
 6d
 01
-98
+9e
 20
 20
 23
@@ -71,7 +71,7 @@
 c0
 12
 01
-d1
+d7
 c0
 12
 80
@@ -83,7 +83,7 @@
 c0
 1c
 81
-cb
+d1
 c0
 1f
 80
@@ -91,7 +91,7 @@
 c0
 26
 81
-cf
+d5
 c1
 7f
 80
@@ -595,11 +595,11 @@
 20
 40
 01
-6a
+70
 20
 40
 01
-95
+9b
 20
 40
 00
@@ -615,7 +615,7 @@
 20
 20
 01
-97
+9d
 37
 d9
 82
@@ -1052,6 +1052,10 @@
 75
 80
 00
+20
+40
+70
+d7
 70
 40
 a6
@@ -1059,7 +1063,15 @@
 58
 00
 00
-0e
+0a
+67
+e1
+44
+f6
+58
+00
+00
+90
 67
 e1
 44
@@ -1094,7 +1106,7 @@
 fa
 58
 00
-63
+01
 27
 67
 e1
@@ -1103,7 +1115,7 @@
 58
 00
 01
-24
+2a
 67
 e1
 43
@@ -1119,7 +1131,7 @@
 58
 00
 01
-62
+68
 67
 e1
 43
@@ -1127,7 +1139,7 @@
 58
 00
 01
-2f
+35
 67
 e1
 45
@@ -1147,7 +1159,7 @@
 c0
 00
 01
-21
+24
 6f
 e0
 c5
@@ -1172,6 +1184,18 @@
 20
 63
 40
+df
+e0
+00
+0a
+20
+40
+70
+c8
+20
+20
+63
+27
 1a
 62
 7e
@@ -1179,15 +1203,15 @@
 c0
 18
 81
-29
+2f
 c0
 0a
 81
-2b
+31
 c0
 1f
 81
-63
+69
 20
 20
 62
@@ -1231,7 +1255,7 @@
 20
 3a
 01
-36
+3c
 70
 48
 c2
@@ -1243,7 +1267,7 @@
 20
 20
 01
-40
+46
 70
 48
 c2
@@ -1275,7 +1299,7 @@
 24
 3a
 01
-3f
+45
 70
 48
 c1
@@ -1299,11 +1323,11 @@
 c0
 00
 01
-50
+56
 c0
 00
 81
-46
+4c
 20
 60
 00
@@ -1347,7 +1371,7 @@
 20
 20
 01
-5f
+65
 58
 00
 00
@@ -1387,7 +1411,7 @@
 20
 20
 01
-5f
+65
 68
 49
 44
@@ -1503,7 +1527,7 @@
 20
 40
 01
-87
+8d
 2a
 2f
 fe
@@ -1535,7 +1559,7 @@
 20
 40
 01
-87
+8d
 d8
 a0
 8a
@@ -1563,7 +1587,7 @@
 20
 21
 01
-7c
+82
 20
 20
 21
@@ -1667,7 +1691,7 @@
 20
 40
 01
-a8
+ae
 70
 8a
 08
@@ -1711,7 +1735,7 @@
 c3
 02
 81
-a9
+af
 68
 59
 01
@@ -1747,7 +1771,7 @@
 c0
 08
 01
-c8
+ce
 58
 00
 57
@@ -1791,7 +1815,7 @@
 c0
 08
 01
-c5
+cb
 58
 00
 2b
@@ -1827,7 +1851,7 @@
 20
 20
 01
-c1
+c7
 58
 00
 83
@@ -1839,7 +1863,7 @@
 20
 20
 01
-b6
+bc
 6f
 e0
 c3
@@ -1871,7 +1895,7 @@
 c5
 97
 81
-d7
+dd
 78
 3c
 fc
@@ -1915,7 +1939,7 @@
 20
 37
 01
-e0
+e6
 1b
 42
 04
@@ -1963,7 +1987,7 @@
 20
 40
 01
-ee
+f4
 6f
 e0
 81
@@ -2095,7 +2119,7 @@
 20
 40
 02
-0c
+12
 20
 20
 24
@@ -2167,7 +2191,7 @@
 20
 22
 82
-1f
+25
 e7
 e0
 80
@@ -2187,7 +2211,7 @@
 c2
 00
 02
-19
+1f
 1a
 42
 04
@@ -2196,8 +2220,8 @@
 60
 00
 00
-1b
-6e
+c1
+cd
 aa
 55
 40
@@ -2303,17 +2327,19 @@
 2a
 aa
 55
-07
+09
 00
 6b
 42
-06
-53
-65
-6c
-66
+08
+57
 69
-65
+2d
+53
+45
+30
+31
+35
 aa
 55
 06
@@ -2324,8 +2350,8 @@
 ff
 90
 00
-11
-01
+ff
+00
 aa
 55
 01
@@ -2355,9 +2381,9 @@
 70
 17
 a0
-01
+02
 a0
-01
+02
 20
 04
 20
@@ -2420,7 +2446,7 @@
 00
 c9
 40
-00
+20
 08
 b4
 aa
@@ -2580,36 +2606,10 @@
 aa
 aa
 55
-a1
-54
-20
-eb
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+77
+55
+4a
+6f
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-06
-b1
+05
+72
Index: output/otp.dat
===================================================================
--- /1121s/branch/shutter/branch/shutter/yb_project/yc1386s_shutter_H58/output/otp.dat	(revision 3585)
+++ /1121s/branch/shutter/branch/shutter/yb_project/yc1386s_shutter_H58/output/otp.dat	(working copy)
@@ -11,7 +11,7 @@
 00
 aa
 55
-92
+aa
 08
 c2
 84
@@ -32,7 +32,7 @@
 c0
 0a
 01
-af
+b5
 c0
 0a
 80
@@ -56,11 +56,11 @@
 c0
 12
 82
-03
+09
 c0
 13
 81
-f8
+fe
 c0
 58
 81
@@ -72,7 +72,7 @@
 c0
 6d
 01
-98
+9e
 20
 20
 23
@@ -80,7 +80,7 @@
 c0
 12
 01
-d1
+d7
 c0
 12
 80
@@ -92,7 +92,7 @@
 c0
 1c
 81
-cb
+d1
 c0
 1f
 80
@@ -100,7 +100,7 @@
 c0
 26
 81
-cf
+d5
 c1
 7f
 80
@@ -604,11 +604,11 @@
 20
 40
 01
-6a
+70
 20
 40
 01
-95
+9b
 20
 40
 00
@@ -624,7 +624,7 @@
 20
 20
 01
-97
+9d
 37
 d9
 82
@@ -1061,6 +1061,10 @@
 75
 80
 00
+20
+40
+70
+d7
 70
 40
 a6
@@ -1068,7 +1072,15 @@
 58
 00
 00
-0e
+0a
+67
+e1
+44
+f6
+58
+00
+00
+90
 67
 e1
 44
@@ -1103,7 +1115,7 @@
 fa
 58
 00
-63
+01
 27
 67
 e1
@@ -1112,7 +1124,7 @@
 58
 00
 01
-24
+2a
 67
 e1
 43
@@ -1128,7 +1140,7 @@
 58
 00
 01
-62
+68
 67
 e1
 43
@@ -1136,7 +1148,7 @@
 58
 00
 01
-2f
+35
 67
 e1
 45
@@ -1156,7 +1168,7 @@
 c0
 00
 01
-21
+24
 6f
 e0
 c5
@@ -1181,6 +1193,18 @@
 20
 63
 40
+df
+e0
+00
+0a
+20
+40
+70
+c8
+20
+20
+63
+27
 1a
 62
 7e
@@ -1188,15 +1212,15 @@
 c0
 18
 81
-29
+2f
 c0
 0a
 81
-2b
+31
 c0
 1f
 81
-63
+69
 20
 20
 62
@@ -1240,7 +1264,7 @@
 20
 3a
 01
-36
+3c
 70
 48
 c2
@@ -1252,7 +1276,7 @@
 20
 20
 01
-40
+46
 70
 48
 c2
@@ -1284,7 +1308,7 @@
 24
 3a
 01
-3f
+45
 70
 48
 c1
@@ -1308,11 +1332,11 @@
 c0
 00
 01
-50
+56
 c0
 00
 81
-46
+4c
 20
 60
 00
@@ -1356,7 +1380,7 @@
 20
 20
 01
-5f
+65
 58
 00
 00
@@ -1396,7 +1420,7 @@
 20
 20
 01
-5f
+65
 68
 49
 44
@@ -1512,7 +1536,7 @@
 20
 40
 01
-87
+8d
 2a
 2f
 fe
@@ -1544,7 +1568,7 @@
 20
 40
 01
-87
+8d
 d8
 a0
 8a
@@ -1572,7 +1596,7 @@
 20
 21
 01
-7c
+82
 20
 20
 21
@@ -1676,7 +1700,7 @@
 20
 40
 01
-a8
+ae
 70
 8a
 08
@@ -1720,7 +1744,7 @@
 c3
 02
 81
-a9
+af
 68
 59
 01
@@ -1756,7 +1780,7 @@
 c0
 08
 01
-c8
+ce
 58
 00
 57
@@ -1800,7 +1824,7 @@
 c0
 08
 01
-c5
+cb
 58
 00
 2b
@@ -1836,7 +1860,7 @@
 20
 20
 01
-c1
+c7
 58
 00
 83
@@ -1848,7 +1872,7 @@
 20
 20
 01
-b6
+bc
 6f
 e0
 c3
@@ -1880,7 +1904,7 @@
 c5
 97
 81
-d7
+dd
 78
 3c
 fc
@@ -1924,7 +1948,7 @@
 20
 37
 01
-e0
+e6
 1b
 42
 04
@@ -1972,7 +1996,7 @@
 20
 40
 01
-ee
+f4
 6f
 e0
 81
@@ -2104,7 +2128,7 @@
 20
 40
 02
-0c
+12
 20
 20
 24
@@ -2176,7 +2200,7 @@
 20
 22
 82
-1f
+25
 e7
 e0
 80
@@ -2196,7 +2220,7 @@
 c2
 00
 02
-19
+1f
 1a
 42
 04
@@ -2205,8 +2229,8 @@
 60
 00
 00
-1b
-6e
+c1
+cd
 aa
 55
 40
@@ -2312,17 +2336,19 @@
 2a
 aa
 55
-07
+09
 00
 6b
 42
-06
-53
-65
-6c
-66
+08
+57
 69
-65
+2d
+53
+45
+30
+31
+35
 aa
 55
 06
@@ -2333,8 +2359,8 @@
 ff
 90
 00
-11
-01
+ff
+00
 aa
 55
 01
@@ -2364,9 +2390,9 @@
 70
 17
 a0
-01
+02
 a0
-01
+02
 20
 04
 20
@@ -2429,7 +2455,7 @@
 00
 c9
 40
-00
+20
 08
 b4
 aa
@@ -2589,7 +2615,7 @@
 aa
 aa
 55
-a1
-54
-20
-eb
+77
+55
+4a
+6f
Index: output/program.lis
===================================================================
--- /1121s/branch/shutter/branch/shutter/yb_project/yc1386s_shutter_H58/output/program.lis	(revision 3585)
+++ /1121s/branch/shutter/branch/shutter/yb_project/yc1386s_shutter_H58/output/program.lis	(working copy)
@@ -4,26 +4,26 @@
 0001 c0000018 beq patch00_0 ,p_soft_reset 
 0002 c001005a beq patch00_2 ,p_main_loop 
 0003 c0088063 beq patch02_1 ,p_set_sync_on 
-0004 c00a01af beq patch02_4 ,p_set_lemode 
+0004 c00a01b5 beq patch02_4 ,p_set_lemode 
 0005 c00a80ea beq patch02_5 ,p_rf_rx_enable 
 0006 c00c00f8 beq patch03_0 ,p_txon 
 0007 c00c80b7 beq patch03_1 ,p_set_tx_power 
 0008 c00d0071 beq patch03_2 ,p_initialize_radio_cont 
 0009 c00e001c beq patch03_4 ,p_aac_ghpc 
-000a c0128203 beq patch04_5 ,p_lpm_sleep 
-000b c01381f8 beq patch04_7 ,p_lpm_adjust_clk 
+000a c0128209 beq patch04_5 ,p_lpm_sleep 
+000b c01381fe beq patch04_7 ,p_lpm_adjust_clk 
 000c c0588102 beq patch16_1 ,p_shutter_init 
 000d c06280ff beq patch18_5 ,p_otp_read_data 
-000e c06d0198 beq patch1b_2 ,p_sadc_calibration 
+000e c06d019e beq patch1b_2 ,p_sadc_calibration 
 000f 2020235a branch assert 
 
 pf_patch_ext:
-0010 c01201d1 beq patch24_4 ,p_le_receive_rxon 
+0010 c01201d7 beq patch24_4 ,p_le_receive_rxon 
 0011 c0128055 beq patch24_5 ,p_le_rx_dec 
 0012 c0130045 beq patch24_6 ,p_le_rx_nopayload 
-0013 c01c81cb beq patch27_1 ,p_le_parse 
+0013 c01c81d1 beq patch27_1 ,p_le_parse 
 0014 c01f802a beq patch27_7 ,p_le_lpm_set_mult 
-0015 c02681cf beq patch29_5 ,p_le_init_adv 
+0015 c02681d5 beq patch29_5 ,p_le_init_adv 
 0016 c17f8000 rtneq patch3f_7 
 0017 2020235a branch assert 
 
@@ -175,12 +175,12 @@
 0090 58557474 setarg 0x557474 
 0091 67f18968 store 3 ,0x8968 
 0092 7089606e jam 0x6e ,0x8960 
-0093 2040016a call p_rx_dcoc 
-0094 20400195 call p_rfpll_aac_ghpc 
+0093 20400170 call p_rx_dcoc 
+0094 2040019b call p_rfpll_aac_ghpc 
 0095 20400099 call p_set_xtal_cap 
 0096 7041480c jam system_clk_12m ,mem_system_clk 
 0097 20406f4e call sadc_calibration 
-0098 20200197 branch p_dpll_ring_ibias_calc 
+0098 2020019d branch p_dpll_ring_ibias_calc 
 
 p_set_xtal_cap:
 0099 37d98200 until null ,lpo_edge 
@@ -318,380 +318,388 @@
 0103 7080d6c0 jam 0xc0 ,0x80d6 
 0104 20407396 call enable_authrom 
 0105 20758000 rtn wake 
-0106 7040a60a jam 0x0a ,mem_lpm_overhead 
-0107 5800000e setarg 0x000e 
-0108 67e144f2 store 2 ,mem_ble_shutter_reconn_adv_interval 
-0109 58000140 setarg 0x0140 
-010a 67e144f4 store 2 ,mem_ble_shutter_discovery_adv_interval 
-010b 67e14389 store 2 ,mem_le_adv_interval 
-010c 6fe4489e fetch 8 ,mem_shutter_discovery_time_conf 
-010d 67e44512 store 8 ,mem_ble_shutter_discovery_timeout 
-010e 6fe448a6 fetch 8 ,mem_shutter_reconn_or_discovery_blink_time_conf 
-010f 67e444fa store 8 ,mem_ble_shutter_reconn_blink_on_time 
-0110 58006327 setarg shutter_process_idle 
-0111 67e143db store 2 ,mem_cb_idle_process 
-0112 58000124 setarg p_shutter_process_bb_event 
-0113 67e143dd store 2 ,mem_cb_bb_event_process 
-0114 5800638a setarg ble_shutter_receive_data 
-0115 67e143df store 2 ,mem_cb_att_write 
-0116 58000162 setarg p_shutter_le_bb_event_timer 
-0117 67e143e3 store 2 ,mem_cb_event_timer 
-0118 5800012f setarg p_shutter_key_change 
-0119 67e14524 store 2 ,mem_cb_shutter_keycan 
-011a 204062c2 call shutter_common_init 
-011b 20406396 call shutter_load_buffer_config_form_datarom 
+0106 204070d7 call wdt_set_disable 
+0107 7040a60a jam 0x0a ,mem_lpm_overhead 
+0108 5800000a setarg 0x000a 
+0109 67e144f6 store 2 ,mem_ble_shutter_reconn_timeout 
+010a 58000090 setarg 0x0090 
+010b 67e144f2 store 2 ,mem_ble_shutter_reconn_adv_interval 
+010c 58000140 setarg 0x0140 
+010d 67e144f4 store 2 ,mem_ble_shutter_discovery_adv_interval 
+010e 67e14389 store 2 ,mem_le_adv_interval 
+010f 6fe4489e fetch 8 ,mem_shutter_discovery_time_conf 
+0110 67e44512 store 8 ,mem_ble_shutter_discovery_timeout 
+0111 6fe448a6 fetch 8 ,mem_shutter_reconn_or_discovery_blink_time_conf 
+0112 67e444fa store 8 ,mem_ble_shutter_reconn_blink_on_time 
+0113 58000127 setarg p_shutter_process_idle 
+0114 67e143db store 2 ,mem_cb_idle_process 
+0115 5800012a setarg p_shutter_process_bb_event 
+0116 67e143dd store 2 ,mem_cb_bb_event_process 
+0117 5800638a setarg ble_shutter_receive_data 
+0118 67e143df store 2 ,mem_cb_att_write 
+0119 58000168 setarg p_shutter_le_bb_event_timer 
+011a 67e143e3 store 2 ,mem_cb_event_timer 
+011b 58000135 setarg p_shutter_key_change 
+011c 67e14524 store 2 ,mem_cb_shutter_keycan 
+011d 204062c2 call shutter_common_init 
+011e 20406396 call shutter_load_buffer_config_form_datarom 
 
 p_shutter_power_switch:
-011c 6fe0c51a fetch 1 ,mem_shutter_hard_soft_switch_case 
-011d c0000121 beq hard_switch ,p_shutter_hart_swtich_power_on 
-011e 6fe0c51b fetch 1 ,mem_shutter_soft_switch_button_gpio 
-011f 67e0c4ec store 1 ,mem_ui_button_gpio 
-0120 202063a1 branch ui_soft_swtich_init 
+011f 6fe0c51a fetch 1 ,mem_shutter_hard_soft_switch_case 
+0120 c0000124 beq hard_switch ,p_shutter_hart_swtich_power_on 
+0121 6fe0c51b fetch 1 ,mem_shutter_soft_switch_button_gpio 
+0122 67e0c4ec store 1 ,mem_ui_button_gpio 
+0123 202063a1 branch ui_soft_swtich_init 
 
 p_shutter_hart_swtich_power_on:
-0121 7044ecff jam ui_button_gpio_disable ,mem_ui_button_gpio 
-0122 70451c01 jam ss_state_power_on ,mem_shutter_soft_switch_power_state 
-0123 20206340 branch shutter_start_reconnect 
+0124 7044ecff jam ui_button_gpio_disable ,mem_ui_button_gpio 
+0125 70451c01 jam ss_state_power_on ,mem_shutter_soft_switch_power_state 
+0126 20206340 branch shutter_start_reconnect 
+
+p_shutter_process_idle:
+0127 dfe0000a arg 10 ,pdata 
+0128 204070c8 call wdt_init_config 
+0129 20206327 branch shutter_process_idle 
 
 p_shutter_process_bb_event:
-0124 1a627e00 copy regc ,pdata 
-0125 c0188129 beq bt_evt_le_pairing_success ,p_ble_shutter_pair_success 
-0126 c00a812b beq bt_evt_le_disconnected ,p_ble_shutter_process_baseband_disconnect 
-0127 c01f8163 beq bt_evt_le_reconnect_complete ,p_ble_shutter_process_reconnect_complete 
-0128 202062da branch shutter_process_bb_event + 1 
+012a 1a627e00 copy regc ,pdata 
+012b c018812f beq bt_evt_le_pairing_success ,p_ble_shutter_pair_success 
+012c c00a8131 beq bt_evt_le_disconnected ,p_ble_shutter_process_baseband_disconnect 
+012d c01f8169 beq bt_evt_le_reconnect_complete ,p_ble_shutter_process_reconnect_complete 
+012e 202062da branch shutter_process_bb_event + 1 
 
 p_ble_shutter_pair_success:
-0129 7048ae01 jam 1 ,mem_shutter_ble_connect_flag 
-012a 20600000 rtn 
+012f 7048ae01 jam 1 ,mem_shutter_ble_connect_flag 
+0130 20600000 rtn 
 
 p_ble_shutter_process_baseband_disconnect:
-012b 7048ae00 jam 0 ,mem_shutter_ble_connect_flag 
-012c 204078ad call queue_init 
-012d 7044f100 jam 0 ,mem_ble_shutter_enable_notify 
-012e 20206340 branch shutter_start_reconnect 
+0131 7048ae00 jam 0 ,mem_shutter_ble_connect_flag 
+0132 204078ad call queue_init 
+0133 7044f100 jam 0 ,mem_ble_shutter_enable_notify 
+0134 20206340 branch shutter_start_reconnect 
 
 p_shutter_key_change:
-012f 2040635d call shutter_check_send_data 
-0130 24760000 nrtn user2 
-0131 1a227e00 deposit rega 
-0132 203a0136 branch p_shutter_key_release ,blank 
+0135 2040635d call shutter_check_send_data 
+0136 24760000 nrtn user2 
+0137 1a227e00 deposit rega 
+0138 203a013c branch p_shutter_key_release ,blank 
 
 p_shutter_key_press:
-0133 7048c200 jam 0 ,mem_shutter_release_flag 
-0134 20404323 call app_led_on 
-0135 20200140 branch p_le_get_release_ptr_volume 
+0139 7048c200 jam 0 ,mem_shutter_release_flag 
+013a 20404323 call app_led_on 
+013b 20200146 branch p_le_get_release_ptr_volume 
 
 p_shutter_key_release:
-0136 7048c201 jam 1 ,mem_shutter_release_flag 
-0137 7048c100 jam 0 ,mem_shutter_long_press_flag 
-0138 20404325 call app_led_off 
-0139 da604556 arg mem_key0_release ,regc 
+013c 7048c201 jam 1 ,mem_shutter_release_flag 
+013d 7048c100 jam 0 ,mem_shutter_long_press_flag 
+013e 20404325 call app_led_off 
+013f da604556 arg mem_key0_release ,regc 
 
 p_push_buffer_in_queue:
-013a 6fe0c8c1 fetch 1 ,mem_shutter_long_press_flag 
-013b 247a0000 nrtn blank 
+0140 6fe0c8c1 fetch 1 ,mem_shutter_long_press_flag 
+0141 247a0000 nrtn blank 
 
 p_push_buffer_in_queue_before:
-013c 6fe0c8c2 fetch 1 ,mem_shutter_release_flag 
-013d 243a013f nbranch p_push_buffer_in_queue_next ,blank 
-013e 7048c101 jam 1 ,mem_shutter_long_press_flag 
+0142 6fe0c8c2 fetch 1 ,mem_shutter_release_flag 
+0143 243a0145 nbranch p_push_buffer_in_queue_next ,blank 
+0144 7048c101 jam 1 ,mem_shutter_long_press_flag 
 
 p_push_buffer_in_queue_next:
-013f 20206371 branch push_buffer_in_queue 
+0145 20206371 branch push_buffer_in_queue 
 
 p_le_get_release_ptr_volume:
-0140 6fe0c8c3 fetch 1 ,mem_shutter_key_count 
-0141 79407e00 setflip 0 ,pdata 
-0142 67e0c8c3 store 1 ,mem_shutter_key_count 
-0143 c0000150 beq 0 ,p_key_release_set_volume_dec 
-0144 c0008146 beq 1 ,p_key_release_set_volume_inc 
-0145 20600000 rtn 
+0146 6fe0c8c3 fetch 1 ,mem_shutter_key_count 
+0147 79407e00 setflip 0 ,pdata 
+0148 67e0c8c3 store 1 ,mem_shutter_key_count 
+0149 c0000156 beq 0 ,p_key_release_set_volume_dec 
+014a c000814c beq 1 ,p_key_release_set_volume_inc 
+014b 20600000 rtn 
 
 p_key_release_set_volume_inc:
-0146 58000000 setarg 0x0000 
-0147 67e1452e store 2 ,mem_key0_press 
-0148 58000001 setarg 0x0001 
-0149 67e14533 store 2 ,mem_key1_press 
-014a 58000601 setarg 0x0601 
-014b 67e14556 store 2 ,mem_key0_release 
-014c 58000006 setarg 0x0006 
-014d 67e1455b store 2 ,mem_key1_release 
-014e da60452e arg mem_key0_press ,regc 
-014f 2020015f branch p_push_queue_press_or_release 
+014c 58000000 setarg 0x0000 
+014d 67e1452e store 2 ,mem_key0_press 
+014e 58000001 setarg 0x0001 
+014f 67e14533 store 2 ,mem_key1_press 
+0150 58000601 setarg 0x0601 
+0151 67e14556 store 2 ,mem_key0_release 
+0152 58000006 setarg 0x0006 
+0153 67e1455b store 2 ,mem_key1_release 
+0154 da60452e arg mem_key0_press ,regc 
+0155 20200165 branch p_push_queue_press_or_release 
 
 p_key_release_set_volume_dec:
-0150 58000000 setarg 0x0000 
-0151 67e1452e store 2 ,mem_key0_press 
-0152 58000002 setarg 0x0002 
-0153 67e14533 store 2 ,mem_key1_press 
-0154 58000602 setarg 0x0602 
-0155 67e14556 store 2 ,mem_key0_release 
-0156 58000006 setarg 0x0006 
-0157 67e1455b store 2 ,mem_key1_release 
-0158 da60452e arg mem_key0_press ,regc 
-0159 2020015f branch p_push_queue_press_or_release 
+0156 58000000 setarg 0x0000 
+0157 67e1452e store 2 ,mem_key0_press 
+0158 58000002 setarg 0x0002 
+0159 67e14533 store 2 ,mem_key1_press 
+015a 58000602 setarg 0x0602 
+015b 67e14556 store 2 ,mem_key0_release 
+015c 58000006 setarg 0x0006 
+015d 67e1455b store 2 ,mem_key1_release 
+015e da60452e arg mem_key0_press ,regc 
+015f 20200165 branch p_push_queue_press_or_release 
 
 p_ui_soft_swtich_init_power_on_time:
-015a 68494430 fetcht 2 ,mem_power_param_ptr 
-015b e7e08002 istore 1 ,temp 
-015c efe08005 ifetch 1 ,contw 
-015d 67e0c4eb store 1 ,mem_ui_button_timeout 
-015e 20600000 rtn 
+0160 68494430 fetcht 2 ,mem_power_param_ptr 
+0161 e7e08002 istore 1 ,temp 
+0162 efe08005 ifetch 1 ,contw 
+0163 67e0c4eb store 1 ,mem_ui_button_timeout 
+0164 20600000 rtn 
 
 p_push_queue_press_or_release:
-015f dfe00005 arg max_queue_num ,pdata 
-0160 98effe00 imul32 queue ,pdata 
-0161 9a60a600 iadd regc ,regc 
+0165 dfe00005 arg max_queue_num ,pdata 
+0166 98effe00 imul32 queue ,pdata 
+0167 9a60a600 iadd regc ,regc 
 
 p_shutter_le_bb_event_timer:
-0162 2020630e branch shutter_le_bb_event_timer 
+0168 2020630e branch shutter_le_bb_event_timer 
 
 p_ble_shutter_process_reconnect_complete:
-0163 7048ae01 jam 1 ,mem_shutter_ble_connect_flag 
-0164 204078ad call queue_init 
-0165 7044f101 jam 1 ,mem_ble_shutter_enable_notify 
-0166 6fe44502 fetch 8 ,mem_ble_shutter_interval_min 
-0167 67e442d3 store 8 ,mem_le_interval_min 
-0168 2040432b call app_lpm_mult_enable 
-0169 20202e93 branch le_l2cap_tx_update_req 
+0169 7048ae01 jam 1 ,mem_shutter_ble_connect_flag 
+016a 204078ad call queue_init 
+016b 7044f101 jam 1 ,mem_ble_shutter_enable_notify 
+016c 6fe44502 fetch 8 ,mem_ble_shutter_interval_min 
+016d 67e442d3 store 8 ,mem_le_interval_min 
+016e 2040432b call app_lpm_mult_enable 
+016f 20202e93 branch le_l2cap_tx_update_req 
 
 p_rx_dcoc:
-016a 20758000 rtn wake 
-016b 20402160 call set_sync_on 
-016c d8400027 arg 39 ,temp 
-016d 2040216f call set_freq_rx 
-016e 204021a6 call rf_rx_enable 
-016f 708a257f jam 0x7f ,0x8a25 
-0170 708a301a jam 0x1a ,0x8a30 
-0171 708a3178 jam 0x78 ,0x8a31 
-0172 708a8fb2 jam 0xb2 ,0x8a8f 
-0173 708ac200 jam 0 ,0x8ac2 
-0174 708ac300 jam 0 ,0x8ac3 
-0175 d8e00006 arg 6 ,queue 
-0176 20400187 call p_rx_dcoc_avg 
-0177 2a2ffe0d isolate1 13 ,rega 
-0178 2040211d call qset_start 
-0179 2a4ffe0d isolate1 13 ,regb 
-017a 2040211e call qset_p 
-017b d8e00005 arg 5 ,queue 
+0170 20758000 rtn wake 
+0171 20402160 call set_sync_on 
+0172 d8400027 arg 39 ,temp 
+0173 2040216f call set_freq_rx 
+0174 204021a6 call rf_rx_enable 
+0175 708a257f jam 0x7f ,0x8a25 
+0176 708a301a jam 0x1a ,0x8a30 
+0177 708a3178 jam 0x78 ,0x8a31 
+0178 708a8fb2 jam 0xb2 ,0x8a8f 
+0179 708ac200 jam 0 ,0x8ac2 
+017a 708ac300 jam 0 ,0x8ac3 
+017b d8e00006 arg 6 ,queue 
+017c 2040018d call p_rx_dcoc_avg 
+017d 2a2ffe0d isolate1 13 ,rega 
+017e 2040211d call qset_start 
+017f 2a4ffe0d isolate1 13 ,regb 
+0180 2040211e call qset_p 
+0181 d8e00005 arg 5 ,queue 
 
 p_rx_dcoc_loop2:
-017c 2040211c call qset1_p 
-017d 2040211e call qset_p 
-017e 20400187 call p_rx_dcoc_avg 
-017f d8a08ac2 arg 0x8ac2 ,contw 
-0180 1a31fe00 rshift4 rega ,pdata 
-0181 20402117 call qsetxor 
-0182 1a51fe00 rshift4 regb ,pdata 
-0183 20402117 call qsetxor 
-0184 18e08fff increase -1 ,queue 
-0185 2021017c branch p_rx_dcoc_loop2 ,positive 
-0186 2020214f branch rx_dcoc_loop2 + 10 
+0182 2040211c call qset1_p 
+0183 2040211e call qset_p 
+0184 2040018d call p_rx_dcoc_avg 
+0185 d8a08ac2 arg 0x8ac2 ,contw 
+0186 1a31fe00 rshift4 rega ,pdata 
+0187 20402117 call qsetxor 
+0188 1a51fe00 rshift4 regb ,pdata 
+0189 20402117 call qsetxor 
+018a 18e08fff increase -1 ,queue 
+018b 20210182 branch p_rx_dcoc_loop2 ,positive 
+018c 2020214f branch rx_dcoc_loop2 + 10 
 
 p_rx_dcoc_avg:
-0187 2000003c nop 60 
-0188 58000f00 setarg mem_dcoc_buf 
-0189 67f10982 store 2 ,0x8982 
-018a 58000ff0 setarg mem_dcoc_buf_end 
-018b 67f10984 store 2 ,0x8984 
-018c 70898109 jam 0x9 ,0x8981 
-018d 70898103 jam 0x3 ,0x8981 
-018e 70898006 jam 0x6 ,0x8980 
-018f 2000003c nop 60 
-0190 da200000 arg 0 ,rega 
-0191 da400000 arg 0 ,regb 
-0192 df200010 arg 16 ,loopcnt 
-0193 d8c00f00 arg mem_dcoc_buf ,contr 
-0194 2020212d branch rx_dcoc_loop 
+018d 2000003c nop 60 
+018e 58000f00 setarg mem_dcoc_buf 
+018f 67f10982 store 2 ,0x8982 
+0190 58000ff0 setarg mem_dcoc_buf_end 
+0191 67f10984 store 2 ,0x8984 
+0192 70898109 jam 0x9 ,0x8981 
+0193 70898103 jam 0x3 ,0x8981 
+0194 70898006 jam 0x6 ,0x8980 
+0195 2000003c nop 60 
+0196 da200000 arg 0 ,rega 
+0197 da400000 arg 0 ,regb 
+0198 df200010 arg 16 ,loopcnt 
+0199 d8c00f00 arg mem_dcoc_buf ,contr 
+019a 2020212d branch rx_dcoc_loop 
 
 p_rfpll_aac_ghpc:
-0195 20758000 rtn wake 
-0196 20202272 branch rfpll_aac_ghpc + 1 
+019b 20758000 rtn wake 
+019c 20202272 branch rfpll_aac_ghpc + 1 
 
 p_dpll_ring_ibias_calc:
-0197 20600000 rtn 
+019d 20600000 rtn 
 
 p_sadc_calibration:
-0198 20758000 rtn wake 
-0199 708a0777 jam 0x77 ,core_gpadc_ctrl 
-019a 708a08c9 jam 0xc9 ,core_gpadc_cfg0 
-019b 708a0b01 jam 0x01 ,core_gpadc_cfg3 
-019c 6fe0c409 fetch 1 ,mem_adc_clkdiv 
-019d 67f080cd store 1 ,core_sadc_clkdiv 
-019e 20000bb8 nop 3000 
-019f 204001a8 call p_sadc_read 
-01a0 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
-01a1 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
-01a2 df200008 arg 8 ,loopcnt 
-01a3 20406f58 call sadc_cal_read + 1 
-01a4 6fe0c419 fetch 1 ,mem_spi_write_addr 
-01a5 67e0c433 store 1 ,mem_adc_cal_c7 
-01a6 6240c419 storer regb ,1 ,mem_spi_write_addr 
-01a7 20600000 rtn 
+019e 20758000 rtn wake 
+019f 708a0777 jam 0x77 ,core_gpadc_ctrl 
+01a0 708a08c9 jam 0xc9 ,core_gpadc_cfg0 
+01a1 708a0b01 jam 0x01 ,core_gpadc_cfg3 
+01a2 6fe0c409 fetch 1 ,mem_adc_clkdiv 
+01a3 67f080cd store 1 ,core_sadc_clkdiv 
+01a4 20000bb8 nop 3000 
+01a5 204001ae call p_sadc_read 
+01a6 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
+01a7 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
+01a8 df200008 arg 8 ,loopcnt 
+01a9 20406f58 call sadc_cal_read + 1 
+01aa 6fe0c419 fetch 1 ,mem_spi_write_addr 
+01ab 67e0c433 store 1 ,mem_adc_cal_c7 
+01ac 6240c419 storer regb ,1 ,mem_spi_write_addr 
+01ad 20600000 rtn 
 
 p_sadc_read:
-01a8 7080cc03 jam 0x03 ,core_sadc_ctrl 
+01ae 7080cc03 jam 0x03 ,core_sadc_ctrl 
 
 p_sadc_read_wait:
-01a9 6ff08129 fetch 1 ,core_perf_status 
-01aa c30281a9 bbit0 saradc_done ,p_sadc_read_wait 
-01ab 68590164 fetcht 2 ,core_sadc_data 
-01ac 6049440a storet 2 ,mem_adc_current_value 
-01ad 7080cc00 jam 0x00 ,core_sadc_ctrl 
-01ae 20600000 rtn 
+01af 6ff08129 fetch 1 ,core_perf_status 
+01b0 c30281af bbit0 saradc_done ,p_sadc_read_wait 
+01b1 68590164 fetcht 2 ,core_sadc_data 
+01b2 6049440a storet 2 ,mem_adc_current_value 
+01b3 7080cc00 jam 0x00 ,core_sadc_ctrl 
+01b4 20600000 rtn 
 
 p_set_lemode:
-01af 708a8211 jam 0x11 ,0x8a82 
-01b0 708a8d12 jam 0x12 ,0x8a8d 
-01b1 708a8e0a jam 0x0a ,0x8a8e 
-01b2 6fe0c099 fetch 1 ,mem_fcomp_div 
-01b3 c00801c8 beq xtal_16m ,p_set_lemode_2m_16m 
-01b4 58005762 setarg 0x5762 
-01b5 67f10907 store 2 ,0x8907 
+01b5 708a8211 jam 0x11 ,0x8a82 
+01b6 708a8d12 jam 0x12 ,0x8a8d 
+01b7 708a8e0a jam 0x0a ,0x8a8e 
+01b8 6fe0c099 fetch 1 ,mem_fcomp_div 
+01b9 c00801ce beq xtal_16m ,p_set_lemode_2m_16m 
+01ba 58005762 setarg 0x5762 
+01bb 67f10907 store 2 ,0x8907 
 
 p_set_lemode_2m:
-01b6 70890103 jam 3 ,0x8901 
-01b7 70893003 jam 3 ,0x8930 
-01b8 c6168000 rtnmark1 mark_ble_2m 
-01b9 70890101 jam 1 ,0x8901 
-01ba 708a8207 jam 0x07 ,0x8a82 
-01bb 708a8d44 jam 0x44 ,0x8a8d 
-01bc 708a8e0a jam 0x0a ,0x8a8e 
-01bd 6fe0c099 fetch 1 ,mem_fcomp_div 
-01be c00801c5 beq xtal_16m ,p_set_lemode_1m_16m 
-01bf 58002bb1 setarg 0x2bb1 
-01c0 67f10907 store 2 ,0x8907 
+01bc 70890103 jam 3 ,0x8901 
+01bd 70893003 jam 3 ,0x8930 
+01be c6168000 rtnmark1 mark_ble_2m 
+01bf 70890101 jam 1 ,0x8901 
+01c0 708a8207 jam 0x07 ,0x8a82 
+01c1 708a8d44 jam 0x44 ,0x8a8d 
+01c2 708a8e0a jam 0x0a ,0x8a8e 
+01c3 6fe0c099 fetch 1 ,mem_fcomp_div 
+01c4 c00801cb beq xtal_16m ,p_set_lemode_1m_16m 
+01c5 58002bb1 setarg 0x2bb1 
+01c6 67f10907 store 2 ,0x8907 
 
 p_set_lemode_1m:
-01c1 c6978000 rtnmark0 mark_ble_lr 
-01c2 70893024 jam 0x24 ,0x8930 
-01c3 70890105 jam 5 ,0x8901 
-01c4 20600000 rtn 
+01c7 c6978000 rtnmark0 mark_ble_lr 
+01c8 70893024 jam 0x24 ,0x8930 
+01c9 70890105 jam 5 ,0x8901 
+01ca 20600000 rtn 
 
 p_set_lemode_1m_16m:
-01c5 58004189 setarg 0x4189 
-01c6 67f10907 store 2 ,0x8907 
-01c7 202001c1 branch p_set_lemode_1m 
+01cb 58004189 setarg 0x4189 
+01cc 67f10907 store 2 ,0x8907 
+01cd 202001c7 branch p_set_lemode_1m 
 
 p_set_lemode_2m_16m:
-01c8 58008312 setarg 0x8312 
-01c9 67f10907 store 2 ,0x8907 
-01ca 202001b6 branch p_set_lemode_2m 
+01ce 58008312 setarg 0x8312 
+01cf 67f10907 store 2 ,0x8907 
+01d0 202001bc branch p_set_lemode_2m 
 
 p_le_parse:
-01cb 6fe0c334 fetch 1 ,mem_le_packet_llid 
-01cc c1000000 rtneq llid_reserved 
-01cd c001b04a beq llid_le_ll ,le_parse_ll 
-01ce 202028e1 branch le_parse_l2cap 
+01d1 6fe0c334 fetch 1 ,mem_le_packet_llid 
+01d2 c1000000 rtneq llid_reserved 
+01d3 c001b04a beq llid_le_ll ,le_parse_ll 
+01d4 202028e1 branch le_parse_l2cap 
 
 p_le_init_adv:
-01cf 793f8030 set0 mark_ble_crc_fail ,mark 
-01d0 20202af6 branch le_init_adv + 1 
+01d5 793f8030 set0 mark_ble_crc_fail ,mark 
+01d6 20202af6 branch le_init_adv + 1 
 
 p_le_receive_rxon:
-01d1 204025c2 call le_prep 
-01d2 c59781d7 bmark0 mark_ble_lr ,p_le_receive_nolr 
-01d3 783cfc00 pulse dewhiten_code_calc 
-01d4 2000001e nop 30 
-01d5 204025c2 call le_prep 
-01d6 19699600 lshift3 timeup ,timeup 
+01d7 204025c2 call le_prep 
+01d8 c59781dd bmark0 mark_ble_lr ,p_le_receive_nolr 
+01d9 783cfc00 pulse dewhiten_code_calc 
+01da 2000001e nop 30 
+01db 204025c2 call le_prep 
+01dc 19699600 lshift3 timeup ,timeup 
 
 p_le_receive_nolr:
-01d7 7856fc00 disable match 
-01d8 7826fc00 enable decode_fec0 
-01d9 7830fc00 enable is_rx 
-01da 78507c00 disable is_tx 
-01db 19623600 copy timeup ,stop_watch 
-01dc 37c18400 correlate null ,timeout 
-01dd 203701e0 branch p_le_receive_on_attempt ,attempt 
-01de 1b420400 copy clke ,temp 
-01df 604b000f storet 6 ,mem_sync_clke 
+01dd 7856fc00 disable match 
+01de 7826fc00 enable decode_fec0 
+01df 7830fc00 enable is_rx 
+01e0 78507c00 disable is_tx 
+01e1 19623600 copy timeup ,stop_watch 
+01e2 37c18400 correlate null ,timeout 
+01e3 203701e6 branch p_le_receive_on_attempt ,attempt 
+01e4 1b420400 copy clke ,temp 
+01e5 604b000f storet 6 ,mem_sync_clke 
 
 p_le_receive_on_attempt:
-01e0 242c26fa nbranch le_unsync_end ,sync 
-01e1 78287c00 enable swfine 
-01e2 6fe0c167 fetch 1 ,mem_le_tx_ifs_defference 
-01e3 d8404e20 arg param_20ms_init ,temp 
-01e4 98408400 iadd temp ,temp 
-01e5 6fe0c148 fetch 1 ,mem_system_clk 
-01e6 984fb600 imul32 temp ,stop_watch 
-01e7 20406877 call rf_debug_rx_sync_line 
-01e8 20372677 branch le_receive_skip ,attempt 
-01e9 204001ee call p_calc_clke_all_modem 
-01ea 6fe08168 fetch 1 ,mem_le_state 
-01eb c301a677 bbit0 lestate_got_first_packet ,le_receive_skip 
-01ec 2055a477 call lpm_adjust_clk ,wake 
-01ed 20202677 branch le_receive_skip 
+01e6 242c26fa nbranch le_unsync_end ,sync 
+01e7 78287c00 enable swfine 
+01e8 6fe0c167 fetch 1 ,mem_le_tx_ifs_defference 
+01e9 d8404e20 arg param_20ms_init ,temp 
+01ea 98408400 iadd temp ,temp 
+01eb 6fe0c148 fetch 1 ,mem_system_clk 
+01ec 984fb600 imul32 temp ,stop_watch 
+01ed 20406877 call rf_debug_rx_sync_line 
+01ee 20372677 branch le_receive_skip ,attempt 
+01ef 204001f4 call p_calc_clke_all_modem 
+01f0 6fe08168 fetch 1 ,mem_le_state 
+01f1 c301a677 bbit0 lestate_got_first_packet ,le_receive_skip 
+01f2 2055a477 call lpm_adjust_clk ,wake 
+01f3 20202677 branch le_receive_skip 
 
 p_calc_clke_all_modem:
-01ee 684b000f fetcht 6 ,mem_sync_clke 
-01ef 1b427e00 copy clke ,pdata 
-01f0 20407d12 call clk_diff 
-01f1 1fe20400 copy pdata ,temp 
-01f2 204026ff call calc_clke_all_modem 
-01f3 1b425600 copy clke ,rege 
-01f4 1d227e00 copy clke_rt ,pdata 
-01f5 9840fe00 iadd temp ,pdata 
-01f6 1fe25200 copy pdata ,clke_rt 
-01f7 20600000 rtn 
+01f4 684b000f fetcht 6 ,mem_sync_clke 
+01f5 1b427e00 copy clke ,pdata 
+01f6 20407d12 call clk_diff 
+01f7 1fe20400 copy pdata ,temp 
+01f8 204026ff call calc_clke_all_modem 
+01f9 1b425600 copy clke ,rege 
+01fa 1d227e00 copy clke_rt ,pdata 
+01fb 9840fe00 iadd temp ,pdata 
+01fc 1fe25200 copy pdata ,clke_rt 
+01fd 20600000 rtn 
 
 p_lpm_adjust_clk:
-01f8 c584a489 bmark0 mark_context ,lpm_clear_counter 
-01f9 684a40ad fetcht 4 ,mem_sleep_counter_all 
-01fa dfe00600 arg 0x600 ,pdata 
-01fb 98467c00 isub temp ,null 
-01fc 20610000 rtn positive 
-01fd 18422200 copy temp ,rega 
-01fe 684b000f fetcht 6 ,mem_sync_clke 
-01ff 1d627e00 deposit rege 
-0200 20407d10 call clk_diff_rt 
-0201 1a220400 copy rega ,temp 
-0202 2020247d branch lpm_adjust_clk + 6 
+01fe c584a489 bmark0 mark_context ,lpm_clear_counter 
+01ff 684a40ad fetcht 4 ,mem_sleep_counter_all 
+0200 dfe00600 arg 0x600 ,pdata 
+0201 98467c00 isub temp ,null 
+0202 20610000 rtn positive 
+0203 18422200 copy temp ,rega 
+0204 684b000f fetcht 6 ,mem_sync_clke 
+0205 1d627e00 deposit rege 
+0206 20407d10 call clk_diff_rt 
+0207 1a220400 copy rega ,temp 
+0208 2020247d branch lpm_adjust_clk + 6 
 
 p_lpm_sleep:
-0203 6fe143e9 fetch 2 ,mem_cb_before_lpm_sleep 
-0204 20407d79 call callback_func 
-0205 58000012 setarg 0x12 
-0206 2040009b call p_set_xtal_cap_next 
+0209 6fe143e9 fetch 2 ,mem_cb_before_lpm_sleep 
+020a 20407d79 call callback_func 
+020b 58000012 setarg 0x12 
+020c 2040009b call p_set_xtal_cap_next 
 
 p_lpm_sleep_skip_cb_function:
-0207 6fe240ad fetch 4 ,mem_sleep_counter_all 
-0208 9840fe00 iadd temp ,pdata 
-0209 67e240ad store 4 ,mem_sleep_counter_all 
-020a 2040020c call p_lpm_save_context 
-020b 20202425 branch lpm_sleep_skip_cb_function + 4 
+020d 6fe240ad fetch 4 ,mem_sleep_counter_all 
+020e 9840fe00 iadd temp ,pdata 
+020f 67e240ad store 4 ,mem_sleep_counter_all 
+0210 20400212 call p_lpm_save_context 
+0211 20202425 branch lpm_sleep_skip_cb_function + 4 
 
 p_lpm_save_context:
-020c 600440e7 storer mark ,8 ,mem_saved_mark 
-020d d8c08070 arg core_gpio_conf ,contr 
-020e d8a040cc arg mem_saved_gpio ,contw 
-020f 20407c8f call memcpy16 
-0210 d8c080d4 arg core_gpio_conf_hi ,contr 
-0211 20407c89 call memcpy8 
-0212 6ff08080 fetch 1 ,core_spid_ctrl 
-0213 67e0c0ef store 1 ,mem_saved_spidctrl 
-0214 18422400 copy temp ,regb 
+0212 600440e7 storer mark ,8 ,mem_saved_mark 
+0213 d8c08070 arg core_gpio_conf ,contr 
+0214 d8a040cc arg mem_saved_gpio ,contw 
+0215 20407c8f call memcpy16 
+0216 d8c080d4 arg core_gpio_conf_hi ,contr 
+0217 20407c89 call memcpy8 
+0218 6ff08080 fetch 1 ,core_spid_ctrl 
+0219 67e0c0ef store 1 ,mem_saved_spidctrl 
+021a 18422400 copy temp ,regb 
 
 p_lpm_write_gpio_wakeup:
-0215 df20000c arg 12 ,loopcnt 
-0216 da200016 arg mem_gpio_wakeup_cfg ,rega 
-0217 da60814d arg core_gpio_wakeup_cfg ,regc 
-0218 37d98200 until null ,lpo_edge 
+021b df20000c arg 12 ,loopcnt 
+021c da200016 arg mem_gpio_wakeup_cfg ,rega 
+021d da60814d arg core_gpio_wakeup_cfg ,regc 
+021e 37d98200 until null ,lpo_edge 
 
 p_lpm_write_gpio_loop:
-0219 efe08011 ifetch 1 ,rega 
-021a e8408013 ifetcht 1 ,regc 
-021b 98467c00 isub temp ,null 
-021c 2022821f branch p_lpm_write_gpio_loop_next ,zero 
-021d e7e08013 istore 1 ,regc 
-021e 37d98200 until null ,lpo_edge 
+021f efe08011 ifetch 1 ,rega 
+0220 e8408013 ifetcht 1 ,regc 
+0221 98467c00 isub temp ,null 
+0222 20228225 branch p_lpm_write_gpio_loop_next ,zero 
+0223 e7e08013 istore 1 ,regc 
+0224 37d98200 until null ,lpo_edge 
 
 p_lpm_write_gpio_loop_next:
-021f 1a20a201 increase 1 ,rega 
-0220 1a60a601 increase 1 ,regc 
-0221 c2000219 loop p_lpm_write_gpio_loop 
-0222 1a420400 copy regb ,temp 
-0223 20600000 rtn 
+0225 1a20a201 increase 1 ,rega 
+0226 1a60a601 increase 1 ,regc 
+0227 c200021f loop p_lpm_write_gpio_loop 
+0228 1a420400 copy regb ,temp 
+0229 20600000 rtn 
               org 0x2000
 
 start:
Index: output/ramcode.rom
===================================================================
--- /1121s/branch/shutter/branch/shutter/yb_project/yc1386s_shutter_H58/output/ramcode.rom	(revision 3585)
+++ /1121s/branch/shutter/branch/shutter/yb_project/yc1386s_shutter_H58/output/ramcode.rom	(working copy)
@@ -2,24 +2,24 @@
 c0000018
 c001005a
 c0088063
-c00a01af
+c00a01b5
 c00a80ea
 c00c00f8
 c00c80b7
 c00d0071
 c00e001c
-c0128203
-c01381f8
+c0128209
+c01381fe
 c0588102
 c06280ff
-c06d0198
+c06d019e
 2020235a
-c01201d1
+c01201d7
 c0128055
 c0130045
-c01c81cb
+c01c81d1
 c01f802a
-c02681cf
+c02681d5
 c17f8000
 2020235a
 2435a002
@@ -145,12 +145,12 @@
 58557474
 67f18968
 7089606e
-2040016a
-20400195
+20400170
+2040019b
 20400099
 7041480c
 20406f4e
-20200197
+2020019d
 37d98200
 6fe0c11c
 67f0813a
@@ -260,8 +260,11 @@
 7080d6c0
 20407396
 20758000
+204070d7
 7040a60a
-5800000e
+5800000a
+67e144f6
+58000090
 67e144f2
 58000140
 67e144f4
@@ -270,30 +273,33 @@
 67e44512
 6fe448a6
 67e444fa
-58006327
+58000127
 67e143db
-58000124
+5800012a
 67e143dd
 5800638a
 67e143df
-58000162
+58000168
 67e143e3
-5800012f
+58000135
 67e14524
 204062c2
 20406396
 6fe0c51a
-c0000121
+c0000124
 6fe0c51b
 67e0c4ec
 202063a1
 7044ecff
 70451c01
 20206340
+dfe0000a
+204070c8
+20206327
 1a627e00
-c0188129
-c00a812b
-c01f8163
+c018812f
+c00a8131
+c01f8169
 202062da
 7048ae01
 20600000
@@ -304,10 +310,10 @@
 2040635d
 24760000
 1a227e00
-203a0136
+203a013c
 7048c200
 20404323
-20200140
+20200146
 7048c201
 7048c100
 20404325
@@ -315,14 +321,14 @@
 6fe0c8c1
 247a0000
 6fe0c8c2
-243a013f
+243a0145
 7048c101
 20206371
 6fe0c8c3
 79407e00
 67e0c8c3
-c0000150
-c0008146
+c0000156
+c000814c
 20600000
 58000000
 67e1452e
@@ -333,7 +339,7 @@
 58000006
 67e1455b
 da60452e
-2020015f
+20200165
 58000000
 67e1452e
 58000002
@@ -343,7 +349,7 @@
 58000006
 67e1455b
 da60452e
-2020015f
+20200165
 68494430
 e7e08002
 efe08005
@@ -372,7 +378,7 @@
 708ac200
 708ac300
 d8e00006
-20400187
+2040018d
 2a2ffe0d
 2040211d
 2a4ffe0d
@@ -380,14 +386,14 @@
 d8e00005
 2040211c
 2040211e
-20400187
+2040018d
 d8a08ac2
 1a31fe00
 20402117
 1a51fe00
 20402117
 18e08fff
-2021017c
+20210182
 2020214f
 2000003c
 58000f00
@@ -413,7 +419,7 @@
 6fe0c409
 67f080cd
 20000bb8
-204001a8
+204001ae
 708a08c1
 6a40c419
 df200008
@@ -424,7 +430,7 @@
 20600000
 7080cc03
 6ff08129
-c30281a9
+c30281af
 68590164
 6049440a
 7080cc00
@@ -433,7 +439,7 @@
 708a8d12
 708a8e0a
 6fe0c099
-c00801c8
+c00801ce
 58005762
 67f10907
 70890103
@@ -444,7 +450,7 @@
 708a8d44
 708a8e0a
 6fe0c099
-c00801c5
+c00801cb
 58002bb1
 67f10907
 c6978000
@@ -453,10 +459,10 @@
 20600000
 58004189
 67f10907
-202001c1
+202001c7
 58008312
 67f10907
-202001b6
+202001bc
 6fe0c334
 c1000000
 c001b04a
@@ -464,7 +470,7 @@
 793f8030
 20202af6
 204025c2
-c59781d7
+c59781dd
 783cfc00
 2000001e
 204025c2
@@ -475,7 +481,7 @@
 78507c00
 19623600
 37c18400
-203701e0
+203701e6
 1b420400
 604b000f
 242c26fa
@@ -487,7 +493,7 @@
 984fb600
 20406877
 20372677
-204001ee
+204001f4
 6fe08168
 c301a677
 2055a477
@@ -520,7 +526,7 @@
 6fe240ad
 9840fe00
 67e240ad
-2040020c
+20400212
 20202425
 600440e7
 d8c08070
@@ -538,11 +544,11 @@
 efe08011
 e8408013
 98467c00
-2022821f
+20228225
 e7e08013
 37d98200
 1a20a201
 1a60a601
-c2000219
+c200021f
 1a420400
 20600000
Index: output/sched.rom
===================================================================
--- /1121s/branch/shutter/branch/shutter/yb_project/yc1386s_shutter_H58/output/sched.rom	(revision 3585)
+++ /1121s/branch/shutter/branch/shutter/yb_project/yc1386s_shutter_H58/output/sched.rom	(working copy)
@@ -72,11 +72,12 @@
 mem_le_lap:39 31 1f 98 07 2a
 mem_le_name_len:
 # 'AB Shutter3
-'Selfie
+#'Selfie
+'Wi-SE015
 
-mem_shutter_key_conf0_temp:11 ff 90 00 11 #pcb2022-277
+mem_shutter_key_conf0_temp:11 ff 90 00 ff #pcb2022-277
 # mem_shutter_key_conf0_temp:15 ff 8c 01 15 #pcb2022-277
-mem_shutter_soft_switch_first_power_on:01
+mem_shutter_soft_switch_first_power_on:00
 
 mem_tx_power:05
 
@@ -91,8 +92,8 @@
 70 17 #sleep_timer
 
 mem_shutter_reconn_or_discovery_blink_time_conf:
-a0 01 #mem_ble_shutter_reconn_blink_on_time
-a0 01 #mem_ble_shutter_reconn_blink_off_time
+a0 02 #mem_ble_shutter_reconn_blink_on_time
+a0 02 #mem_ble_shutter_reconn_blink_off_time
 20 04 #mem_ble_shutter_discovery_blink_on_time
 20 04 #mem_ble_shutter_discovery_blink_off_time
 
@@ -110,7 +111,7 @@
 mem_lpm_xtalcnt:70 3f 64
 mem_lpm_isogate:db 7b 3b
 mem_lpm_hibernate_switch:20
-mem_lpm_ldo_sel:00
+mem_lpm_ldo_sel:20
 mem_lpm_sysctl:08
 mem_lpm_hv_sel:b4
 
Index: program/patch.prog
===================================================================
--- /1121s/branch/shutter/branch/shutter/yb_project/yc1386s_shutter_H58/program/patch.prog	(revision 3585)
+++ /1121s/branch/shutter/branch/shutter/yb_project/yc1386s_shutter_H58/program/patch.prog	(working copy)
@@ -343,6 +343,7 @@
 	call enable_authrom
 	rtn wake
 	//call shutter_default_init
+	call wdt_set_disable
 	jam 0x0a,mem_lpm_overhead
 	setarg 0x000a
 	store 2,mem_ble_shutter_reconn_timeout
@@ -357,7 +358,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
@@ -387,6 +388,11 @@
 	jam SS_STATE_POWER_ON,mem_shutter_soft_switch_power_state
 	branch shutter_start_reconnect
 
+p_shutter_process_idle:
+	arg 10, pdata //Լ96ms
+	call wdt_init_config
+	branch shutter_process_idle
+
 p_shutter_process_bb_event:
 	copy regc,pdata
 	beq BT_EVT_LE_PAIRING_SUCCESS,p_ble_shutter_pair_success
Index: sched/shutter.dat
===================================================================
--- /1121s/branch/shutter/branch/shutter/yb_project/yc1386s_shutter_H58/sched/shutter.dat	(revision 3585)
+++ /1121s/branch/shutter/branch/shutter/yb_project/yc1386s_shutter_H58/sched/shutter.dat	(working copy)
@@ -5,7 +5,8 @@
 mem_le_lap:39 31 1f 98 07 2a
 mem_le_name_len:
 # 'AB Shutter3
-'Selfie
+#'Selfie
+'Wi-SE015
 
 mem_shutter_key_conf0_temp:11 ff 90 00 ff #pcb2022-277
 # mem_shutter_key_conf0_temp:15 ff 8c 01 15 #pcb2022-277
