-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathunit3.lfm
More file actions
633 lines (633 loc) · 12.3 KB
/
unit3.lfm
File metadata and controls
633 lines (633 loc) · 12.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
object Form3: TForm3
Left = 250
Height = 433
Top = 120
Width = 835
Caption = 'Program fuses'
ClientHeight = 433
ClientWidth = 835
OnCreate = FormCreate
Position = poScreenCenter
LCLVersion = '1.1'
object Label1: TLabel
Left = 40
Height = 17
Top = 16
Width = 34
Caption = 'Bit 7'
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
end
object Label2: TLabel
Left = 144
Height = 17
Top = 16
Width = 34
Caption = 'Bit 6'
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
end
object Label3: TLabel
Left = 248
Height = 17
Top = 16
Width = 34
Caption = 'Bit 5'
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
end
object Label4: TLabel
Left = 352
Height = 17
Top = 16
Width = 34
Caption = 'Bit 4'
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
end
object Label5: TLabel
Left = 456
Height = 17
Top = 16
Width = 34
Caption = 'Bit 3'
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
end
object Label6: TLabel
Left = 552
Height = 17
Top = 16
Width = 34
Caption = 'Bit 2'
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
end
object Label7: TLabel
Left = 656
Height = 17
Top = 16
Width = 34
Caption = 'Bit 1'
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
end
object Label8: TLabel
Left = 760
Height = 17
Top = 16
Width = 34
Caption = 'Bit 0'
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
end
object Label9: TLabel
Left = 8
Height = 17
Top = 40
Width = 816
Caption = 'Fuse bits, high byte -----------------------------------------------------------------------------------------------------------------------------------------'
ParentColor = False
end
object CheckBox1: TCheckBox
Left = 734
Height = 21
Top = 72
Width = 94
Caption = 'CheckBox1'
OnChange = CheckBox8Change
TabOrder = 0
end
object CheckBox2: TCheckBox
Left = 630
Height = 21
Top = 72
Width = 94
Caption = 'CheckBox1'
OnChange = CheckBox8Change
TabOrder = 1
end
object CheckBox3: TCheckBox
Left = 526
Height = 21
Top = 72
Width = 94
Caption = 'CheckBox1'
OnChange = CheckBox8Change
TabOrder = 2
end
object CheckBox4: TCheckBox
Left = 422
Height = 21
Top = 72
Width = 94
Caption = 'CheckBox1'
OnChange = CheckBox8Change
TabOrder = 3
end
object CheckBox5: TCheckBox
Left = 318
Height = 21
Top = 72
Width = 94
Caption = 'CheckBox1'
OnChange = CheckBox8Change
TabOrder = 4
end
object CheckBox6: TCheckBox
Left = 214
Height = 21
Top = 72
Width = 94
Caption = 'CheckBox1'
OnChange = CheckBox8Change
TabOrder = 5
end
object CheckBox7: TCheckBox
Left = 110
Height = 21
Top = 72
Width = 94
Caption = 'CheckBox1'
OnChange = CheckBox8Change
TabOrder = 6
end
object CheckBox8: TCheckBox
Left = 7
Height = 21
Top = 72
Width = 94
Caption = 'CheckBox1'
OnChange = CheckBox8Change
TabOrder = 7
end
object Label10: TLabel
Left = 8
Height = 17
Top = 104
Width = 819
Caption = 'Fuse bits, low byte -------------------------------------------------------------------------------------------------------------------------------------------'
ParentColor = False
end
object Label11: TLabel
Left = 8
Height = 17
Top = 168
Width = 820
Caption = 'Fuse bits, extended byte ------------------------------------------------------------------------------------------------------------------------------------'
ParentColor = False
end
object Label12: TLabel
Left = 9
Height = 17
Top = 232
Width = 815
Caption = 'Lock bits -------------------------------------------------------------------------------------------------------------------------------------------------------'
ParentColor = False
end
object Button1: TButton
Left = 9
Height = 25
Top = 400
Width = 75
Caption = 'Close'
OnClick = Button1Click
TabOrder = 8
end
object Button2: TButton
Left = 553
Height = 25
Top = 400
Width = 131
Caption = 'Read from device'
OnClick = Button2Click
TabOrder = 9
end
object Button3: TButton
Left = 698
Height = 25
Top = 400
Width = 131
Caption = 'Write to device'
OnClick = Button3Click
TabOrder = 10
end
object Label13: TLabel
Left = 9
Height = 17
Top = 303
Width = 35
Caption = 'Hint:'
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
end
object CheckBox33: TCheckBox
Left = 56
Height = 21
Top = 300
Width = 292
Caption = 'Checked means fuse is programmed (=0)'
Checked = True
Enabled = False
State = cbChecked
TabOrder = 11
end
object CheckBox34: TCheckBox
Left = 360
Height = 21
Top = 300
Width = 324
Caption = 'Unchecked means fuse is unprogrammed (=1)'
Enabled = False
TabOrder = 12
end
object Label14: TLabel
Left = 8
Height = 17
Top = 326
Width = 73
Caption = 'Attention:'
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
end
object Label15: TLabel
Left = 22
Height = 59
Top = 326
Width = 433
Caption = ' Program the fuses only if you know exactly what you are'#10'doing! Writing wrong fuse bits may damage the device! Rever to the'#10'datasheets for details.'
ParentColor = False
end
object Label16: TLabel
Left = 512
Height = 17
Top = 348
Width = 31
Caption = 'CPU:'
ParentColor = False
end
object ComboBox1: TComboBox
Left = 552
Height = 29
Top = 339
Width = 276
ItemHeight = 0
OnChange = ComboBox1Change
Style = csDropDownList
TabOrder = 13
end
object CheckBox9: TCheckBox
Left = 734
Height = 21
Top = 136
Width = 94
Caption = 'CheckBox1'
OnChange = CheckBox16Change
TabOrder = 14
end
object CheckBox10: TCheckBox
Left = 630
Height = 21
Top = 136
Width = 94
Caption = 'CheckBox1'
OnChange = CheckBox16Change
TabOrder = 15
end
object CheckBox11: TCheckBox
Left = 526
Height = 21
Top = 136
Width = 94
Caption = 'CheckBox1'
OnChange = CheckBox16Change
TabOrder = 16
end
object CheckBox12: TCheckBox
Left = 422
Height = 21
Top = 136
Width = 94
Caption = 'CheckBox1'
OnChange = CheckBox16Change
TabOrder = 17
end
object CheckBox13: TCheckBox
Left = 318
Height = 21
Top = 136
Width = 94
Caption = 'CheckBox1'
OnChange = CheckBox16Change
TabOrder = 18
end
object CheckBox14: TCheckBox
Left = 214
Height = 21
Top = 136
Width = 94
Caption = 'CheckBox1'
OnChange = CheckBox16Change
TabOrder = 19
end
object CheckBox15: TCheckBox
Left = 110
Height = 21
Top = 136
Width = 94
Caption = 'CheckBox1'
OnChange = CheckBox16Change
TabOrder = 20
end
object CheckBox16: TCheckBox
Left = 7
Height = 21
Top = 136
Width = 94
Caption = 'CheckBox1'
OnChange = CheckBox16Change
TabOrder = 21
end
object CheckBox17: TCheckBox
Left = 734
Height = 21
Top = 200
Width = 94
Caption = 'CheckBox1'
OnChange = CheckBox24Change
TabOrder = 22
end
object CheckBox18: TCheckBox
Left = 630
Height = 21
Top = 200
Width = 94
Caption = 'CheckBox1'
OnChange = CheckBox24Change
TabOrder = 23
end
object CheckBox19: TCheckBox
Left = 526
Height = 21
Top = 200
Width = 94
Caption = 'CheckBox1'
OnChange = CheckBox24Change
TabOrder = 24
end
object CheckBox20: TCheckBox
Left = 422
Height = 21
Top = 200
Width = 94
Caption = 'CheckBox1'
OnChange = CheckBox24Change
TabOrder = 25
end
object CheckBox21: TCheckBox
Left = 318
Height = 21
Top = 200
Width = 94
Caption = 'CheckBox1'
OnChange = CheckBox24Change
TabOrder = 26
end
object CheckBox22: TCheckBox
Left = 214
Height = 21
Top = 200
Width = 94
Caption = 'CheckBox1'
OnChange = CheckBox24Change
TabOrder = 27
end
object CheckBox23: TCheckBox
Left = 110
Height = 21
Top = 200
Width = 94
Caption = 'CheckBox1'
OnChange = CheckBox24Change
TabOrder = 28
end
object CheckBox24: TCheckBox
Left = 7
Height = 21
Top = 200
Width = 94
Caption = 'CheckBox1'
OnChange = CheckBox24Change
TabOrder = 29
end
object CheckBox25: TCheckBox
Left = 734
Height = 21
Top = 256
Width = 94
Caption = 'CheckBox1'
OnChange = CheckBox32Change
TabOrder = 30
end
object CheckBox26: TCheckBox
Left = 630
Height = 21
Top = 256
Width = 94
Caption = 'CheckBox1'
OnChange = CheckBox32Change
TabOrder = 31
end
object CheckBox27: TCheckBox
Left = 526
Height = 21
Top = 256
Width = 94
Caption = 'CheckBox1'
OnChange = CheckBox32Change
TabOrder = 32
end
object CheckBox28: TCheckBox
Left = 422
Height = 21
Top = 256
Width = 94
Caption = 'CheckBox1'
OnChange = CheckBox32Change
TabOrder = 33
end
object CheckBox29: TCheckBox
Left = 318
Height = 21
Top = 256
Width = 94
Caption = 'CheckBox1'
OnChange = CheckBox32Change
TabOrder = 34
end
object CheckBox30: TCheckBox
Left = 214
Height = 21
Top = 256
Width = 94
Caption = 'CheckBox1'
OnChange = CheckBox32Change
TabOrder = 35
end
object CheckBox31: TCheckBox
Left = 110
Height = 21
Top = 256
Width = 94
Caption = 'CheckBox1'
OnChange = CheckBox32Change
TabOrder = 36
end
object CheckBox32: TCheckBox
Left = 7
Height = 21
Top = 256
Width = 94
Caption = 'CheckBox1'
OnChange = CheckBox32Change
TabOrder = 37
end
object Label17: TLabel
Left = 9
Height = 17
Top = 280
Width = 232
Caption = 'For fuse bit calculation you can use :'
ParentColor = False
end
object Label18: TLabel
Cursor = crHandPoint
Left = 248
Height = 17
Top = 280
Width = 232
Caption = 'http://www.engbedded.com/fusecalc/'
Font.Color = clBlue
ParentColor = False
ParentFont = False
OnClick = Label18Click
end
object Label19: TLabel
Left = 88
Height = 17
Top = 406
Width = 46
Caption = 'in hex :'
ParentColor = False
end
object Edit1: TEdit
Left = 194
Height = 25
Top = 400
Width = 26
OnKeyPress = Edit1KeyPress
TabOrder = 38
Text = 'Edit1'
end
object Edit2: TEdit
Left = 279
Height = 25
Top = 400
Width = 26
OnKeyPress = Edit2KeyPress
TabOrder = 39
Text = 'Edit2'
end
object Edit3: TEdit
Left = 402
Height = 25
Top = 400
Width = 26
OnKeyPress = Edit3KeyPress
TabOrder = 40
Text = 'Edit3'
end
object Edit4: TEdit
Left = 493
Height = 25
Top = 400
Width = 26
OnKeyPress = Edit4KeyPress
TabOrder = 41
Text = 'Edit4'
end
object Label20: TLabel
Left = 178
Height = 17
Top = 406
Width = 15
Caption = '0x'
ParentColor = False
end
object Label21: TLabel
Left = 261
Height = 17
Top = 406
Width = 15
Caption = '0x'
ParentColor = False
end
object Label22: TLabel
Left = 386
Height = 17
Top = 406
Width = 15
Caption = '0x'
ParentColor = False
end
object Label23: TLabel
Left = 474
Height = 17
Top = 406
Width = 15
Caption = '0x'
ParentColor = False
end
object Label24: TLabel
Left = 146
Height = 17
Top = 400
Width = 27
Caption = 'high'
ParentColor = False
end
object Label25: TLabel
Left = 234
Height = 17
Top = 400
Width = 20
Caption = 'low'
ParentColor = False
end
object Label26: TLabel
Left = 322
Height = 17
Top = 400
Width = 60
Caption = 'extended'
ParentColor = False
end
object Label27: TLabel
Left = 442
Height = 17
Top = 400
Width = 25
Caption = 'lock'
ParentColor = False
end
end