-
Notifications
You must be signed in to change notification settings - Fork 47
/
picprog_fo433.ino
1816 lines (1713 loc) · 131 KB
/
picprog_fo433.ino
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
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
* STC1000+, improved firmware and Arduino based firmware uploader for the STC-1000 dual stage thermostat.
*
* Copyright 2014 Mats Staffansson
*
* This file is part of STC1000+.
*
* STC1000+ is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* STC1000+ is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with STC1000+. If not, see <http://www.gnu.org/licenses/>.
*
* The idea of an Arduino based PIC programmer came from here
* http://forum.arduino.cc/index.php?topic=92929.0
* but was completely rewritten.
*
* This sketch allows the generated HEX file for the STC-1000 to be uploaded
* from the Arduino by sending it over serial. I use CuteCom under linux to upload the
* file, which works wonderfully. It allows to set a character delay, to not overrun the
* buffer. If you should use another software that does not have this feature you may
* need to lower the baudrate significantly.
*
*/
/* User configurable defines */
/* Set to 0 to omit Fahrenheit version from sketch */
#define INCLUDE_FAHRENHEIT_HEX_DATA 1
/* Set to 0 to omit Celsius version from sketch */
#define INCLUDE_CELSIUS_HEX_DATA 1
/* Set to 1 to enable automatic upload of Fahrenheit version */
#define AUTOMATIC_UPLOAD_FAHRENHEIT 0
/* Set to 1 to enable automatic upload of Celsius version */
#define AUTOMATIC_UPLOAD_CELSIUS 0
/* End of user configurable defines - DO NOT EDIT BEYOND THIS POINT - unless you know what you're doing that is... */
/* Sanity check */
#if AUTOMATIC_UPLOAD_FAHRENHEIT && AUTOMATIC_UPLOAD_CELSIUS
#error "Cannot automatically upload both versions, set *just one* of AUTOMATIC_UPLOAD_FAHRENHEIT or AUTOMATIC_UPLOAD_CELSIUS."
#endif
#if !INCLUDE_FAHRENHEIT_HEX_DATA && !INCLUDE_CELSIUS_HEX_DATA
#error "No HEX data selected, set *at least one* of INCLUDE_FAHRENHEIT_HEX_DATA or INCLUDE_CELSIUS_HEX_DATA to 1."
#endif
#if AUTOMATIC_UPLOAD_FAHRENHEIT && !INCLUDE_FAHRENHEIT_HEX_DATA
#error "To automatically upload Fahrenheit version, INCLUDE_FAHRENHEIT_HEX_DATA must be set to 1."
#endif
#if AUTOMATIC_UPLOAD_CELSIUS && !INCLUDE_CELSIUS_HEX_DATA
#error "To automatically upload Celsius version, INCLUDE_CELSIUS_HEX_DATA must be set to 1."
#endif
/* Define STC-1000+ version number (XYY, X=major, YY=minor) and EEROM revision */
#define STC1000P_MAGIC_F 0x192C
#define STC1000P_MAGIC_C 0x26D3
#define STC1000P_VERSION (109)
#define STC1000P_EEPROM_VERSION (12)
/* Pin configuration */
#define ICSPCLK 9
#define ICSPDAT 8
#define VDD1 6
#define VDD2 5
#define VDD3 4
#define nMCLR 3
/* Delays */
#define TDLY() delayMicroseconds(1) /* 1.0us minimum */
#define TCKH() delayMicroseconds(1) /* 100ns minimum */
#define TCKL() delayMicroseconds(1) /* 100ns minimum */
#define TERAB() delay(5) /* 5ms maximum */
#define TERAR() delay(3) /* 2.5ms maximum */
#define TPINT() delay(5) /* 5ms maximum */
#define TPEXT() delay(2) /* 1.0ms minimum, 2.1ms maximum*/
#define TDIS() delayMicroseconds(1) /* 300ns minimum */
#define TENTS() delayMicroseconds(1) /* 100ns minimum */
#define TENTH() delay(3) /* 250us minimum */ /* Needs a lot more when powered by arduino */
#define TEXIT() delayMicroseconds(1) /* 1us minimum */
/* Commands */
#define LOAD_CONFIGURATION 0x00 /* 0, data(14), 0 */
#define LOAD_DATA_FOR_PROGRAM_MEMORY 0x02 /* 0, data(14), 0 */
#define LOAD_DATA_FOR_DATA_MEMORY 0x03 /* 0, data(14), zero(6), 0 */
#define READ_DATA_FROM_PROGRAM_MEMORY 0x04 /* 0, data(14), 0 */
#define READ_DATA_FROM_DATA_MEMORY 0x05 /* 0, data(14), zero(6), 0 */
#define INCREMENT_ADDRESS 0x06 /* - */
#define RESET_ADDRESS 0x16 /* - */
#define BEGIN_INTERNALLY_TIMED_PROGRAMMING 0x08 /* - */
#define BEGIN_EXTERNALLY_TIMED_PROGRAMMING 0x18 /* - */
#define END_EXTERNALLY_TIMED_PROGRAMMING 0x0A /* - */
#define BULK_ERASE_PROGRAM_MEMORY 0x09 /* Internally Timed */
#define BULK_ERASE_DATA_MEMORY 0x0B /* Internally Timed */
#define ROW_ERASE_PROGRAM_MEMORY 0x11 /* Internally Timed */
/* declare hex data */
/* For some reason PROGMEM messes with conditional compilation, */
/* so better not put #if INCLUDE_???_HEX_DATA around these */
extern const char hex_celsius[] PROGMEM;
extern const char hex_eeprom_celsius[] PROGMEM;
extern const char hex_fahrenheit[] PROGMEM;
extern const char hex_eeprom_fahrenheit[] PROGMEM;
unsigned char hex_nibble(unsigned char data) {
data = toupper(data);
return (data >= 'A' ? data - 'A' + 10 : data - '0') & 0xf;
}
unsigned char parse_hex() {
unsigned char data;
while (Serial.available() < 2)
;
data = hex_nibble(Serial.read()) << 4;
data |= hex_nibble(Serial.read());
return data;
}
unsigned char handle_hex_file_line(unsigned char bytecount,
unsigned int address, unsigned char recordtype, unsigned char data[]) {
static unsigned int device_address = 0;
unsigned char i;
if (recordtype == 1) {
reset_address();
device_address = 0;
Serial.println("Programming done");
return 1;
} else if (recordtype == 04) {
if (data[1] == 0) {
Serial.println("Programming program memory");
reset_address();
device_address = 0;
} else if (data[1] == 1) {
Serial.println("Programming config memory");
load_configuration(0);
device_address = 0;
}
} else if (recordtype == 00) {
if (address >= 0xE000) {
Serial.print("Programming ");
Serial.print(bytecount >> 1, DEC);
Serial.print(" bytes at EEPROM address 0x");
Serial.println((address & 0x1FFF) >> 1, HEX);
if (device_address != ((address & 0x1FFF) >> 1)
|| ((address & 0x1FFF) >> 1) == 0) {
Serial.println("Resetting address for EEPROM");
reset_address();
device_address = 0;
}
while (device_address != ((address & 0x1FFF) >> 1)) {
increment_address();
device_address++;
Serial.print("Incrementing address to 0x");
Serial.println(device_address, HEX);
}
for (i = 0; i < bytecount; i += 2) {
unsigned char data_out = data[i];
unsigned char data_in;
load_data_for_data_memory(data_out);
begin_internally_timed_programming();
data_in = read_data_from_data_memory();
if (data_in != data_out) {
Serial.print("Validation failed for EEPROM address 0x");
Serial.print(device_address, HEX);
Serial.print(" wrote 0x");
Serial.print(data_out, HEX);
Serial.print(" but read back 0x");
Serial.println(data_in, HEX);
return 1;
}
increment_address();
device_address++;
}
} else {
Serial.print("Programming ");
Serial.print(bytecount >> 1, DEC);
Serial.print(" words at address 0x");
Serial.println(address >> 1, HEX);
while (device_address != (address >> 1)) {
increment_address();
device_address++;
Serial.print("Incrementing address to 0x");
Serial.println(device_address, HEX);
}
for (i = 0; i < bytecount; i += 2) {
unsigned int data_word_out = (((unsigned int) data[i + 1]) << 8)
| data[i];
unsigned int data_word_in;
load_data_for_program_memory(data_word_out);
begin_internally_timed_programming();
data_word_in = read_data_from_program_memory();
if (data_word_in != data_word_out) {
Serial.print("Validation failed for address 0x");
Serial.print(device_address, HEX);
Serial.print(" wrote 0x");
Serial.print(data_word_out, HEX);
Serial.print(" but read back 0x");
Serial.println(data_word_in, HEX);
return 1;
}
increment_address();
device_address++;
}
}
}
return 0;
}
void upload_hex_file_to_device() {
unsigned char done = 0;
Serial.println("Waiting for hex data...");
while (!done) {
unsigned char bytecount;
unsigned int address;
unsigned char recordtype;
unsigned char data[16];
unsigned char checksum;
unsigned char i;
// Read start of line
while (1) {
while (Serial.available() < 1)
;
char rx = Serial.read();
if (rx == ':') {
break;
}
}
// Read bytecount
bytecount = parse_hex();
checksum = bytecount;
// Read address
address = ((unsigned int) parse_hex()) << 8;
address |= parse_hex();
checksum += ((unsigned char) (address >> 8));
checksum += ((unsigned char) (address));
// Read recordtype
recordtype = parse_hex();
checksum += recordtype;
for (i = 0; i < bytecount; i++) {
data[i] = parse_hex();
checksum += data[i];
}
// Read checksum
i = parse_hex();
checksum += i;
if (checksum) {
Serial.println("Checksum error!");
break;
}
done = handle_hex_file_line(bytecount, address, recordtype, data);
}
}
void upload_hex_from_progmem(PGM_P hexdata) {
unsigned char done = 0;
Serial.println("Programming hex data...");
while (!done) {
unsigned char bytecount;
unsigned int address;
unsigned char recordtype;
unsigned char data[16];
unsigned char checksum;
unsigned char i;
// Read bytecount
bytecount = pgm_read_byte(hexdata++);
checksum = bytecount;
// Read address
address = ((unsigned int) pgm_read_byte(hexdata++)) << 8;
address |= pgm_read_byte(hexdata++);
checksum += ((unsigned char) (address >> 8));
checksum += ((unsigned char) (address));
// Read recordtype
recordtype = pgm_read_byte(hexdata++);
checksum += recordtype;
for (i = 0; i < bytecount; i++) {
data[i] = pgm_read_byte(hexdata++);
checksum += data[i];
}
// Read checksum
i = pgm_read_byte(hexdata++);
checksum += i;
if (checksum) {
Serial.println("Checksum error!");
break;
}
done = handle_hex_file_line(bytecount, address, recordtype, data);
}
}
/* low level bit transfer */
void write_bit(unsigned char bit) {
digitalWrite(ICSPCLK, HIGH);
digitalWrite(ICSPDAT, bit ? HIGH : LOW);
TCKH();
digitalWrite(ICSPCLK, LOW);
TCKL();
// digitalWrite(ICSPDAT,LOW); // REM?
}
unsigned char read_bit() {
unsigned char rv;
digitalWrite(ICSPCLK, HIGH);
TCKH();
rv = (digitalRead(ICSPDAT) == HIGH);
digitalWrite(ICSPCLK, LOW);
TCKL();
return rv;
}
/* Program/verify mode entry and exit */
void hvp_entry() {
Serial.println("Enter high voltage programming mode");
pinMode(ICSPCLK, OUTPUT);
pinMode(VDD1, OUTPUT);
pinMode(VDD2, OUTPUT);
pinMode(VDD3, OUTPUT);
pinMode(ICSPDAT, OUTPUT);
// Set VPP to VIHH (9v)
TENTS();
digitalWrite(VDD1, HIGH);
digitalWrite(VDD2, HIGH);
digitalWrite(VDD3, HIGH);
TENTH();
}
void lvp_entry() {
unsigned long LVP_magic = 0b01001101010000110100100001010000;
unsigned char i;
Serial.println("Enter low voltage programming mode");
pinMode(nMCLR, OUTPUT);
pinMode(VDD1, OUTPUT);
pinMode(VDD2, OUTPUT);
pinMode(VDD3, OUTPUT);
digitalWrite(nMCLR, HIGH);
digitalWrite(VDD1, HIGH);
digitalWrite(VDD2, HIGH);
digitalWrite(VDD3, HIGH);
TENTS();
digitalWrite(nMCLR, LOW);
pinMode(ICSPCLK, OUTPUT);
pinMode(ICSPDAT, OUTPUT);
TENTH();
// Send "MCHP" backwards, to unlock LVP mode
for (i = 0; i < 32; i++) {
write_bit((LVP_magic >> i) & 1);
}
write_bit(0);
}
void p_exit() {
Serial.println("Leaving programming mode");
digitalWrite(nMCLR, LOW); // LVP mode
digitalWrite(ICSPCLK, LOW);
digitalWrite(ICSPDAT, LOW);
digitalWrite(VDD1, LOW);
digitalWrite(VDD2, LOW);
digitalWrite(VDD3, LOW);
TEXIT();
pinMode(nMCLR, INPUT); // LVP mode
pinMode(ICSPCLK, INPUT);
pinMode(VDD1, INPUT);
pinMode(VDD2, INPUT);
pinMode(VDD3, INPUT);
pinMode(ICSPDAT, INPUT);
}
/* low level command transfer */
void write_command(unsigned char command) {
unsigned char i;
for (i = 0; i < 5; i++) {
write_bit((command >> i) & 1);
}
write_bit(0);
TDLY();
}
void write_command_with_data(unsigned char command, unsigned int data) {
unsigned char i;
write_command(command);
write_bit(0);
for (i = 0; i < 14; i++) {
write_bit((data >> i) & 1);
}
write_bit(0);
}
unsigned int read_command(unsigned char command) {
unsigned char i;
unsigned int data = 0;
write_command(command);
pinMode(ICSPDAT, INPUT);
read_bit();
for (i = 0; i < 14; i++) {
data |= ((unsigned int) (read_bit() & 0x1) << i);
}
read_bit();
pinMode(ICSPDAT, OUTPUT);
return data;
}
/* high level commands */
void load_configuration(unsigned int data) {
write_command_with_data(LOAD_CONFIGURATION, data);
}
void load_data_for_program_memory(unsigned int data) {
write_command_with_data(LOAD_DATA_FOR_PROGRAM_MEMORY, data);
}
void load_data_for_data_memory(unsigned char data) {
write_command_with_data(LOAD_DATA_FOR_DATA_MEMORY, data);
}
unsigned int read_data_from_program_memory() {
return read_command(READ_DATA_FROM_PROGRAM_MEMORY);
}
unsigned char read_data_from_data_memory() {
return (unsigned char) read_command(READ_DATA_FROM_DATA_MEMORY);
}
void increment_address() {
write_command(INCREMENT_ADDRESS);
}
void reset_address() {
write_command(RESET_ADDRESS);
}
void begin_internally_timed_programming() {
write_command(BEGIN_INTERNALLY_TIMED_PROGRAMMING);
TPINT();
}
void begin_externally_timed_programming() {
write_command(BEGIN_EXTERNALLY_TIMED_PROGRAMMING);
TPEXT();
}
void end_externally_timed_programming() {
write_command(END_EXTERNALLY_TIMED_PROGRAMMING);
TDIS();
}
void bulk_erase_program_memory() {
Serial.println("Bulk erasing program memory");
write_command(BULK_ERASE_PROGRAM_MEMORY);
TERAB();
}
void bulk_erase_data_memory() {
Serial.println("Bulk erasing data memory");
write_command(BULK_ERASE_DATA_MEMORY);
TERAB();
}
void row_erase_program_memory() {
write_command(ROW_ERASE_PROGRAM_MEMORY);
TERAR();
}
/* algorithms */
void bulk_erase_device() {
Serial.println("Bulk erasing device");
load_configuration(0);
bulk_erase_program_memory();
bulk_erase_data_memory();
}
void get_device_id(unsigned int *magic, unsigned int *version,
unsigned int *deviceid) {
lvp_entry();
load_configuration(0);
*magic = read_data_from_program_memory();
increment_address();
*version = read_data_from_program_memory();
increment_address();
increment_address();
increment_address();
increment_address();
increment_address();
*deviceid = read_data_from_program_memory();
p_exit();
}
void write_magic(unsigned int data_word_out) {
Serial.println("Writing magic.");
load_configuration(0);
load_data_for_program_memory(data_word_out);
begin_internally_timed_programming();
}
void write_version(unsigned int data_word_out) {
Serial.println("Writing version.");
load_configuration(0);
increment_address();
load_data_for_program_memory(data_word_out);
begin_internally_timed_programming();
}
void setup() {
pinMode(ICSPCLK, INPUT);
digitalWrite(ICSPCLK, LOW); // Disable pull-up
pinMode(ICSPDAT, INPUT);
digitalWrite(ICSPDAT, LOW); // Disable pull-up
pinMode(nMCLR, INPUT);
digitalWrite(nMCLR, LOW); // Disable pull-up
Serial.begin(115200);
delay(2);
Serial.println("STC-1000+ firmware sketch.");
Serial.println("Copyright 2014 Mats Staffansson");
Serial.println("");
Serial.println("Send 'd' to check for STC-1000");
#if AUTOMATIC_UPLOAD_CELSIUS || AUTOMATIC_UPLOAD_FAHRENHEIT
{
unsigned int magic, ver, deviceid;
delay(100); // Make sure STC has time to wake up.
get_device_id(&magic, &ver, &deviceid);
if((deviceid & 0x3FE0) == 0x27C0) {
Serial.println("STC-1000 detected");
lvp_entry();
bulk_erase_device();
#if AUTOMATIC_UPLOAD_FAHRENHEIT
upload_hex_from_progmem(hex_fahrenheit);
upload_hex_from_progmem(hex_eeprom_fahrenheit);
write_magic(STC1000P_MAGIC_F);
#else // AUTOMATIC_UPLOAD_CELSIUS
upload_hex_from_progmem(hex_celsius);
upload_hex_from_progmem(hex_eeprom_celsius);
write_magic(STC1000P_MAGIC_C);
#endif
write_version(STC1000P_VERSION);
p_exit();
} else {
Serial.println("No STC-1000 detected");
}
}
#endif
}
void loop() {
if (Serial.available() > 0) {
char command = Serial.read();
switch (command) {
case 'h':
hvp_entry();
break;
case 'l':
lvp_entry();
break;
case 'e':
p_exit();
break;
case 'c':
load_configuration(0);
break;
case 'p':
Serial.print('0');
Serial.print('x');
Serial.print(read_data_from_program_memory(), HEX);
Serial.println();
break;
case 'i':
increment_address();
break;
case 'u':
lvp_entry();
bulk_erase_program_memory();
upload_hex_file_to_device();
p_exit();
break;
case 'v':
lvp_entry();
bulk_erase_data_memory();
upload_hex_file_to_device();
p_exit();
break;
#if INCLUDE_CELSIUS_HEX_DATA
case 'a':
lvp_entry();
bulk_erase_device();
upload_hex_from_progmem (hex_celsius);
upload_hex_from_progmem (hex_eeprom_celsius);
write_magic(STC1000P_MAGIC_C);
write_version(STC1000P_VERSION);
p_exit();
break;
case 'b':
lvp_entry();
load_configuration(0);
bulk_erase_program_memory();
reset_address();
upload_hex_from_progmem(hex_celsius);
write_magic(STC1000P_MAGIC_C);
write_version(STC1000P_VERSION);
p_exit();
break;
#endif
case 'd': {
unsigned int magic, ver, deviceid;
get_device_id(&magic, &ver, &deviceid);
Serial.print("Device ID is: 0x");
Serial.println(deviceid, HEX);
if ((deviceid & 0x3FE0) == 0x27C0) {
Serial.println("STC-1000 detected.");
if (magic == STC1000P_MAGIC_C || magic == STC1000P_MAGIC_F) {
Serial.print("STC-1000+ ");
if (magic == STC1000P_MAGIC_F) {
Serial.print("Fahrenheit ");
} else {
Serial.print("Celsius ");
}
Serial.print("firmware with version ");
Serial.print(ver / 100, DEC);
Serial.print(".");
Serial.print((ver % 100) / 10, DEC);
Serial.print((ver % 10), DEC);
Serial.println(" detected.");
if (ver < STC1000P_EEPROM_VERSION) {
Serial.println(
"EEPROM has changes, consider initializing EEPROM when flashing.");
}
} else {
Serial.println("No previous STC-1000+ firmware detected.");
Serial.println(
"Consider initializing EEPROM when flashing.");
}
Serial.print("Sketch has version ");
Serial.print(STC1000P_VERSION / 100, DEC);
Serial.print(".");
Serial.print((STC1000P_VERSION % 100) / 10, DEC);
Serial.print((STC1000P_VERSION % 10), DEC);
Serial.println("");
Serial.println("");
#if INCLUDE_CELSIUS_HEX_DATA
Serial.println(
"Send 'a' to upload Celsius version and initialize EEPROM data.");
Serial.println(
"Send 'b' to upload Celsius version (program memory only).");
#endif
#if INCLUDE_FAHRENHEIT_HEX_DATA
Serial.println(
"Send 'f' to upload Fahrenheit version and initialize EEPROM data.");
Serial.println(
"Send 'g' to upload Fahrenheit version (program memory only).");
#endif
} else {
Serial.println("STC-1000 NOT detected. Check wiring.");
}
}
break;
#if INCLUDE_FAHRENHEIT_HEX_DATA
case 'f':
lvp_entry();
bulk_erase_device();
upload_hex_from_progmem (hex_fahrenheit);
upload_hex_from_progmem (hex_eeprom_fahrenheit);
write_magic(STC1000P_MAGIC_F);
write_version(STC1000P_VERSION);
p_exit();
break;
case 'g':
lvp_entry();
load_configuration(0);
bulk_erase_program_memory();
reset_address();
upload_hex_from_progmem(hex_fahrenheit);
write_magic(STC1000P_MAGIC_F);
write_version(STC1000P_VERSION);
p_exit();
break;
#endif
default:
break;
}
}
}
#if INCLUDE_CELSIUS_HEX_DATA
const char hex_celsius[] PROGMEM = {
0x02,0x00,0x00,0x04,0x00,0x00,0xFA,
0x10,0x00,0x00,0x00,0x00,0x00,0x8D,0x31,0xB9,0x2D,0xFF,0x34,0x8A,0x01,0x20,0x00,0x0B,0x1D,0x37,0x28,0xE7,
0x10,0x00,0x10,0x00,0x22,0x00,0x8C,0x10,0x21,0x00,0x36,0x08,0x03,0x19,0x17,0x28,0x03,0x10,0x21,0x00,0x34,
0x10,0x00,0x20,0x00,0xB5,0x0C,0x82,0x30,0x20,0x00,0x95,0x00,0x21,0x00,0xB6,0x01,0x2C,0x28,0x21,0x00,0x5B,
0x10,0x00,0x30,0x00,0x35,0x08,0x21,0x00,0x33,0x05,0x20,0x00,0xBD,0x00,0x3D,0x08,0x03,0x19,0x24,0x28,0xA0,
0x10,0x00,0x40,0x00,0xC1,0x30,0x20,0x00,0x95,0x00,0x27,0x28,0x43,0x30,0x20,0x00,0x95,0x00,0x22,0x00,0x71,
0x10,0x00,0x50,0x00,0x8C,0x14,0x01,0x30,0x21,0x00,0xB6,0x00,0x00,0x30,0x21,0x00,0x35,0x04,0x03,0x1D,0x4E,
0x10,0x00,0x60,0x00,0x35,0x28,0x21,0x00,0x95,0x16,0x20,0x00,0x8B,0x12,0x20,0x00,0x0B,0x11,0x20,0x00,0x4E,
0x10,0x00,0x70,0x00,0x91,0x1C,0x73,0x28,0x03,0x10,0x22,0x00,0x0D,0x0D,0x20,0x00,0xBD,0x00,0x3D,0x08,0xC7,
0x10,0x00,0x80,0x00,0x03,0x1D,0x44,0x28,0x10,0x30,0xBD,0x00,0x21,0x00,0x8E,0x01,0x22,0x00,0x8D,0x01,0x87,
0x10,0x00,0x90,0x00,0x20,0x00,0x3D,0x08,0x10,0x3A,0x03,0x19,0x5A,0x28,0x3D,0x08,0x20,0x3A,0x03,0x19,0x58,
0x10,0x00,0xA0,0x00,0x5F,0x28,0x3D,0x08,0x40,0x3A,0x03,0x19,0x64,0x28,0x3D,0x08,0x80,0x3A,0x03,0x19,0x47,
0x10,0x00,0xB0,0x00,0x69,0x28,0x6D,0x28,0x21,0x00,0x2E,0x08,0x22,0x00,0x8E,0x00,0x6D,0x28,0x21,0x00,0x5D,
0x10,0x00,0xC0,0x00,0x2F,0x08,0x22,0x00,0x8E,0x00,0x6D,0x28,0x21,0x00,0x30,0x08,0x22,0x00,0x8E,0x00,0xAB,
0x10,0x00,0xD0,0x00,0x6D,0x28,0x21,0x00,0x31,0x08,0x22,0x00,0x8E,0x00,0x20,0x00,0x3D,0x08,0x22,0x00,0xFA,
0x10,0x00,0xE0,0x00,0x8D,0x00,0x20,0x00,0x91,0x10,0x09,0x00,0x20,0x00,0xC0,0x01,0xC1,0x01,0xC2,0x01,0x53,
0x10,0x00,0xF0,0x00,0x80,0x30,0xC3,0x00,0x6A,0x30,0x21,0x00,0x99,0x00,0x0C,0x30,0x8C,0x00,0x22,0x00,0x4F,
0x10,0x01,0x00,0x00,0x8C,0x01,0x21,0x00,0x8D,0x01,0x22,0x00,0x8D,0x01,0x21,0x00,0x8E,0x01,0x04,0x30,0x1F,
0x10,0x01,0x10,0x00,0x23,0x00,0x8C,0x00,0x21,0x00,0x1E,0x16,0x9E,0x17,0x23,0x00,0x8E,0x01,0x05,0x30,0x3F,
0x10,0x01,0x20,0x00,0x20,0x00,0x9C,0x00,0xFA,0x30,0x9B,0x00,0x21,0x00,0x91,0x14,0x72,0x30,0x28,0x00,0xBE,
0x10,0x01,0x30,0x00,0x97,0x00,0x7F,0x30,0xA7,0x27,0x20,0x00,0xA7,0x00,0x77,0x08,0xA9,0x00,0xA8,0x00,0x14,
0x10,0x01,0x40,0x00,0x28,0x0C,0x03,0x18,0xA5,0x28,0x28,0x00,0x17,0x11,0x03,0x1C,0xA9,0x28,0x28,0x00,0x2B,
0x10,0x01,0x50,0x00,0x17,0x15,0xFA,0x30,0x28,0x00,0x96,0x00,0x37,0x30,0x9E,0x00,0xFA,0x30,0x9D,0x00,0xBF,
0x10,0x01,0x60,0x00,0xC0,0x30,0x20,0x00,0x8B,0x00,0x21,0x00,0x95,0x11,0x15,0x10,0x95,0x14,0x15,0x11,0x39,
0x10,0x01,0x70,0x00,0x09,0x30,0x9D,0x00,0x06,0x30,0x21,0x00,0x34,0x02,0x03,0x18,0x66,0x29,0x21,0x00,0x51,
0x10,0x01,0x80,0x00,0x35,0x08,0x03,0x1D,0x66,0x29,0x21,0x00,0x34,0x08,0x03,0x1D,0xCB,0x28,0xFF,0x30,0xE4,
0x10,0x01,0x90,0x00,0x21,0x00,0xB3,0x00,0x3B,0x29,0x21,0x00,0x34,0x08,0x01,0x3A,0x03,0x1D,0xD6,0x28,0x71,
0x10,0x01,0xA0,0x00,0x45,0x30,0x21,0x00,0xB3,0x00,0x20,0x00,0xCB,0x01,0x3B,0x29,0x21,0x00,0x34,0x08,0x59,
0x10,0x01,0xB0,0x00,0x02,0x3A,0x03,0x1D,0x02,0x29,0x75,0x30,0xA7,0x27,0x20,0x00,0xA7,0x00,0x77,0x08,0xFF,
0x10,0x01,0xC0,0x00,0xA9,0x00,0xA8,0x00,0x28,0x0E,0xF0,0x39,0xA9,0x00,0x20,0x00,0x6C,0x08,0x20,0x00,0x22,
0x10,0x01,0xD0,0x00,0xCC,0x00,0x20,0x00,0x6D,0x08,0x20,0x00,0xCD,0x00,0x20,0x00,0xA8,0x00,0xAB,0x01,0x5D,
0x10,0x01,0xE0,0x00,0xA8,0x1B,0xAB,0x03,0x0F,0x30,0xA8,0x05,0xAB,0x01,0x29,0x08,0xAA,0x00,0xAC,0x01,0x7E,
0x10,0x01,0xF0,0x00,0x28,0x08,0x2A,0x04,0xA9,0x00,0x2B,0x08,0x2C,0x04,0xAD,0x00,0x29,0x08,0x21,0x00,0x96,
0x10,0x02,0x00,0x00,0xB3,0x00,0x3B,0x29,0x21,0x00,0x34,0x08,0x03,0x3A,0x03,0x1D,0x0C,0x29,0x20,0x00,0xC8,
0x10,0x02,0x10,0x00,0x4C,0x08,0x21,0x00,0xB3,0x00,0x3B,0x29,0x21,0x00,0x34,0x08,0x04,0x3A,0x03,0x1D,0x97,
0x10,0x02,0x20,0x00,0x32,0x29,0x20,0x00,0xA9,0x01,0x22,0x00,0x8C,0x1E,0x18,0x29,0x20,0x00,0xA9,0x0A,0xC9,
0x10,0x02,0x30,0x00,0x20,0x00,0x29,0x0E,0xF0,0x39,0xA8,0x00,0x03,0x10,0xA8,0x0D,0x03,0x10,0xA8,0x0D,0x06,
0x10,0x02,0x40,0x00,0xA9,0x01,0x22,0x00,0x0C,0x1E,0x26,0x29,0x20,0x00,0xA9,0x0A,0x20,0x00,0x29,0x0E,0x3F,
0x10,0x02,0x50,0x00,0xF0,0x39,0xAB,0x00,0x28,0x08,0xA9,0x00,0x2B,0x08,0xA8,0x00,0x29,0x04,0x21,0x00,0xC8,
0x10,0x02,0x60,0x00,0xB3,0x00,0x3B,0x29,0x21,0x00,0x34,0x08,0x05,0x3A,0x03,0x1D,0x3B,0x29,0x20,0x00,0x37,
0x10,0x02,0x70,0x00,0x4B,0x08,0x21,0x00,0xB3,0x00,0x21,0x00,0x33,0x08,0x20,0x00,0xA9,0x00,0x08,0x30,0xFA,
0x10,0x02,0x80,0x00,0xA8,0x00,0x20,0x00,0x28,0x08,0xAB,0x00,0xA8,0x03,0x2B,0x08,0x03,0x19,0x5D,0x29,0x4B,
0x10,0x02,0x90,0x00,0x29,0x08,0x20,0x00,0x4B,0x06,0x20,0x00,0xAB,0x00,0x80,0x30,0xAB,0x05,0x03,0x10,0x7E,
0x10,0x02,0xA0,0x00,0x20,0x00,0xCB,0x0D,0x20,0x00,0x2B,0x08,0x03,0x19,0x59,0x29,0x31,0x30,0x20,0x00,0xE4,
0x10,0x02,0xB0,0x00,0xCB,0x06,0x03,0x10,0x20,0x00,0xA9,0x0D,0x41,0x29,0x80,0x30,0x21,0x00,0xB5,0x00,0x94,
0x10,0x02,0xC0,0x00,0x20,0x00,0x8B,0x16,0x21,0x00,0x95,0x12,0x21,0x00,0xB4,0x0A,0x20,0x00,0x93,0x1D,0xF6,
0x10,0x02,0xD0,0x00,0x7C,0x29,0x88,0x31,0x00,0x20,0x81,0x31,0x28,0x00,0x17,0x19,0x7A,0x29,0xFF,0x30,0xC4,
0x10,0x02,0xE0,0x00,0x21,0x00,0xB1,0x00,0x03,0x30,0x21,0x00,0xAE,0x00,0x59,0x30,0x21,0x00,0xB0,0x00,0xE0,
0x10,0x02,0xF0,0x00,0x21,0x00,0xAF,0x00,0x20,0x00,0x93,0x11,0x20,0x00,0x93,0x1C,0x21,0x2E,0x20,0x00,0x2C,
0x10,0x03,0x00,0x00,0xC0,0x0A,0x03,0x19,0xC1,0x0A,0x40,0x1C,0xCB,0x29,0x42,0x08,0xF7,0x00,0x43,0x08,0x60,
0x10,0x03,0x10,0x00,0x20,0x00,0xA0,0x00,0x77,0x08,0xA1,0x00,0x21,0x00,0x9D,0x14,0x21,0x00,0x9D,0x18,0x55,
0x10,0x03,0x20,0x00,0x8E,0x29,0x1D,0x10,0x20,0x00,0x21,0x0E,0x0F,0x39,0xA2,0x00,0x20,0x0E,0xA3,0x00,0xDF,
0x10,0x03,0x30,0x00,0xF0,0x39,0xA2,0x04,0xA3,0x06,0x03,0x10,0xA3,0x0C,0xA2,0x0C,0x03,0x10,0xA3,0x0C,0x13,
0x10,0x03,0x40,0x00,0xA2,0x0C,0x22,0x08,0xA1,0x02,0x23,0x08,0x03,0x1C,0x23,0x0F,0xA0,0x02,0x21,0x00,0xF3,
0x10,0x03,0x50,0x00,0x1C,0x08,0x20,0x00,0xA2,0x00,0xA3,0x01,0x22,0x08,0xA4,0x00,0xA6,0x01,0x21,0x00,0x7D,
0x10,0x03,0x60,0x00,0x1B,0x08,0x20,0x00,0xA2,0x00,0xA3,0x01,0x22,0x08,0xA6,0x04,0x23,0x08,0xA4,0x04,0x5D,
0x10,0x03,0x70,0x00,0x26,0x08,0xA2,0x00,0x24,0x08,0xA3,0x00,0x22,0x08,0xA1,0x07,0x23,0x08,0x03,0x18,0xC6,
0x10,0x03,0x80,0x00,0x23,0x0F,0xA0,0x07,0x21,0x08,0xF7,0x00,0x20,0x08,0xC3,0x00,0x77,0x08,0xC2,0x00,0x48,
0x10,0x03,0x90,0x00,0x09,0x30,0x21,0x00,0x9D,0x00,0x20,0x00,0x40,0x08,0x0F,0x39,0x03,0x1D,0x1F,0x2E,0x49,
0x10,0x03,0xA0,0x00,0x42,0x08,0xF7,0x00,0x43,0x08,0x20,0x00,0xA0,0x00,0x77,0x08,0xA1,0x00,0x20,0x30,0x91,
0x10,0x03,0xB0,0x00,0xA2,0x00,0xA3,0x01,0xA4,0x01,0xA6,0x01,0x21,0x0E,0x0F,0x39,0xA5,0x00,0x20,0x0E,0x61,
0x10,0x03,0xC0,0x00,0xA7,0x00,0xF0,0x39,0xA5,0x04,0xA7,0x06,0x03,0x10,0xA7,0x0C,0xA5,0x0C,0x3F,0x30,0x21,
0x10,0x03,0xD0,0x00,0xA5,0x05,0xA7,0x01,0x25,0x08,0xA9,0x00,0x03,0x10,0x20,0x0C,0xA5,0x00,0xA7,0x01,0x69,
0x10,0x03,0xE0,0x00,0x03,0x10,0xA7,0x0C,0xA5,0x0C,0x03,0x10,0xA7,0x0C,0xA5,0x0C,0x1F,0x30,0xA5,0x05,0x26,
0x10,0x03,0xF0,0x00,0xA7,0x01,0x25,0x08,0xA8,0x00,0x20,0x08,0xA5,0x00,0xA7,0x01,0x25,0x08,0xA1,0x00,0x3D,
0x10,0x04,0x00,0x00,0xF8,0x30,0x21,0x02,0x03,0x18,0x08,0x2A,0x09,0x30,0x21,0x02,0x03,0x18,0x0A,0x2A,0xA9,
0x10,0x04,0x10,0x00,0x21,0x00,0x32,0x14,0x20,0x00,0x28,0x0A,0xA1,0x00,0x02,0x30,0xF7,0x00,0x21,0x08,0x30,
0x10,0x04,0x20,0x00,0x8F,0x31,0x07,0x27,0x82,0x31,0x20,0x00,0xA0,0x00,0xA5,0x01,0x20,0x08,0x9B,0x3E,0xC4,
0x10,0x04,0x30,0x00,0xA0,0x00,0x8E,0x30,0xA1,0x00,0x25,0x08,0x03,0x18,0x25,0x0F,0xA1,0x07,0x02,0x30,0x67,
0x10,0x04,0x40,0x00,0xF7,0x00,0x28,0x08,0x8F,0x31,0x07,0x27,0x82,0x31,0x20,0x00,0xA5,0x00,0xA7,0x01,0x77,
0x10,0x04,0x50,0x00,0x25,0x08,0x9B,0x3E,0xA5,0x00,0x27,0x08,0x03,0x18,0x27,0x0F,0x8E,0x3E,0xA7,0x00,0xFE,
0x10,0x04,0x60,0x00,0xA8,0x01,0x20,0x00,0x29,0x08,0x28,0x02,0x03,0x1C,0x59,0x2A,0x25,0x08,0xF6,0x00,0xA3,
0x10,0x04,0x70,0x00,0x27,0x08,0xF7,0x00,0x80,0x30,0x87,0x31,0xE0,0x27,0x82,0x31,0x20,0x00,0xAB,0x00,0x69,
0x10,0x04,0x80,0x00,0x77,0x08,0xAA,0x00,0xAC,0x00,0x2B,0x08,0xAD,0x00,0x00,0x30,0xAD,0x1B,0xFF,0x30,0x90,
0x10,0x04,0x90,0x00,0xBF,0x00,0xBE,0x00,0x2C,0x08,0xA2,0x07,0x2D,0x08,0x03,0x18,0x2D,0x0F,0xA3,0x07,0xCC,
0x10,0x04,0xA0,0x00,0x3E,0x08,0x03,0x18,0x3E,0x0F,0xA4,0x07,0x3F,0x08,0x03,0x18,0x3F,0x0F,0xA6,0x07,0x96,
0x10,0x04,0xB0,0x00,0x7C,0x2A,0x20,0x00,0x20,0x08,0xF6,0x00,0x21,0x08,0xF7,0x00,0x80,0x30,0x87,0x31,0xD0,
0x10,0x04,0xC0,0x00,0xE0,0x27,0x82,0x31,0x20,0x00,0xAB,0x00,0x77,0x08,0xAA,0x00,0xAC,0x00,0x2B,0x08,0x9F,
0x10,0x04,0xD0,0x00,0xAD,0x00,0x00,0x30,0xAD,0x1B,0xFF,0x30,0xBF,0x00,0xBE,0x00,0x2C,0x08,0xA2,0x07,0xEE,
0x10,0x04,0xE0,0x00,0x2D,0x08,0x03,0x18,0x2D,0x0F,0xA3,0x07,0x3E,0x08,0x03,0x18,0x3E,0x0F,0xA4,0x07,0x7D,
0x10,0x04,0xF0,0x00,0x3F,0x08,0x03,0x18,0x3F,0x0F,0xA6,0x07,0x20,0x00,0xA8,0x0A,0x40,0x30,0x28,0x02,0x33,
0x10,0x05,0x00,0x00,0x03,0x1C,0x31,0x2A,0x22,0x0E,0x0F,0x39,0xA1,0x00,0x23,0x0E,0xA0,0x00,0xF0,0x39,0x5E,
0x10,0x05,0x10,0x00,0xA1,0x04,0xA0,0x06,0x24,0x0E,0xA5,0x00,0xF0,0x39,0xA0,0x04,0xA5,0x06,0x26,0x0E,0x0D,
0x10,0x05,0x20,0x00,0xA7,0x00,0xF0,0x39,0xA5,0x04,0xA7,0x06,0xF0,0x30,0xA7,0x19,0xA7,0x04,0x03,0x10,0x07,
0x10,0x05,0x30,0x00,0xA7,0x1B,0x03,0x14,0xA7,0x0C,0xA5,0x0C,0xA0,0x0C,0xA1,0x0C,0x03,0x10,0xA7,0x1B,0x50,
0x10,0x05,0x40,0x00,0x03,0x14,0xA7,0x0C,0xA5,0x0C,0xA0,0x0C,0xA1,0x0C,0x21,0x08,0xA2,0x00,0x20,0x08,0xE4,
0x10,0x05,0x50,0x00,0xA3,0x00,0x22,0x08,0xF7,0x00,0x23,0x08,0xC5,0x00,0x77,0x08,0xC4,0x00,0x74,0x30,0x00,
0x10,0x05,0x60,0x00,0xA7,0x27,0x20,0x00,0xC7,0x00,0x77,0x08,0xC6,0x00,0x44,0x08,0xC8,0x00,0x45,0x08,0x30,
0x10,0x05,0x70,0x00,0xC9,0x00,0x46,0x08,0x48,0x07,0x20,0x00,0xEC,0x00,0x20,0x00,0x49,0x08,0x20,0x00,0x78,
0x10,0x05,0x80,0x00,0xED,0x00,0x20,0x00,0x47,0x08,0x03,0x18,0x47,0x0A,0x03,0x19,0xC9,0x2A,0x20,0x00,0x74,
0x10,0x05,0x90,0x00,0xED,0x07,0x03,0x30,0x21,0x00,0x37,0x02,0x03,0x18,0xD0,0x2A,0x21,0x00,0xB4,0x01,0xEF,
0x10,0x05,0xA0,0x00,0x21,0x00,0x37,0x08,0x03,0x1D,0xD6,0x2A,0x30,0x30,0xB7,0x00,0x21,0x00,0xB7,0x03,0xD9,
0x10,0x05,0xB0,0x00,0x21,0x00,0x32,0x1C,0xDE,0x2A,0x22,0x00,0x0C,0x14,0xE0,0x2A,0x22,0x00,0x0C,0x10,0x3A,
0x10,0x05,0xC0,0x00,0x21,0x00,0x32,0x10,0x22,0x00,0x0C,0x1C,0xFF,0x2A,0x20,0x00,0x99,0x1F,0xF3,0x2A,0x60,
0x10,0x05,0xD0,0x00,0x11,0x30,0x21,0x00,0xAE,0x00,0xCB,0x30,0x21,0x00,0xAF,0x00,0xFF,0x30,0x21,0x00,0xF0,
0x10,0x05,0xE0,0x00,0xB0,0x00,0x21,0x00,0xB1,0x00,0x22,0x00,0x0C,0x12,0x8C,0x12,0x3C,0x30,0x21,0x00,0x1E,
0x10,0x05,0xF0,0x00,0xAC,0x00,0xAD,0x01,0x3C,0x30,0x20,0x00,0xEE,0x00,0xEF,0x01,0x1F,0x2E,0x7C,0x30,0x3E,
0x10,0x06,0x00,0x00,0xA7,0x27,0x20,0x00,0xC5,0x00,0x77,0x08,0xC4,0x00,0xC6,0x00,0x06,0x30,0x46,0x02,0xB0,
0x10,0x06,0x10,0x00,0x03,0x18,0x37,0x2C,0x21,0x00,0x31,0x13,0x20,0x00,0x40,0x08,0xC4,0x00,0x41,0x08,0x82,
0x10,0x06,0x20,0x00,0xC5,0x00,0xC6,0x01,0xC7,0x01,0x47,0x08,0x80,0x3E,0x80,0x3E,0x03,0x1D,0x22,0x2B,0x3E,
0x10,0x06,0x30,0x00,0x00,0x30,0x46,0x02,0x03,0x1D,0x22,0x2B,0xEA,0x30,0x45,0x02,0x03,0x1D,0x22,0x2B,0x07,
0x10,0x06,0x40,0x00,0x60,0x30,0x44,0x02,0x03,0x1C,0x3C,0x2C,0x7C,0x30,0xA7,0x27,0x20,0x00,0xAC,0x00,0x07,
0x10,0x06,0x50,0x00,0x77,0x08,0xAD,0x00,0xBF,0x00,0x06,0x30,0x3F,0x02,0x03,0x18,0x33,0x2C,0x77,0x30,0x17,
0x10,0x06,0x60,0x00,0xA7,0x27,0x20,0x00,0xAC,0x00,0x77,0x08,0xAD,0x00,0xBE,0x00,0x78,0x30,0xA7,0x27,0x90,
0x10,0x06,0x70,0x00,0x20,0x00,0xAC,0x00,0x77,0x08,0xAD,0x00,0xAD,0x0A,0x03,0x19,0xAC,0x0A,0x09,0x30,0xC0,
0x10,0x06,0x80,0x00,0x3E,0x02,0x03,0x1C,0x45,0x2B,0x08,0x30,0xBE,0x00,0x13,0x30,0xF7,0x00,0x20,0x00,0x4B,
0x10,0x06,0x90,0x00,0x3F,0x08,0x8F,0x31,0x07,0x27,0x83,0x31,0x20,0x00,0xAE,0x00,0x03,0x10,0x3E,0x0D,0x45,
0x10,0x06,0xA0,0x00,0xBF,0x00,0x2E,0x07,0xBF,0x00,0x3F,0x0A,0xAE,0x00,0xA7,0x27,0x20,0x00,0xAF,0x00,0x03,
0x10,0x06,0xB0,0x00,0x77,0x08,0xAE,0x00,0x02,0x30,0x3F,0x07,0xB0,0x00,0xA7,0x27,0x20,0x00,0xB1,0x00,0x46,
0x10,0x06,0xC0,0x00,0x77,0x08,0xB0,0x00,0x2F,0x08,0x2C,0x02,0x03,0x1D,0x68,0x2B,0x2E,0x08,0x2D,0x02,0x7E,
0x10,0x06,0xD0,0x00,0x03,0x1C,0x96,0x2B,0x20,0x00,0x30,0x08,0xF6,0x00,0x31,0x08,0xF7,0x00,0x72,0x30,0x1A,
0x10,0x06,0xE0,0x00,0x6A,0x27,0x20,0x00,0x3E,0x08,0x08,0x3A,0x03,0x19,0x81,0x2B,0x03,0x30,0x3F,0x07,0x90,
0x10,0x06,0xF0,0x00,0xB2,0x00,0xA7,0x27,0x20,0x00,0xB3,0x00,0x77,0x08,0xB2,0x00,0x33,0x04,0x03,0x1D,0x1F,
0x10,0x07,0x00,0x00,0x88,0x2B,0x06,0x30,0xF6,0x00,0x00,0x30,0xF7,0x00,0x7C,0x30,0x6A,0x27,0x33,0x2C,0x47,
0x10,0x07,0x10,0x00,0x20,0x00,0xAD,0x01,0xAC,0x01,0xBE,0x0A,0x3E,0x08,0xB2,0x00,0xB3,0x01,0x32,0x08,0xB0,
0x10,0x07,0x20,0x00,0xF6,0x00,0x33,0x08,0xF7,0x00,0x77,0x30,0x6A,0x27,0x2C,0x2C,0x7B,0x30,0xA7,0x27,0x98,
0x10,0x07,0x30,0x00,0x20,0x00,0xB2,0x00,0x77,0x08,0xBE,0x00,0x32,0x04,0x03,0x19,0x2C,0x2C,0x3F,0x08,0xB9,
0x10,0x07,0x40,0x00,0xA7,0x27,0x20,0x00,0xBE,0x00,0x77,0x08,0xBF,0x00,0x2C,0x0E,0xF0,0x39,0xB3,0x00,0xA9,
0x10,0x07,0x50,0x00,0x2D,0x0E,0xB2,0x00,0x0F,0x39,0xB3,0x04,0xB2,0x06,0x03,0x10,0xB2,0x0D,0xB3,0x0D,0x63,
0x10,0x07,0x60,0x00,0x03,0x10,0xB2,0x0D,0xB3,0x0D,0x20,0x30,0xB4,0x00,0xB5,0x01,0xB6,0x01,0xB7,0x01,0xCE,
0x10,0x07,0x70,0x00,0xB8,0x01,0x20,0x00,0x2F,0x08,0x33,0x02,0x03,0x1D,0xC0,0x2B,0x2E,0x08,0x32,0x02,0xBF,
0x10,0x07,0x80,0x00,0x03,0x1C,0xE1,0x2B,0x20,0x00,0x2E,0x08,0xB2,0x02,0x2F,0x08,0x03,0x1C,0x2F,0x0F,0xA0,
0x10,0x07,0x90,0x00,0xB3,0x02,0x30,0x08,0xB9,0x00,0x31,0x08,0xBA,0x00,0x00,0x30,0xBA,0x1B,0xFF,0x30,0x8C,
0x10,0x07,0xA0,0x00,0xBC,0x00,0xBB,0x00,0x39,0x08,0xB4,0x07,0x3A,0x08,0x03,0x18,0x3A,0x0F,0xB5,0x07,0x74,
0x10,0x07,0xB0,0x00,0x3B,0x08,0x03,0x18,0x3B,0x0F,0xB6,0x07,0x3C,0x08,0x03,0x18,0x3C,0x0F,0xB7,0x07,0x6C,
0x10,0x07,0xC0,0x00,0xF9,0x2B,0x20,0x00,0x3F,0x08,0xB9,0x00,0x3E,0x08,0xBA,0x00,0x00,0x30,0xBA,0x1B,0xE0,
0x10,0x07,0xD0,0x00,0xFF,0x30,0xBC,0x00,0xBB,0x00,0x39,0x08,0xB4,0x07,0x3A,0x08,0x03,0x18,0x3A,0x0F,0xD1,
0x10,0x07,0xE0,0x00,0xB5,0x07,0x3B,0x08,0x03,0x18,0x3B,0x0F,0xB6,0x07,0x3C,0x08,0x03,0x18,0x3C,0x0F,0x3E,
0x10,0x07,0xF0,0x00,0xB7,0x07,0x20,0x00,0xB8,0x0A,0x40,0x30,0x38,0x02,0x03,0x1C,0xB9,0x2B,0x34,0x0E,0x6A,
0x10,0x08,0x00,0x00,0x0F,0x39,0xB4,0x00,0x35,0x0E,0xB5,0x00,0xF0,0x39,0xB4,0x04,0xB5,0x06,0x36,0x0E,0x14,
0x10,0x08,0x10,0x00,0xB6,0x00,0xF0,0x39,0xB5,0x04,0xB6,0x06,0x37,0x0E,0xB7,0x00,0xF0,0x39,0xB6,0x04,0xA5,
0x10,0x08,0x20,0x00,0xB7,0x06,0xF0,0x30,0xB7,0x19,0xB7,0x04,0x03,0x10,0xB7,0x1B,0x03,0x14,0xB7,0x0C,0xA1,
0x10,0x08,0x30,0x00,0xB6,0x0C,0xB5,0x0C,0xB4,0x0C,0x03,0x10,0xB7,0x1B,0x03,0x14,0xB7,0x0C,0xB6,0x0C,0xF4,
0x10,0x08,0x40,0x00,0xB5,0x0C,0xB4,0x0C,0x34,0x08,0xBF,0x00,0x35,0x08,0xBE,0x00,0x3F,0x08,0xF6,0x00,0xF4,
0x10,0x08,0x50,0x00,0x3E,0x08,0xF7,0x00,0x72,0x30,0x6A,0x27,0x20,0x00,0x2D,0x08,0xF6,0x00,0x2C,0x08,0xA9,
0x10,0x08,0x60,0x00,0xF7,0x00,0x78,0x30,0x6A,0x27,0x20,0x00,0xC0,0x01,0xC1,0x01,0x3C,0x2C,0x21,0x00,0x2C,
0x10,0x08,0x70,0x00,0x31,0x17,0x20,0x00,0xC0,0x01,0xC1,0x01,0x76,0x30,0xA7,0x27,0x20,0x00,0xC5,0x00,0x34,
0x10,0x08,0x80,0x00,0x77,0x08,0xC4,0x00,0x45,0x04,0x03,0x19,0xAC,0x2C,0x72,0x30,0xA7,0x27,0x20,0x00,0x58,
0x10,0x08,0x90,0x00,0xC7,0x00,0x77,0x08,0xC6,0x00,0x20,0x00,0x6C,0x08,0x20,0x00,0xC8,0x00,0x20,0x00,0xB0,
0x10,0x08,0xA0,0x00,0x6D,0x08,0x20,0x00,0xC9,0x00,0x46,0x08,0x48,0x02,0xC6,0x00,0x47,0x08,0x03,0x1C,0x1E,
0x10,0x08,0xB0,0x00,0x47,0x0A,0x49,0x02,0xC7,0x00,0x03,0x14,0xC7,0x1F,0x03,0x10,0x03,0x1C,0x65,0x2C,0x15,
0x10,0x08,0xC0,0x00,0xC6,0x09,0xC7,0x09,0xC6,0x0A,0x03,0x19,0xC7,0x0A,0x03,0x14,0x20,0x00,0xC5,0x1F,0xB1,
0x10,0x08,0xD0,0x00,0x03,0x10,0x03,0x1C,0x8E,0x2C,0xC4,0x09,0xC5,0x09,0xC4,0x0A,0x03,0x19,0xC5,0x0A,0xD8,
0x10,0x08,0xE0,0x00,0x45,0x08,0x80,0x3E,0xCA,0x00,0x47,0x08,0x80,0x3E,0x4A,0x02,0x03,0x1D,0x7A,0x2C,0x14,
0x10,0x08,0xF0,0x00,0x46,0x08,0x44,0x02,0x20,0x00,0xC8,0x01,0x03,0x1C,0x48,0x14,0x48,0x08,0x00,0x30,0x80,
0x10,0x09,0x00,0x00,0x03,0x19,0x01,0x30,0xC9,0x00,0xC8,0x00,0x48,0x0C,0x03,0x18,0x89,0x2C,0x22,0x00,0xC3,
0x10,0x09,0x10,0x00,0x0C,0x10,0x03,0x1C,0x8D,0x2C,0x22,0x00,0x0C,0x14,0xAC,0x2C,0x20,0x00,0x47,0x08,0x5A,
0x10,0x09,0x20,0x00,0x80,0x3E,0xCA,0x00,0x45,0x08,0x80,0x3E,0x4A,0x02,0x03,0x1D,0x99,0x2C,0x44,0x08,0xB7,
0x10,0x09,0x30,0x00,0x46,0x02,0x20,0x00,0xC8,0x01,0x03,0x1C,0x48,0x14,0x48,0x08,0x00,0x30,0x03,0x19,0x6F,
0x10,0x09,0x40,0x00,0x01,0x30,0xC4,0x00,0xC8,0x00,0x48,0x0C,0x03,0x18,0xA8,0x2C,0x22,0x00,0x0C,0x10,0x69,
0x10,0x09,0x50,0x00,0x03,0x1C,0xAC,0x2C,0x22,0x00,0x0C,0x14,0x72,0x30,0xA7,0x27,0x20,0x00,0xA7,0x00,0x27,
0x10,0x09,0x60,0x00,0x77,0x08,0xA9,0x00,0x20,0x00,0x6E,0x08,0x6F,0x04,0x03,0x19,0xBB,0x2C,0xFF,0x30,0x24,
0x10,0x09,0x70,0x00,0xEE,0x07,0x03,0x1C,0xEF,0x03,0x21,0x00,0x2C,0x08,0x2D,0x04,0x03,0x19,0xC4,0x2C,0xDF,
0x10,0x09,0x80,0x00,0xFF,0x30,0xAC,0x07,0x03,0x1C,0xAD,0x03,0x20,0x00,0xA8,0x01,0x22,0x00,0x0C,0x1E,0xA1,
0x10,0x09,0x90,0x00,0xCB,0x2C,0x20,0x00,0xA8,0x0A,0x20,0x00,0x28,0x08,0x00,0x30,0x03,0x19,0x01,0x30,0xC1,
0x10,0x09,0xA0,0x00,0xAB,0x00,0xA8,0x00,0x28,0x0C,0x03,0x18,0xD7,0x2C,0x21,0x00,0xB1,0x13,0x03,0x1C,0x9E,
0x10,0x09,0xB0,0x00,0xDB,0x2C,0x21,0x00,0xB1,0x17,0x20,0x00,0xA8,0x01,0x22,0x00,0x8C,0x1E,0xE2,0x2C,0xA4,
0x10,0x09,0xC0,0x00,0x20,0x00,0xA8,0x0A,0x20,0x00,0x28,0x08,0x00,0x30,0x03,0x19,0x01,0x30,0xAB,0x00,0xDD,
0x10,0x09,0xD0,0x00,0xA8,0x00,0x28,0x0C,0x03,0x18,0xEE,0x2C,0x21,0x00,0xB1,0x11,0x03,0x1C,0xF2,0x2C,0xE6,
0x10,0x09,0xE0,0x00,0x21,0x00,0xB1,0x15,0x22,0x00,0x0C,0x1E,0x06,0x2D,0x20,0x00,0x27,0x08,0x80,0x3E,0x94,
0x10,0x09,0xF0,0x00,0xAA,0x00,0x20,0x00,0x6D,0x08,0x80,0x3E,0x20,0x00,0x2A,0x02,0x03,0x1D,0x04,0x2D,0x5D,
0x10,0x0A,0x00,0x00,0x20,0x00,0x6C,0x08,0x20,0x00,0x29,0x02,0x03,0x18,0x18,0x2D,0x22,0x00,0x8C,0x1E,0xDB,
0x10,0x0A,0x10,0x00,0x76,0x2D,0x20,0x00,0x6D,0x08,0x80,0x3E,0x20,0x00,0xAA,0x00,0x27,0x08,0x80,0x3E,0x29,
0x10,0x0A,0x20,0x00,0x2A,0x02,0x03,0x1D,0x16,0x2D,0x29,0x08,0x20,0x00,0x6C,0x02,0x03,0x1C,0x76,0x2D,0xB6,
0x10,0x0A,0x30,0x00,0x79,0x30,0xA7,0x27,0x20,0x00,0xAB,0x00,0x77,0x08,0xA8,0x00,0x2B,0x0E,0xF0,0x39,0xEB,
0x10,0x0A,0x40,0x00,0x20,0x00,0xEF,0x00,0x20,0x00,0x28,0x0E,0x20,0x00,0xEE,0x00,0x0F,0x39,0xEF,0x04,0xF8,
0x10,0x0A,0x50,0x00,0xEE,0x06,0x03,0x10,0xEE,0x0D,0xEF,0x0D,0x03,0x10,0xEE,0x0D,0xEF,0x0D,0x6E,0x0E,0x12,
0x10,0x0A,0x60,0x00,0x0F,0x39,0x20,0x00,0xA8,0x00,0x20,0x00,0x6F,0x0E,0x20,0x00,0xAB,0x00,0xF0,0x39,0xE5,
0x10,0x0A,0x70,0x00,0xA8,0x04,0xAB,0x06,0x28,0x08,0x20,0x00,0xEE,0x02,0x20,0x00,0x2B,0x08,0x03,0x1C,0x67,
0x10,0x0A,0x80,0x00,0x2B,0x0A,0x03,0x19,0x45,0x2D,0x20,0x00,0xEF,0x02,0x7A,0x30,0xA7,0x27,0x20,0x00,0xFA,
0x10,0x0A,0x90,0x00,0xAB,0x00,0x77,0x08,0xA8,0x00,0x2B,0x0E,0xF0,0x39,0x21,0x00,0xAD,0x00,0x20,0x00,0x34,
0x10,0x0A,0xA0,0x00,0x28,0x0E,0x21,0x00,0xAC,0x00,0x0F,0x39,0xAD,0x04,0xAC,0x06,0x03,0x10,0xAC,0x0D,0xCC,
0x10,0x0A,0xB0,0x00,0xAD,0x0D,0x03,0x10,0xAC,0x0D,0xAD,0x0D,0x2C,0x0E,0x0F,0x39,0x20,0x00,0xA8,0x00,0xAC,
0x10,0x0A,0xC0,0x00,0x21,0x00,0x2D,0x0E,0x20,0x00,0xAB,0x00,0xF0,0x39,0xA8,0x04,0xAB,0x06,0x28,0x08,0x49,
0x10,0x0A,0xD0,0x00,0x21,0x00,0xAC,0x02,0x20,0x00,0x2B,0x08,0x03,0x1C,0x2B,0x0A,0x03,0x19,0x72,0x2D,0xE5,
0x10,0x0A,0xE0,0x00,0x21,0x00,0xAD,0x02,0x22,0x00,0x0C,0x12,0x8C,0x12,0xEE,0x2D,0x22,0x00,0x0C,0x1A,0xF5,
0x10,0x0A,0xF0,0x00,0xEE,0x2D,0x8C,0x1A,0xEE,0x2D,0x73,0x30,0xA7,0x27,0x20,0x00,0xAB,0x00,0x77,0x08,0x5F,
0x10,0x0B,0x00,0x00,0xA8,0x00,0x29,0x07,0xAA,0x00,0x27,0x08,0xAC,0x00,0x2B,0x08,0x03,0x18,0x2B,0x0F,0x00,
0x10,0x0B,0x10,0x00,0xAC,0x07,0x2C,0x08,0x80,0x3E,0xAD,0x00,0x20,0x00,0x6D,0x08,0x80,0x3E,0x20,0x00,0x10,
0x10,0x0B,0x20,0x00,0x2D,0x02,0x03,0x1D,0x97,0x2D,0x20,0x00,0x6C,0x08,0x20,0x00,0x2A,0x02,0x03,0x18,0xB7,
0x10,0x0B,0x30,0x00,0xB9,0x2D,0x20,0x00,0x6E,0x08,0x6F,0x04,0x03,0x19,0xB6,0x2D,0x20,0x00,0xAA,0x01,0xFC,
0x10,0x0B,0x40,0x00,0x21,0x00,0xB1,0x1F,0xA5,0x2D,0x20,0x00,0xAA,0x0A,0x20,0x00,0x6E,0x08,0x01,0x39,0x3E,
0x10,0x0B,0x50,0x00,0x20,0x00,0xAC,0x00,0xAD,0x00,0xAA,0x06,0x2A,0x0C,0x03,0x18,0xB1,0x2D,0x21,0x00,0x1C,
0x10,0x0B,0x60,0x00,0xB1,0x13,0x03,0x1C,0xB5,0x2D,0x21,0x00,0xB1,0x17,0xEE,0x2D,0x22,0x00,0x0C,0x16,0x78,
0x10,0x0B,0x70,0x00,0xEE,0x2D,0x20,0x00,0x28,0x08,0xA9,0x02,0x2B,0x08,0x03,0x1C,0x2B,0x0F,0xA7,0x02,0x2A,
0x10,0x0B,0x80,0x00,0x20,0x00,0x6D,0x08,0x80,0x3E,0x20,0x00,0xBF,0x00,0x27,0x08,0x80,0x3E,0x3F,0x02,0x05,
0x10,0x0B,0x90,0x00,0x03,0x1D,0xCD,0x2D,0x29,0x08,0x20,0x00,0x6C,0x02,0x03,0x18,0xEE,0x2D,0x21,0x00,0x25,
0x10,0x0B,0xA0,0x00,0x2C,0x08,0x2D,0x04,0x03,0x19,0xEC,0x2D,0x20,0x00,0xA9,0x01,0x21,0x00,0xB1,0x1D,0xF2,
0x10,0x0B,0xB0,0x00,0xDB,0x2D,0x20,0x00,0xA9,0x0A,0x21,0x00,0x2C,0x08,0x01,0x39,0x20,0x00,0xA7,0x00,0x04,
0x10,0x0B,0xC0,0x00,0xA8,0x00,0xA9,0x06,0x29,0x0C,0x03,0x18,0xE7,0x2D,0x21,0x00,0xB1,0x11,0x03,0x1C,0x68,
0x10,0x0B,0xD0,0x00,0xEB,0x2D,0x21,0x00,0xB1,0x15,0xEE,0x2D,0x22,0x00,0x8C,0x16,0x20,0x00,0x99,0x1F,0x5F,
0x10,0x0B,0xE0,0x00,0x1F,0x2E,0x22,0x00,0x0C,0x1C,0x01,0x2E,0x23,0x00,0x1D,0x1F,0x01,0x2E,0x61,0x30,0x20,
0x10,0x0B,0xF0,0x00,0x21,0x00,0xAE,0x00,0x11,0x30,0x21,0x00,0xAF,0x00,0xFF,0x30,0x21,0x00,0xB0,0x00,0x15,
0x10,0x0C,0x00,0x00,0x08,0x2E,0x01,0x30,0xF6,0x00,0x20,0x00,0x6C,0x08,0xF7,0x00,0x6D,0x08,0x24,0x26,0x3D,
0x10,0x0C,0x10,0x00,0x20,0x00,0xC4,0x01,0x23,0x00,0x1D,0x1F,0x0F,0x2E,0x20,0x00,0xC4,0x0A,0x20,0x00,0x45,
0x10,0x0C,0x20,0x00,0x44,0x08,0x00,0x30,0x03,0x19,0x01,0x30,0xC6,0x00,0xC4,0x00,0x44,0x0C,0x03,0x18,0x06,
0x10,0x0C,0x30,0x00,0x1B,0x2E,0x23,0x00,0x1D,0x13,0x03,0x1C,0x1F,0x2E,0x23,0x00,0x1D,0x17,0x20,0x00,0x35,
0x10,0x0C,0x40,0x00,0x93,0x10,0x64,0x00,0xBA,0x28,0x08,0x00,0x20,0x00,0xA9,0x00,0x77,0x08,0xA8,0x00,0xC3,
0x10,0x0C,0x50,0x00,0x76,0x08,0xAB,0x00,0x03,0x14,0xA9,0x1F,0x03,0x10,0x03,0x1C,0x38,0x2E,0x21,0x00,0xD3,
0x10,0x0C,0x60,0x00,0x31,0x12,0x20,0x00,0xA8,0x09,0xA9,0x09,0xA8,0x0A,0x03,0x19,0xA9,0x0A,0x3A,0x2E,0xD5,
0x10,0x0C,0x70,0x00,0x21,0x00,0x31,0x16,0x20,0x00,0x2B,0x08,0x01,0x3A,0x03,0x1D,0x43,0x2E,0x21,0x00,0xCC,
0x10,0x0C,0x80,0x00,0xB1,0x12,0x31,0x11,0x46,0x2E,0x21,0x00,0xB1,0x16,0x31,0x15,0x20,0x00,0x29,0x08,0x6C,
0x10,0x0C,0x90,0x00,0x80,0x3E,0x7D,0x3E,0x03,0x1D,0x4E,0x2E,0xE8,0x30,0x28,0x02,0x03,0x1C,0x5E,0x2E,0x52,
0x10,0x0C,0xA0,0x00,0x20,0x00,0x28,0x08,0xAA,0x00,0x29,0x08,0xAC,0x00,0x2A,0x08,0xF7,0x00,0x2C,0x08,0x10,
0x10,0x0C,0xB0,0x00,0x01,0x27,0x20,0x00,0xA9,0x00,0x77,0x08,0xA8,0x00,0xAB,0x01,0x20,0x00,0x29,0x08,0x1F,
0x10,0x0C,0xC0,0x00,0x80,0x3E,0x80,0x3E,0x03,0x1D,0x66,0x2E,0x64,0x30,0x28,0x02,0x03,0x1C,0x9A,0x2E,0x4F,
0x10,0x0C,0xD0,0x00,0x20,0x00,0x28,0x08,0xAA,0x00,0x29,0x08,0xAC,0x00,0xAD,0x01,0x20,0x00,0x2C,0x08,0x3B,
0x10,0x0C,0xE0,0x00,0x80,0x3E,0x80,0x3E,0x03,0x1D,0x76,0x2E,0x64,0x30,0x2A,0x02,0x03,0x1C,0x7F,0x2E,0x38,
0x10,0x0C,0xF0,0x00,0x9C,0x30,0x20,0x00,0xAA,0x07,0x03,0x1C,0xAC,0x03,0xAD,0x0A,0x6E,0x2E,0x20,0x00,0x16,
0x10,0x0D,0x00,0x00,0x2A,0x08,0xA8,0x00,0x2C,0x08,0xA9,0x00,0x0F,0x30,0xAD,0x05,0x2D,0x08,0x26,0x3E,0xA2,
0x10,0x0D,0x10,0x00,0xAD,0x00,0x8F,0x30,0x03,0x18,0x01,0x3E,0xAA,0x00,0x2D,0x08,0xF6,0x00,0x2A,0x08,0x06,
0x10,0x0D,0x20,0x00,0xF7,0x00,0x80,0x30,0x87,0x31,0xCE,0x27,0x86,0x31,0x20,0x00,0xAC,0x00,0x21,0x00,0xCB,
0x10,0x0D,0x30,0x00,0xAE,0x00,0x9D,0x2E,0xFF,0x30,0x21,0x00,0xAE,0x00,0x20,0x00,0x29,0x08,0x80,0x3E,0x2D,
0x10,0x0D,0x40,0x00,0x80,0x3E,0x03,0x1D,0xA5,0x2E,0x0A,0x30,0x28,0x02,0x03,0x18,0xB2,0x2E,0x20,0x00,0x73,
0x10,0x0D,0x50,0x00,0x2B,0x08,0x03,0x1D,0xB2,0x2E,0x21,0x00,0x2E,0x08,0x20,0x00,0xAA,0x00,0xFF,0x3A,0x06,
0x10,0x0D,0x60,0x00,0x03,0x19,0xE8,0x2E,0x20,0x00,0x28,0x08,0xAA,0x00,0x29,0x08,0xAC,0x00,0xAD,0x01,0xCC,
0x10,0x0D,0x70,0x00,0x20,0x00,0x2C,0x08,0x80,0x3E,0x80,0x3E,0x03,0x1D,0xC0,0x2E,0x0A,0x30,0x2A,0x02,0x2F,
0x10,0x0D,0x80,0x00,0x03,0x1C,0xC9,0x2E,0xF6,0x30,0x20,0x00,0xAA,0x07,0x03,0x1C,0xAC,0x03,0xAD,0x0A,0xD1,
0x10,0x0D,0x90,0x00,0xB8,0x2E,0x20,0x00,0x2A,0x08,0xA8,0x00,0x2C,0x08,0xA9,0x00,0x2D,0x08,0x26,0x3E,0xFD,
0x10,0x0D,0xA0,0x00,0xAD,0x00,0x8F,0x30,0x03,0x18,0x01,0x3E,0xAA,0x00,0x2D,0x08,0xF6,0x00,0x2A,0x08,0x76,
0x10,0x0D,0xB0,0x00,0xF7,0x00,0x80,0x30,0x87,0x31,0xCE,0x27,0x86,0x31,0x20,0x00,0xAC,0x00,0x21,0x00,0x3B,
0x10,0x0D,0xC0,0x00,0xAF,0x00,0x20,0x00,0x2B,0x08,0x03,0x19,0xEB,0x2E,0x21,0x00,0x2F,0x10,0xEB,0x2E,0x73,
0x10,0x0D,0xD0,0x00,0xFF,0x30,0x21,0x00,0xAF,0x00,0x20,0x00,0x28,0x08,0xAB,0x00,0x26,0x3E,0xA8,0x00,0x0D,
0x10,0x0D,0xE0,0x00,0x8F,0x30,0x03,0x18,0x01,0x3E,0xA9,0x00,0x28,0x08,0xF6,0x00,0x29,0x08,0xF7,0x00,0xF3,
0x10,0x0D,0xF0,0x00,0x80,0x30,0x87,0x31,0xCE,0x27,0x86,0x31,0x20,0x00,0xAB,0x00,0x21,0x00,0xB0,0x00,0x43,
0x10,0x0E,0x00,0x00,0x08,0x00,0x20,0x00,0xA0,0x00,0x77,0x08,0xA1,0x00,0x03,0x10,0x20,0x0C,0xA2,0x00,0x19,
0x10,0x0E,0x10,0x00,0x21,0x0C,0xA3,0x00,0x03,0x10,0x20,0x0C,0xA4,0x00,0x21,0x0C,0xA6,0x00,0x03,0x10,0x39,
0x10,0x0E,0x20,0x00,0xA4,0x0C,0xA6,0x0C,0x26,0x08,0xA3,0x07,0x24,0x08,0x03,0x18,0x24,0x0F,0xA2,0x07,0x65,
0x10,0x0E,0x30,0x00,0x23,0x0E,0x0F,0x39,0xA6,0x00,0x22,0x0E,0xA4,0x00,0xF0,0x39,0xA6,0x04,0xA4,0x06,0x42,
0x10,0x0E,0x40,0x00,0x26,0x08,0xA3,0x07,0x24,0x08,0x03,0x18,0x24,0x0F,0xA2,0x07,0x22,0x08,0xA6,0x00,0xD7,
0x10,0x0E,0x50,0x00,0xA4,0x01,0x26,0x08,0xA3,0x07,0x24,0x08,0x03,0x18,0x24,0x0F,0xA2,0x07,0x03,0x10,0xDF,
0x10,0x0E,0x60,0x00,0xA2,0x0C,0xA3,0x0C,0x03,0x10,0xA2,0x0C,0xA3,0x0C,0x03,0x10,0xA2,0x0C,0xA3,0x0C,0x45,
0x10,0x0E,0x70,0x00,0x03,0x10,0x23,0x0D,0xA6,0x00,0x22,0x0D,0xA4,0x00,0x03,0x10,0xA6,0x0D,0xA4,0x0D,0x3F,
0x10,0x0E,0x80,0x00,0x03,0x10,0xA6,0x0D,0xA4,0x0D,0x03,0x10,0x23,0x0D,0xA5,0x00,0x22,0x0D,0xA7,0x00,0x2D,
0x10,0x0E,0x90,0x00,0x25,0x08,0xA6,0x07,0x27,0x08,0x03,0x18,0x27,0x0F,0xA4,0x07,0x26,0x08,0xA1,0x02,0x7C,
0x10,0x0E,0xA0,0x00,0x24,0x08,0x03,0x1C,0x24,0x0F,0xA0,0x02,0x06,0x30,0xA1,0x07,0x03,0x18,0xA0,0x0A,0x7F,
0x10,0x0E,0xB0,0x00,0x21,0x0E,0x0F,0x39,0xA6,0x00,0x20,0x0E,0xA4,0x00,0xF0,0x39,0xA6,0x04,0xA4,0x06,0xC6,
0x10,0x0E,0xC0,0x00,0x26,0x08,0xA3,0x07,0x24,0x08,0x03,0x18,0x24,0x0F,0xA2,0x07,0x23,0x08,0xF7,0x00,0x05,
0x10,0x0E,0xD0,0x00,0x22,0x08,0x08,0x00,0x20,0x00,0xA7,0x00,0x77,0x08,0xA9,0x00,0x76,0x08,0xA8,0x00,0xCB,
0x10,0x0E,0xE0,0x00,0x27,0x08,0xA7,0x27,0x20,0x00,0xAB,0x00,0x77,0x08,0xAA,0x00,0x28,0x06,0x03,0x1D,0xC3,
0x10,0x0E,0xF0,0x00,0x7D,0x2F,0x2B,0x08,0x29,0x06,0x03,0x19,0xA6,0x2F,0x03,0x10,0x20,0x00,0x27,0x0D,0x8C,
0x10,0x0F,0x00,0x00,0xAA,0x00,0x20,0x00,0x2A,0x08,0x23,0x00,0x91,0x00,0x20,0x00,0x28,0x08,0x23,0x00,0xBE,
0x10,0x0F,0x10,0x00,0x93,0x00,0x15,0x13,0x95,0x13,0x15,0x15,0x20,0x00,0x8B,0x13,0x55,0x30,0x23,0x00,0xDE,
0x10,0x0F,0x20,0x00,0x96,0x00,0xAA,0x30,0x96,0x00,0x95,0x14,0x20,0x00,0x8B,0x17,0x23,0x00,0x15,0x11,0x07,
0x10,0x0F,0x30,0x00,0x23,0x00,0x95,0x18,0x98,0x2F,0x20,0x00,0x12,0x12,0x20,0x00,0x29,0x08,0xA8,0x00,0xDD,
0x10,0x0F,0x40,0x00,0xA9,0x01,0x2A,0x08,0xA7,0x00,0xAA,0x0A,0x27,0x1C,0x81,0x2F,0x08,0x00,0x20,0x00,0x4F,
0x10,0x0F,0x50,0x00,0xA0,0x00,0xA1,0x01,0xA2,0x01,0x03,0x10,0x20,0x0D,0xA3,0x00,0x20,0x00,0x23,0x08,0x7E,
0x10,0x0F,0x60,0x00,0x23,0x00,0x91,0x00,0x15,0x13,0x95,0x13,0x15,0x14,0x13,0x08,0x20,0x00,0xA0,0x00,0xF9,
0x10,0x0F,0x70,0x00,0xA4,0x01,0x20,0x08,0xA6,0x00,0xA5,0x01,0x22,0x08,0xA0,0x00,0xA4,0x01,0x20,0x08,0xC1,
0x10,0x0F,0x80,0x00,0x25,0x04,0xA1,0x00,0x24,0x08,0x26,0x04,0xA2,0x00,0x23,0x08,0xA0,0x00,0xA3,0x0A,0x27,
0x10,0x0F,0x90,0x00,0x20,0x1C,0xAE,0x2F,0x21,0x08,0xF7,0x00,0x22,0x08,0x08,0x00,0x00,0x3A,0x03,0x19,0x90,
0x10,0x0F,0xA0,0x00,0xD5,0x2F,0x80,0x3A,0x03,0x19,0xDB,0x2F,0x00,0x34,0x76,0x08,0x84,0x00,0x77,0x08,0xA8,
0x10,0x0F,0xB0,0x00,0x85,0x00,0x00,0x08,0x08,0x00,0x77,0x08,0x8A,0x00,0x76,0x08,0x82,0x00,0x08,0x00,0x8B,
0x10,0x0F,0xC0,0x00,0x00,0x3A,0x03,0x19,0xE8,0x2F,0x80,0x3A,0x03,0x19,0xF0,0x2F,0xF7,0x01,0x00,0x34,0x93,