Index: output/eeprom.dat
===================================================================
--- /1121s/branch/shutter/branch/shutter/jxy_project/yc1386s_jxy_pcb028_2key/output/eeprom.dat	(revision 2803)
+++ /1121s/branch/shutter/branch/shutter/jxy_project/yc1386s_jxy_pcb028_2key/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-b2
+ca
 07
 c2
 84
@@ -23,27 +23,27 @@
 c0
 0a
 01
-ab
+b1
 c0
 0a
 81
-0a
+0f
 c0
 0c
 01
-18
+1d
 c0
 0c
 80
-d7
+dc
 c0
 0d
 00
-91
+95
 c0
 12
 81
-cd
+d3
 c0
 13
 80
@@ -51,19 +51,19 @@
 c0
 58
 81
-22
+27
 c0
 62
 81
-1f
+24
 c0
 6d
 01
-7c
+82
 c0
 6e
 01
-8c
+92
 20
 20
 23
@@ -83,7 +83,7 @@
 c0
 1c
 81
-c7
+cd
 c0
 1f
 80
@@ -91,7 +91,7 @@
 c0
 26
 81
-cb
+d1
 c1
 7f
 80
@@ -584,6 +584,22 @@
 60
 00
 00
+37
+d9
+82
+00
+70
+81
+3c
+58
+37
+d9
+82
+00
+20
+60
+00
+00
 70
 01
 bb
@@ -627,7 +643,7 @@
 20
 40
 00
-df
+e4
 6f
 e0
 c4
@@ -636,6 +652,10 @@
 5a
 70
 d7
+24
+55
+80
+91
 37
 d9
 82
@@ -651,7 +671,7 @@
 c0
 08
 00
-cc
+d1
 6f
 e0
 c4
@@ -695,7 +715,7 @@
 20
 40
 00
-be
+c3
 70
 80
 43
@@ -719,15 +739,15 @@
 20
 40
 01
-4e
+54
 20
 40
 01
-79
+7f
 20
 40
 00
-b8
+bd
 70
 41
 48
@@ -739,7 +759,7 @@
 20
 20
 01
-7b
+81
 20
 75
 80
@@ -771,7 +791,7 @@
 c0
 0c
 00
-c4
+c9
 6f
 e0
 c4
@@ -863,7 +883,7 @@
 20
 20
 00
-aa
+af
 6f
 e0
 c1
@@ -871,7 +891,7 @@
 c0
 05
 00
-da
+df
 20
 20
 22
@@ -899,7 +919,7 @@
 20
 35
 81
-06
+0b
 6f
 e2
 02
@@ -1067,7 +1087,7 @@
 20
 20
 00
-f0
+f5
 20
 40
 68
@@ -1180,6 +1200,10 @@
 75
 80
 00
+70
+40
+a6
+0a
 58
 00
 00
@@ -1227,7 +1251,7 @@
 58
 00
 01
-3c
+42
 67
 e1
 43
@@ -1275,15 +1299,15 @@
 c0
 18
 81
-41
+47
 c0
 0a
 81
-43
+49
 c0
 1f
 81
-47
+4d
 20
 20
 62
@@ -1391,7 +1415,7 @@
 20
 40
 01
-6b
+71
 2a
 2f
 fe
@@ -1423,7 +1447,7 @@
 20
 40
 01
-6b
+71
 d8
 a0
 8a
@@ -1451,7 +1475,7 @@
 20
 21
 01
-60
+66
 20
 20
 21
@@ -1555,7 +1579,7 @@
 20
 40
 01
-a4
+aa
 70
 8a
 08
@@ -1591,7 +1615,7 @@
 20
 40
 01
-9a
+a0
 6f
 f0
 8a
@@ -1635,7 +1659,7 @@
 20
 40
 01
-a4
+aa
 70
 80
 cd
@@ -1695,7 +1719,7 @@
 c3
 02
 81
-a5
+ab
 68
 59
 01
@@ -1731,7 +1755,7 @@
 c0
 08
 01
-c4
+ca
 58
 00
 57
@@ -1775,7 +1799,7 @@
 c0
 08
 01
-c1
+c7
 58
 00
 2b
@@ -1811,7 +1835,7 @@
 20
 20
 01
-bd
+c3
 58
 00
 83
@@ -1823,7 +1847,7 @@
 20
 20
 01
-b2
+b8
 6f
 e0
 c3
@@ -1871,7 +1895,7 @@
 20
 40
 01
-d4
+da
 20
 20
 24
@@ -1943,7 +1967,7 @@
 20
 22
 81
-e7
+ed
 e7
 e0
 80
@@ -1963,7 +1987,7 @@
 c2
 00
 01
-e1
+e7
 1a
 42
 04
@@ -1972,8 +1996,8 @@
 60
 00
 00
-c7
-d5
+09
+28
 aa
 55
 40
@@ -2186,7 +2210,7 @@
 00
 1c
 41
-7b
+3b
 aa
 55
 0c
@@ -2230,7 +2254,7 @@
 9a
 40
 00
-0c
+30
 aa
 55
 05
@@ -2330,34 +2354,10 @@
 aa
 aa
 55
-76
+5a
 4c
-c1
-28
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+07
+e1
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-10
-8f
+23
+ad
Index: output/flash.dat
===================================================================
--- /1121s/branch/shutter/branch/shutter/jxy_project/yc1386s_jxy_pcb028_2key/output/flash.dat	(revision 2803)
+++ /1121s/branch/shutter/branch/shutter/jxy_project/yc1386s_jxy_pcb028_2key/output/flash.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-b2
+ca
 07
 c2
 84
@@ -23,27 +23,27 @@
 c0
 0a
 01
-ab
+b1
 c0
 0a
 81
-0a
+0f
 c0
 0c
 01
-18
+1d
 c0
 0c
 80
-d7
+dc
 c0
 0d
 00
-91
+95
 c0
 12
 81
-cd
+d3
 c0
 13
 80
@@ -51,19 +51,19 @@
 c0
 58
 81
-22
+27
 c0
 62
 81
-1f
+24
 c0
 6d
 01
-7c
+82
 c0
 6e
 01
-8c
+92
 20
 20
 23
@@ -83,7 +83,7 @@
 c0
 1c
 81
-c7
+cd
 c0
 1f
 80
@@ -91,7 +91,7 @@
 c0
 26
 81
-cb
+d1
 c1
 7f
 80
@@ -584,6 +584,22 @@
 60
 00
 00
+37
+d9
+82
+00
+70
+81
+3c
+58
+37
+d9
+82
+00
+20
+60
+00
+00
 70
 01
 bb
@@ -627,7 +643,7 @@
 20
 40
 00
-df
+e4
 6f
 e0
 c4
@@ -636,6 +652,10 @@
 5a
 70
 d7
+24
+55
+80
+91
 37
 d9
 82
@@ -651,7 +671,7 @@
 c0
 08
 00
-cc
+d1
 6f
 e0
 c4
@@ -695,7 +715,7 @@
 20
 40
 00
-be
+c3
 70
 80
 43
@@ -719,15 +739,15 @@
 20
 40
 01
-4e
+54
 20
 40
 01
-79
+7f
 20
 40
 00
-b8
+bd
 70
 41
 48
@@ -739,7 +759,7 @@
 20
 20
 01
-7b
+81
 20
 75
 80
@@ -771,7 +791,7 @@
 c0
 0c
 00
-c4
+c9
 6f
 e0
 c4
@@ -863,7 +883,7 @@
 20
 20
 00
-aa
+af
 6f
 e0
 c1
@@ -871,7 +891,7 @@
 c0
 05
 00
-da
+df
 20
 20
 22
@@ -899,7 +919,7 @@
 20
 35
 81
-06
+0b
 6f
 e2
 02
@@ -1067,7 +1087,7 @@
 20
 20
 00
-f0
+f5
 20
 40
 68
@@ -1180,6 +1200,10 @@
 75
 80
 00
+70
+40
+a6
+0a
 58
 00
 00
@@ -1227,7 +1251,7 @@
 58
 00
 01
-3c
+42
 67
 e1
 43
@@ -1275,15 +1299,15 @@
 c0
 18
 81
-41
+47
 c0
 0a
 81
-43
+49
 c0
 1f
 81
-47
+4d
 20
 20
 62
@@ -1391,7 +1415,7 @@
 20
 40
 01
-6b
+71
 2a
 2f
 fe
@@ -1423,7 +1447,7 @@
 20
 40
 01
-6b
+71
 d8
 a0
 8a
@@ -1451,7 +1475,7 @@
 20
 21
 01
-60
+66
 20
 20
 21
@@ -1555,7 +1579,7 @@
 20
 40
 01
-a4
+aa
 70
 8a
 08
@@ -1591,7 +1615,7 @@
 20
 40
 01
-9a
+a0
 6f
 f0
 8a
@@ -1635,7 +1659,7 @@
 20
 40
 01
-a4
+aa
 70
 80
 cd
@@ -1695,7 +1719,7 @@
 c3
 02
 81
-a5
+ab
 68
 59
 01
@@ -1731,7 +1755,7 @@
 c0
 08
 01
-c4
+ca
 58
 00
 57
@@ -1775,7 +1799,7 @@
 c0
 08
 01
-c1
+c7
 58
 00
 2b
@@ -1811,7 +1835,7 @@
 20
 20
 01
-bd
+c3
 58
 00
 83
@@ -1823,7 +1847,7 @@
 20
 20
 01
-b2
+b8
 6f
 e0
 c3
@@ -1871,7 +1895,7 @@
 20
 40
 01
-d4
+da
 20
 20
 24
@@ -1943,7 +1967,7 @@
 20
 22
 81
-e7
+ed
 e7
 e0
 80
@@ -1963,7 +1987,7 @@
 c2
 00
 01
-e1
+e7
 1a
 42
 04
@@ -1972,8 +1996,8 @@
 60
 00
 00
-c7
-d5
+09
+28
 aa
 55
 40
@@ -2186,7 +2210,7 @@
 00
 1c
 41
-7b
+3b
 aa
 55
 0c
