Index: output/otp.dat
===================================================================
--- /1121s/branch/shutter/branch/dy/JXY/1089s_jxy_JM89/output/otp.dat	(revision 3393)
+++ /1121s/branch/shutter/branch/dy/JXY/1089s_jxy_JM89/output/otp.dat	(working copy)
@@ -11,7 +11,7 @@
 00
 aa
 55
-1a
+26
 0f
 c2
 84
@@ -32,7 +32,7 @@
 c0
 0a
 03
-85
+88
 c0
 0a
 82
@@ -52,7 +52,7 @@
 c0
 12
 83
-a7
+aa
 c0
 13
 80
@@ -92,11 +92,11 @@
 c0
 6d
 03
-56
+59
 c0
 6e
 03
-66
+69
 20
 20
 23
@@ -116,11 +116,11 @@
 c0
 1c
 83
-a1
+a4
 c0
 26
 83
-a5
+a8
 c1
 7f
 80
@@ -2132,11 +2132,11 @@
 20
 40
 03
-28
+2b
 20
 40
 03
-53
+56
 20
 40
 02
@@ -2152,7 +2152,7 @@
 20
 20
 03
-55
+58
 20
 75
 80
@@ -2587,6 +2587,10 @@
 00
 20
 40
+70
+d7
+20
+40
 64
 54
 20
@@ -2600,7 +2604,7 @@
 58
 00
 02
-de
+df
 67
 e1
 43
@@ -2608,7 +2612,7 @@
 58
 00
 02
-b3
+b4
 67
 e1
 43
@@ -2616,7 +2620,7 @@
 58
 00
 02
-d0
+d1
 67
 e1
 43
@@ -2632,7 +2636,7 @@
 58
 00
 02
-98
+99
 67
 e1
 43
@@ -2648,7 +2652,7 @@
 58
 00
 02
-ad
+ae
 67
 e1
 43
@@ -2680,7 +2684,7 @@
 20
 40
 02
-9d
+9e
 20
 40
 70
@@ -2724,7 +2728,7 @@
 20
 22
 82
-a8
+a9
 1f
 e2
 04
@@ -2732,7 +2736,7 @@
 20
 40
 02
-ab
+ac
 1a
 20
 a2
@@ -2740,7 +2744,7 @@
 c2
 00
 02
-a2
+a3
 20
 60
 00
@@ -2784,11 +2788,11 @@
 c0
 20
 02
-c7
+c8
 c0
 18
 82
-b7
+b8
 20
 20
 64
@@ -2800,7 +2804,7 @@
 20
 40
 02
-ba
+bb
 20
 60
 00
@@ -2812,11 +2816,11 @@
 20
 3a
 02
-bd
+be
 20
 20
 02
-c2
+c3
 6f
 e1
 4f
@@ -2880,7 +2884,7 @@
 24
 3a
 02
-db
+dc
 6f
 e4
 4f
@@ -2900,7 +2904,7 @@
 c0
 12
 02
-d3
+d4
 20
 60
 00
@@ -2924,7 +2928,7 @@
 24
 3a
 02
-db
+dc
 6f
 e4
 4f
@@ -2949,6 +2953,14 @@
 20
 2e
 93
+df
+e0
+00
+0a
+20
+40
+70
+c8
 20
 40
 64
@@ -2988,7 +3000,7 @@
 20
 20
 02
-e8
+eb
 6f
 e1
 48
@@ -3052,7 +3064,7 @@
 20
 40
 03
-05
+08
 6f
 e1
 06
@@ -3100,7 +3112,7 @@
 c2
 00
 02
-f1
+f4
 20
 60
 00
@@ -3144,7 +3156,7 @@
 20
 20
 03
-0f
+12
 1a
 60
 8c
@@ -3156,7 +3168,7 @@
 20
 20
 03
-12
+15
 20
 40
 65
@@ -3180,7 +3192,7 @@
 20
 40
 03
-1f
+22
 18
 e2
 7e
@@ -3296,7 +3308,7 @@
 20
 40
 03
-45
+48
 2a
 2f
 fe
@@ -3328,7 +3340,7 @@
 20
 40
 03
-45
+48
 d8
 a0
 8a
@@ -3356,7 +3368,7 @@
 20
 21
 03
-3a
+3d
 20
 20
 21
@@ -3460,7 +3472,7 @@
 20
 40
 03
-7e
+81
 70
 8a
 08
@@ -3496,7 +3508,7 @@
 20
 40
 03
