Index: output/otp.dat
===================================================================
--- /1121s/branch/shutter/branch/dy/JXY/yc1089s_jxy_pcb181_6key/output/otp.dat	(revision 5901)
+++ /1121s/branch/shutter/branch/dy/JXY/yc1089s_jxy_pcb181_6key/output/otp.dat	(working copy)
@@ -11,7 +11,7 @@
 00
 aa
 55
-0a
+1a
 0f
 c2
 84
@@ -32,7 +32,7 @@
 c0
 0a
 03
-81
+85
 c0
 0a
 82
@@ -52,7 +52,7 @@
 c0
 12
 83
-a3
+a7
 c0
 13
 80
@@ -92,11 +92,11 @@
 c0
 6d
 03
-52
+56
 c0
 6e
 03
-62
+66
 20
 20
 23
@@ -116,11 +116,11 @@
 c0
 1c
 83
-9d
+a1
 c0
 26
 83
-a1
+a5
 c1
 7f
 80
@@ -2136,11 +2136,11 @@
 20
 40
 03
-24
+28
 20
 40
 03
-4f
+53
 20
 40
 02
@@ -2156,7 +2156,7 @@
 20
 20
 03
-51
+55
 20
 75
 80
@@ -2591,6 +2591,14 @@
 00
 20
 40
+70
+d7
+20
+40
+42
+a3
+20
+40
 64
 54
 20
@@ -2604,7 +2612,7 @@
 58
 00
 02
-e0
+e2
 67
 e1
 43
@@ -2612,7 +2620,7 @@
 58
 00
 02
-b5
+b7
 67
 e1
 43
@@ -2620,7 +2628,7 @@
 58
 00
 02
-d2
+d4
 67
 e1
 43
@@ -2636,7 +2644,7 @@
 58
 00
 02
-99
+9b
 67
 e1
 43
@@ -2652,7 +2660,7 @@
 58
 00
 02
-ae
+b0
 67
 e1
 43
@@ -2684,7 +2692,7 @@
 20
 40
 02
-9e
+a0
 20
 40
 70
@@ -2728,7 +2736,7 @@
 20
 22
 82
-a9
+ab
 1f
 e2
 04
@@ -2736,7 +2744,7 @@
 20
 40
 02
-ac
+ae
 1a
 20
 a2
@@ -2744,7 +2752,7 @@
 c2
 00
 02
-a3
+a5
 20
 60
 00
@@ -2792,11 +2800,11 @@
 c0
 20
 02
-c9
+cb
 c0
 18
 82
-b9
+bb
 20
 20
 64
@@ -2808,7 +2816,7 @@
 20
 40
 02
-bc
+be
 20
 60
 00
@@ -2820,11 +2828,11 @@
 20
 3a
 02
-bf
+c1
 20
 20
 02
-c4
+c6
 6f
 e1
 4f
@@ -2888,7 +2896,7 @@
 24
 3a
 02
-dd
+df
 6f
 e4
 4f
@@ -2908,7 +2916,7 @@
 c0
 12
 02
-d5
+d7
 20
 60
 00
@@ -2932,7 +2940,7 @@
 24
 3a
 02
-dd
+df
 6f
 e4
 4f
@@ -2957,6 +2965,14 @@
 20
 2e
 93
+df
+e0
+00
+0a
+20
+40
+70
+c8
 20
 40
 64
@@ -2996,7 +3012,7 @@
 20
 20
 02
-ea
+ee
 6f
 e1
 48
@@ -3060,7 +3076,7 @@
 20
 40
 03
-07
+0b
 6f
 e1
 06
@@ -3108,7 +3124,7 @@
 c2
 00
 02
-f3
+f7
 20
 60
 00
@@ -3152,7 +3168,7 @@
 20
 20
 03
-11
+15
 1a
 60
 8c
@@ -3164,7 +3180,7 @@
 20
 20
 03
-14
+18
 20
 40
 65
@@ -3188,7 +3204,7 @@
 20
 40
 03
-1b
+1f
 20
 20
 65
@@ -3216,7 +3232,7 @@
 70
 49
 e5
-78
+14
 c1
 00
 80
@@ -3224,7 +3240,7 @@
 70
 49
 e5
-e6
+1e
 20
 60
 00
@@ -3280,7 +3296,7 @@
 20
 40
 03
-41
+45
 2a
 2f
 fe
@@ -3312,7 +3328,7 @@
 20
 40
 03
-41
+45
 d8
 a0
 8a
@@ -3340,7 +3356,7 @@
 20
 21
 03
-36
+3a
 20
 20
 21
@@ -3444,7 +3460,7 @@
 20
 40
 03
-7a
+7e
 70
 8a
 08
@@ -3480,7 +3496,7 @@
 20
 40
 03
-70
+74
 6f
 f0
 8a
@@ -3524,7 +3540,7 @@
 20
 40
 03
-7a
+7e
 70
 80
 cd
@@ -3584,7 +3600,7 @@
 c3
 02
 83