@@ -2230,7 +2254,7 @@
 9a
 40
 00
-0c
+30
 aa
 55
 05
@@ -2330,34 +2354,10 @@
 aa
 aa
 55
-76
+5a
 4c
-c1
-28
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+07
+e1
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-10
-8f
+23
+ad
Index: output/otp.dat
===================================================================
--- /1121s/branch/shutter/branch/shutter/jxy_project/yc1386s_jxy_pcb028_2key/output/otp.dat	(revision 2803)
+++ /1121s/branch/shutter/branch/shutter/jxy_project/yc1386s_jxy_pcb028_2key/output/otp.dat	(working copy)
@@ -11,7 +11,7 @@
 00
 aa
 55
-b2
+ca
 07
 c2
 84
@@ -32,27 +32,27 @@
 c0
 0a
 01
-ab
+b1
 c0
 0a
 81
-0a
+0f
 c0
 0c
 01
-18
+1d
 c0
 0c
 80
-d7
+dc
 c0
 0d
 00
-91
+95
 c0
 12
 81
-cd
+d3
 c0
 13
 80
@@ -60,19 +60,19 @@
 c0
 58
 81
-22
+27
 c0
 62
 81
-1f
+24
 c0
 6d
 01
-7c
+82
 c0
 6e
 01
-8c
+92
 20
 20
 23
@@ -92,7 +92,7 @@
 c0
 1c
 81
-c7
+cd
 c0
 1f
 80
@@ -100,7 +100,7 @@
 c0
 26
 81
-cb
+d1
 c1
 7f
 80
@@ -593,6 +593,22 @@
 60
 00
 00
+37
+d9
+82
+00
+70
+81
+3c
+58
+37
+d9
+82
+00
+20
+60
+00
+00
 70
 01
 bb
@@ -636,7 +652,7 @@
 20
 40
 00
-df
+e4
 6f
 e0
 c4
@@ -645,6 +661,10 @@
 5a
 70
 d7
+24
+55
+80
+91
 37
 d9
 82
@@ -660,7 +680,7 @@
 c0
 08
 00
-cc
+d1
 6f
 e0
 c4
@@ -704,7 +724,7 @@
 20
 40
 00
-be
+c3
 70
 80
 43
@@ -728,15 +748,15 @@
 20
 40
 01
-4e
+54
 20
 40
 01
-79
+7f
 20
 40
 00
-b8
+bd
 70
 41
 48
@@ -748,7 +768,7 @@
 20
 20
 01
-7b
+81
 20
 75
 80
@@ -780,7 +800,7 @@
 c0
 0c
 00
-c4
+c9
 6f
 e0
 c4
@@ -872,7 +892,7 @@
 20
 20
 00
-aa
+af
 6f
 e0
 c1
@@ -880,7 +900,7 @@
 c0
 05
 00
-da
+df
 20
 20
 22
@@ -908,7 +928,7 @@
 20
 35
 81
-06
+0b
 6f
 e2
 02
@@ -1076,7 +1096,7 @@
 20
 20
 00
-f0
+f5
 20
 40
 68
@@ -1189,6 +1209,10 @@
 75
 80
 00
+70
+40
+a6
+0a
 58
 00
 00
@@ -1236,7 +1260,7 @@
 58
 00
 01
-3c
+42
 67
 e1
 43
@@ -1284,15 +1308,15 @@
 c0
 18
 81
-41
+47
 c0
 0a
 81
-43
+49
 c0
 1f
 81
-47
+4d
 20
 20
 62
@@ -1400,7 +1424,7 @@
 20
 40
 01
-6b
+71
 2a
 2f
 fe
@@ -1432,7 +1456,7 @@
 20
 40
 01
-6b
+71
 d8
 a0
 8a
@@ -1460,7 +1484,7 @@
 20
 21
 01
-60
+66
 20
 20
 21
@@ -1564,7 +1588,7 @@
 20
 40
 01
-a4
+aa
 70
 8a
 08
@@ -1600,7 +1624,7 @@
 20
 40
 01
-9a
+a0
 6f
 f0
 8a
@@ -1644,7 +1668,7 @@
 20
 40
 01
-a4
+aa
 70
 80
 cd
@@ -1704,7 +1728,7 @@
 c3
 02
 81
-a5
+ab
 68
 59
 01
@@ -1740,7 +1764,7 @@
 c0
 08
 01
-c4
+ca
 58
 00
 57
@@ -1784,7 +1808,7 @@
 c0
 08
 01
-c1
+c7
 58
 00
 2b
@@ -1820,7 +1844,7 @@
 20
 20
 01
-bd
+c3
 58
 00
 83
@@ -1832,7 +1856,7 @@
 20
 20
 01
-b2
+b8
 6f
 e0
 c3
@@ -1880,7 +1904,7 @@
 20
 40
 01
-d4
+da
 20
 20
 24
@@ -1952,7 +1976,7 @@
 20
 22
 81
-e7
+ed
 e7
 e0
 80
@@ -1972,7 +1996,7 @@
 c2
 00
 01
-e1
+e7
 1a
 42
 04
@@ -1981,8 +2005,8 @@
 60
 00
 00
-c7
-d5
+09
+28
 aa
 55
 40
@@ -2195,7 +2219,7 @@
 00
 1c
 41
-7b
+3b
 aa
 55
 0c
@@ -2239,7 +2263,7 @@
 9a
 40
 00
-0c
+30
 aa
 55
 05
@@ -2339,7 +2363,7 @@
 aa
 aa
 55
-76
+5a
 4c
-c1
-28
+07
+e1
Index: output/program.lis
===================================================================
--- /1121s/branch/shutter/branch/shutter/jxy_project/yc1386s_jxy_pcb028_2key/output/program.lis	(revision 2803)
+++ /1121s/branch/shutter/branch/shutter/jxy_project/yc1386s_jxy_pcb028_2key/output/program.lis	(working copy)
@@ -4,26 +4,26 @@
 0001 c0000061 beq patch00_0 ,p_soft_reset 
 0002 c001007a beq patch00_2 ,p_main_loop 
 0003 c0088083 beq patch02_1 ,p_set_sync_on 
-0004 c00a01ab beq patch02_4 ,p_set_lemode 
-0005 c00a810a beq patch02_5 ,p_rf_rx_enable 
-0006 c00c0118 beq patch03_0 ,p_txon 
-0007 c00c80d7 beq patch03_1 ,p_set_tx_power 
-0008 c00d0091 beq patch03_2 ,p_initialize_radio_cont 
-0009 c01281cd beq patch04_5 ,p_lpm_sleep 
+0004 c00a01b1 beq patch02_4 ,p_set_lemode 
+0005 c00a810f beq patch02_5 ,p_rf_rx_enable 
+0006 c00c011d beq patch03_0 ,p_txon 
+0007 c00c80dc beq patch03_1 ,p_set_tx_power 
+0008 c00d0095 beq patch03_2 ,p_initialize_radio_cont 
+0009 c01281d3 beq patch04_5 ,p_lpm_sleep 
 000a c013803f beq patch04_7 ,p_lpm_adjust_clk 
-000b c0588122 beq patch16_1 ,p_shutter_init 
-000c c062811f beq patch18_5 ,p_otp_read_data 
-000d c06d017c beq patch1b_2 ,p_sadc_calibration 
-000e c06e018c beq patch1b_4 ,p_enable_adc 
+000b c0588127 beq patch16_1 ,p_shutter_init 
+000c c0628124 beq patch18_5 ,p_otp_read_data 
+000d c06d0182 beq patch1b_2 ,p_sadc_calibration 
+000e c06e0192 beq patch1b_4 ,p_enable_adc 
 000f 2020235a branch assert 
 
 pf_patch_ext:
 0010 c0120018 beq patch24_4 ,p_le_receive_rxon 
 0011 c0128075 beq patch24_5 ,p_le_rx_dec 
 0012 c0130065 beq patch24_6 ,p_le_rx_nopayload 
-0013 c01c81c7 beq patch27_1 ,p_le_parse 
+0013 c01c81cd beq patch27_1 ,p_le_parse 
 0014 c01f804a beq patch27_7 ,p_le_lpm_set_mult 
-0015 c02681cb beq patch29_5 ,p_le_init_adv 
+0015 c02681d1 beq patch29_5 ,p_le_init_adv 
 0016 c17f8000 rtneq patch3f_7 
 0017 2020235a branch assert 
 
@@ -174,436 +174,444 @@
 008f 708a23dd jam 0xdd ,0x8a23 
 0090 20600000 rtn 
 
-p_initialize_radio_cont:
-0091 7001bb00 jam 0 ,mem_le_testtype 
-0092 7001bc00 jam 0 ,mem_cmd_le_create_conn 
+p_set_ck2rfpll:
+0091 37d98200 until null ,lpo_edge 
+0092 70813c58 jam 0x58 ,0x813c 
 0093 37d98200 until null ,lpo_edge 