-74
+77
 6f
 f0
 8a
@@ -3540,7 +3552,7 @@
 20
 40
 03
-7e
+81
 70
 80
 cd
@@ -3600,7 +3612,7 @@
 c3
 02
 83
-7f
+82
 68
 59
 01
@@ -3636,7 +3648,7 @@
 c0
 08
 03
-9e
+a1
 58
 00
 57
@@ -3680,7 +3692,7 @@
 c0
 08
 03
-9b
+9e
 58
 00
 2b
@@ -3716,7 +3728,7 @@
 20
 20
 03
-97
+9a
 58
 00
 83
@@ -3728,7 +3740,7 @@
 20
 20
 03
-8c
+8f
 6f
 e0
 c3
@@ -3776,7 +3788,7 @@
 20
 40
 03
-ae
+b1
 20
 20
 24
@@ -3848,7 +3860,7 @@
 20
 22
 83
-c1
+c4
 e7
 e0
 80
@@ -3868,7 +3880,7 @@
 c2
 00
 03
-bb
+be
 1a
 42
 04
@@ -3877,8 +3889,8 @@
 60
 00
 00
-5a
-22
+e6
+46
 aa
 55
 40
@@ -4525,12 +4537,11 @@
 00
 aa
 55
-0a
+0b
 00
 7b
 4a
-2a
-29
+38
 28
 27
 26
@@ -4538,6 +4549,8 @@
 24
 23
 22
+36
+37
 2b
 aa
 55
@@ -4601,7 +4614,7 @@
 01
 aa
 55
-12
+30
 02
 02
 4c
@@ -5135,6 +5148,36 @@
 00
 00
 00
+05
+23
+00
+07
+1c
+08
+60
+06
+00
+00
+05
+23
+00
+07
+48
+09
+50
+06
+00
+00
+05
+23
+00
+07
+f0
+01
+50
+06
+00
+00
 aa
 55
 03
@@ -5150,9 +5193,9 @@
 00
 02
 4f
-06
+10
 00
-06
+10
 00
 10
 00
@@ -5960,7 +6003,7 @@
 00
 1c
 41
-2f
+7f
 aa
 55
 0c
@@ -6104,7 +6147,7 @@
 aa
 aa
 55
-b6
-5f
-11
-94
+90
+63
+8c
+75
Index: output/ramcode.rom
===================================================================
--- /1121s/branch/shutter/branch/dy/JXY/1089s_jxy_JM89/output/ramcode.rom	(revision 3393)
+++ /1121s/branch/shutter/branch/dy/JXY/1089s_jxy_JM89/output/ramcode.rom	(working copy)
@@ -2,12 +2,12 @@
 c000001d
 c00101d4
 c00881dd
-c00a0385
+c00a0388
 c00a8269
 c00c0277
 c00c8236
 c00d01ef
-c01283a7
+c01283aa
 c0138048
 c0518081
 c05281be
@@ -17,14 +17,14 @@
 c056809d
 c0588281
 c062827e
-c06d0356
-c06e0366
+c06d0359
+c06e0369
 2020235a
 c0120021
 c0128196
 c013019b
-c01c83a1
-c02683a5
+c01c83a4
+c02683a8
 c17f8000
 2020235a
 2435a002
@@ -527,12 +527,12 @@
 58557474
 67f18968
 7089606e
-20400328
-20400353
+2040032b
+20400356
 20400217
 7041480c
 20406f4e
-20200355
+20200358
 20758000
 37d98200
 6fe0c11c
@@ -641,22 +641,23 @@
 20206b38
 20407396
 20758000
+204070d7
 20406454
 20406459
 7040a60a
-580002de
+580002df
 67e143db
-580002b3
+580002b4
 67e143dd
-580002d0
+580002d1
 67e143df
 580062d3
 67e143d3
-58000298
+58000299
 67e143d5
 58006329
 67e143d7
-580002ad
+580002ae
 67e143e3
 58006505
 67e14524
@@ -664,7 +665,7 @@
 2020647d
 20406f35
 7044ecff
-2040029d
+2040029e
 2040701b
 2020739a
 6fe0c6ce
@@ -675,11 +676,11 @@
 efe08011
 6848c6cf
 98467c00
-202282a8
+202282a9
 1fe20400
-204002ab
+204002ac
 1a20a201
-c20002a2
+c20002a3
 20600000
 79200407
 20206edd
@@ -690,15 +691,15 @@
 20406311
 202064d9
 1a627e00