-7b
+7f
 68
 59
 01
@@ -3620,7 +3636,7 @@
 c0
 08
 03
-9a
+9e
 58
 00
 57
@@ -3664,7 +3680,7 @@
 c0
 08
 03
-97
+9b
 58
 00
 2b
@@ -3700,7 +3716,7 @@
 20
 20
 03
-93
+97
 58
 00
 83
@@ -3712,7 +3728,7 @@
 20
 20
 03
-88
+8c
 6f
 e0
 c3
@@ -3760,7 +3776,7 @@
 20
 40
 03
-aa
+ae
 20
 20
 24
@@ -3832,7 +3848,7 @@
 20
 22
 83
-bd
+c1
 e7
 e0
 80
@@ -3852,7 +3868,7 @@
 c2
 00
 03
-b7
+bb
 1a
 42
 04
@@ -3861,8 +3877,8 @@
 60
 00
 00
-75
-2b
+fd
+6e
 aa
 55
 40
@@ -6116,5 +6132,5 @@
 55
 34
 60
-aa
-df
+8e
+17
Index: output/ramcode.rom
===================================================================
--- /1121s/branch/shutter/branch/dy/JXY/yc1089s_jxy_pcb181_6key/output/ramcode.rom	(revision 5901)
+++ /1121s/branch/shutter/branch/dy/JXY/yc1089s_jxy_pcb181_6key/output/ramcode.rom	(working copy)
@@ -2,12 +2,12 @@
 c000001d
 c00101d5
 c00881de
-c00a0381
+c00a0385
 c00a826a
 c00c0278
 c00c8237
 c00d01f0
-c01283a3
+c01283a7
 c0138048
 c0518082
 c05281bf
@@ -17,14 +17,14 @@
 c056809e
 c0588282
 c062827f
-c06d0352
-c06e0362
+c06d0356
+c06e0366
 2020235a
 c0120021
 c0128197
 c013019c
-c01c839d
-c02683a1
+c01c83a1
+c02683a5
 c17f8000
 2020235a
 2435a002
@@ -528,12 +528,12 @@
 58557474
 67f18968
 7089606e
-20400324
-2040034f
+20400328
+20400353
 20400218
 7041480c
 20406f4e
-20200351
+20200355
 20758000
 37d98200
 6fe0c11c
@@ -642,22 +642,24 @@
 20206b38
 20407396
 20758000
+204070d7
+204042a3
 20406454
 20406459
 7040a60a
-580002e0
+580002e2
 67e143db
-580002b5
+580002b7
 67e143dd
-580002d2
+580002d4
 67e143df
 580062d3
 67e143d3
-58000299
+5800029b
 67e143d5
 58006329
 67e143d7
-580002ae
+580002b0
 67e143e3
 58006505
 67e14524
@@ -665,7 +667,7 @@
 2020647d
 20406f35
 7044ecff
-2040029e
+204002a0
 2040701b
 2020739a
 6fe0c6ce
@@ -676,11 +678,11 @@
 efe08011
 6848c6cf
 98467c00
-202282a9
+202282ab
 1fe20400
-204002ac
+204002ae
 1a20a201
-c20002a3
+c20002a5
 20600000
 79200407
 20206edd
@@ -692,15 +694,15 @@
 20406311
 202064d9
 1a627e00
-c02002c9
-c01882b9
+c02002cb
+c01882bb
 202064e0
 704ec201
-204002bc
+204002be
 20600000
 20406730
-203a02bf
-202002c4
+203a02c1
+202002c6
 6fe14f74
 67e14eae
 6fe14f76
@@ -716,24 +718,26 @@
 6fe4450a
 207a0000
 20406730
-243a02dd
+243a02df
 6fe44f02
 67e442d3
 20202e93
 6fe14398
-c01202d5
+c01202d7
 20600000
 204078ad
 7044f101
 20406730
 2040432b
-243a02dd
+243a02df
 6fe44f02
 67e442d3
 20202e93
 6fe44fb0
 67e442d3
 20202e93
+dfe0000a
+204070c8
 2040649b
 d8e00009
 20407cef
@@ -743,7 +747,7 @@
 20407ce1
 78547c00
 2040701b
-202002ea
+202002ee
 6fe148ac
 67e1442e
 204065be
@@ -759,7 +763,7 @@
 67e1068c
 18e27e00
 67e1067a
-20400307
+2040030b
 6fe1068c
 1fe22600
 6fe1067a
@@ -771,7 +775,7 @@
 1fe0a60a
 6fe10678
 1fe27200
-c20002f3
+c20002f7
 20600000
 1a60a405
 efe20012
@@ -782,25 +786,25 @@
 24417806
 580003e8
 98467c00
-20200311
+20200315
 1a608c04
 efe08006
-20200314
+20200318
 2040656b
 6fe0cec9
 243a655d
 20406561
 20216500
-2040031b
+2040031f
 20206557
 da604a30
 20406730
 207a0000
 da604b57
 18e27e00