-0094 708a13cd jam 0xcd ,0x8a13 
-0095 7089460d jam 0x0d ,0x8946 
-0096 70896f10 jam 0x10 ,0x896f 
-0097 708a0610 jam 0x10 ,0x8a06 
-0098 708a844a jam 0x4a ,0x8a84 
-0099 708a8540 jam 0x40 ,0x8a85 
-009a 708a16fe jam 0xfe ,0x8a16 
-009b 204000df call p_set_otp_config 
-009c 6fe0c436 fetch 1 ,mem_wdt_always_work 
-009d 205a70d7 call wdt_set_disable ,blank 
-009e 37d98200 until null ,lpo_edge 
-009f 70813b5f jam 0x5f ,0x813b 
-00a0 6fe0c099 fetch 1 ,mem_fcomp_div 
-00a1 c00800cc beq xtal_16m ,p_initialize_radio_16m 
-00a2 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
-00a3 1fe1fe04 or_into 0x04 ,pdata 
-00a4 67f08a02 store 1 ,0x8a02 
-00a5 70890f01 jam 0x01 ,0x890f 
-00a6 708a8024 jam 0x24 ,0x8a80 
-00a7 708a8162 jam 0x62 ,0x8a81 
-00a8 58e61212 setarg 0xe61212 
-00a9 67f18a73 store 3 ,0x8a73 
+0094 20600000 rtn 
+
+p_initialize_radio_cont:
+0095 7001bb00 jam 0 ,mem_le_testtype 
+0096 7001bc00 jam 0 ,mem_cmd_le_create_conn 
+0097 37d98200 until null ,lpo_edge 
+0098 708a13cd jam 0xcd ,0x8a13 
+0099 7089460d jam 0x0d ,0x8946 
+009a 70896f10 jam 0x10 ,0x896f 
+009b 708a0610 jam 0x10 ,0x8a06 
+009c 708a844a jam 0x4a ,0x8a84 
+009d 708a8540 jam 0x40 ,0x8a85 
+009e 708a16fe jam 0xfe ,0x8a16 
+009f 204000e4 call p_set_otp_config 
+00a0 6fe0c436 fetch 1 ,mem_wdt_always_work 
+00a1 205a70d7 call wdt_set_disable ,blank 
+00a2 24558091 ncall p_set_ck2rfpll ,wake 
+00a3 37d98200 until null ,lpo_edge 
+00a4 70813b5f jam 0x5f ,0x813b 
+00a5 6fe0c099 fetch 1 ,mem_fcomp_div 
+00a6 c00800d1 beq xtal_16m ,p_initialize_radio_16m 
+00a7 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+00a8 1fe1fe04 or_into 0x04 ,pdata 
+00a9 67f08a02 store 1 ,0x8a02 
+00aa 70890f01 jam 0x01 ,0x890f 
+00ab 708a8024 jam 0x24 ,0x8a80 
+00ac 708a8162 jam 0x62 ,0x8a81 
+00ad 58e61212 setarg 0xe61212 
+00ae 67f18a73 store 3 ,0x8a73 
 
 p_initialize_radio2:
-00aa 708a8660 jam 0x60 ,0x8a86 
-00ab 708a8b3b jam 0x3b ,0x8a8b 
-00ac 204000be call p_dpll_on 
-00ad 70804300 jam 0 ,core_config 
-00ae 70804205 jam clksel_dpll ,core_clksel 
-00af 58557474 setarg 0x557474 
-00b0 67f18968 store 3 ,0x8968 
-00b1 7089606e jam 0x6e ,0x8960 
-00b2 2040014e call p_rx_dcoc 
-00b3 20400179 call p_rfpll_aac_ghpc 
-00b4 204000b8 call p_set_xtal_cap 
-00b5 7041480c jam system_clk_12m ,mem_system_clk 
-00b6 20406f4e call sadc_calibration 
-00b7 2020017b branch p_dpll_ring_ibias_calc 
+00af 708a8660 jam 0x60 ,0x8a86 
+00b0 708a8b3b jam 0x3b ,0x8a8b 
+00b1 204000c3 call p_dpll_on 
+00b2 70804300 jam 0 ,core_config 
+00b3 70804205 jam clksel_dpll ,core_clksel 
+00b4 58557474 setarg 0x557474 
+00b5 67f18968 store 3 ,0x8968 
+00b6 7089606e jam 0x6e ,0x8960 
+00b7 20400154 call p_rx_dcoc 
+00b8 2040017f call p_rfpll_aac_ghpc 
+00b9 204000bd call p_set_xtal_cap 
+00ba 7041480c jam system_clk_12m ,mem_system_clk 
+00bb 20406f4e call sadc_calibration 
+00bc 20200181 branch p_dpll_ring_ibias_calc 
 
 p_set_xtal_cap:
-00b8 20758000 rtn wake 
-00b9 37d98200 until null ,lpo_edge 
-00ba 6fe0c11c fetch 1 ,mem_xtal_c_sel 
-00bb 67f0813a store 1 ,core_xtal_cap 
-00bc 37d98200 until null ,lpo_edge 
-00bd 20600000 rtn 
+00bd 20758000 rtn wake 
+00be 37d98200 until null ,lpo_edge 
+00bf 6fe0c11c fetch 1 ,mem_xtal_c_sel 
+00c0 67f0813a store 1 ,core_xtal_cap 
+00c1 37d98200 until null ,lpo_edge 
+00c2 20600000 rtn 
 
 p_dpll_on:
-00be 6fe0c099 fetch 1 ,mem_fcomp_div 
-00bf c00c00c4 beq xtal_24m ,p_dpll_on_24m 
-00c0 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
-00c1 1fe1fe06 or_into 0x06 ,pdata 
-00c2 67f08a02 store 1 ,0x8a02 
-00c3 708a05e0 jam 0xe0 ,0x8a05 
+00c3 6fe0c099 fetch 1 ,mem_fcomp_div 
+00c4 c00c00c9 beq xtal_24m ,p_dpll_on_24m 
+00c5 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+00c6 1fe1fe06 or_into 0x06 ,pdata 
+00c7 67f08a02 store 1 ,0x8a02 
+00c8 708a05e0 jam 0xe0 ,0x8a05 
 
 p_dpll_on_24m:
-00c4 708a00d8 jam 0xd8 ,0x8a00 
-00c5 2000003c nop 60 
-00c6 708a01a0 jam 0xa0 ,0x8a01 
-00c7 708a00df jam 0xdf ,0x8a00 
-00c8 708a01fa jam 0xfa ,0x8a01 
-00c9 20000014 nop 20 
-00ca 708a009f jam 0x9f ,0x8a00 
-00cb 20600000 rtn 
+00c9 708a00d8 jam 0xd8 ,0x8a00 
+00ca 2000003c nop 60 
+00cb 708a01a0 jam 0xa0 ,0x8a01 
+00cc 708a00df jam 0xdf ,0x8a00 
+00cd 708a01fa jam 0xfa ,0x8a01 
+00ce 20000014 nop 20 
+00cf 708a009f jam 0x9f ,0x8a00 
+00d0 20600000 rtn 
 
 p_initialize_radio_16m:
-00cc 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
-00cd 1fe1fe06 or_into 0x06 ,pdata 
-00ce 67f08a02 store 1 ,0x8a02 
-00cf 70890f00 jam 0x00 ,0x890f 
-00d0 708a8023 jam 0x23 ,0x8a80 
-00d1 708a81b0 jam 0xb0 ,0x8a81 
-00d2 58e40909 setarg 0xe40909 
-00d3 67f18a73 store 3 ,0x8a73 
-00d4 708a762a jam 0x2a ,0x8a76 
-00d5 70890204 jam 0x04 ,0x8902 
-00d6 202000aa branch p_initialize_radio2 
+00d1 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+00d2 1fe1fe06 or_into 0x06 ,pdata 
+00d3 67f08a02 store 1 ,0x8a02 
+00d4 70890f00 jam 0x00 ,0x890f 
+00d5 708a8023 jam 0x23 ,0x8a80 
+00d6 708a81b0 jam 0xb0 ,0x8a81 
+00d7 58e40909 setarg 0xe40909 
+00d8 67f18a73 store 3 ,0x8a73 
+00d9 708a762a jam 0x2a ,0x8a76 
+00da 70890204 jam 0x04 ,0x8902 
+00db 202000af branch p_initialize_radio2 
 
 p_set_tx_power:
-00d7 6fe0c141 fetch 1 ,mem_tx_power 
-00d8 c00500da beq tx_power_10db ,p_set_tx_power_10db 
-00d9 2020220e branch set_tx_power + 2 
+00dc 6fe0c141 fetch 1 ,mem_tx_power 
+00dd c00500df beq tx_power_10db ,p_set_tx_power_10db 
+00de 2020220e branch set_tx_power + 2 
 
 p_set_tx_power_10db:
-00da 708a1425 jam 0x25 ,0x8a14 
-00db 58a93f3f setarg 0xa93f3f 
-00dc 67f18a60 store 3 ,0x8a60 
-00dd 708a631f jam 0x1f ,0x8a63 
-00de 20600000 rtn 
+00df 708a1425 jam 0x25 ,0x8a14 
+00e0 58a93f3f setarg 0xa93f3f 
+00e1 67f18a60 store 3 ,0x8a60 
+00e2 708a631f jam 0x1f ,0x8a63 
+00e3 20600000 rtn 
 
 p_set_otp_config:
-00df 20358106 branch p_set_otp_config_wake ,wake 
-00e0 6fe2020d fetch 4 ,mem_otp_core_ldo 
-00e1 207a0000 rtn blank 
-00e2 37d98200 until null ,lpo_edge 
-00e3 6ff08136 fetch 1 ,0x8136 
-00e4 1fe17ef0 and pdata ,0xf0 ,pdata 
-00e5 6848820d fetcht 1 ,mem_otp_core_ldo 
-00e6 9841fe00 ior temp ,pdata 
-00e7 67f08136 store 1 ,0x8136 
-00e8 37d98200 until null ,lpo_edge 
-00e9 6ff08138 fetch 1 ,0x8138 
-00ea 1fe17e07 and pdata ,0x7 ,pdata 
-00eb 6848820e fetcht 1 ,mem_otp_verf_bg 
-00ec 18498400 lshift3 temp ,temp 
-00ed 9841fe00 ior temp ,pdata 
-00ee 67f08138 store 1 ,0x8138 
-00ef 37d98200 until null ,lpo_edge 
+00e4 2035810b branch p_set_otp_config_wake ,wake 
+00e5 6fe2020d fetch 4 ,mem_otp_core_ldo 
+00e6 207a0000 rtn blank 
+00e7 37d98200 until null ,lpo_edge 
+00e8 6ff08136 fetch 1 ,0x8136 
+00e9 1fe17ef0 and pdata ,0xf0 ,pdata 
+00ea 6848820d fetcht 1 ,mem_otp_core_ldo 
+00eb 9841fe00 ior temp ,pdata 
+00ec 67f08136 store 1 ,0x8136 
+00ed 37d98200 until null ,lpo_edge 
+00ee 6ff08138 fetch 1 ,0x8138 
+00ef 1fe17e07 and pdata ,0x7 ,pdata 
+00f0 6848820e fetcht 1 ,mem_otp_verf_bg 
+00f1 18498400 lshift3 temp ,temp 
+00f2 9841fe00 ior temp ,pdata 
+00f3 67f08138 store 1 ,0x8138 
+00f4 37d98200 until null ,lpo_edge 
 
 p_set_otp_config2:
-00f0 6ff08acb fetch 1 ,0x8acb 
-00f1 1fe17ef0 and pdata ,0xf0 ,pdata 
-00f2 6848820f fetcht 1 ,mem_otp_charge_pump 
-00f3 6048c15b storet 1 ,mem_otp_charge_pump_x 
-00f4 9841fe00 ior temp ,pdata 
-00f5 67f08acb store 1 ,0x8acb 
-00f6 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
-00f7 67e0c15c store 1 ,mem_otp_dpll_ibais_x 
-00f8 2feffe03 isolate1 3 ,pdata 
-00f9 6ff08a06 fetch 1 ,0x8a06 
-00fa 7920fe07 setflag true ,7 ,pdata 
-00fb 67f08a06 store 1 ,0x8a06 
-00fc 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
-00fd 1fe10407 and pdata ,7 ,temp 
-00fe 18520400 lshift4 temp ,temp 
-00ff 18438400 lshift temp ,temp 
-0100 6048c438 storet 1 ,mem_ring_ibias_trim 
-0101 6ff08a02 fetch 1 ,0x8a02 
-0102 1fe17e1f and pdata ,0x1f ,pdata 
-0103 9841fe00 ior temp ,pdata 
-0104 67f08a02 store 1 ,0x8a02 
-0105 20600000 rtn 
+00f5 6ff08acb fetch 1 ,0x8acb 
+00f6 1fe17ef0 and pdata ,0xf0 ,pdata 
+00f7 6848820f fetcht 1 ,mem_otp_charge_pump 
+00f8 6048c15b storet 1 ,mem_otp_charge_pump_x 
+00f9 9841fe00 ior temp ,pdata 
+00fa 67f08acb store 1 ,0x8acb 
+00fb 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
+00fc 67e0c15c store 1 ,mem_otp_dpll_ibais_x 
+00fd 2feffe03 isolate1 3 ,pdata 
+00fe 6ff08a06 fetch 1 ,0x8a06 
+00ff 7920fe07 setflag true ,7 ,pdata 
+0100 67f08a06 store 1 ,0x8a06 
+0101 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
+0102 1fe10407 and pdata ,7 ,temp 
+0103 18520400 lshift4 temp ,temp 
+0104 18438400 lshift temp ,temp 
+0105 6048c438 storet 1 ,mem_ring_ibias_trim 
+0106 6ff08a02 fetch 1 ,0x8a02 
+0107 1fe17e1f and pdata ,0x1f ,pdata 
+0108 9841fe00 ior temp ,pdata 
+0109 67f08a02 store 1 ,0x8a02 
+010a 20600000 rtn 
 
 p_set_otp_config_wake:
-0106 6fe1415b fetch 2 ,mem_otp_charge_pump_x 
-0107 207a0000 rtn blank 
-0108 67e1020f store 2 ,mem_otp_charge_pump 
-0109 202000f0 branch p_set_otp_config2 
+010b 6fe1415b fetch 2 ,mem_otp_charge_pump_x 
+010c 207a0000 rtn blank 
+010d 67e1020f store 2 ,mem_otp_charge_pump 
+010e 202000f5 branch p_set_otp_config2 
 
 p_rf_rx_enable:
-010a 2040686f call rf_debug_rx_gpio_high 
-010b 204021ba call rf_rx_agc_set 
-010c 18002a08 force 8 ,radio_ctrl 
-010d 18002a00 force 0 ,radio_ctrl 
-010e 580aaada setarg 0x0aaada 
-010f 67f18a0f store 3 ,0x8a0f 
-0110 708a2540 jam 0x40 ,0x8a25 
-0111 708a2610 jam 0x10 ,0x8a26 
-0112 2000003c nop 60 
-0113 708a01fb jam 0xfb ,0x8a01 
-0114 708a25ff jam 0xff ,0x8a25 
-0115 708a2630 jam 0x30 ,0x8a26 
-0116 708a16fe jam 0xfe ,0x8a16 
-0117 202021b4 branch rf_rx_enable + 14 
+010f 2040686f call rf_debug_rx_gpio_high 
+0110 204021ba call rf_rx_agc_set 
+0111 18002a08 force 8 ,radio_ctrl 
+0112 18002a00 force 0 ,radio_ctrl 
+0113 580aaada setarg 0x0aaada 
+0114 67f18a0f store 3 ,0x8a0f 
+0115 708a2540 jam 0x40 ,0x8a25 
+0116 708a2610 jam 0x10 ,0x8a26 
+0117 2000003c nop 60 
+0118 708a01fb jam 0xfb ,0x8a01 
+0119 708a25ff jam 0xff ,0x8a25 
+011a 708a2630 jam 0x30 ,0x8a26 
+011b 708a16fe jam 0xfe ,0x8a16 
+011c 202021b4 branch rf_rx_enable + 14 
 
 p_txon:
-0118 580aaa7e setarg 0x0aaa7e 
-0119 67f18a0f store 3 ,0x8a0f 
-011a 2000003c nop 60 
-011b 708a2500 jam 0x00 ,0x8a25 
-011c 708a260d jam 0x0d ,0x8a26 
-011d 708a16f6 jam 0xf6 ,0x8a16 
-011e 20202203 branch txon + 7 
+011d 580aaa7e setarg 0x0aaa7e 
+011e 67f18a0f store 3 ,0x8a0f 
+011f 2000003c nop 60 
+0120 708a2500 jam 0x00 ,0x8a25 
+0121 708a260d jam 0x0d ,0x8a26 
+0122 708a16f6 jam 0xf6 ,0x8a16 
+0123 20202203 branch txon + 7 
 
 p_otp_read_data:
-011f 20406b3a call enable_otp_read 
-0120 20406b75 call otp_read_data + 1 
-0121 20206b38 branch otp_disable_chgpump 
+0124 20406b3a call enable_otp_read 
+0125 20406b75 call otp_read_data + 1 
+0126 20206b38 branch otp_disable_chgpump 
 
 p_shutter_init:
-0122 70807dc0 jam 0xc0 ,0x807d 
-0123 7080d6c0 jam 0xc0 ,0x80d6 
-0124 20407396 call enable_authrom 
-0125 20758000 rtn wake 
-0126 5800000e setarg 0x000e 
-0127 67e144f2 store 2 ,mem_ble_shutter_reconn_adv_interval 
-0128 58000140 setarg 0x0140 
-0129 67e144f4 store 2 ,mem_ble_shutter_discovery_adv_interval 
-012a 67e14389 store 2 ,mem_le_adv_interval 
-012b 6fe4489e fetch 8 ,mem_shutter_discovery_time_conf 
-012c 67e44512 store 8 ,mem_ble_shutter_discovery_timeout 
-012d 6fe448a6 fetch 8 ,mem_shutter_reconn_or_discovery_blink_time_conf 
-012e 67e444fa store 8 ,mem_ble_shutter_reconn_blink_on_time 
-012f 58006327 setarg shutter_process_idle 
-0130 67e143db store 2 ,mem_cb_idle_process 
-0131 5800013c setarg p_shutter_process_bb_event 
-0132 67e143dd store 2 ,mem_cb_bb_event_process 
-0133 5800638a setarg ble_shutter_receive_data 
-0134 67e143df store 2 ,mem_cb_att_write 
-0135 5800630e setarg shutter_le_bb_event_timer 
-0136 67e143e3 store 2 ,mem_cb_event_timer 
-0137 58006365 setarg shutter_key_change 
-0138 67e14524 store 2 ,mem_cb_shutter_keycan 
-0139 204062c2 call shutter_common_init 
-013a 20406396 call shutter_load_buffer_config_form_datarom 
-013b 202062bd branch shutter_power_switch 
+0127 70807dc0 jam 0xc0 ,0x807d 
+0128 7080d6c0 jam 0xc0 ,0x80d6 
+0129 20407396 call enable_authrom 
+012a 20758000 rtn wake 
+012b 7040a60a jam 0x0a ,mem_lpm_overhead 
+012c 5800000e setarg 0x000e 
+012d 67e144f2 store 2 ,mem_ble_shutter_reconn_adv_interval 
+012e 58000140 setarg 0x0140 
+012f 67e144f4 store 2 ,mem_ble_shutter_discovery_adv_interval 
+0130 67e14389 store 2 ,mem_le_adv_interval 
+0131 6fe4489e fetch 8 ,mem_shutter_discovery_time_conf 
+0132 67e44512 store 8 ,mem_ble_shutter_discovery_timeout 
+0133 6fe448a6 fetch 8 ,mem_shutter_reconn_or_discovery_blink_time_conf 
+0134 67e444fa store 8 ,mem_ble_shutter_reconn_blink_on_time 
+0135 58006327 setarg shutter_process_idle 
+0136 67e143db store 2 ,mem_cb_idle_process 
+0137 58000142 setarg p_shutter_process_bb_event 
+0138 67e143dd store 2 ,mem_cb_bb_event_process 
+0139 5800638a setarg ble_shutter_receive_data 
+013a 67e143df store 2 ,mem_cb_att_write 
+013b 5800630e setarg shutter_le_bb_event_timer 
+013c 67e143e3 store 2 ,mem_cb_event_timer 
+013d 58006365 setarg shutter_key_change 
+013e 67e14524 store 2 ,mem_cb_shutter_keycan 
+013f 204062c2 call shutter_common_init 
+0140 20406396 call shutter_load_buffer_config_form_datarom 
+0141 202062bd branch shutter_power_switch 
 
 p_shutter_process_bb_event:
-013c 1a627e00 copy regc ,pdata 
-013d c0188141 beq bt_evt_le_pairing_success ,p_ble_shutter_pair_success 
-013e c00a8143 beq bt_evt_le_disconnected ,p_ble_shutter_process_baseband_disconnect 
-013f c01f8147 beq bt_evt_le_reconnect_complete ,p_ble_shutter_process_reconnect_complete 
-0140 202062da branch shutter_process_bb_event + 1 
+0142 1a627e00 copy regc ,pdata 
+0143 c0188147 beq bt_evt_le_pairing_success ,p_ble_shutter_pair_success 
+0144 c00a8149 beq bt_evt_le_disconnected ,p_ble_shutter_process_baseband_disconnect 
+0145 c01f814d beq bt_evt_le_reconnect_complete ,p_ble_shutter_process_reconnect_complete 
+0146 202062da branch shutter_process_bb_event + 1 
 
 p_ble_shutter_pair_success:
-0141 7048ae01 jam 1 ,mem_shutter_ble_connect_flag 
-0142 20600000 rtn 
+0147 7048ae01 jam 1 ,mem_shutter_ble_connect_flag 
+0148 20600000 rtn 
 
 p_ble_shutter_process_baseband_disconnect:
-0143 7048ae00 jam 0 ,mem_shutter_ble_connect_flag 
-0144 204078ad call queue_init 
-0145 7044f100 jam 0 ,mem_ble_shutter_enable_notify 
-0146 20206340 branch shutter_start_reconnect 
+0149 7048ae00 jam 0 ,mem_shutter_ble_connect_flag 
+014a 204078ad call queue_init 
+014b 7044f100 jam 0 ,mem_ble_shutter_enable_notify 
+014c 20206340 branch shutter_start_reconnect 
 
 p_ble_shutter_process_reconnect_complete:
-0147 7048ae01 jam 1 ,mem_shutter_ble_connect_flag 
-0148 204078ad call queue_init 
-0149 7044f101 jam 1 ,mem_ble_shutter_enable_notify 
-014a 6fe44502 fetch 8 ,mem_ble_shutter_interval_min 
-014b 67e442d3 store 8 ,mem_le_interval_min 
-014c 2040432b call app_lpm_mult_enable 
-014d 20202e93 branch le_l2cap_tx_update_req 
+014d 7048ae01 jam 1 ,mem_shutter_ble_connect_flag 
+014e 204078ad call queue_init 
+014f 7044f101 jam 1 ,mem_ble_shutter_enable_notify 
+0150 6fe44502 fetch 8 ,mem_ble_shutter_interval_min 
+0151 67e442d3 store 8 ,mem_le_interval_min 
+0152 2040432b call app_lpm_mult_enable 
+0153 20202e93 branch le_l2cap_tx_update_req 
 
 p_rx_dcoc:
-014e 20758000 rtn wake 
-014f 20402160 call set_sync_on 
-0150 d8400027 arg 39 ,temp 
-0151 2040216f call set_freq_rx 
-0152 204021a6 call rf_rx_enable 
-0153 708a257f jam 0x7f ,0x8a25 
-0154 708a301a jam 0x1a ,0x8a30 
-0155 708a3178 jam 0x78 ,0x8a31 
-0156 708a8fb2 jam 0xb2 ,0x8a8f 
-0157 708ac200 jam 0 ,0x8ac2 
-0158 708ac300 jam 0 ,0x8ac3 
-0159 d8e00006 arg 6 ,queue 
-015a 2040016b call p_rx_dcoc_avg 
-015b 2a2ffe0d isolate1 13 ,rega 
-015c 2040211d call qset_start 
-015d 2a4ffe0d isolate1 13 ,regb 
-015e 2040211e call qset_p 
-015f d8e00005 arg 5 ,queue 
+0154 20758000 rtn wake 
+0155 20402160 call set_sync_on 
+0156 d8400027 arg 39 ,temp 
+0157 2040216f call set_freq_rx 
+0158 204021a6 call rf_rx_enable 
+0159 708a257f jam 0x7f ,0x8a25 
+015a 708a301a jam 0x1a ,0x8a30 
+015b 708a3178 jam 0x78 ,0x8a31 
+015c 708a8fb2 jam 0xb2 ,0x8a8f 
+015d 708ac200 jam 0 ,0x8ac2 
+015e 708ac300 jam 0 ,0x8ac3 
+015f d8e00006 arg 6 ,queue 
+0160 20400171 call p_rx_dcoc_avg 
+0161 2a2ffe0d isolate1 13 ,rega 
+0162 2040211d call qset_start 
+0163 2a4ffe0d isolate1 13 ,regb 
+0164 2040211e call qset_p 
+0165 d8e00005 arg 5 ,queue 
 
 p_rx_dcoc_loop2:
-0160 2040211c call qset1_p 
-0161 2040211e call qset_p 
-0162 2040016b call p_rx_dcoc_avg 
-0163 d8a08ac2 arg 0x8ac2 ,contw 
-0164 1a31fe00 rshift4 rega ,pdata 
-0165 20402117 call qsetxor 
-0166 1a51fe00 rshift4 regb ,pdata 
-0167 20402117 call qsetxor 
-0168 18e08fff increase -1 ,queue 
-0169 20210160 branch p_rx_dcoc_loop2 ,positive 
-016a 2020214f branch rx_dcoc_loop2 + 10 
+0166 2040211c call qset1_p 
+0167 2040211e call qset_p 
+0168 20400171 call p_rx_dcoc_avg 
+0169 d8a08ac2 arg 0x8ac2 ,contw 
+016a 1a31fe00 rshift4 rega ,pdata 
+016b 20402117 call qsetxor 
+016c 1a51fe00 rshift4 regb ,pdata 
+016d 20402117 call qsetxor 
+016e 18e08fff increase -1 ,queue 
+016f 20210166 branch p_rx_dcoc_loop2 ,positive 
+0170 2020214f branch rx_dcoc_loop2 + 10 
 
 p_rx_dcoc_avg:
-016b 2000003c nop 60 
-016c 58000f00 setarg mem_dcoc_buf 
-016d 67f10982 store 2 ,0x8982 
-016e 58000ff0 setarg mem_dcoc_buf_end 
-016f 67f10984 store 2 ,0x8984 
-0170 70898109 jam 0x9 ,0x8981 
-0171 70898103 jam 0x3 ,0x8981 
-0172 70898006 jam 0x6 ,0x8980 
-0173 2000003c nop 60 
-0174 da200000 arg 0 ,rega 
-0175 da400000 arg 0 ,regb 
-0176 df200010 arg 16 ,loopcnt 
-0177 d8c00f00 arg mem_dcoc_buf ,contr 
-0178 2020212d branch rx_dcoc_loop 
+0171 2000003c nop 60 
+0172 58000f00 setarg mem_dcoc_buf 
+0173 67f10982 store 2 ,0x8982 
+0174 58000ff0 setarg mem_dcoc_buf_end 
+0175 67f10984 store 2 ,0x8984 
+0176 70898109 jam 0x9 ,0x8981 
+0177 70898103 jam 0x3 ,0x8981 
+0178 70898006 jam 0x6 ,0x8980 
+0179 2000003c nop 60 
+017a da200000 arg 0 ,rega 
+017b da400000 arg 0 ,regb 
+017c df200010 arg 16 ,loopcnt 
+017d d8c00f00 arg mem_dcoc_buf ,contr 
+017e 2020212d branch rx_dcoc_loop 
 
 p_rfpll_aac_ghpc:
-0179 20758000 rtn wake 
-017a 20202272 branch rfpll_aac_ghpc + 1 
+017f 20758000 rtn wake 
+0180 20202272 branch rfpll_aac_ghpc + 1 
 
 p_dpll_ring_ibias_calc:
-017b 20600000 rtn 
+0181 20600000 rtn 
 
 p_sadc_calibration:
-017c 20758000 rtn wake 
-017d 708a0777 jam 0x77 ,core_gpadc_ctrl 
-017e 708a08c9 jam 0xc9 ,core_gpadc_cfg0 
-017f 708a0b01 jam 0x01 ,core_gpadc_cfg3 
-0180 6fe0c409 fetch 1 ,mem_adc_clkdiv 
-0181 67f080cd store 1 ,core_sadc_clkdiv 
-0182 20000bb8 nop 3000 
-0183 204001a4 call p_sadc_read 
-0184 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
-0185 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
-0186 df200008 arg 8 ,loopcnt 
-0187 20406f58 call sadc_cal_read + 1 
-0188 6fe0c419 fetch 1 ,mem_spi_write_addr 
-0189 67e0c433 store 1 ,mem_adc_cal_c7 
-018a 6240c419 storer regb ,1 ,mem_spi_write_addr 
-018b 20600000 rtn 
+0182 20758000 rtn wake 
+0183 708a0777 jam 0x77 ,core_gpadc_ctrl 
+0184 708a08c9 jam 0xc9 ,core_gpadc_cfg0 
+0185 708a0b01 jam 0x01 ,core_gpadc_cfg3 
+0186 6fe0c409 fetch 1 ,mem_adc_clkdiv 
+0187 67f080cd store 1 ,core_sadc_clkdiv 
+0188 20000bb8 nop 3000 
+0189 204001aa call p_sadc_read 
+018a 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
+018b 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
+018c df200008 arg 8 ,loopcnt 
+018d 20406f58 call sadc_cal_read + 1 
+018e 6fe0c419 fetch 1 ,mem_spi_write_addr 
+018f 67e0c433 store 1 ,mem_adc_cal_c7 
+0190 6240c419 storer regb ,1 ,mem_spi_write_addr 
+0191 20600000 rtn 
 
 p_enable_adc:
-018c 2040019a call p_sadc_cal_write 
-018d 6ff08a09 fetch 1 ,core_gpadc_cfg1 
-018e 793ffe07 set0 7 ,pdata 
-018f 67f08a09 store 1 ,core_gpadc_cfg1 
-0190 708a0777 jam 0x77 ,core_gpadc_ctrl 
-0191 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
-0192 708a0b01 jam 0x01 ,core_gpadc_cfg3 
-0193 20406f90 call sadc_channel 
-0194 6fe0c409 fetch 1 ,mem_adc_clkdiv 
-0195 67f080cd store 1 ,core_sadc_clkdiv 
-0196 20000bb8 nop 3000 
-0197 204001a4 call p_sadc_read 
-0198 7080cd00 jam 0 ,core_sadc_clkdiv 
-0199 20206fa1 branch sadc_dma 
+0192 204001a0 call p_sadc_cal_write 
+0193 6ff08a09 fetch 1 ,core_gpadc_cfg1 
+0194 793ffe07 set0 7 ,pdata 
+0195 67f08a09 store 1 ,core_gpadc_cfg1 
+0196 708a0777 jam 0x77 ,core_gpadc_ctrl 
+0197 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
+0198 708a0b01 jam 0x01 ,core_gpadc_cfg3 
+0199 20406f90 call sadc_channel 
+019a 6fe0c409 fetch 1 ,mem_adc_clkdiv 
+019b 67f080cd store 1 ,core_sadc_clkdiv 
+019c 20000bb8 nop 3000 
+019d 204001aa call p_sadc_read 
+019e 7080cd00 jam 0 ,core_sadc_clkdiv 
+019f 20206fa1 branch sadc_dma 
 
 p_sadc_cal_write:
-019a 6ff080cc fetch 1 ,core_sadc_ctrl 
-019b 79207e01 set1 1 ,pdata 
-019c 67f080cc store 1 ,core_sadc_ctrl 
-019d 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
-019e 6fe0c433 fetch 1 ,mem_adc_cal_c7 
-019f 67e0c419 store 1 ,mem_spi_write_addr 
-01a0 df200008 arg 8 ,loopcnt 
-01a1 20406f67 call sadc_cal_write + 4 
-01a2 6240c419 storer regb ,1 ,mem_spi_write_addr 
-01a3 20600000 rtn 
+01a0 6ff080cc fetch 1 ,core_sadc_ctrl 
+01a1 79207e01 set1 1 ,pdata 
+01a2 67f080cc store 1 ,core_sadc_ctrl 
+01a3 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
+01a4 6fe0c433 fetch 1 ,mem_adc_cal_c7 
+01a5 67e0c419 store 1 ,mem_spi_write_addr 
+01a6 df200008 arg 8 ,loopcnt 
+01a7 20406f67 call sadc_cal_write + 4 
+01a8 6240c419 storer regb ,1 ,mem_spi_write_addr 
+01a9 20600000 rtn 
 
 p_sadc_read:
-01a4 7080cc03 jam 0x03 ,core_sadc_ctrl 
+01aa 7080cc03 jam 0x03 ,core_sadc_ctrl 
 
 p_sadc_read_wait:
-01a5 6ff08129 fetch 1 ,core_perf_status 
-01a6 c30281a5 bbit0 saradc_done ,p_sadc_read_wait 
-01a7 68590164 fetcht 2 ,core_sadc_data 
-01a8 6049440a storet 2 ,mem_adc_current_value 
-01a9 7080cc00 jam 0x00 ,core_sadc_ctrl 
-01aa 20600000 rtn 
+01ab 6ff08129 fetch 1 ,core_perf_status 
+01ac c30281ab bbit0 saradc_done ,p_sadc_read_wait 
+01ad 68590164 fetcht 2 ,core_sadc_data 
+01ae 6049440a storet 2 ,mem_adc_current_value 
+01af 7080cc00 jam 0x00 ,core_sadc_ctrl 
+01b0 20600000 rtn 
 
 p_set_lemode:
-01ab 708a8211 jam 0x11 ,0x8a82 
-01ac 708a8d12 jam 0x12 ,0x8a8d 
-01ad 708a8e0a jam 0x0a ,0x8a8e 
-01ae 6fe0c099 fetch 1 ,mem_fcomp_div 
-01af c00801c4 beq xtal_16m ,p_set_lemode_2m_16m 
-01b0 58005762 setarg 0x5762 
-01b1 67f10907 store 2 ,0x8907 
+01b1 708a8211 jam 0x11 ,0x8a82 
+01b2 708a8d12 jam 0x12 ,0x8a8d 
+01b3 708a8e0a jam 0x0a ,0x8a8e 
+01b4 6fe0c099 fetch 1 ,mem_fcomp_div 
+01b5 c00801ca beq xtal_16m ,p_set_lemode_2m_16m 
+01b6 58005762 setarg 0x5762 
+01b7 67f10907 store 2 ,0x8907 
 
 p_set_lemode_2m:
-01b2 70890103 jam 3 ,0x8901 
-01b3 70893003 jam 3 ,0x8930 
-01b4 c6168000 rtnmark1 mark_ble_2m 
-01b5 70890101 jam 1 ,0x8901 
-01b6 708a8207 jam 0x07 ,0x8a82 
-01b7 708a8d44 jam 0x44 ,0x8a8d 
-01b8 708a8e0a jam 0x0a ,0x8a8e 
-01b9 6fe0c099 fetch 1 ,mem_fcomp_div 
-01ba c00801c1 beq xtal_16m ,p_set_lemode_1m_16m 
-01bb 58002bb1 setarg 0x2bb1 
-01bc 67f10907 store 2 ,0x8907 
+01b8 70890103 jam 3 ,0x8901 
+01b9 70893003 jam 3 ,0x8930 
+01ba c6168000 rtnmark1 mark_ble_2m 
+01bb 70890101 jam 1 ,0x8901 
+01bc 708a8207 jam 0x07 ,0x8a82 
+01bd 708a8d44 jam 0x44 ,0x8a8d 
+01be 708a8e0a jam 0x0a ,0x8a8e 
+01bf 6fe0c099 fetch 1 ,mem_fcomp_div 
+01c0 c00801c7 beq xtal_16m ,p_set_lemode_1m_16m 
+01c1 58002bb1 setarg 0x2bb1 
+01c2 67f10907 store 2 ,0x8907 
 
 p_set_lemode_1m:
-01bd c6978000 rtnmark0 mark_ble_lr 
-01be 70893024 jam 0x24 ,0x8930 
-01bf 70890105 jam 5 ,0x8901 
-01c0 20600000 rtn 
+01c3 c6978000 rtnmark0 mark_ble_lr 
+01c4 70893024 jam 0x24 ,0x8930 
+01c5 70890105 jam 5 ,0x8901 
+01c6 20600000 rtn 
 
 p_set_lemode_1m_16m:
-01c1 58004189 setarg 0x4189 
-01c2 67f10907 store 2 ,0x8907 
-01c3 202001bd branch p_set_lemode_1m 
+01c7 58004189 setarg 0x4189 
+01c8 67f10907 store 2 ,0x8907 
+01c9 202001c3 branch p_set_lemode_1m 
 
 p_set_lemode_2m_16m:
-01c4 58008312 setarg 0x8312 
-01c5 67f10907 store 2 ,0x8907 
-01c6 202001b2 branch p_set_lemode_2m 
+01ca 58008312 setarg 0x8312 
+01cb 67f10907 store 2 ,0x8907 
+01cc 202001b8 branch p_set_lemode_2m 
 
 p_le_parse:
-01c7 6fe0c334 fetch 1 ,mem_le_packet_llid 
-01c8 c1000000 rtneq llid_reserved 
-01c9 c001b04a beq llid_le_ll ,le_parse_ll 
-01ca 202028e1 branch le_parse_l2cap 
+01cd 6fe0c334 fetch 1 ,mem_le_packet_llid 
+01ce c1000000 rtneq llid_reserved 
+01cf c001b04a beq llid_le_ll ,le_parse_ll 
+01d0 202028e1 branch le_parse_l2cap 
 
 p_le_init_adv:
-01cb 793f8030 set0 mark_ble_crc_fail ,mark 
-01cc 20202af6 branch le_init_adv + 1 
+01d1 793f8030 set0 mark_ble_crc_fail ,mark 
+01d2 20202af6 branch le_init_adv + 1 
 
 p_lpm_sleep:
-01cd 6fe143e9 fetch 2 ,mem_cb_before_lpm_sleep 
-01ce 20407d79 call callback_func 
+01d3 6fe143e9 fetch 2 ,mem_cb_before_lpm_sleep 
+01d4 20407d79 call callback_func 
 
 p_lpm_sleep_skip_cb_function:
-01cf 6fe240ad fetch 4 ,mem_sleep_counter_all 
-01d0 9840fe00 iadd temp ,pdata 
-01d1 67e240ad store 4 ,mem_sleep_counter_all 
-01d2 204001d4 call p_lpm_save_context 
-01d3 20202425 branch lpm_sleep_skip_cb_function + 4 
+01d5 6fe240ad fetch 4 ,mem_sleep_counter_all 
+01d6 9840fe00 iadd temp ,pdata 
+01d7 67e240ad store 4 ,mem_sleep_counter_all 
+01d8 204001da call p_lpm_save_context 
+01d9 20202425 branch lpm_sleep_skip_cb_function + 4 
 
 p_lpm_save_context:
-01d4 600440e7 storer mark ,8 ,mem_saved_mark 
-01d5 d8c08070 arg core_gpio_conf ,contr 
-01d6 d8a040cc arg mem_saved_gpio ,contw 
-01d7 20407c8f call memcpy16 
-01d8 d8c080d4 arg core_gpio_conf_hi ,contr 
-01d9 20407c89 call memcpy8 
-01da 6ff08080 fetch 1 ,core_spid_ctrl 
-01db 67e0c0ef store 1 ,mem_saved_spidctrl 
-01dc 18422400 copy temp ,regb 
+01da 600440e7 storer mark ,8 ,mem_saved_mark 
+01db d8c08070 arg core_gpio_conf ,contr 
+01dc d8a040cc arg mem_saved_gpio ,contw 
+01dd 20407c8f call memcpy16 
+01de d8c080d4 arg core_gpio_conf_hi ,contr 
+01df 20407c89 call memcpy8 
+01e0 6ff08080 fetch 1 ,core_spid_ctrl 
+01e1 67e0c0ef store 1 ,mem_saved_spidctrl 
+01e2 18422400 copy temp ,regb 
 
 p_lpm_write_gpio_wakeup:
-01dd df20000c arg 12 ,loopcnt 
-01de da200016 arg mem_gpio_wakeup_cfg ,rega 
-01df da60814d arg core_gpio_wakeup_cfg ,regc 
-01e0 37d98200 until null ,lpo_edge 
+01e3 df20000c arg 12 ,loopcnt 
+01e4 da200016 arg mem_gpio_wakeup_cfg ,rega 
+01e5 da60814d arg core_gpio_wakeup_cfg ,regc 
+01e6 37d98200 until null ,lpo_edge 
 
 p_lpm_write_gpio_loop:
-01e1 efe08011 ifetch 1 ,rega 
-01e2 e8408013 ifetcht 1 ,regc 
-01e3 98467c00 isub temp ,null 
-01e4 202281e7 branch p_lpm_write_gpio_loop_next ,zero 
-01e5 e7e08013 istore 1 ,regc 
-01e6 37d98200 until null ,lpo_edge 
+01e7 efe08011 ifetch 1 ,rega 
+01e8 e8408013 ifetcht 1 ,regc 
+01e9 98467c00 isub temp ,null 
+01ea 202281ed branch p_lpm_write_gpio_loop_next ,zero 
+01eb e7e08013 istore 1 ,regc 
+01ec 37d98200 until null ,lpo_edge 
 
 p_lpm_write_gpio_loop_next:
-01e7 1a20a201 increase 1 ,rega 
-01e8 1a60a601 increase 1 ,regc 
-01e9 c20001e1 loop p_lpm_write_gpio_loop 
-01ea 1a420400 copy regb ,temp 
-01eb 20600000 rtn 
+01ed 1a20a201 increase 1 ,rega 
+01ee 1a60a601 increase 1 ,regc 
+01ef c20001e7 loop p_lpm_write_gpio_loop 
+01f0 1a420400 copy regb ,temp 
+01f1 20600000 rtn 
               org 0x2000
 
 start:
Index: output/ramcode.rom
===================================================================
--- /1121s/branch/shutter/branch/shutter/jxy_project/yc1386s_jxy_pcb028_2key/output/ramcode.rom	(revision 2803)
+++ /1121s/branch/shutter/branch/shutter/jxy_project/yc1386s_jxy_pcb028_2key/output/ramcode.rom	(working copy)
@@ -2,24 +2,24 @@
 c0000061
 c001007a
 c0088083
-c00a01ab
-c00a810a
-c00c0118
-c00c80d7
-c00d0091
-c01281cd
+c00a01b1
+c00a810f
+c00c011d
+c00c80dc
+c00d0095
+c01281d3
 c013803f
-c0588122
-c062811f
-c06d017c
-c06e018c
+c0588127
+c0628124
+c06d0182
+c06e0192
 2020235a
 c0120018
 c0128075
 c0130065
-c01c81c7
+c01c81cd
 c01f804a
-c02681cb
+c02681d1
 c17f8000
 2020235a
 204025c2
@@ -143,6 +143,10 @@
 708a1260
 708a23dd
 20600000
+37d98200
+70813c58
+37d98200
+20600000
 7001bb00
 7001bc00
 37d98200
@@ -153,13 +157,14 @@
 708a844a
 708a8540
 708a16fe
-204000df
+204000e4
 6fe0c436
 205a70d7
+24558091
 37d98200
 70813b5f
 6fe0c099
-c00800cc
+c00800d1
 6fe0c438
 1fe1fe04
 67f08a02
@@ -170,18 +175,18 @@
 67f18a73
 708a8660
 708a8b3b
-204000be
+204000c3
 70804300
 70804205
 58557474
 67f18968
 7089606e
-2040014e
-20400179
-204000b8
+20400154
+2040017f
+204000bd
 7041480c
 20406f4e
-2020017b
+20200181
 20758000
 37d98200
 6fe0c11c
@@ -189,7 +194,7 @@
 37d98200
 20600000
 6fe0c099
-c00c00c4
+c00c00c9
 6fe0c438
 1fe1fe06
 67f08a02
@@ -212,16 +217,16 @@
 67f18a73
 708a762a
 70890204
-202000aa
+202000af
 6fe0c141
-c00500da
+c00500df
 2020220e
 708a1425
 58a93f3f
 67f18a60
 708a631f
 20600000
-20358106
+2035810b
 6fe2020d
 207a0000
 37d98200
@@ -263,7 +268,7 @@
 6fe1415b
 207a0000
 67e1020f
-202000f0
+202000f5
 2040686f
 204021ba
 18002a08
@@ -292,6 +297,7 @@
 7080d6c0
 20407396
 20758000
+7040a60a
 5800000e
 67e144f2
 58000140
@@ -303,7 +309,7 @@
 67e444fa
 58006327
 67e143db
-5800013c
+58000142
 67e143dd
 5800638a
 67e143df
@@ -315,9 +321,9 @@
 20406396
 202062bd
 1a627e00
-c0188141
-c00a8143
-c01f8147
+c0188147
+c00a8149
+c01f814d
 202062da
 7048ae01
 20600000
@@ -344,7 +350,7 @@
 708ac200
 708ac300
 d8e00006
-2040016b
+20400171
 2a2ffe0d
 2040211d
 2a4ffe0d
@@ -352,14 +358,14 @@
 d8e00005
 2040211c
 2040211e
-2040016b
+20400171
 d8a08ac2
 1a31fe00
 20402117
 1a51fe00
 20402117
 18e08fff
-20210160
+20210166
 2020214f
 2000003c
 58000f00
@@ -385,7 +391,7 @@
 6fe0c409
 67f080cd
 20000bb8
-204001a4
+204001aa
 708a08c1
 6a40c419
 df200008
@@ -394,7 +400,7 @@
 67e0c433
 6240c419
 20600000
-2040019a
+204001a0
 6ff08a09
 793ffe07
 67f08a09
@@ -405,7 +411,7 @@
 6fe0c409
 67f080cd
 20000bb8
-204001a4
+204001aa
 7080cd00
 20206fa1
 6ff080cc
@@ -420,7 +426,7 @@
 20600000
 7080cc03
 6ff08129
-c30281a5
+c30281ab
 68590164
 6049440a
 7080cc00
@@ -429,7 +435,7 @@
 708a8d12
 708a8e0a
 6fe0c099
-c00801c4
+c00801ca
 58005762
 67f10907
 70890103
@@ -440,7 +446,7 @@
 708a8d44
 708a8e0a
 6fe0c099
-c00801c1
+c00801c7
 58002bb1
 67f10907
 c6978000
@@ -449,10 +455,10 @@
 20600000
 58004189
 67f10907
-202001bd
+202001c3
 58008312
 67f10907
-202001b2
+202001b8
 6fe0c334
 c1000000
 c001b04a
@@ -464,7 +470,7 @@
 6fe240ad
 9840fe00
 67e240ad
-204001d4
+204001da
 20202425
 600440e7
 d8c08070
@@ -482,11 +488,11 @@
 efe08011
 e8408013
 98467c00
-202281e7
+202281ed
 e7e08013
 37d98200
 1a20a201
 1a60a601
-c20001e1
+c20001e7
 1a420400
 20600000
Index: output/sched.rom
===================================================================
--- /1121s/branch/shutter/branch/shutter/jxy_project/yc1386s_jxy_pcb028_2key/output/sched.rom	(revision 2803)
+++ /1121s/branch/shutter/branch/shutter/jxy_project/yc1386s_jxy_pcb028_2key/output/sched.rom	(working copy)
@@ -106,13 +106,13 @@
 mem_lpm_hv_sel:b4
 
 mem_fcomp_div:18
-mem_xtal_c_sel:7b
+mem_xtal_c_sel:3b
 mem_gpio_wakeup_cfg:00 00 20 00 00 00 00 00 00 00 00 00
 
 mem_version:08 0e 05 03 00
 mem_le_tx2m_delay:20
 
-mem_rx_window_sniff:00 0c
+mem_rx_window_sniff:00 30
 
 mem_gain_fix:ff	#00:soft agc; ff:hw agc
 mem_gain_table:04 00 00
Index: program/patch.prog
===================================================================
--- /1121s/branch/shutter/branch/shutter/jxy_project/yc1386s_jxy_pcb028_2key/program/patch.prog	(revision 2803)
+++ /1121s/branch/shutter/branch/shutter/jxy_project/yc1386s_jxy_pcb028_2key/program/patch.prog	(working copy)
@@ -10,7 +10,7 @@
 	beq patch02_5,p_rf_rx_enable
 	beq patch03_0,p_txon
 	beq patch03_1,p_set_tx_power
-	beq patch03_2,p_initialize_radio_cont	
+	beq patch03_2,p_initialize_radio_cont
 	//beq patch03_3,p_rfpll_aac_ghpc
 	//beq patch03_5,p_dpll_ring_ibias_calc
 	beq patch04_5,p_lpm_sleep
@@ -135,7 +135,7 @@
 	branch soft_reset+1
 
 p_le_rx_nopayload:
-	parse demod,bucket,24	
+	parse demod,bucket,24
 	rshift32 pdata,pdata
 	rshift16 pdata,pdata
 	istore 3,contw
@@ -148,12 +148,12 @@
 	increase -4,pdata
 	store 1,mem_le_rxbuf_data_length
 	call wait_ccm_done
- 	fetch 1,core_misc_status	
+ 	fetch 1,core_misc_status
 	bbit0 7,le_crc_fail_consecutive
 	branch le_rx_nopayload+16
-	
+
 p_le_rx_dec:
-	call le_check_retransmit	
+	call le_check_retransmit
 	fetchr rega, 1,mem_le_rxbuf_data_length
 	increase -4,rega
 	nbranch le_crc_fail_consecutive,positive
@@ -174,19 +174,25 @@
 
 
 p_set_sync_on:
-	jam 0x60,0x8a0f 
-	jam 0xaa,0x8a10 
-	jam 0x7a,0x8a12 
-	jam 0x00,0x8a25 
-	jam 0x00,0x8a26 
+	jam 0x60,0x8a0f
+	jam 0xaa,0x8a10
+	jam 0x7a,0x8a12
+	jam 0x00,0x8a25
+	jam 0x00,0x8a26
 	nop 60
-	jam 0x20,0x8a20 
-	jam 0xf5,0x8a23 
-	jam 0x12,0x8a24 
-	jam 0x10,0x8a24 
+	jam 0x20,0x8a20
+	jam 0xf5,0x8a23
+	jam 0x12,0x8a24
+	jam 0x10,0x8a24
 	nop 60
-	jam 0x60,0x8a12 
-	jam 0xdd,0x8a23 
+	jam 0x60,0x8a12
+	jam 0xdd,0x8a23
+	rtn
+
+p_set_ck2rfpll:
+	until null,lpo_edge
+	jam 0x58,0x813c
+	until null,lpo_edge
 	rtn
 
 p_initialize_radio_cont:
@@ -197,7 +203,7 @@
 	jam 0xcd,0x8a13
 	jam 0x0d,0x8946
 	jam 0x10,0x896f
-	
+
 	jam 0x10,0x8a06
 	jam 0x4a,0x8a84
 	jam 0x40,0x8a85
@@ -206,9 +212,9 @@
 //	branch initialize_radio_cont+1
 	fetch 1,mem_wdt_always_work
 	call wdt_set_disable,blank
-
+	ncall p_set_ck2rfpll,wake
 	until null,lpo_edge
-	jam 0x5f,0x813b 
+	jam 0x5f,0x813b
 	fetch 1,mem_fcomp_div
 	beq XTAL_16M,p_initialize_radio_16m
 	fetch 1,mem_ring_ibias_trim
@@ -218,10 +224,10 @@
 	jam 0x24,0x8a80
 	jam 0x62,0x8a81
 	setarg 0xe61212
-	store 3,0x8a73	
+	store 3,0x8a73
 p_initialize_radio2:
 	jam 0x60,0x8a86
-	jam 0x3b,0x8a8b 
+	jam 0x3b,0x8a8b
 	call p_dpll_on
 	jam 0,core_config
 	jam CLKSEL_DPLL,core_clksel
@@ -234,7 +240,7 @@
 	jam SYSTEM_CLK_12M,mem_system_clk
 	call sadc_calibration
 	branch p_dpll_ring_ibias_calc
-	
+
 p_set_xtal_cap:
 	rtn wake
 	until null,lpo_edge
@@ -242,7 +248,7 @@
 	store 1,core_xtal_cap
 	until null,lpo_edge
 	rtn
-	
+
 p_dpll_on:
 	fetch 1,mem_fcomp_div
 	beq XTAL_24M,p_dpll_on_24m
@@ -250,7 +256,7 @@
 	or_into 0x06,pdata
 	store 1,0x8a02
 	jam 0xe0,0x8a05
-p_dpll_on_24m:	
+p_dpll_on_24m:
 	jam 0xd8,0x8a00
 	nop 60
 	jam 0xa0,0x8a01
@@ -259,7 +265,7 @@
 	nop 20
 	jam 0x9f,0x8a00
 	rtn
-	
+
 p_initialize_radio_16m:
 	fetch 1,mem_ring_ibias_trim
 	or_into 0x06,pdata
@@ -270,19 +276,19 @@
 	setarg 0xe40909
 	store 3,0x8a73
 	jam 0x2a,0x8a76
-	jam 0x04,0x8902	
-	branch p_initialize_radio2	
+	jam 0x04,0x8902
+	branch p_initialize_radio2
 
-p_set_tx_power:	
+p_set_tx_power:
 	fetch 1,mem_tx_power
 	beq TX_POWER_10DB,p_set_tx_power_10db
 	branch set_tx_power+2
-	
+
 p_set_tx_power_10db:
-	jam 0x25,0x8a14 
+	jam 0x25,0x8a14
 	setarg 0xa93f3f
 	store 3,0x8a60
-	jam 0x1f,0x8a63 
+	jam 0x1f,0x8a63
 	rtn
 
 p_set_otp_config:
@@ -294,7 +300,7 @@
 	and pdata,0xf0,pdata
 	fetcht 1,mem_otp_core_ldo
 	ior temp,pdata
-	store 1,0x8136 
+	store 1,0x8136
 	until null,lpo_edge
 
 	fetch 1,0x8138
@@ -302,9 +308,9 @@
 	fetcht 1,mem_otp_verf_bg
 	lshift3 temp,temp
 	ior temp,pdata
-	store 1,0x8138 
+	store 1,0x8138
 	until null,lpo_edge
-	
+
 p_set_otp_config2:
 	fetch 1,0x8acb
 	and pdata,0xf0,pdata
@@ -319,7 +325,7 @@
 	fetch 1,0x8a06
 	setflag true,7,pdata
 	store 1,0x8a06
-	
+
 	fetch 1,mem_otp_dpll_ibais
 	and pdata,7,temp
 	lshift4 temp,temp
@@ -330,7 +336,7 @@
 	ior temp,pdata
 	store 1,0x8a02
 	rtn
-	
+
 p_set_otp_config_wake:
 	fetch 2,mem_otp_charge_pump_x
 	rtn blank
@@ -354,15 +360,15 @@
 	jam 0x30,0x8a26
 	jam 0xfe,0x8a16
 	branch rf_rx_enable+14
-	
+
 p_txon:
 //	bpatch patch03_0,mem_patch03
 	setarg 0x0aaa7e
 	store 3,0x8a0f
 	nop 60
-	jam 0x00,0x8a25 
-	jam 0x0d,0x8a26 
-	jam 0xf6,0x8a16 
+	jam 0x00,0x8a25
+	jam 0x0d,0x8a26
+	jam 0xf6,0x8a16
 	branch txon+7
 
 p_otp_read_data:
@@ -373,16 +379,16 @@
 p_shutter_init:
 	jam 0xc0,0x807d				//gpio13
 	jam 0xc0,0x80d6				//gpio18
-	
+
 	call enable_authrom
 	rtn wake
-	
+	jam 0x0a,mem_lpm_overhead
 	setarg 0x000e
 	store 2,mem_ble_shutter_reconn_adv_interval
 	setarg 0x0140
 	store 2,mem_ble_shutter_discovery_adv_interval
 	store 2,mem_le_adv_interval
-	
+
 	fetch 8,mem_shutter_discovery_time_conf
 	store 8,mem_ble_shutter_discovery_timeout
 	fetch 8,mem_shutter_reconn_or_discovery_blink_time_conf
@@ -390,10 +396,10 @@
 
 	setarg shutter_process_idle
 	store 2,mem_cb_idle_process
-		
-	setarg p_shutter_process_bb_event 
+
+	setarg p_shutter_process_bb_event
 	store 2,mem_cb_bb_event_process
-	
+
 	setarg ble_shutter_receive_data
 	store 2,mem_cb_att_write
 
@@ -404,7 +410,7 @@
 	store 2,mem_cb_shutter_keycan
 
 	call shutter_common_init
-	
+
 	call shutter_load_buffer_config_form_DataRom
 
 	branch shutter_power_switch
@@ -433,14 +439,14 @@
 	fetch 8,mem_ble_shutter_interval_min
 	store 8,mem_le_interval_min
 	call app_lpm_mult_enable
-	branch le_l2cap_tx_update_req	
+	branch le_l2cap_tx_update_req
 
 p_rx_dcoc:
 //	bpatch patch01_7,mem_patch01
 	rtn wake
 	call set_sync_on
 	arg 39,temp
-	call set_freq_rx	
+	call set_freq_rx
 	call rf_rx_enable
 	jam 0x7f,0x8a25
 	jam 0x1a,0x8a30
@@ -476,7 +482,7 @@
 	store 2,0x8984
 	jam 0x9,0x8981
 	jam 0x3,0x8981
-	jam 0x6,0x8980	
+	jam 0x6,0x8980
 	nop 60
 	arg 0,rega
 	arg 0,regb
@@ -487,7 +493,7 @@
 p_rfpll_aac_ghpc:
 	rtn wake
 	branch rfpll_aac_ghpc+1
-	
+
 p_dpll_ring_ibias_calc:
 	rtn
 
@@ -546,7 +552,7 @@
 	storet 2,mem_adc_current_value
 	jam 0x00,core_sadc_ctrl
 	rtn
-	
+
 
 
 p_set_lemode:
@@ -590,9 +596,9 @@
 	rtneq LLID_RESERVED
 	beq LLID_LE_LL,le_parse_ll
 	branch le_parse_l2cap
-	
+
 p_le_init_adv:
-	set0 mark_ble_crc_fail,mark	
+	set0 mark_ble_crc_fail,mark
 	branch le_init_adv+1
 
 p_lpm_sleep:
@@ -628,7 +634,7 @@
 	branch p_lpm_write_gpio_loop_next,zero
 	istore 1,regc
 	until null,lpo_edge
-p_lpm_write_gpio_loop_next:	
+p_lpm_write_gpio_loop_next:
 	increase 1,rega
 	increase 1,regc
 	loop p_lpm_write_gpio_loop
Index: sched/1305.dat
===================================================================
--- /1121s/branch/shutter/branch/shutter/jxy_project/yc1386s_jxy_pcb028_2key/sched/1305.dat	(revision 2803)
+++ /1121s/branch/shutter/branch/shutter/jxy_project/yc1386s_jxy_pcb028_2key/sched/1305.dat	(working copy)
@@ -9,13 +9,13 @@
 mem_lpm_hv_sel:b4
 
 mem_fcomp_div:18
-mem_xtal_c_sel:7b
+mem_xtal_c_sel:3b
 mem_gpio_wakeup_cfg:00 00 20 00 00 00 00 00 00 00 00 00
 
 mem_version:08 0e 05 03 00
 mem_le_tx2m_delay:20
 
-mem_rx_window_sniff:00 0c
+mem_rx_window_sniff:00 30
 
 mem_gain_fix:ff	#00:soft agc; ff:hw agc
 mem_gain_table:04 00 00