-c02002c7
-c01882b7
+c02002c8
+c01882b8
 202064e0
 704ec201
-204002ba
+204002bb
 20600000
 20406730
-203a02bd
-202002c2
+203a02be
+202002c3
 6fe14f74
 67e14eae
 6fe14f76
@@ -714,24 +715,26 @@
 6fe4450a
 207a0000
 20406730
-243a02db
+243a02dc
 6fe44f02
 67e442d3
 20202e93
 6fe14398
-c01202d3
+c01202d4
 20600000
 204078ad
 7044f101
 20406730
 2040432b
-243a02db
+243a02dc
 6fe44f02
 67e442d3
 20202e93
 6fe44fb0
 67e442d3
 20202e93
+dfe0000a
+204070c8
 2040649b
 d8e00009
 20407cef
@@ -741,7 +744,7 @@
 20407ce1
 78547c00
 2040701b
-202002e8
+202002eb
 6fe148ac
 67e1442e
 204065be
@@ -757,7 +760,7 @@
 67e1068c
 18e27e00
 67e1067a
-20400305
+20400308
 6fe1068c
 1fe22600
 6fe1067a
@@ -769,7 +772,7 @@
 1fe0a60a
 6fe10678
 1fe27200
-c20002f1
+c20002f4
 20600000
 1a60a405
 efe20012
@@ -780,16 +783,16 @@
 24417806
 580003e8
 98467c00
-2020030f
+20200312
 1a608c04
 efe08006
-20200312
+20200315
 2040656b
 6fe0cec9
 243a655d
 20406561
 20216500
-2040031f
+20400322
 18e27e00
 c1030000
 c001e740
@@ -818,7 +821,7 @@
 708ac200
 708ac300
 d8e00006
-20400345
+20400348
 2a2ffe0d
 2040211d
 2a4ffe0d
@@ -826,14 +829,14 @@
 d8e00005
 2040211c
 2040211e
-20400345
+20400348
 d8a08ac2
 1a31fe00
 20402117
 1a51fe00
 20402117
 18e08fff
-2021033a
+2021033d
 2020214f
 2000003c
 58000f00
@@ -859,7 +862,7 @@
 6fe0c409
 67f080cd
 20000bb8
-2040037e
+20400381
 708a08c1
 6a40c419
 df200008
@@ -868,7 +871,7 @@
 67e0c433
 6240c419
 20600000
-20400374
+20400377
 6ff08a09
 793ffe07
 67f08a09
@@ -879,7 +882,7 @@
 6fe0c409
 67f080cd
 20000bb8
-2040037e
+20400381
 7080cd00
 20206fa1
 6ff080cc
@@ -894,7 +897,7 @@
 20600000
 7080cc03
 6ff08129
-c302837f
+c3028382
 68590164
 6049440a
 7080cc00
@@ -903,7 +906,7 @@
 708a8d12
 708a8e0a
 6fe0c099
-c008039e
+c00803a1
 58005762
 67f10907
 70890103
@@ -914,7 +917,7 @@
 708a8d44
 708a8e0a
 6fe0c099
-c008039b
+c008039e
 58002bb1
 67f10907
 c6978000
@@ -923,10 +926,10 @@
 20600000
 58004189
 67f10907
-20200397
+2020039a
 58008312
 67f10907
-2020038c
+2020038f
 6fe0c334
 c1000000
 c001b04a
@@ -938,7 +941,7 @@
 6fe240ad
 9840fe00
 67e240ad
-204003ae
+204003b1
 20202425
 600440e7
 d8c08070
@@ -956,11 +959,11 @@
 efe08011
 e8408013
 98467c00
-202283c1
+202283c4
 e7e08013
 37d98200
 1a20a201
 1a60a601
-c20003bb
+c20003be
 1a420400
 20600000
Index: output/sched.rom
===================================================================
--- /1121s/branch/shutter/branch/dy/JXY/1089s_jxy_JM89/output/sched.rom	(revision 3393)
+++ /1121s/branch/shutter/branch/dy/JXY/1089s_jxy_JM89/output/sched.rom	(working copy)
@@ -119,7 +119,7 @@
 #hard_soft_switch config
 mem_shutter_hard_soft_switch_case_temp:01
 mem_shutter_soft_switch_button_gpio_temp:0c
-#mem_shutter_soft_switch_button_gpio_temp:12
+# mem_shutter_soft_switch_button_gpio_temp:0d
 
 #100ms timer
 mem_shutter_ble_discovery_time_conf:
@@ -293,7 +293,7 @@
 mem_dy_key5_press:#left
 00
 mem_key5_release_new:
-2a 29 28 27 26 25 24 23 22 2b
+38 28 27 26 25 24 23 22 36 37 2b
 mem_key5_long_press: #lock
 32 09 00
 
@@ -380,6 +380,10 @@
 
 05 23 00 04 00 00 00 00 00 00 #35
 
+05 23 00 07 1c 08 60 06 00 00 #36
+05 23 00 07 48 09 50 06 00 00 #37
+05 23 00 07 f0 01 50 06 00 00 #38
+
 mem_shutter_move_data:
 00 00 00  #defualt
 
@@ -391,8 +395,8 @@
 #0d 09 56 30 2d 53 68 75 74 74 65 72
 
 mem_ble_shutter_dy_interval_min_new:
-06 00
-06 00
+10 00
+10 00
 10 00
 2c 01
 
@@ -679,7 +683,7 @@
 mem_lpm_hv_sel:b4
 
 mem_fcomp_div:18
-mem_xtal_c_sel:2f
+mem_xtal_c_sel:7f
 mem_gpio_wakeup_cfg:00 00 20 00 00 00 00 00 00 00 00 00
 
 mem_version:08 0e 05 03 00
Index: program/patch.prog
===================================================================
--- /1121s/branch/shutter/branch/dy/JXY/1089s_jxy_JM89/program/patch.prog	(revision 3393)
+++ /1121s/branch/shutter/branch/dy/JXY/1089s_jxy_JM89/program/patch.prog	(working copy)
@@ -833,6 +833,7 @@
 p_shutter_dy_init:
 	call enable_authrom
 	rtn wake
+	call wdt_set_disable
 	call shutter_dy_key_conf
 	call shutter_dy_adv_conf
 	jam 0x0a,mem_lpm_overhead
@@ -965,6 +966,8 @@
 	branch le_l2cap_tx_update_req
 
 p_shutter_dy_process_idle:
+	arg 10, pdata //Լ96ms
+	call wdt_init_config
 	call shutter_dy_shutter_send_data_to_master
 	arg key_scan_timer,queue
 	call timer_check
Index: sched/1305.dat
===================================================================
--- /1121s/branch/shutter/branch/dy/JXY/1089s_jxy_JM89/sched/1305.dat	(revision 3393)
+++ /1121s/branch/shutter/branch/dy/JXY/1089s_jxy_JM89/sched/1305.dat	(working copy)
@@ -9,7 +9,7 @@
 mem_lpm_hv_sel:b4
 
 mem_fcomp_div:18
-mem_xtal_c_sel:2f
+mem_xtal_c_sel:7f
 mem_gpio_wakeup_cfg:00 00 20 00 00 00 00 00 00 00 00 00
 
 mem_version:08 0e 05 03 00
Index: sched/shutter_dy.dat
===================================================================
--- /1121s/branch/shutter/branch/dy/JXY/1089s_jxy_JM89/sched/shutter_dy.dat	(revision 3393)
+++ /1121s/branch/shutter/branch/dy/JXY/1089s_jxy_JM89/sched/shutter_dy.dat	(working copy)
@@ -52,7 +52,7 @@
 #hard_soft_switch config
 mem_shutter_hard_soft_switch_case_temp:01
 mem_shutter_soft_switch_button_gpio_temp:0c
-#mem_shutter_soft_switch_button_gpio_temp:12
+# mem_shutter_soft_switch_button_gpio_temp:0d
 
 #100ms timer
 mem_shutter_ble_discovery_time_conf:
@@ -226,7 +226,7 @@
 mem_dy_key5_press:#left
 00
 mem_key5_release_new:
-2a 29 28 27 26 25 24 23 22 2b
+38 28 27 26 25 24 23 22 36 37 2b
 mem_key5_long_press: #lock
 32 09 00
 
@@ -313,6 +313,10 @@
 
 05 23 00 04 00 00 00 00 00 00 #35
 
+05 23 00 07 1c 08 60 06 00 00 #36
+05 23 00 07 48 09 50 06 00 00 #37
+05 23 00 07 f0 01 50 06 00 00 #38
+
 mem_shutter_move_data:
 00 00 00  #defualt
 
@@ -324,8 +328,8 @@
 #0d 09 56 30 2d 53 68 75 74 74 65 72
 
 mem_ble_shutter_dy_interval_min_new:
-06 00
-06 00
+10 00
+10 00
 10 00
 2c 01
 