-7049e578
+7049e514
 c1008000
-7049e5e6
+7049e51e
 20600000
 20758000
 20402160
@@ -814,7 +818,7 @@
 708ac200
 708ac300
 d8e00006
-20400341
+20400345
 2a2ffe0d
 2040211d
 2a4ffe0d
@@ -822,14 +826,14 @@
 d8e00005
 2040211c
 2040211e
-20400341
+20400345
 d8a08ac2
 1a31fe00
 20402117
 1a51fe00
 20402117
 18e08fff
-20210336
+2021033a
 2020214f
 2000003c
 58000f00
@@ -855,7 +859,7 @@
 6fe0c409
 67f080cd
 20000bb8
-2040037a
+2040037e
 708a08c1
 6a40c419
 df200008
@@ -864,7 +868,7 @@
 67e0c433
 6240c419
 20600000
-20400370
+20400374
 6ff08a09
 793ffe07
 67f08a09
@@ -875,7 +879,7 @@
 6fe0c409
 67f080cd
 20000bb8
-2040037a
+2040037e
 7080cd00
 20206fa1
 6ff080cc
@@ -890,7 +894,7 @@
 20600000
 7080cc03
 6ff08129
-c302837b
+c302837f
 68590164
 6049440a
 7080cc00
@@ -899,7 +903,7 @@
 708a8d12
 708a8e0a
 6fe0c099
-c008039a
+c008039e
 58005762
 67f10907
 70890103
@@ -910,7 +914,7 @@
 708a8d44
 708a8e0a
 6fe0c099
-c0080397
+c008039b
 58002bb1
 67f10907
 c6978000
@@ -919,10 +923,10 @@
 20600000
 58004189
 67f10907
-20200393
+20200397
 58008312
 67f10907
-20200388
+2020038c
 6fe0c334
 c1000000
 c001b04a
@@ -934,7 +938,7 @@
 6fe240ad
 9840fe00
 67e240ad
-204003aa
+204003ae
 20202425
 600440e7
 d8c08070
@@ -952,11 +956,11 @@
 efe08011
 e8408013
 98467c00
-202283bd
+202283c1
 e7e08013
 37d98200
 1a20a201
 1a60a601
-c20003b7
+c20003bb
 1a420400
 20600000
Index: output/sched.rom
===================================================================
--- /1121s/branch/shutter/branch/dy/JXY/yc1089s_jxy_pcb181_6key/output/sched.rom	(revision 5901)
+++ /1121s/branch/shutter/branch/dy/JXY/yc1089s_jxy_pcb181_6key/output/sched.rom	(working copy)
@@ -131,13 +131,13 @@
 #key config
 mem_shutter_key_num_conf:06
 mem_shutter_dy_key_conf:
-#test 6key
-#06   #right
-#05   #like
-#08   #down
-#0a   #photo
-#14   #up
-#07   #left
+#socket
+# 08   #right
+# 07   #like
+# 0f   #down
+# 12   #photo
+# 02   #up
+# 06   #left
 
 #test 7key
 # 06   #right
Index: program/patch.prog
===================================================================
--- /1121s/branch/shutter/branch/dy/JXY/yc1089s_jxy_pcb181_6key/program/patch.prog	(revision 5901)
+++ /1121s/branch/shutter/branch/dy/JXY/yc1089s_jxy_pcb181_6key/program/patch.prog	(working copy)
@@ -834,6 +834,8 @@
 p_shutter_dy_init:
 	call enable_authrom
 	rtn wake
+	call wdt_set_disable
+	call app_param_init
 	call shutter_dy_key_conf
 	call shutter_dy_adv_conf
 	jam 0x0a,mem_lpm_overhead
@@ -966,6 +968,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
@@ -1044,9 +1048,9 @@
 	rtn blank
 	arg mem_key0_release_new_i,regc
 	copy queue,pdata
-	jam 120,mem_send_data_delay
+	jam 20,mem_send_data_delay
 	rtneq SHUTTER_LIKE_KEY_NUM
-	jam 230,mem_send_data_delay
+	jam 30,mem_send_data_delay
 	rtn
 
 p_rx_dcoc:
Index: sched/shutter_dy.dat
===================================================================
--- /1121s/branch/shutter/branch/dy/JXY/yc1089s_jxy_pcb181_6key/sched/shutter_dy.dat	(revision 5901)
+++ /1121s/branch/shutter/branch/dy/JXY/yc1089s_jxy_pcb181_6key/sched/shutter_dy.dat	(working copy)
@@ -64,13 +64,13 @@
 #key config
 mem_shutter_key_num_conf:06
 mem_shutter_dy_key_conf:
-#test 6key
-#06   #right
-#05   #like
-#08   #down
-#0a   #photo
-#14   #up
-#07   #left
+#socket
+# 08   #right
+# 07   #like
+# 0f   #down
+# 12   #photo
+# 02   #up
+# 06   #left
 
 #test 7key
 # 06   #right
