annotate chipsetsw/layer1/dsp1/leadboot.c @ 132:c721b9d301b9

l1_pwmgr.c: l1s_compute_wakeup_ticks() reconstructed
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sat, 14 May 2016 16:31:53 +0000
parents 7f42cf4bca79
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
1 /*
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
2 * This module is from the LoCosto source, and the char array found herein
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
3 * has been confirmed to match the one in the Leonardo binary lib as well.
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
4 */
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
5
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
6 const unsigned char bootCode[] = {
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
7
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
8 /* Tag */ 0x00, 0x00, 0x00, 0x00,
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
9 /* Vers */ 0x03, 0x00, 0x00, 0x00,
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
10
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
11 /* size */ 0x31, 0x00, 0x00, 0x00,
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
12 /* addr */ 0x00, 0xf8, 0x00, 0x00,
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
13
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
14 0xF8,0x69,0x29,0x00,0x02,0x00,0x1F,0xEA,0x14,0x77,0x00,0x00,0x7F,0x76,0x01,0x00,
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
15 0x7F,0x60,0x04,0x00,0x20,0xF8,0x10,0x01,0x14,0x72,0x00,0x08,0x7F,0x76,0x01,0x00,
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
16 0x7F,0x60,0x02,0x00,0x20,0xF8,0x08,0x01,0x7E,0x12,0x7C,0x3C,0x7D,0x13,0x11,0x89,
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
17 0x4C,0xF8,0x1D,0x01,0x30,0xF0,0xFF,0xFF,0xE2,0xF4,0x89,0x6D,0x12,0x77,0x00,0x08,
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
18 0xF8,0x11,0x14,0x00,0x4E,0xF8,0x29,0x01,0xF8,0x47,0x11,0x00,0x92,0x7F,0x73,0xF0,
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
19 0x2D,0x01,0x13,0x88,0xF8,0x47,0x11,0x00,0x89,0xE5,0x7F,0x76,0x01,0x00,0x73,0xF0,
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
20 0x08,0x01,
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
21
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
22 /* size */ 0x29, 0x00, 0x00, 0x00,
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
23 /* addr */ 0x00, 0xfe, 0x00, 0x00,
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
24
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
25 0x18,0x77,0x80,0x07,0xF8,0x69,0x1D,0x00,0x28,0x00,0x28,0x77,0x92,0x24,0xF8,0x76,
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
26 0x11,0x00,0x01,0x00,0xF8,0x75,0x11,0x00,0x00,0xF9,0x06,0x77,0x00,0x18,0x07,0x77,
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
27 0x00,0x2D,0x26,0x77,0x10,0x00,0x00,0x77,0x00,0x00,0x01,0x77,0xFF,0xFF,0x00,0xEA,
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
28 0x95,0xF4,0x11,0x77,0x00,0x01,0x12,0x77,0x00,0xF8,0x20,0xF0,0x31,0xF8,0x12,0x08,
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
29 0x10,0xF0,0x01,0x00,0x13,0x80,0x95,0xF4,0x13,0x47,0x91,0x7C,0x00,0xF8,0x73,0xF0,
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
30 0x00,0x01,
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
31
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
32 /* size */ 0x04, 0x00, 0x00, 0x00,
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
33 /* addr */ 0x80, 0xff, 0x00, 0x00,
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
34
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
35 0x73,0xF0,0x00,0xFE,0x95,0xF4,0x95,0xF4,
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
36 /* Final record */
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
37 /* size */ 0x00, 0x00, 0x00, 0x00,
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
38 /* addr */ 0x00, 0xf8, 0x00, 0x00,
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
39
7f42cf4bca79 DSP patch *.c files: dummies replaced with extracted real char arrays
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 15
diff changeset
40 };