annotate compal/c139-tfboot.disasm @ 229:84a4f6ef2d28

pirchgdbg: complete enough for first test
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 19 Dec 2017 04:02:32 +0000
parents 8d30e1722e0f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
162
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 Disassembly of TF's locked C139 bootloader
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2 same as the classic C139 version up to 0x958
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
3
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4 RESET entry and exception vectors:
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
5 0: ea000225 b 0x89c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
6 4: ea000825 b 0x20a0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
7 8: ea000825 b 0x20a4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
8 c: ea000825 b 0x20a8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
9 10: ea000825 b 0x20ac
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
10 14: ea000825 b 0x20b0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
11 18: ea000825 b 0x20b4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12 1c: ea000825 b 0x20b8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
13
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
14 ; ID words or whatever
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
15 20: 449e10f0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
16 24: 449e10f1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
17 28: 449e1120
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
18 2c: 449e1121
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
19
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
20 <30-7FF: all FFs>
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
21
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
22 00000800: 42 4F 4F 54 2E 39 30 2E 30 34 00 00 00 00 00 00 BOOT.90.04......
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
23 00000810: 31 30 30 33 01 01 00 00 FF FF FF FF FF FF FF FF 1003............
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
24 00000820: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
25
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
26 830: 00000006
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
27 ...
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
28 83c: 00000048
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
29 840: 00000044
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
30 844: 00000052
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
31 848: 0000001b
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
32 84c: 00000005
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
33 ...
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
34 860: 000000fa
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
35 864: ffff5800
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
36 868: ffff5000
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
37 86c: fffffb00
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
38 870: 02a1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
39 872: 02a1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
40 874: 02a1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
41 876: 0283
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
42 878: 0281
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
43 87a: 00c0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
44 87c: 0040
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
45 87e: 002a
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
46 880: 00000040
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
47 884: fffffd00
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
48 888: ffff9800
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
49 88c: fffffb10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
50 890: ffffff08
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
51 894: 1081
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
52 896: 2006
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
53 898: 0800
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
54 89a: 0000
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
55
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
56 ; RESET entry point, same as classic C139 version
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
57 89c: e51f1020 ldr r1, =0xfffffd00 ; via 0x884
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
58 8a0: e1d120b2 ldrh r2, [r1, #2]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
59 8a4: e51f002c ldr r0, =0x40 ; via 0x880
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
60 8a8: e1800002 orr r0, r0, r2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
61 8ac: e1c100b2 strh r0, [r1, #2]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
62 8b0: e51f1030 ldr r1, =0xffff9800 ; via 0x888
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
63 8b4: e15f22b6 ldrh r2, =0x2006 ; via 0x896
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
64 8b8: e1c120b0 strh r2, [r1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
65 8bc: e5912000 ldr r2, [r1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
66 8c0: e2022001 and r2, r2, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
67 8c4: e3520001 cmp r2, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
68 8c8: 0afffffb beq 0x8bc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
69 8cc: e51f1050 ldr r1, =0xfffffd00 ; via 0x884
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
70 8d0: e15f24b4 ldrh r2, =0x1081 ; via 0x894
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
71 8d4: e1c120b0 strh r2, [r1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
72 8d8: e51f1054 ldr r1, =0xfffffb10 ; via 0x88c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
73 8dc: e15f24bc ldrh r2, =0x800 ; via 0x898
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
74 8e0: e1d100b0 ldrh r0, [r1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
75 8e4: e1800002 orr r0, r0, r2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
76 8e8: e1c100b0 strh r0, [r1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
77 8ec: e51f1064 ldr r1, =0xffffff08 ; via 0x890
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
78 8f0: e15f25be ldrh r2, =0x0 ; via 0x89a
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
79 8f4: e1c120b0 strh r2, [r1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
80 8f8: e51f1094 ldr r1, =0xfffffb00 ; via 0x86c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
81 8fc: e15f29b4 ldrh r2, =0x2a1 ; via 0x870
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
82 900: e1c120b0 strh r2, [r1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
83 904: e15f29ba ldrh r2, =0x2a1 ; via 0x872
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
84 908: e1c120b2 strh r2, [r1, #2]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
85 90c: e15f2ab0 ldrh r2, =0x2a1 ; via 0x874
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
86 910: e1c120b4 strh r2, [r1, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
87 914: e15f2ab6 ldrh r2, =0x283 ; via 0x876
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
88 918: e1c120b6 strh r2, [r1, #6]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
89 91c: e15f2abc ldrh r2, =0x281 ; via 0x878
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
90 920: e1c120ba strh r2, [r1, #10] ; 0xa
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
91 924: e15f2bb2 ldrh r2, =0xc0 ; via 0x87a
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
92 928: e1c120bc strh r2, [r1, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
93 92c: e15f2bb8 ldrh r2, =0x40 ; via 0x87c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
94 930: e1c120b8 strh r2, [r1, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
95 934: e15f2bbe ldrh r2, =0x2a ; via 0x87e
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
96 938: e1c120be strh r2, [r1, #14] ; 0xe
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
97 93c: e59f0020 ldr r0, =0x837770 ; via 0x964
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
98 940: e3a01b01 mov r1, #1024 ; 0x400
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
99 944: e2411004 sub r1, r1, #4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
100 948: e0802001 add r2, r0, r1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
101 94c: e3c22003 bic r2, r2, #3
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
102 950: e1a0d002 mov sp, r2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
103 ; business logic
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
104 954: e92d100f stmdb sp!, {r0, r1, r2, r3, r12}
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
105 958: eb00053a bl 0x1e48
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
106 95c: e8bd100f ldmia sp!, {r0, r1, r2, r3, r12}
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
107 960: ea0005e4 b 0x20f8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
108
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
109 964: 00837770
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
110
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
111 968: 4961 ldr r1, =0xfffffa08 ; via 0xaf0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
112 96a: 4862 ldr r0, =0xffff ; via 0xaf4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
113 96c: 8008 strh r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
114 96e: 4862 ldr r0, =0xfffffa0a ; via 0xaf8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
115 970: 211f mov r1, #31 ; 0x1f
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
116 972: 8001 strh r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
117 974: 4861 ldr r0, =0xfffff804 ; via 0xafc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
118 976: 21f5 mov r1, #245 ; 0xf5
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
119 978: 8001 strh r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
120 97a: 21a0 mov r1, #160 ; 0xa0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
121 97c: 8001 strh r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
122 97e: 4860 ldr r0, =0xffff9800 ; via 0xb00
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
123 980: 4960 ldr r1, =0x2002 ; via 0xb04
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
124 982: 8001 strh r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
125 984: 485e ldr r0, =0xffff9800 ; via 0xb00
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
126 986: 8800 ldrh r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
127 988: 0840 lsr r0, r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
128 98a: d2fb bcs 0x984
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
129 98c: 495e ldr r1, =0xfffffd00 ; via 0xb08
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
130 98e: 485f ldr r0, =0x1001 ; via 0xb0c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
131 990: 8008 strh r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
132 992: 46f7 mov pc, lr
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
133
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
134 994: b500 push {lr}
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
135 996: b0ff sub sp, #508 ; 0x1fc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
136 998: b0ca sub sp, #296 ; 0x128
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
137 99a: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
138 99c: 9001 str r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
139 99e: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
140 9a0: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
141 9a2: d14e bne 0xa42
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
142 9a4: a846 add r0, sp, #280 ; 0x118
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
143 9a6: 2100 mov r1, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
144 9a8: f001 f87a bl 0x1aa0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
145 9ac: a9c8 add r1, sp, #800 ; 0x320
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
146 9ae: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
147 9b0: a846 add r0, sp, #280 ; 0x118
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
148 9b2: a902 add r1, sp, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
149 9b4: f000 fb38 bl 0x1028
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
150 9b8: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
151 9ba: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
152 9bc: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
153 9be: d01b beq 0x9f8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
154 9c0: a924 add r1, sp, #144 ; 0x90
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
155 9c2: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
156 9c4: 7a00 ldrb r0, [r0, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
157 9c6: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
158 9c8: 2191 mov r1, #145 ; 0x91
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
159 9ca: 466a mov r2, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
160 9cc: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
161 9ce: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
162 9d0: 5488 strb r0, [r1, r2]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
163 9d2: e01b b 0xa0c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
164 9d4: a802 add r0, sp, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
165 9d6: a924 add r1, sp, #144 ; 0x90
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
166 9d8: f000 fe14 bl 0x1604
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
167 9dc: e016 b 0xa0c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
168 9de: a802 add r0, sp, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
169 9e0: a924 add r1, sp, #144 ; 0x90
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
170 9e2: aac8 add r2, sp, #800 ; 0x320
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
171 9e4: 7812 ldrb r2, [r2, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
172 9e6: f000 fe21 bl 0x162c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
173 9ea: e00f b 0xa0c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
174 9ec: a802 add r0, sp, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
175 9ee: a924 add r1, sp, #144 ; 0x90
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
176 9f0: f000 fe53 bl 0x169a
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
177 9f4: 90c7 str r0, [sp, #796] ; 0x31c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
178 9f6: e009 b 0xa0c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
179 9f8: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
180 9fa: 7a00 ldrb r0, [r0, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
181 9fc: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
182 9fe: d0e9 beq 0x9d4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
183 a00: 3809 sub r0, #9
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
184 a02: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
185 a04: d0eb beq 0x9de
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
186 a06: 3801 sub r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
187 a08: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
188 a0a: d0ef beq 0x9ec
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
189 a0c: a824 add r0, sp, #144 ; 0x90
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
190 a0e: a986 add r1, sp, #536 ; 0x218
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
191 a10: f000 fbed bl 0x11ee
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
192 a14: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
193 a16: d111 bne 0xa3c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
194 a18: a886 add r0, sp, #536 ; 0x218
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
195 a1a: a9c8 add r1, sp, #800 ; 0x320
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
196 a1c: 7809 ldrb r1, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
197 a1e: f001 f814 bl 0x1a4a
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
198 a22: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
199 a24: d00a beq 0xa3c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
200 a26: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
201 a28: 7a00 ldrb r0, [r0, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
202 a2a: 280a cmp r0, #10 ; 0xa
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
203 a2c: d106 bne 0xa3c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
204 a2e: a8c8 add r0, sp, #800 ; 0x320
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
205 a30: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
206 a32: f001 f965 bl 0x1d00
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
207 a36: 98c7 ldr r0, [sp, #796] ; 0x31c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
208 a38: f000 faf4 bl 0x1024
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
209 a3c: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
210 a3e: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
211 a40: d0b0 beq 0x9a4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
212 a42: b07f add sp, #508 ; 0x1fc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
213 a44: b04a add sp, #296 ; 0x128
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
214 a46: bd00 pop {pc}
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
215
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
216 a48: b500 push {lr}
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
217 a4a: b0ff sub sp, #508 ; 0x1fc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
218 a4c: b0c8 sub sp, #288 ; 0x120
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
219 a4e: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
220 a50: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
221 a52: a846 add r0, sp, #280 ; 0x118
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
222 a54: 2101 mov r1, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
223 a56: f001 f823 bl 0x1aa0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
224 a5a: a9c6 add r1, sp, #792 ; 0x318
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
225 a5c: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
226 a5e: a8c6 add r0, sp, #792 ; 0x318
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
227 a60: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
228 a62: 28ff cmp r0, #255 ; 0xff
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
229 a64: d031 beq 0xaca
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
230 a66: a846 add r0, sp, #280 ; 0x118
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
231 a68: a902 add r1, sp, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
232 a6a: f000 fadd bl 0x1028
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
233 a6e: 9001 str r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
234 a70: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
235 a72: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
236 a74: d014 beq 0xaa0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
237 a76: a924 add r1, sp, #144 ; 0x90
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
238 a78: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
239 a7a: 7a00 ldrb r0, [r0, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
240 a7c: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
241 a7e: 2291 mov r2, #145 ; 0x91
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
242 a80: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
243 a82: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
244 a84: 7909 ldrb r1, [r1, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
245 a86: 5411 strb r1, [r2, r0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
246 a88: a824 add r0, sp, #144 ; 0x90
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
247 a8a: a986 add r1, sp, #536 ; 0x218
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
248 a8c: f000 fbaf bl 0x11ee
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
249 a90: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
250 a92: d11a bne 0xaca
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
251 a94: a886 add r0, sp, #536 ; 0x218
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
252 a96: a9c6 add r1, sp, #792 ; 0x318
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
253 a98: 7809 ldrb r1, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
254 a9a: f000 ffd6 bl 0x1a4a
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
255 a9e: e014 b 0xaca
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
256 aa0: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
257 aa2: 7a00 ldrb r0, [r0, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
258 aa4: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
259 aa6: d110 bne 0xaca
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
260 aa8: a802 add r0, sp, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
261 aaa: a924 add r1, sp, #144 ; 0x90
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
262 aac: f000 fdaa bl 0x1604
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
263 ab0: a824 add r0, sp, #144 ; 0x90
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
264 ab2: a986 add r1, sp, #536 ; 0x218
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
265 ab4: f000 fb9b bl 0x11ee
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
266 ab8: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
267 aba: d104 bne 0xac6
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
268 abc: a886 add r0, sp, #536 ; 0x218
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
269 abe: a9c6 add r1, sp, #792 ; 0x318
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
270 ac0: 7809 ldrb r1, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
271 ac2: f000 ffc2 bl 0x1a4a
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
272 ac6: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
273 ac8: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
274 aca: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
275 acc: b07f add sp, #508 ; 0x1fc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
276 ace: b048 add sp, #288 ; 0x120
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
277 ad0: bd00 pop {pc}
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
278
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
279 ad2: b500 push {lr}
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
280 ad4: b082 sub sp, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
281 ad6: f7ff ff47 bl 0x968
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
282 ada: f001 f8b9 bl 0x1c50
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
283 ade: f000 fd7f bl 0x15e0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
284 ae2: f000 f81f bl 0xb24
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
285 ae6: f000 f972 bl 0xdce
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
286 aea: b002 add sp, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
287 aec: bd00 pop {pc}
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
288 aee: 46c0 nop (mov r8, r8)
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
289
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
290 af0: fffffa08
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
291 af4: 0000ffff
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
292 af8: fffffa0a
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
293 afc: fffff804
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
294 b00: ffff9800
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
295 b04: 00002002
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
296 b08: fffffd00
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
297 b0c: 00001001
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
298
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
299 b10: e3a0d502 mov sp, #8388608 ; 0x800000
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
300 b14: e28dd802 add sp, sp, #131072 ; 0x20000
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
301 b18: e28fe005 add lr, pc, #5
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
302 b1c: e12fff1e bx lr
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
303 b20: e1a00000 mov r0, r0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
304
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
305 b24: b500 push {lr}
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
306 b26: b082 sub sp, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
307 b28: 49f1 ldr r1, =0x83ff00 ; via 0xef0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
308 b2a: 48f2 ldr r0, =0xffff5800 ; via 0xef4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
309 b2c: 6008 str r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
310 b2e: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
311 b30: 2102 mov r1, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
312 b32: f000 fa07 bl 0xf44
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
313 b36: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
314 b38: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
315 b3a: 9900 ldr r1, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
316 b3c: 2005 mov r0, #5
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
317 b3e: 0300 lsl r0, r0, #12
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
318 b40: 4281 cmp r1, r0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
319 b42: d207 bcs 0xb54
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
320 b44: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
321 b46: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
322 b48: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
323 b4a: 9900 ldr r1, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
324 b4c: 2005 mov r0, #5
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
325 b4e: 0300 lsl r0, r0, #12
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
326 b50: 4281 cmp r1, r0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
327 b52: d3f7 bcc 0xb44
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
328 b54: f000 f82a bl 0xbac
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
329 b58: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
330 b5a: 2107 mov r1, #7
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
331 b5c: f000 f9f2 bl 0xf44
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
332 b60: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
333 b62: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
334 b64: 9900 ldr r1, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
335 b66: 2005 mov r0, #5
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
336 b68: 0300 lsl r0, r0, #12
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
337 b6a: 4281 cmp r1, r0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
338 b6c: d207 bcs 0xb7e
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
339 b6e: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
340 b70: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
341 b72: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
342 b74: 9900 ldr r1, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
343 b76: 2005 mov r0, #5
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
344 b78: 0300 lsl r0, r0, #12
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
345 b7a: 4281 cmp r1, r0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
346 b7c: d3f7 bcc 0xb6e
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
347 b7e: f000 f815 bl 0xbac
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
348 b82: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
349 b84: 9001 str r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
350 b86: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
351 b88: 9900 ldr r1, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
352 b8a: 2005 mov r0, #5
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
353 b8c: 0400 lsl r0, r0, #16
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
354 b8e: 4281 cmp r1, r0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
355 b90: d20a bcs 0xba8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
356 b92: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
357 b94: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
358 b96: 9001 str r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
359 b98: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
360 b9a: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
361 b9c: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
362 b9e: 9900 ldr r1, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
363 ba0: 2005 mov r0, #5
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
364 ba2: 0400 lsl r0, r0, #16
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
365 ba4: 4281 cmp r1, r0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
366 ba6: d3f4 bcc 0xb92
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
367 ba8: b002 add sp, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
368 baa: bd00 pop {pc}
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
369
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
370 bac: b500 push {lr}
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
371 bae: b089 sub sp, #36 ; 0x24
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
372 bb0: 48e1 ldr r0, =0x800100 ; via 0xf38
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
373 bb2: 9005 str r0, [sp, #20] ; 0x14
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
374 bb4: 48e1 ldr r0, =0x2060 ; via 0xf3c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
375 bb6: 9008 str r0, [sp, #32] ; 0x20
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
376 bb8: 9808 ldr r0, [sp, #32] ; 0x20
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
377 bba: 6801 ldr r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
378 bbc: 48e0 ldr r0, =0xdddddddd ; via 0xf40
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
379 bbe: 4281 cmp r1, r0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
380 bc0: d000 beq 0xbc4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
381 bc2: e102 b 0xdca
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
382 bc4: 201b mov r0, #27 ; 0x1b
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
383 bc6: f000 f95f bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
384 bca: 20f6 mov r0, #246 ; 0xf6
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
385 bcc: f000 f95c bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
386 bd0: 2002 mov r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
387 bd2: f000 f959 bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
388 bd6: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
389 bd8: f000 f956 bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
390 bdc: 2041 mov r0, #65 ; 0x41
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
391 bde: f000 f953 bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
392 be2: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
393 be4: f000 f950 bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
394 be8: 2040 mov r0, #64 ; 0x40
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
395 bea: f000 f94d bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
396 bee: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
397 bf0: 0300 lsl r0, r0, #12
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
398 bf2: f000 f961 bl 0xeb8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
399 bf6: 281b cmp r0, #27 ; 0x1b
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
400 bf8: d000 beq 0xbfc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
401 bfa: e0e6 b 0xdca
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
402 bfc: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
403 bfe: 0300 lsl r0, r0, #12
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
404 c00: f000 f95a bl 0xeb8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
405 c04: 28f6 cmp r0, #246 ; 0xf6
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
406 c06: d000 beq 0xc0a
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
407 c08: e0df b 0xdca
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
408 c0a: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
409 c0c: 0300 lsl r0, r0, #12
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
410 c0e: f000 f953 bl 0xeb8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
411 c12: 2802 cmp r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
412 c14: d000 beq 0xc18
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
413 c16: e0d8 b 0xdca
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
414 c18: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
415 c1a: 0300 lsl r0, r0, #12
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
416 c1c: f000 f94c bl 0xeb8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
417 c20: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
418 c22: d000 beq 0xc26
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
419 c24: e0d1 b 0xdca
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
420 c26: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
421 c28: 0300 lsl r0, r0, #12
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
422 c2a: f000 f945 bl 0xeb8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
423 c2e: 2852 cmp r0, #82 ; 0x52
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
424 c30: d000 beq 0xc34
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
425 c32: e0ca b 0xdca
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
426 c34: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
427 c36: 0300 lsl r0, r0, #12
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
428 c38: f000 f93e bl 0xeb8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
429 c3c: 2801 cmp r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
430 c3e: d000 beq 0xc42
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
431 c40: e0c3 b 0xdca
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
432 c42: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
433 c44: 0300 lsl r0, r0, #12
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
434 c46: f000 f937 bl 0xeb8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
435 c4a: 2853 cmp r0, #83 ; 0x53
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
436 c4c: d000 beq 0xc50
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
437 c4e: e0bc b 0xdca
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
438 c50: 201b mov r0, #27 ; 0x1b
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
439 c52: f000 f919 bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
440 c56: 20f6 mov r0, #246 ; 0xf6
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
441 c58: f000 f916 bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
442 c5c: 2002 mov r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
443 c5e: f000 f913 bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
444 c62: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
445 c64: f000 f910 bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
446 c68: 2041 mov r0, #65 ; 0x41
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
447 c6a: f000 f90d bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
448 c6e: 2002 mov r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
449 c70: f000 f90a bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
450 c74: 2043 mov r0, #67 ; 0x43
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
451 c76: f000 f907 bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
452 c7a: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
453 c7c: 0300 lsl r0, r0, #12
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
454 c7e: f000 f91b bl 0xeb8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
455 c82: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
456 c84: 7208 strb r0, [r1, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
457 c86: 2002 mov r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
458 c88: 7448 strb r0, [r1, #17] ; 0x11
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
459 c8a: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
460 c8c: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
461 c8e: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
462 c90: 2802 cmp r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
463 c92: d215 bcs 0xcc0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
464 c94: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
465 c96: 0300 lsl r0, r0, #12
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
466 c98: f000 f90e bl 0xeb8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
467 c9c: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
468 c9e: 9a00 ldr r2, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
469 ca0: 1a89 sub r1, r1, r2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
470 ca2: 7348 strb r0, [r1, #13] ; 0xd
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
471 ca4: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
472 ca6: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
473 ca8: 1a08 sub r0, r1, r0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
474 caa: 7b40 ldrb r0, [r0, #13] ; 0xd
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
475 cac: 7c49 ldrb r1, [r1, #17] ; 0x11
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
476 cae: 4048 eor r0, r1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
477 cb0: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
478 cb2: 7448 strb r0, [r1, #17] ; 0x11
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
479 cb4: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
480 cb6: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
481 cb8: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
482 cba: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
483 cbc: 2802 cmp r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
484 cbe: d3e9 bcc 0xc94
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
485 cc0: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
486 cc2: 8980 ldrh r0, [r0, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
487 cc4: 466a mov r2, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
488 cc6: 1e41 sub r1, r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
489 cc8: 8191 strh r1, [r2, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
490 cca: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
491 ccc: d016 beq 0xcfc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
492 cce: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
493 cd0: 0300 lsl r0, r0, #12
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
494 cd2: f000 f8f1 bl 0xeb8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
495 cd6: 9905 ldr r1, [sp, #20] ; 0x14
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
496 cd8: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
497 cda: 9805 ldr r0, [sp, #20] ; 0x14
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
498 cdc: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
499 cde: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
500 ce0: 7c49 ldrb r1, [r1, #17] ; 0x11
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
501 ce2: 4048 eor r0, r1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
502 ce4: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
503 ce6: 7448 strb r0, [r1, #17] ; 0x11
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
504 ce8: 9805 ldr r0, [sp, #20] ; 0x14
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
505 cea: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
506 cec: 9005 str r0, [sp, #20] ; 0x14
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
507 cee: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
508 cf0: 8981 ldrh r1, [r0, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
509 cf2: 466a mov r2, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
510 cf4: 1e48 sub r0, r1, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
511 cf6: 8190 strh r0, [r2, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
512 cf8: 2900 cmp r1, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
513 cfa: d1e8 bne 0xcce
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
514 cfc: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
515 cfe: 0300 lsl r0, r0, #12
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
516 d00: f000 f8da bl 0xeb8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
517 d04: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
518 d06: 7408 strb r0, [r1, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
519 d08: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
520 d0a: 7c01 ldrb r1, [r0, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
521 d0c: 7c40 ldrb r0, [r0, #17] ; 0x11
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
522 d0e: 4281 cmp r1, r0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
523 d10: d015 beq 0xd3e
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
524 d12: 201b mov r0, #27 ; 0x1b
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
525 d14: f000 f8b8 bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
526 d18: 20f6 mov r0, #246 ; 0xf6
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
527 d1a: f000 f8b5 bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
528 d1e: 2002 mov r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
529 d20: f000 f8b2 bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
530 d24: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
531 d26: f000 f8af bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
532 d2a: 2045 mov r0, #69 ; 0x45
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
533 d2c: f000 f8ac bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
534 d30: 2053 mov r0, #83 ; 0x53
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
535 d32: f000 f8a9 bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
536 d36: 2016 mov r0, #22 ; 0x16
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
537 d38: f000 f8a6 bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
538 d3c: e045 b 0xdca
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
539 d3e: 2081 mov r0, #129 ; 0x81
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
540 d40: 0100 lsl r0, r0, #4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
541 d42: 9006 str r0, [sp, #24] ; 0x18
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
542 d44: 48b1 ldr r0, =0x803ce0 ; via 0x100c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
543 d46: 9007 str r0, [sp, #28] ; 0x1c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
544 d48: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
545 d4a: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
546 d4c: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
547 d4e: 2804 cmp r0, #4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
548 d50: d221 bcs 0xd96
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
549 d52: 9900 ldr r1, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
550 d54: 9806 ldr r0, [sp, #24] ; 0x18
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
551 d56: 5c0a ldrb r2, [r1, r0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
552 d58: 9900 ldr r1, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
553 d5a: 9807 ldr r0, [sp, #28] ; 0x1c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
554 d5c: 5c08 ldrb r0, [r1, r0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
555 d5e: 4282 cmp r2, r0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
556 d60: dd13 ble 0xd8a
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
557 d62: 201b mov r0, #27 ; 0x1b
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
558 d64: f000 f890 bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
559 d68: 20f6 mov r0, #246 ; 0xf6
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
560 d6a: f000 f88d bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
561 d6e: 2002 mov r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
562 d70: f000 f88a bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
563 d74: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
564 d76: f000 f887 bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
565 d7a: 2041 mov r0, #65 ; 0x41
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
566 d7c: f000 f884 bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
567 d80: 2003 mov r0, #3
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
568 d82: f000 f881 bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
569 d86: 2057 mov r0, #87 ; 0x57
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
570 d88: e7d6 b 0xd38
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
571 d8a: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
572 d8c: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
573 d8e: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
574 d90: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
575 d92: 2804 cmp r0, #4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
576 d94: d3dd bcc 0xd52
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
577 d96: 201b mov r0, #27 ; 0x1b
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
578 d98: f000 f876 bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
579 d9c: 20f6 mov r0, #246 ; 0xf6
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
580 d9e: f000 f873 bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
581 da2: 2002 mov r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
582 da4: f000 f870 bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
583 da8: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
584 daa: f000 f86d bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
585 dae: 2041 mov r0, #65 ; 0x41
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
586 db0: f000 f86a bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
587 db4: 2003 mov r0, #3
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
588 db6: f000 f867 bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
589 dba: 2042 mov r0, #66 ; 0x42
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
590 dbc: f000 f864 bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
591 dc0: 484b ldr r0, =0x83ff00 ; via 0xef0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
592 dc2: 6800 ldr r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
593 dc4: 4992 ldr r1, =0x800100 ; via 0x1010
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
594 dc6: f000 f85e bl 0xe86
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
595 dca: b009 add sp, #36 ; 0x24
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
596 dcc: bd00 pop {pc}
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
597
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
598 dce: b500 push {lr}
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
599 dd0: b081 sub sp, #4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
600 dd2: 2066 mov r0, #102 ; 0x66
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
601 dd4: f000 f858 bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
602 dd8: 2074 mov r0, #116 ; 0x74
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
603 dda: f000 f855 bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
604 dde: 206d mov r0, #109 ; 0x6d
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
605 de0: f000 f852 bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
606 de4: 2074 mov r0, #116 ; 0x74
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
607 de6: f000 f84f bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
608 dea: 206f mov r0, #111 ; 0x6f
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
609 dec: f000 f84c bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
610 df0: 206f mov r0, #111 ; 0x6f
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
611 df2: f000 f849 bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
612 df6: 206c mov r0, #108 ; 0x6c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
613 df8: f000 f846 bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
614 dfc: 4985 ldr r1, =0x83ff80 ; via 0x1014
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
615 dfe: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
616 e00: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
617 e02: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
618 e04: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
619 e06: 0c00 lsr r0, r0, #16
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
620 e08: d105 bne 0xe16
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
621 e0a: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
622 e0c: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
623 e0e: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
624 e10: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
625 e12: 0c00 lsr r0, r0, #16
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
626 e14: d0f9 beq 0xe0a
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
627 e16: 2007 mov r0, #7
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
628 e18: 0400 lsl r0, r0, #16
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
629 e1a: f000 f84d bl 0xeb8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
630 e1e: 2879 cmp r0, #121 ; 0x79
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
631 e20: d10e bne 0xe40
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
632 e22: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
633 e24: 0300 lsl r0, r0, #12
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
634 e26: f000 f847 bl 0xeb8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
635 e2a: 2865 cmp r0, #101 ; 0x65
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
636 e2c: d108 bne 0xe40
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
637 e2e: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
638 e30: 0300 lsl r0, r0, #12
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
639 e32: f000 f841 bl 0xeb8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
640 e36: 2873 cmp r0, #115 ; 0x73
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
641 e38: d102 bne 0xe40
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
642 e3a: 4876 ldr r0, =0x83ff80 ; via 0x1014
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
643 e3c: 2101 mov r1, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
644 e3e: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
645 e40: f000 f8d2 bl 0xfe8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
646 e44: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
647 e46: d00d beq 0xe64
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
648 e48: 206d mov r0, #109 ; 0x6d
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
649 e4a: f000 f81d bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
650 e4e: 206f mov r0, #111 ; 0x6f
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
651 e50: f000 f81a bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
652 e54: 2064 mov r0, #100 ; 0x64
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
653 e56: f000 f817 bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
654 e5a: 2065 mov r0, #101 ; 0x65
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
655 e5c: f000 f814 bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
656 e60: 206d mov r0, #109 ; 0x6d
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
657 e62: e00c b 0xe7e
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
658 e64: 2065 mov r0, #101 ; 0x65
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
659 e66: f000 f80f bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
660 e6a: 2072 mov r0, #114 ; 0x72
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
661 e6c: f000 f80c bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
662 e70: 2072 mov r0, #114 ; 0x72
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
663 e72: f000 f809 bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
664 e76: 206f mov r0, #111 ; 0x6f
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
665 e78: f000 f806 bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
666 e7c: 2072 mov r0, #114 ; 0x72
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
667 e7e: f000 f803 bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
668 e82: b001 add sp, #4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
669 e84: bd00 pop {pc}
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
670
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
671 e86: 4708 bx r1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
672
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
673 e88: b081 sub sp, #4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
674 e8a: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
675 e8c: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
676 e8e: 4818 ldr r0, =0x83ff00 ; via 0xef0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
677 e90: 6800 ldr r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
678 e92: 7940 ldrb r0, [r0, #5]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
679 e94: 0980 lsr r0, r0, #6
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
680 e96: d3fa bcc 0xe8e
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
681 e98: 4815 ldr r0, =0x83ff00 ; via 0xef0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
682 e9a: 6800 ldr r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
683 e9c: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
684 e9e: 7809 ldrb r1, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
685 ea0: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
686 ea2: b001 add sp, #4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
687 ea4: 46f7 mov pc, lr
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
688 ea6: 4812 ldr r0, =0x83ff00 ; via 0xef0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
689 ea8: 6800 ldr r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
690 eaa: 7940 ldrb r0, [r0, #5]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
691 eac: 0840 lsr r0, r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
692 eae: d3fa bcc 0xea6
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
693 eb0: 480f ldr r0, =0x83ff00 ; via 0xef0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
694 eb2: 6800 ldr r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
695 eb4: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
696 eb6: 4770 bx lr
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
697 eb8: b083 sub sp, #12 ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
698 eba: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
699 ebc: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
700 ebe: 9002 str r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
701 ec0: 480b ldr r0, =0x83ff00 ; via 0xef0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
702 ec2: 6800 ldr r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
703 ec4: 7940 ldrb r0, [r0, #5]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
704 ec6: 0840 lsr r0, r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
705 ec8: d20c bcs 0xee4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
706 eca: 9802 ldr r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
707 ecc: 3801 sub r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
708 ece: 9002 str r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
709 ed0: 9802 ldr r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
710 ed2: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
711 ed4: d101 bne 0xeda
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
712 ed6: 20ff mov r0, #255 ; 0xff
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
713 ed8: e007 b 0xeea
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
714 eda: 484f ldr r0, =0x83ff00 ; via 0x1018
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
715 edc: 6800 ldr r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
716 ede: 7940 ldrb r0, [r0, #5]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
717 ee0: 0840 lsr r0, r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
718 ee2: d3f2 bcc 0xeca
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
719 ee4: 484c ldr r0, =0x83ff00 ; via 0x1018
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
720 ee6: 6800 ldr r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
721 ee8: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
722 eea: b003 add sp, #12 ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
723 eec: 4770 bx lr
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
724 eee: 46c0 nop (mov r8, r8)
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
725 ef0: ff00 <half-bl>
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
726 ef2: 0083 lsl r3, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
727 ef4: 5800 ldr r0, [r0, r0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
728 ef6: ffff <half-bl>
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
729 ef8: b081 sub sp, #4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
730 efa: e001 b 0xf00
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
731 efc: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
732 efe: 3801 sub r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
733 f00: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
734 f02: 4845 ldr r0, =0x83ff00 ; via 0x1018
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
735 f04: 6800 ldr r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
736 f06: 7940 ldrb r0, [r0, #5]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
737 f08: 0840 lsr r0, r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
738 f0a: d202 bcs 0xf12
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
739 f0c: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
740 f0e: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
741 f10: dcf4 bgt 0xefc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
742 f12: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
743 f14: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
744 f16: dd01 ble 0xf1c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
745 f18: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
746 f1a: e000 b 0xf1e
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
747 f1c: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
748 f1e: b001 add sp, #4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
749 f20: 4770 bx lr
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
750 f22: b082 sub sp, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
751 f24: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
752 f26: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
753 f28: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
754 f2a: 7188 strb r0, [r1, #6]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
755 f2c: 9900 ldr r1, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
756 f2e: 483b ldr r0, =0xfffef000 ; via 0x101c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
757 f30: 8800 ldrh r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
758 f32: 8008 strh r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
759 f34: b002 add sp, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
760 f36: 4770 bx lr
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
761 f38: 0100 lsl r0, r0, #4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
762 f3a: 0080 lsl r0, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
763 f3c: 2060 mov r0, #96 ; 0x60
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
764 f3e: 0000 lsl r0, r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
765 f40: dddd ble 0xefe
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
766 f42: dddd ble 0xf00
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
767 f44: b081 sub sp, #4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
768 f46: 466a mov r2, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
769 f48: 7051 strb r1, [r2, #1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
770 f4a: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
771 f4c: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
772 f4e: 4934 ldr r1, =0xffff6000 ; via 0x1020
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
773 f50: 2002 mov r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
774 f52: 880a ldrh r2, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
775 f54: 4310 orr r0, r2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
776 f56: 8008 strh r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
777 f58: 4831 ldr r0, =0xffff6000 ; via 0x1020
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
778 f5a: 8801 ldrh r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
779 f5c: 0849 lsr r1, r1, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
780 f5e: 0049 lsl r1, r1, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
781 f60: 8001 strh r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
782 f62: 492f ldr r1, =0xffff6000 ; via 0x1020
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
783 f64: 8808 ldrh r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
784 f66: 2202 mov r2, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
785 f68: 4390 bic r0, r2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
786 f6a: 8008 strh r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
787 f6c: 482a ldr r0, =0x83ff00 ; via 0x1018
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
788 f6e: 6801 ldr r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
789 f70: 2007 mov r0, #7
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
790 f72: 7208 strb r0, [r1, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
791 f74: 4828 ldr r0, =0x83ff00 ; via 0x1018
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
792 f76: 6801 ldr r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
793 f78: 20bf mov r0, #191 ; 0xbf
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
794 f7a: 70c8 strb r0, [r1, #3]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
795 f7c: 4826 ldr r0, =0x83ff00 ; via 0x1018
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
796 f7e: 6800 ldr r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
797 f80: 1c80 add r0, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
798 f82: 2110 mov r1, #16 ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
799 f84: 8802 ldrh r2, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
800 f86: 4311 orr r1, r2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
801 f88: 8001 strh r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
802 f8a: 4823 ldr r0, =0x83ff00 ; via 0x1018
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
803 f8c: 6801 ldr r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
804 f8e: 2080 mov r0, #128 ; 0x80
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
805 f90: 70c8 strb r0, [r1, #3]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
806 f92: 4821 ldr r0, =0x83ff00 ; via 0x1018
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
807 f94: 6800 ldr r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
808 f96: 2107 mov r1, #7
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
809 f98: 7081 strb r1, [r0, #2]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
810 f9a: 481f ldr r0, =0x83ff00 ; via 0x1018
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
811 f9c: 6800 ldr r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
812 f9e: 21bf mov r1, #191 ; 0xbf
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
813 fa0: 70c1 strb r1, [r0, #3]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
814 fa2: 481d ldr r0, =0x83ff00 ; via 0x1018
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
815 fa4: 6801 ldr r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
816 fa6: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
817 fa8: 7840 ldrb r0, [r0, #1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
818 faa: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
819 fac: 481a ldr r0, =0x83ff00 ; via 0x1018
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
820 fae: 6801 ldr r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
821 fb0: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
822 fb2: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
823 fb4: 7048 strb r0, [r1, #1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
824 fb6: 4818 ldr r0, =0x83ff00 ; via 0x1018
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
825 fb8: 6801 ldr r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
826 fba: 2003 mov r0, #3
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
827 fbc: 70c8 strb r0, [r1, #3]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
828 fbe: 4816 ldr r0, =0x83ff00 ; via 0x1018
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
829 fc0: 6800 ldr r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
830 fc2: 2100 mov r1, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
831 fc4: 7201 strb r1, [r0, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
832 fc6: 4814 ldr r0, =0x83ff00 ; via 0x1018
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
833 fc8: 6800 ldr r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
834 fca: 7940 ldrb r0, [r0, #5]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
835 fcc: 0840 lsr r0, r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
836 fce: d309 bcc 0xfe4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
837 fd0: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
838 fd2: 4811 ldr r0, =0x83ff00 ; via 0x1018
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
839 fd4: 6800 ldr r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
840 fd6: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
841 fd8: 7088 strb r0, [r1, #2]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
842 fda: 480f ldr r0, =0x83ff00 ; via 0x1018
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
843 fdc: 6800 ldr r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
844 fde: 7940 ldrb r0, [r0, #5]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
845 fe0: 0840 lsr r0, r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
846 fe2: d2f5 bcs 0xfd0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
847 fe4: b001 add sp, #4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
848 fe6: 4770 bx lr
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
849 fe8: 480a ldr r0, =0x83ff80 ; via 0x1014
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
850 fea: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
851 fec: 4770 bx lr
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
852 fee: b500 push {lr}
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
853 ff0: b081 sub sp, #4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
854 ff2: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
855 ff4: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
856 ff6: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
857 ff8: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
858 ffa: f7ff ff45 bl 0xe88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
859 ffe: b001 add sp, #4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
860 1000: bd00 pop {pc}
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
861 1002: b500 push {lr}
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
862 1004: f7ff ff4f bl 0xea6
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
863 1008: bd00 pop {pc}
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
864 100a: 46c0 nop (mov r8, r8)
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
865 100c: 3ce0 sub r4, #224 ; 0xe0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
866 100e: 0080 lsl r0, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
867 1010: 0100 lsl r0, r0, #4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
868 1012: 0080 lsl r0, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
869 1014: ff80 <half-bl>
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
870 1016: 0083 lsl r3, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
871 1018: ff00 <half-bl>
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
872 101a: 0083 lsl r3, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
873 101c: f000 fffe bl 0x201c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
874 1020: 6000 str r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
875 1022: ffff <half-bl>
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
876 1024: 4700 bx r0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
877 1026: 0000 lsl r0, r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
878 1028: b08c sub sp, #48 ; 0x30
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
879 102a: 9101 str r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
880 102c: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
881 102e: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
882 1030: 9003 str r0, [sp, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
883 1032: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
884 1034: 7801 ldrb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
885 1036: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
886 1038: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
887 103a: 9105 str r1, [sp, #20] ; 0x14
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
888 103c: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
889 103e: 7801 ldrb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
890 1040: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
891 1042: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
892 1044: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
893 1046: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
894 1048: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
895 104a: 9004 str r0, [sp, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
896 104c: e0a8 b 0x11a0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
897 104e: 9804 ldr r0, [sp, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
898 1050: 3002 add r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
899 1052: 9004 str r0, [sp, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
900 1054: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
901 1056: 7801 ldrb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
902 1058: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
903 105a: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
904 105c: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
905 105e: 8441 strh r1, [r0, #34] ; 0x22
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
906 1060: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
907 1062: 7801 ldrb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
908 1064: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
909 1066: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
910 1068: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
911 106a: 8401 strh r1, [r0, #32] ; 0x20
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
912 106c: 8c00 ldrh r0, [r0, #32] ; 0x20
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
913 106e: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
914 1070: 8c49 ldrh r1, [r1, #34] ; 0x22
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
915 1072: 0209 lsl r1, r1, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
916 1074: 1840 add r0, r0, r1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
917 1076: 9901 ldr r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
918 1078: 8088 strh r0, [r1, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
919 107a: 9804 ldr r0, [sp, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
920 107c: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
921 107e: 9004 str r0, [sp, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
922 1080: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
923 1082: 7801 ldrb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
924 1084: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
925 1086: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
926 1088: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
927 108a: 7601 strb r1, [r0, #24] ; 0x18
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
928 108c: 9901 ldr r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
929 108e: 7e00 ldrb r0, [r0, #24] ; 0x18
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
930 1090: 7188 strb r0, [r1, #6]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
931 1092: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
932 1094: 7e00 ldrb r0, [r0, #24] ; 0x18
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
933 1096: 2840 cmp r0, #64 ; 0x40
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
934 1098: dc00 bgt 0x109c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
935 109a: e09f b 0x11dc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
936 109c: 2004 mov r0, #4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
937 109e: 9003 str r0, [sp, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
938 10a0: e09c b 0x11dc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
939 10a2: 9804 ldr r0, [sp, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
940 10a4: 3002 add r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
941 10a6: 9004 str r0, [sp, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
942 10a8: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
943 10aa: 7801 ldrb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
944 10ac: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
945 10ae: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
946 10b0: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
947 10b2: 8441 strh r1, [r0, #34] ; 0x22
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
948 10b4: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
949 10b6: 7801 ldrb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
950 10b8: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
951 10ba: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
952 10bc: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
953 10be: 8401 strh r1, [r0, #32] ; 0x20
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
954 10c0: 8c00 ldrh r0, [r0, #32] ; 0x20
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
955 10c2: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
956 10c4: 8c49 ldrh r1, [r1, #34] ; 0x22
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
957 10c6: 0209 lsl r1, r1, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
958 10c8: 1841 add r1, r0, r1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
959 10ca: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
960 10cc: 8081 strh r1, [r0, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
961 10ce: 9804 ldr r0, [sp, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
962 10d0: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
963 10d2: 9004 str r0, [sp, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
964 10d4: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
965 10d6: 7801 ldrb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
966 10d8: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
967 10da: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
968 10dc: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
969 10de: 7601 strb r1, [r0, #24] ; 0x18
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
970 10e0: 9901 ldr r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
971 10e2: 7e00 ldrb r0, [r0, #24] ; 0x18
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
972 10e4: 7188 strb r0, [r1, #6]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
973 10e6: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
974 10e8: 7e00 ldrb r0, [r0, #24] ; 0x18
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
975 10ea: 2840 cmp r0, #64 ; 0x40
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
976 10ec: dcd6 bgt 0x109c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
977 10ee: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
978 10f0: 3008 add r0, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
979 10f2: 9007 str r0, [sp, #28] ; 0x1c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
980 10f4: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
981 10f6: 9002 str r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
982 10f8: 9902 ldr r1, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
983 10fa: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
984 10fc: 7e00 ldrb r0, [r0, #24] ; 0x18
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
985 10fe: 4281 cmp r1, r0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
986 1100: da6c bge 0x11dc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
987 1102: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
988 1104: 7801 ldrb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
989 1106: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
990 1108: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
991 110a: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
992 110c: 84c1 strh r1, [r0, #38] ; 0x26
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
993 110e: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
994 1110: 7801 ldrb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
995 1112: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
996 1114: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
997 1116: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
998 1118: 8481 strh r1, [r0, #36] ; 0x24
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
999 111a: 9807 ldr r0, [sp, #28] ; 0x1c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1000 111c: 1c81 add r1, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1001 111e: 9107 str r1, [sp, #28] ; 0x1c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1002 1120: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1003 1122: 8c89 ldrh r1, [r1, #36] ; 0x24
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1004 1124: 466a mov r2, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1005 1126: 8cd2 ldrh r2, [r2, #38] ; 0x26
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1006 1128: 0212 lsl r2, r2, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1007 112a: 1889 add r1, r1, r2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1008 112c: 8001 strh r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1009 112e: 9804 ldr r0, [sp, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1010 1130: 3002 add r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1011 1132: 9004 str r0, [sp, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1012 1134: 9802 ldr r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1013 1136: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1014 1138: 9002 str r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1015 113a: 9902 ldr r1, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1016 113c: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1017 113e: 7e00 ldrb r0, [r0, #24] ; 0x18
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1018 1140: 4281 cmp r1, r0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1019 1142: dbde blt 0x1102
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1020 1144: e04a b 0x11dc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1021 1146: 9804 ldr r0, [sp, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1022 1148: 3002 add r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1023 114a: 9004 str r0, [sp, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1024 114c: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1025 114e: 7801 ldrb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1026 1150: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1027 1152: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1028 1154: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1029 1156: 8501 strh r1, [r0, #40] ; 0x28
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1030 1158: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1031 115a: 7801 ldrb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1032 115c: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1033 115e: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1034 1160: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1035 1162: 8541 strh r1, [r0, #42] ; 0x2a
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1036 1164: 8d41 ldrh r1, [r0, #42] ; 0x2a
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1037 1166: 8d00 ldrh r0, [r0, #40] ; 0x28
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1038 1168: 0200 lsl r0, r0, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1039 116a: 1809 add r1, r1, r0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1040 116c: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1041 116e: 8081 strh r1, [r0, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1042 1170: 9804 ldr r0, [sp, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1043 1172: 3002 add r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1044 1174: 9004 str r0, [sp, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1045 1176: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1046 1178: 7801 ldrb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1047 117a: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1048 117c: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1049 117e: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1050 1180: 8581 strh r1, [r0, #44] ; 0x2c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1051 1182: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1052 1184: 7801 ldrb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1053 1186: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1054 1188: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1055 118a: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1056 118c: 85c1 strh r1, [r0, #46] ; 0x2e
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1057 118e: 8dc1 ldrh r1, [r0, #46] ; 0x2e
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1058 1190: 8d80 ldrh r0, [r0, #44] ; 0x2c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1059 1192: 0200 lsl r0, r0, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1060 1194: 1808 add r0, r1, r0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1061 1196: 9901 ldr r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1062 1198: 80c8 strh r0, [r1, #6]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1063 119a: e01f b 0x11dc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1064 119c: 2008 mov r0, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1065 119e: e77e b 0x109e
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1066 11a0: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1067 11a2: 7801 ldrb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1068 11a4: 290a cmp r1, #10 ; 0xa
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1069 11a6: d8f9 bhi 0x119c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1070 11a8: a001 add r0, pc, #4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1071 11aa: 0089 lsl r1, r1, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1072 11ac: 5840 ldr r0, [r0, r1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1073 11ae: 4687 mov pc, r0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1074 11b0: 11dc asr r4, r3, #7
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1075 11b2: 0000 lsl r0, r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1076 11b4: 11dc asr r4, r3, #7
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1077 11b6: 0000 lsl r0, r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1078 11b8: 11dc asr r4, r3, #7
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1079 11ba: 0000 lsl r0, r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1080 11bc: 11dc asr r4, r3, #7
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1081 11be: 0000 lsl r0, r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1082 11c0: 11dc asr r4, r3, #7
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1083 11c2: 0000 lsl r0, r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1084 11c4: 11dc asr r4, r3, #7
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1085 11c6: 0000 lsl r0, r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1086 11c8: 11dc asr r4, r3, #7
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1087 11ca: 0000 lsl r0, r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1088 11cc: 104e asr r6, r1, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1089 11ce: 0000 lsl r0, r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1090 11d0: 10a2 asr r2, r4, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1091 11d2: 0000 lsl r0, r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1092 11d4: 11dc asr r4, r3, #7
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1093 11d6: 0000 lsl r0, r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1094 11d8: 1146 asr r6, r0, #5
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1095 11da: 0000 lsl r0, r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1096 11dc: 9905 ldr r1, [sp, #20] ; 0x14
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1097 11de: 9804 ldr r0, [sp, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1098 11e0: 4281 cmp r1, r0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1099 11e2: d001 beq 0x11e8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1100 11e4: 2004 mov r0, #4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1101 11e6: 9003 str r0, [sp, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1102 11e8: 9803 ldr r0, [sp, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1103 11ea: b00c add sp, #48 ; 0x30
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1104 11ec: 4770 bx lr
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1105 11ee: b089 sub sp, #36 ; 0x24
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1106 11f0: 9101 str r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1107 11f2: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1108 11f4: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1109 11f6: 9003 str r0, [sp, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1110 11f8: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1111 11fa: 1c41 add r1, r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1112 11fc: 9101 str r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1113 11fe: 9005 str r0, [sp, #20] ; 0x14
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1114 1200: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1115 1202: 1c41 add r1, r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1116 1204: 9101 str r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1117 1206: 9900 ldr r1, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1118 1208: 7809 ldrb r1, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1119 120a: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1120 120c: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1121 120e: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1122 1210: 7408 strb r0, [r1, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1123 1212: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1124 1214: 1c41 add r1, r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1125 1216: 9101 str r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1126 1218: 9900 ldr r1, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1127 121a: 7849 ldrb r1, [r1, #1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1128 121c: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1129 121e: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1130 1220: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1131 1222: 7c00 ldrb r0, [r0, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1132 1224: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1133 1226: 7408 strb r0, [r1, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1134 1228: e0e4 b 0x13f4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1135 122a: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1136 122c: 7840 ldrb r0, [r0, #1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1137 122e: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1138 1230: d000 beq 0x1234
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1139 1232: e0fd b 0x1430
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1140 1234: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1141 1236: 1c41 add r1, r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1142 1238: 9101 str r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1143 123a: 9900 ldr r1, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1144 123c: 7909 ldrb r1, [r1, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1145 123e: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1146 1240: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1147 1242: 1c41 add r1, r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1148 1244: 9101 str r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1149 1246: 9900 ldr r1, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1150 1248: 7949 ldrb r1, [r1, #5]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1151 124a: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1152 124c: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1153 124e: 1c41 add r1, r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1154 1250: 9101 str r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1155 1252: 9900 ldr r1, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1156 1254: 7989 ldrb r1, [r1, #6]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1157 1256: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1158 1258: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1159 125a: 7c00 ldrb r0, [r0, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1160 125c: 3003 add r0, #3
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1161 125e: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1162 1260: 7408 strb r0, [r1, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1163 1262: e0e5 b 0x1430
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1164 1264: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1165 1266: 7840 ldrb r0, [r0, #1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1166 1268: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1167 126a: d000 beq 0x126e
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1168 126c: e0e0 b 0x1430
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1169 126e: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1170 1270: 1c41 add r1, r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1171 1272: 9101 str r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1172 1274: 9900 ldr r1, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1173 1276: 7909 ldrb r1, [r1, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1174 1278: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1175 127a: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1176 127c: 7c00 ldrb r0, [r0, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1177 127e: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1178 1280: e7ed b 0x125e
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1179 1282: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1180 1284: 7840 ldrb r0, [r0, #1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1181 1286: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1182 1288: d000 beq 0x128c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1183 128a: e0d1 b 0x1430
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1184 128c: e7ef b 0x126e
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1185 128e: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1186 1290: 7840 ldrb r0, [r0, #1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1187 1292: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1188 1294: d000 beq 0x1298
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1189 1296: e0cb b 0x1430
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1190 1298: e7e9 b 0x126e
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1191 129a: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1192 129c: 7840 ldrb r0, [r0, #1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1193 129e: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1194 12a0: d000 beq 0x12a4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1195 12a2: e0c5 b 0x1430
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1196 12a4: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1197 12a6: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1198 12a8: 8880 ldrh r0, [r0, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1199 12aa: 8408 strh r0, [r1, #32] ; 0x20
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1200 12ac: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1201 12ae: 1c41 add r1, r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1202 12b0: 9101 str r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1203 12b2: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1204 12b4: 8c09 ldrh r1, [r1, #32] ; 0x20
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1205 12b6: 0409 lsl r1, r1, #16
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1206 12b8: 0e09 lsr r1, r1, #24
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1207 12ba: 0209 lsl r1, r1, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1208 12bc: 1209 asr r1, r1, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1209 12be: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1210 12c0: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1211 12c2: 1c41 add r1, r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1212 12c4: 9101 str r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1213 12c6: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1214 12c8: 8c09 ldrh r1, [r1, #32] ; 0x20
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1215 12ca: 0609 lsl r1, r1, #24
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1216 12cc: 0e09 lsr r1, r1, #24
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1217 12ce: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1218 12d0: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1219 12d2: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1220 12d4: 88c0 ldrh r0, [r0, #6]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1221 12d6: 8408 strh r0, [r1, #32] ; 0x20
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1222 12d8: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1223 12da: 1c41 add r1, r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1224 12dc: 9101 str r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1225 12de: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1226 12e0: 8c09 ldrh r1, [r1, #32] ; 0x20
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1227 12e2: 0409 lsl r1, r1, #16
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1228 12e4: 0e09 lsr r1, r1, #24
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1229 12e6: 0209 lsl r1, r1, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1230 12e8: 1209 asr r1, r1, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1231 12ea: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1232 12ec: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1233 12ee: 1c41 add r1, r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1234 12f0: 9101 str r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1235 12f2: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1236 12f4: 8c09 ldrh r1, [r1, #32] ; 0x20
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1237 12f6: 0609 lsl r1, r1, #24
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1238 12f8: 0e09 lsr r1, r1, #24
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1239 12fa: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1240 12fc: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1241 12fe: 7c00 ldrb r0, [r0, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1242 1300: 3004 add r0, #4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1243 1302: e7ac b 0x125e
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1244 1304: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1245 1306: 7840 ldrb r0, [r0, #1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1246 1308: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1247 130a: d000 beq 0x130e
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1248 130c: e090 b 0x1430
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1249 130e: e7ae b 0x126e
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1250 1310: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1251 1312: 7840 ldrb r0, [r0, #1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1252 1314: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1253 1316: d000 beq 0x131a
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1254 1318: e08a b 0x1430
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1255 131a: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1256 131c: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1257 131e: 7c00 ldrb r0, [r0, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1258 1320: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1259 1322: 7408 strb r0, [r1, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1260 1324: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1261 1326: 9900 ldr r1, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1262 1328: 7909 ldrb r1, [r1, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1263 132a: 7601 strb r1, [r0, #24] ; 0x18
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1264 132c: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1265 132e: 1c41 add r1, r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1266 1330: 9101 str r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1267 1332: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1268 1334: 7e09 ldrb r1, [r1, #24] ; 0x18
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1269 1336: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1270 1338: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1271 133a: 7e00 ldrb r0, [r0, #24] ; 0x18
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1272 133c: 2840 cmp r0, #64 ; 0x40
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1273 133e: dd01 ble 0x1344
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1274 1340: 2004 mov r0, #4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1275 1342: e055 b 0x13f0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1276 1344: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1277 1346: 3006 add r0, #6
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1278 1348: 9007 str r0, [sp, #28] ; 0x1c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1279 134a: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1280 134c: 9002 str r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1281 134e: 9902 ldr r1, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1282 1350: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1283 1352: 7e00 ldrb r0, [r0, #24] ; 0x18
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1284 1354: 4281 cmp r1, r0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1285 1356: da6b bge 0x1430
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1286 1358: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1287 135a: 1c41 add r1, r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1288 135c: 9101 str r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1289 135e: 9907 ldr r1, [sp, #28] ; 0x1c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1290 1360: 8809 ldrh r1, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1291 1362: 0409 lsl r1, r1, #16
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1292 1364: 0e09 lsr r1, r1, #24
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1293 1366: 0209 lsl r1, r1, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1294 1368: 1209 asr r1, r1, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1295 136a: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1296 136c: 9807 ldr r0, [sp, #28] ; 0x1c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1297 136e: 8801 ldrh r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1298 1370: 3002 add r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1299 1372: 9007 str r0, [sp, #28] ; 0x1c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1300 1374: 0608 lsl r0, r1, #24
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1301 1376: 0e01 lsr r1, r0, #24
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1302 1378: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1303 137a: 1c42 add r2, r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1304 137c: 9201 str r2, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1305 137e: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1306 1380: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1307 1382: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1308 1384: 7c00 ldrb r0, [r0, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1309 1386: 3002 add r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1310 1388: 7408 strb r0, [r1, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1311 138a: 9802 ldr r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1312 138c: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1313 138e: 9002 str r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1314 1390: 9902 ldr r1, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1315 1392: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1316 1394: 7e00 ldrb r0, [r0, #24] ; 0x18
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1317 1396: 4281 cmp r1, r0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1318 1398: dbde blt 0x1358
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1319 139a: e049 b 0x1430
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1320 139c: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1321 139e: 7840 ldrb r0, [r0, #1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1322 13a0: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1323 13a2: d145 bne 0x1430
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1324 13a4: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1325 13a6: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1326 13a8: 8880 ldrh r0, [r0, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1327 13aa: 8408 strh r0, [r1, #32] ; 0x20
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1328 13ac: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1329 13ae: 1c41 add r1, r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1330 13b0: 9101 str r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1331 13b2: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1332 13b4: 8c09 ldrh r1, [r1, #32] ; 0x20
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1333 13b6: 0409 lsl r1, r1, #16
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1334 13b8: 0e09 lsr r1, r1, #24
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1335 13ba: 0209 lsl r1, r1, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1336 13bc: 1209 asr r1, r1, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1337 13be: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1338 13c0: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1339 13c2: 1c41 add r1, r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1340 13c4: 9101 str r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1341 13c6: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1342 13c8: 8c09 ldrh r1, [r1, #32] ; 0x20
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1343 13ca: 0609 lsl r1, r1, #24
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1344 13cc: 0e09 lsr r1, r1, #24
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1345 13ce: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1346 13d0: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1347 13d2: 9900 ldr r1, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1348 13d4: 88c9 ldrh r1, [r1, #6]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1349 13d6: 8401 strh r1, [r0, #32] ; 0x20
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1350 13d8: 9901 ldr r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1351 13da: 1c48 add r0, r1, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1352 13dc: 9001 str r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1353 13de: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1354 13e0: 8c00 ldrh r0, [r0, #32] ; 0x20
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1355 13e2: 0400 lsl r0, r0, #16
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1356 13e4: 0e00 lsr r0, r0, #24
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1357 13e6: 0200 lsl r0, r0, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1358 13e8: 1200 asr r0, r0, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1359 13ea: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1360 13ec: e77e b 0x12ec
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1361 13ee: 2008 mov r0, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1362 13f0: 9003 str r0, [sp, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1363 13f2: e01d b 0x1430
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1364 13f4: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1365 13f6: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1366 13f8: 280a cmp r0, #10 ; 0xa
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1367 13fa: d8f8 bhi 0x13ee
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1368 13fc: a101 add r1, pc, #4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1369 13fe: 0080 lsl r0, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1370 1400: 5808 ldr r0, [r1, r0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1371 1402: 4687 mov pc, r0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1372 1404: 122a asr r2, r5, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1373 1406: 0000 lsl r0, r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1374 1408: 1264 asr r4, r4, #9
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1375 140a: 0000 lsl r0, r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1376 140c: 1282 asr r2, r0, #10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1377 140e: 0000 lsl r0, r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1378 1410: 128e asr r6, r1, #10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1379 1412: 0000 lsl r0, r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1380 1414: 1430 asr r0, r6, #16
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1381 1416: 0000 lsl r0, r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1382 1418: 129a asr r2, r3, #10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1383 141a: 0000 lsl r0, r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1384 141c: 1304 asr r4, r0, #12
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1385 141e: 0000 lsl r0, r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1386 1420: 1310 asr r0, r2, #12
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1387 1422: 0000 lsl r0, r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1388 1424: 1430 asr r0, r6, #16
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1389 1426: 0000 lsl r0, r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1390 1428: 139c asr r4, r3, #14
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1391 142a: 0000 lsl r0, r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1392 142c: 1430 asr r0, r6, #16
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1393 142e: 0000 lsl r0, r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1394 1430: 9805 ldr r0, [sp, #20] ; 0x14
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1395 1432: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1396 1434: 7c09 ldrb r1, [r1, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1397 1436: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1398 1438: 9803 ldr r0, [sp, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1399 143a: b009 add sp, #36 ; 0x24
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1400 143c: 4770 bx lr
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1401 143e: 0000 lsl r0, r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1402 1440: b500 push {lr}
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1403 1442: b083 sub sp, #12 ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1404 1444: 9101 str r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1405 1446: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1406 1448: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1407 144a: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1408 144c: 9002 str r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1409 144e: e073 b 0x1538
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1410 1450: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1411 1452: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1412 1454: 28aa cmp r0, #170 ; 0xaa
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1413 1456: d106 bne 0x1466
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1414 1458: 4965 ldr r1, =0x83ff10 ; via 0x15f0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1415 145a: 4865 ldr r0, =0x83ff10 ; via 0x15f0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1416 145c: 6800 ldr r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1417 145e: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1418 1460: 07c0 lsl r0, r0, #31
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1419 1462: 0fc0 lsr r0, r0, #31
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1420 1464: e013 b 0x148e
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1421 1466: 4862 ldr r0, =0x83ff10 ; via 0x15f0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1422 1468: 6800 ldr r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1423 146a: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1424 146c: d06b beq 0x1546
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1425 146e: 4961 ldr r1, =0x83ff04 ; via 0x15f4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1426 1470: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1427 1472: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1428 1474: 6008 str r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1429 1476: 4960 ldr r1, =0x83ff0e ; via 0x15f8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1430 1478: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1431 147a: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1432 147c: 495f ldr r1, =0x83ff0c ; via 0x15fc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1433 147e: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1434 1480: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1435 1482: 8008 strh r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1436 1484: 495a ldr r1, =0x83ff10 ; via 0x15f0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1437 1486: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1438 1488: 6008 str r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1439 148a: 495d ldr r1, =0x83ff08 ; via 0x1600
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1440 148c: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1441 148e: 6008 str r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1442 1490: e059 b 0x1546
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1443 1492: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1444 1494: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1445 1496: 28aa cmp r0, #170 ; 0xaa
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1446 1498: d113 bne 0x14c2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1447 149a: 4855 ldr r0, =0x83ff10 ; via 0x15f0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1448 149c: 6800 ldr r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1449 149e: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1450 14a0: d00b beq 0x14ba
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1451 14a2: 4954 ldr r1, =0x83ff04 ; via 0x15f4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1452 14a4: 6808 ldr r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1453 14a6: 1c42 add r2, r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1454 14a8: 600a str r2, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1455 14aa: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1456 14ac: 7809 ldrb r1, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1457 14ae: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1458 14b0: 4951 ldr r1, =0x83ff0e ; via 0x15f8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1459 14b2: 7808 ldrb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1460 14b4: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1461 14b6: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1462 14b8: e013 b 0x14e2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1463 14ba: 2101 mov r1, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1464 14bc: 484c ldr r0, =0x83ff10 ; via 0x15f0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1465 14be: 6001 str r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1466 14c0: e01c b 0x14fc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1467 14c2: 484b ldr r0, =0x83ff10 ; via 0x15f0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1468 14c4: 6800 ldr r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1469 14c6: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1470 14c8: d00d beq 0x14e6
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1471 14ca: 494a ldr r1, =0x83ff04 ; via 0x15f4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1472 14cc: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1473 14ce: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1474 14d0: 6008 str r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1475 14d2: 4849 ldr r0, =0x83ff0e ; via 0x15f8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1476 14d4: 2100 mov r1, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1477 14d6: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1478 14d8: 4948 ldr r1, =0x83ff0c ; via 0x15fc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1479 14da: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1480 14dc: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1481 14de: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1482 14e0: 8008 strh r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1483 14e2: 2100 mov r1, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1484 14e4: e7ea b 0x14bc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1485 14e6: 4843 ldr r0, =0x83ff04 ; via 0x15f4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1486 14e8: 6801 ldr r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1487 14ea: 1c4a add r2, r1, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1488 14ec: 6002 str r2, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1489 14ee: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1490 14f0: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1491 14f2: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1492 14f4: 4940 ldr r1, =0x83ff0e ; via 0x15f8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1493 14f6: 7808 ldrb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1494 14f8: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1495 14fa: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1496 14fc: 483f ldr r0, =0x83ff0c ; via 0x15fc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1497 14fe: 8801 ldrh r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1498 1500: 3901 sub r1, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1499 1502: 8001 strh r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1500 1504: 483d ldr r0, =0x83ff0c ; via 0x15fc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1501 1506: 8800 ldrh r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1502 1508: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1503 150a: d11c bne 0x1546
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1504 150c: 9901 ldr r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1505 150e: 483a ldr r0, =0x83ff0e ; via 0x15f8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1506 1510: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1507 1512: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1508 1514: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1509 1516: 9002 str r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1510 1518: 4839 ldr r0, =0x83ff08 ; via 0x1600
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1511 151a: 2100 mov r1, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1512 151c: 6001 str r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1513 151e: 4834 ldr r0, =0x83ff10 ; via 0x15f0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1514 1520: 6001 str r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1515 1522: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1516 1524: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1517 1526: 2801 cmp r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1518 1528: d10d bne 0x1546
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1519 152a: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1520 152c: 7840 ldrb r0, [r0, #1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1521 152e: 28dd cmp r0, #221 ; 0xdd
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1522 1530: d109 bne 0x1546
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1523 1532: f7ff faf7 bl 0xb24
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1524 1536: e006 b 0x1546
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1525 1538: 4831 ldr r0, =0x83ff08 ; via 0x1600
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1526 153a: 6800 ldr r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1527 153c: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1528 153e: d087 beq 0x1450
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1529 1540: 3801 sub r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1530 1542: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1531 1544: d0a5 beq 0x1492
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1532 1546: 9802 ldr r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1533 1548: b003 add sp, #12 ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1534 154a: bd00 pop {pc}
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1535 154c: b086 sub sp, #24 ; 0x18
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1536 154e: 9202 str r2, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1537 1550: 9101 str r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1538 1552: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1539 1554: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1540 1556: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1541 1558: 9004 str r0, [sp, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1542 155a: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1543 155c: 1c41 add r1, r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1544 155e: 9100 str r1, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1545 1560: 9005 str r0, [sp, #20] ; 0x14
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1546 1562: 9901 ldr r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1547 1564: 20aa mov r0, #170 ; 0xaa
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1548 1566: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1549 1568: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1550 156a: 3002 add r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1551 156c: 9001 str r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1552 156e: 9902 ldr r1, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1553 1570: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1554 1572: 8008 strh r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1555 1574: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1556 1576: 8188 strh r0, [r1, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1557 1578: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1558 157a: 8981 ldrh r1, [r0, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1559 157c: 9805 ldr r0, [sp, #20] ; 0x14
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1560 157e: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1561 1580: 4281 cmp r1, r0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1562 1582: da23 bge 0x15cc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1563 1584: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1564 1586: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1565 1588: 28aa cmp r0, #170 ; 0xaa
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1566 158a: d108 bne 0x159e
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1567 158c: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1568 158e: 1c41 add r1, r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1569 1590: 9101 str r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1570 1592: 21aa mov r1, #170 ; 0xaa
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1571 1594: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1572 1596: 9902 ldr r1, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1573 1598: 8808 ldrh r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1574 159a: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1575 159c: 8008 strh r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1576 159e: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1577 15a0: 7801 ldrb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1578 15a2: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1579 15a4: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1580 15a6: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1581 15a8: 1c42 add r2, r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1582 15aa: 9201 str r2, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1583 15ac: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1584 15ae: 9902 ldr r1, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1585 15b0: 8808 ldrh r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1586 15b2: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1587 15b4: 8008 strh r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1588 15b6: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1589 15b8: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1590 15ba: 8980 ldrh r0, [r0, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1591 15bc: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1592 15be: 8188 strh r0, [r1, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1593 15c0: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1594 15c2: 8980 ldrh r0, [r0, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1595 15c4: 9905 ldr r1, [sp, #20] ; 0x14
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1596 15c6: 7809 ldrb r1, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1597 15c8: 4288 cmp r0, r1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1598 15ca: dbdb blt 0x1584
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1599 15cc: 9904 ldr r1, [sp, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1600 15ce: 9802 ldr r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1601 15d0: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1602 15d2: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1603 15d4: 9902 ldr r1, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1604 15d6: 8808 ldrh r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1605 15d8: 3002 add r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1606 15da: 8008 strh r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1607 15dc: b006 add sp, #24 ; 0x18
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1608 15de: 4770 bx lr
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1609 15e0: 4907 ldr r1, =0x83ff08 ; via 0x1600
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1610 15e2: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1611 15e4: 6008 str r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1612 15e6: 4802 ldr r0, =0x83ff10 ; via 0x15f0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1613 15e8: 2100 mov r1, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1614 15ea: 6001 str r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1615 15ec: 4770 bx lr
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1616 15ee: 46c0 nop (mov r8, r8)
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1617 15f0: ff10 <half-bl>
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1618 15f2: 0083 lsl r3, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1619 15f4: ff04 <half-bl>
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1620 15f6: 0083 lsl r3, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1621 15f8: ff0e <half-bl>
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1622 15fa: 0083 lsl r3, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1623 15fc: ff0c <half-bl>
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1624 15fe: 0083 lsl r3, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1625 1600: ff08 <half-bl>
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1626 1602: 0083 lsl r3, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1627 1604: b082 sub sp, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1628 1606: 9101 str r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1629 1608: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1630 160a: 9901 ldr r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1631 160c: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1632 160e: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1633 1610: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1634 1612: 2100 mov r1, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1635 1614: 7041 strb r1, [r0, #1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1636 1616: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1637 1618: 2102 mov r1, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1638 161a: 7101 strb r1, [r0, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1639 161c: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1640 161e: 2106 mov r1, #6
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1641 1620: 7141 strb r1, [r0, #5]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1642 1622: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1643 1624: 2102 mov r1, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1644 1626: 7181 strb r1, [r0, #6]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1645 1628: b002 add sp, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1646 162a: 4770 bx lr
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1647 162c: b500 push {lr}
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1648 162e: b084 sub sp, #16 ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1649 1630: 466b mov r3, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1650 1632: 721a strb r2, [r3, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1651 1634: 9101 str r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1652 1636: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1653 1638: 9901 ldr r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1654 163a: 2009 mov r0, #9
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1655 163c: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1656 163e: e015 b 0x166c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1657 1640: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1658 1642: 2100 mov r1, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1659 1644: 7041 strb r1, [r0, #1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1660 1646: 9901 ldr r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1661 1648: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1662 164a: 8940 ldrh r0, [r0, #10] ; 0xa
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1663 164c: 8088 strh r0, [r1, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1664 164e: 9901 ldr r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1665 1650: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1666 1652: 8980 ldrh r0, [r0, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1667 1654: 80c8 strh r0, [r1, #6]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1668 1656: e01e b 0x1696
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1669 1658: 2101 mov r1, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1670 165a: e004 b 0x1666
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1671 165c: 2103 mov r1, #3
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1672 165e: e002 b 0x1666
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1673 1660: 2105 mov r1, #5
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1674 1662: e000 b 0x1666
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1675 1664: 2106 mov r1, #6
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1676 1666: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1677 1668: 7041 strb r1, [r0, #1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1678 166a: e014 b 0x1696
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1679 166c: 200a mov r0, #10 ; 0xa
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1680 166e: 4468 add r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1681 1670: a903 add r1, sp, #12 ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1682 1672: 466a mov r2, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1683 1674: 7a12 ldrb r2, [r2, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1684 1676: f000 fb71 bl 0x1d5c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1685 167a: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1686 167c: d0e0 beq 0x1640
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1687 167e: 3801 sub r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1688 1680: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1689 1682: d0e9 beq 0x1658
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1690 1684: 3801 sub r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1691 1686: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1692 1688: d0e8 beq 0x165c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1693 168a: 3801 sub r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1694 168c: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1695 168e: d0e7 beq 0x1660
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1696 1690: 3801 sub r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1697 1692: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1698 1694: d0e6 beq 0x1664
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1699 1696: b004 add sp, #16 ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1700 1698: bd00 pop {pc}
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1701 169a: b084 sub sp, #16 ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1702 169c: 9101 str r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1703 169e: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1704 16a0: 9901 ldr r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1705 16a2: 200a mov r0, #10 ; 0xa
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1706 16a4: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1707 16a6: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1708 16a8: 2100 mov r1, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1709 16aa: 7041 strb r1, [r0, #1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1710 16ac: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1711 16ae: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1712 16b0: 8880 ldrh r0, [r0, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1713 16b2: 8108 strh r0, [r1, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1714 16b4: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1715 16b6: 88c0 ldrh r0, [r0, #6]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1716 16b8: 8148 strh r0, [r1, #10] ; 0xa
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1717 16ba: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1718 16bc: 8941 ldrh r1, [r0, #10] ; 0xa
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1719 16be: 8900 ldrh r0, [r0, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1720 16c0: 0400 lsl r0, r0, #16
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1721 16c2: 1808 add r0, r1, r0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1722 16c4: 9003 str r0, [sp, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1723 16c6: 9803 ldr r0, [sp, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1724 16c8: b004 add sp, #16 ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1725 16ca: 4770 bx lr
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1726 16cc: b085 sub sp, #20 ; 0x14
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1727 16ce: 9303 str r3, [sp, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1728 16d0: 9202 str r2, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1729 16d2: 9101 str r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1730 16d4: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1731 16d6: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1732 16d8: 48ea ldr r0, =0x83ff19 ; via 0x1a84
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1733 16da: 7809 ldrb r1, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1734 16dc: 7802 ldrb r2, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1735 16de: 1889 add r1, r1, r2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1736 16e0: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1737 16e2: 48e9 ldr r0, =0x83ff1a ; via 0x1a88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1738 16e4: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1739 16e6: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1740 16e8: d00e beq 0x1708
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1741 16ea: 48e8 ldr r0, =0x83ff26 ; via 0x1a8c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1742 16ec: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1743 16ee: 780a ldrb r2, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1744 16f0: 8801 ldrh r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1745 16f2: 1851 add r1, r2, r1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1746 16f4: 8001 strh r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1747 16f6: 9903 ldr r1, [sp, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1748 16f8: 48e4 ldr r0, =0x83ff26 ; via 0x1a8c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1749 16fa: 8800 ldrh r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1750 16fc: 8008 strh r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1751 16fe: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1752 1700: 2100 mov r1, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1753 1702: 6001 str r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1754 1704: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1755 1706: e009 b 0x171c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1756 1708: 9902 ldr r1, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1757 170a: 6808 ldr r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1758 170c: 3002 add r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1759 170e: 6008 str r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1760 1710: 49de ldr r1, =0x83ff26 ; via 0x1a8c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1761 1712: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1762 1714: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1763 1716: 0200 lsl r0, r0, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1764 1718: 8008 strh r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1765 171a: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1766 171c: 9004 str r0, [sp, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1767 171e: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1768 1720: 49d9 ldr r1, =0x83ff1a ; via 0x1a88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1769 1722: 7809 ldrb r1, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1770 1724: 4388 bic r0, r1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1771 1726: 49d8 ldr r1, =0x83ff1a ; via 0x1a88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1772 1728: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1773 172a: 48d9 ldr r0, =0x83ff24 ; via 0x1a90
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1774 172c: 7801 ldrb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1775 172e: 3901 sub r1, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1776 1730: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1777 1732: 48d7 ldr r0, =0x83ff24 ; via 0x1a90
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1778 1734: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1779 1736: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1780 1738: d102 bne 0x1740
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1781 173a: 48d6 ldr r0, =0x83ff20 ; via 0x1a94
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1782 173c: 2106 mov r1, #6
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1783 173e: 6001 str r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1784 1740: 9804 ldr r0, [sp, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1785 1742: b005 add sp, #20 ; 0x14
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1786 1744: 46f7 mov pc, lr
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1787 1746: b083 sub sp, #12 ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1788 1748: 9101 str r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1789 174a: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1790 174c: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1791 174e: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1792 1750: 9002 str r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1793 1752: 48d1 ldr r0, =0x83ff1b ; via 0x1a98
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1794 1754: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1795 1756: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1796 1758: d10a bne 0x1770
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1797 175a: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1798 175c: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1799 175e: 2853 cmp r0, #83 ; 0x53
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1800 1760: d102 bne 0x1768
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1801 1762: 48cd ldr r0, =0x83ff1b ; via 0x1a98
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1802 1764: 2101 mov r1, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1803 1766: e01a b 0x179e
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1804 1768: 2101 mov r1, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1805 176a: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1806 176c: 6001 str r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1807 176e: e03b b 0x17e8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1808 1770: 49c9 ldr r1, =0x83ff1b ; via 0x1a98
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1809 1772: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1810 1774: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1811 1776: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1812 1778: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1813 177a: 2830 cmp r0, #48 ; 0x30
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1814 177c: d111 bne 0x17a2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1815 177e: 48c7 ldr r0, =0x83ff18 ; via 0x1a9c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1816 1780: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1817 1782: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1818 1784: d006 beq 0x1794
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1819 1786: 9901 ldr r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1820 1788: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1821 178a: 6008 str r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1822 178c: 49c3 ldr r1, =0x83ff18 ; via 0x1a9c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1823 178e: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1824 1790: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1825 1792: e02a b 0x17ea
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1826 1794: 48bf ldr r0, =0x83ff20 ; via 0x1a94
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1827 1796: 2102 mov r1, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1828 1798: 6001 str r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1829 179a: 48ef ldr r0, =0x83ff1c ; via 0x1b58
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1830 179c: 2100 mov r1, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1831 179e: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1832 17a0: e024 b 0x17ec
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1833 17a2: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1834 17a4: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1835 17a6: 2833 cmp r0, #51 ; 0x33
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1836 17a8: d105 bne 0x17b6
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1837 17aa: 48bc ldr r0, =0x83ff18 ; via 0x1a9c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1838 17ac: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1839 17ae: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1840 17b0: d0da beq 0x1768
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1841 17b2: 2004 mov r0, #4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1842 17b4: e00c b 0x17d0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1843 17b6: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1844 17b8: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1845 17ba: 2837 cmp r0, #55 ; 0x37
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1846 17bc: d10e bne 0x17dc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1847 17be: 48b7 ldr r0, =0x83ff18 ; via 0x1a9c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1848 17c0: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1849 17c2: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1850 17c4: d103 bne 0x17ce
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1851 17c6: 9901 ldr r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1852 17c8: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1853 17ca: 6008 str r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1854 17cc: e00c b 0x17e8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1855 17ce: 2003 mov r0, #3
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1856 17d0: 49b0 ldr r1, =0x83ff20 ; via 0x1a94
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1857 17d2: 6008 str r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1858 17d4: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1859 17d6: 49e0 ldr r1, =0x83ff1c ; via 0x1b58
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1860 17d8: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1861 17da: e007 b 0x17ec
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1862 17dc: 9901 ldr r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1863 17de: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1864 17e0: 6008 str r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1865 17e2: 48ae ldr r0, =0x83ff18 ; via 0x1a9c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1866 17e4: 2100 mov r1, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1867 17e6: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1868 17e8: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1869 17ea: 9002 str r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1870 17ec: 9802 ldr r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1871 17ee: b003 add sp, #12 ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1872 17f0: 46f7 mov pc, lr
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1873 17f2: b083 sub sp, #12 ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1874 17f4: 9101 str r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1875 17f6: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1876 17f8: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1877 17fa: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1878 17fc: 9002 str r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1879 17fe: 49d7 ldr r1, =0x830 ; via 0x1b5c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1880 1800: 48d5 ldr r0, =0x83ff1c ; via 0x1b58
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1881 1802: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1882 1804: 0080 lsl r0, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1883 1806: 5808 ldr r0, [r1, r0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1884 1808: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1885 180a: 7809 ldrb r1, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1886 180c: 4281 cmp r1, r0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1887 180e: d10d bne 0x182c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1888 1810: 49d1 ldr r1, =0x83ff1c ; via 0x1b58
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1889 1812: 7808 ldrb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1890 1814: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1891 1816: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1892 1818: 48cf ldr r0, =0x83ff1c ; via 0x1b58
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1893 181a: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1894 181c: 2807 cmp r0, #7
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1895 181e: d10d bne 0x183c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1896 1820: 489c ldr r0, =0x83ff20 ; via 0x1a94
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1897 1822: 2101 mov r1, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1898 1824: 6001 str r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1899 1826: 489d ldr r0, =0x83ff18 ; via 0x1a9c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1900 1828: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1901 182a: e007 b 0x183c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1902 182c: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1903 182e: 2101 mov r1, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1904 1830: 6001 str r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1905 1832: 4998 ldr r1, =0x83ff20 ; via 0x1a94
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1906 1834: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1907 1836: 6008 str r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1908 1838: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1909 183a: 9002 str r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1910 183c: 9802 ldr r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1911 183e: b003 add sp, #12 ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1912 1840: 46f7 mov pc, lr
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1913 1842: b083 sub sp, #12 ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1914 1844: 9101 str r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1915 1846: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1916 1848: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1917 184a: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1918 184c: 9002 str r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1919 184e: 49c4 ldr r1, =0x84c ; via 0x1b60
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1920 1850: 48c1 ldr r0, =0x83ff1c ; via 0x1b58
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1921 1852: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1922 1854: 0080 lsl r0, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1923 1856: 5808 ldr r0, [r1, r0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1924 1858: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1925 185a: 7809 ldrb r1, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1926 185c: 4281 cmp r1, r0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1927 185e: d112 bne 0x1886
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1928 1860: 49bd ldr r1, =0x83ff1c ; via 0x1b58
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1929 1862: 7808 ldrb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1930 1864: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1931 1866: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1932 1868: 48bb ldr r0, =0x83ff1c ; via 0x1b58
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1933 186a: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1934 186c: 2806 cmp r0, #6
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1935 186e: d114 bne 0x189a
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1936 1870: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1937 1872: 2102 mov r1, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1938 1874: 6001 str r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1939 1876: 4887 ldr r0, =0x83ff20 ; via 0x1a94
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1940 1878: 2101 mov r1, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1941 187a: 6001 str r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1942 187c: 4887 ldr r0, =0x83ff18 ; via 0x1a9c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1943 187e: 2100 mov r1, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1944 1880: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1945 1882: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1946 1884: e008 b 0x1898
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1947 1886: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1948 1888: 2101 mov r1, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1949 188a: 6001 str r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1950 188c: 4981 ldr r1, =0x83ff20 ; via 0x1a94
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1951 188e: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1952 1890: 6008 str r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1953 1892: 4982 ldr r1, =0x83ff18 ; via 0x1a9c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1954 1894: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1955 1896: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1956 1898: 9002 str r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1957 189a: 9802 ldr r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1958 189c: b003 add sp, #12 ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1959 189e: 46f7 mov pc, lr
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1960 18a0: b081 sub sp, #4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1961 18a2: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1962 18a4: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1963 18a6: 497a ldr r1, =0x83ff24 ; via 0x1a90
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1964 18a8: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1965 18aa: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1966 18ac: 3801 sub r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1967 18ae: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1968 18b0: 4874 ldr r0, =0x83ff19 ; via 0x1a84
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1969 18b2: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1970 18b4: 7809 ldrb r1, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1971 18b6: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1972 18b8: 48a7 ldr r0, =0x83ff1c ; via 0x1b58
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1973 18ba: 2100 mov r1, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1974 18bc: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1975 18be: 48e3 ldr r0, =0x83ff14 ; via 0x1c4c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1976 18c0: 6001 str r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1977 18c2: 4874 ldr r0, =0x83ff20 ; via 0x1a94
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1978 18c4: 2105 mov r1, #5
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1979 18c6: 6001 str r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1980 18c8: b001 add sp, #4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1981 18ca: 46f7 mov pc, lr
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1982 18cc: b084 sub sp, #16 ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1983 18ce: 9202 str r2, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1984 18d0: 9101 str r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1985 18d2: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1986 18d4: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1987 18d6: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1988 18d8: 9003 str r0, [sp, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1989 18da: 496d ldr r1, =0x83ff24 ; via 0x1a90
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1990 18dc: 7808 ldrb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1991 18de: 3801 sub r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1992 18e0: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1993 18e2: 486b ldr r0, =0x83ff24 ; via 0x1a90
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1994 18e4: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1995 18e6: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1996 18e8: d026 beq 0x1938
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1997 18ea: 4866 ldr r0, =0x83ff19 ; via 0x1a84
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1998 18ec: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1999 18ee: 780a ldrb r2, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2000 18f0: 7801 ldrb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2001 18f2: 1851 add r1, r2, r1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2002 18f4: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2003 18f6: 4998 ldr r1, =0x83ff1c ; via 0x1b58
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2004 18f8: 7808 ldrb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2005 18fa: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2006 18fc: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2007 18fe: 49d3 ldr r1, =0x83ff14 ; via 0x1c4c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2008 1900: 2204 mov r2, #4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2009 1902: 4895 ldr r0, =0x83ff1c ; via 0x1b58
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2010 1904: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2011 1906: 1a10 sub r0, r2, r0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2012 1908: 00c2 lsl r2, r0, #3
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2013 190a: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2014 190c: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2015 190e: 4090 lsl r0, r2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2016 1910: 680a ldr r2, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2017 1912: 1880 add r0, r0, r2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2018 1914: 6008 str r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2019 1916: 4890 ldr r0, =0x83ff1c ; via 0x1b58
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2020 1918: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2021 191a: 2804 cmp r0, #4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2022 191c: d117 bne 0x194e
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2023 191e: 9902 ldr r1, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2024 1920: 48ca ldr r0, =0x83ff14 ; via 0x1c4c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2025 1922: 6800 ldr r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2026 1924: 3802 sub r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2027 1926: 6008 str r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2028 1928: 485a ldr r0, =0x83ff20 ; via 0x1a94
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2029 192a: 2100 mov r1, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2030 192c: 6001 str r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2031 192e: 4856 ldr r0, =0x83ff1a ; via 0x1a88
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2032 1930: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2033 1932: 4889 ldr r0, =0x83ff1c ; via 0x1b58
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2034 1934: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2035 1936: e00a b 0x194e
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2036 1938: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2037 193a: 2101 mov r1, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2038 193c: 6001 str r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2039 193e: 4955 ldr r1, =0x83ff20 ; via 0x1a94
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2040 1940: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2041 1942: 6008 str r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2042 1944: 4855 ldr r0, =0x83ff18 ; via 0x1a9c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2043 1946: 2100 mov r1, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2044 1948: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2045 194a: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2046 194c: 9003 str r0, [sp, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2047 194e: 9803 ldr r0, [sp, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2048 1950: b004 add sp, #16 ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2049 1952: 46f7 mov pc, lr
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2050 1954: b083 sub sp, #12 ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2051 1956: 9101 str r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2052 1958: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2053 195a: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2054 195c: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2055 195e: 9002 str r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2056 1960: 494c ldr r1, =0x83ff20 ; via 0x1a94
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2057 1962: 6008 str r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2058 1964: 20ff mov r0, #255 ; 0xff
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2059 1966: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2060 1968: 7809 ldrb r1, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2061 196a: 4388 bic r0, r1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2062 196c: 4945 ldr r1, =0x83ff19 ; via 0x1a84
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2063 196e: 7809 ldrb r1, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2064 1970: 4281 cmp r1, r0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2065 1972: d007 beq 0x1984
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2066 1974: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2067 1976: 2101 mov r1, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2068 1978: 6001 str r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2069 197a: 4848 ldr r0, =0x83ff18 ; via 0x1a9c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2070 197c: 2100 mov r1, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2071 197e: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2072 1980: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2073 1982: 9002 str r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2074 1984: 9802 ldr r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2075 1986: b003 add sp, #12 ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2076 1988: 46f7 mov pc, lr
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2077 198a: b085 sub sp, #20 ; 0x14
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2078 198c: 466b mov r3, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2079 198e: 719a strb r2, [r3, #6]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2080 1990: 466a mov r2, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2081 1992: 8091 strh r1, [r2, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2082 1994: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2083 1996: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2084 1998: 9002 str r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2085 199a: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2086 199c: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2087 199e: 8880 ldrh r0, [r0, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2088 19a0: 8208 strh r0, [r1, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2089 19a2: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2090 19a4: 8a00 ldrh r0, [r0, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2091 19a6: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2092 19a8: d01e beq 0x19e8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2093 19aa: 49e3 ldr r1, =0x864 ; via 0x1d38
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2094 19ac: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2095 19ae: 7980 ldrb r0, [r0, #6]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2096 19b0: 0080 lsl r0, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2097 19b2: 5808 ldr r0, [r1, r0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2098 19b4: 7941 ldrb r1, [r0, #5]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2099 19b6: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2100 19b8: 7301 strb r1, [r0, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2101 19ba: 7b00 ldrb r0, [r0, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2102 19bc: 0980 lsr r0, r0, #6
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2103 19be: d3f4 bcc 0x19aa
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2104 19c0: 49dd ldr r1, =0x864 ; via 0x1d38
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2105 19c2: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2106 19c4: 7980 ldrb r0, [r0, #6]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2107 19c6: 0080 lsl r0, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2108 19c8: 5809 ldr r1, [r1, r0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2109 19ca: 9802 ldr r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2110 19cc: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2111 19ce: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2112 19d0: 9802 ldr r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2113 19d2: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2114 19d4: 9002 str r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2115 19d6: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2116 19d8: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2117 19da: 8a00 ldrh r0, [r0, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2118 19dc: 3801 sub r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2119 19de: 8208 strh r0, [r1, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2120 19e0: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2121 19e2: 8a00 ldrh r0, [r0, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2122 19e4: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2123 19e6: d1e0 bne 0x19aa
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2124 19e8: b005 add sp, #20 ; 0x14
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2125 19ea: 46f7 mov pc, lr
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2126 19ec: b082 sub sp, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2127 19ee: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2128 19f0: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2129 19f2: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2130 19f4: 8088 strh r0, [r1, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2131 19f6: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2132 19f8: 8881 ldrh r1, [r0, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2133 19fa: 20ff mov r0, #255 ; 0xff
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2134 19fc: 30f5 add r0, #245 ; 0xf5
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2135 19fe: 4281 cmp r1, r0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2136 1a00: da21 bge 0x1a46
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2137 1a02: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2138 1a04: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2139 1a06: 8880 ldrh r0, [r0, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2140 1a08: 3001 add r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2141 1a0a: 8088 strh r0, [r1, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2142 1a0c: 48ca ldr r0, =0x864 ; via 0x1d38
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2143 1a0e: 7809 ldrb r1, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2144 1a10: 0089 lsl r1, r1, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2145 1a12: 5840 ldr r0, [r0, r1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2146 1a14: 7940 ldrb r0, [r0, #5]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2147 1a16: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2148 1a18: 7048 strb r0, [r1, #1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2149 1a1a: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2150 1a1c: 7840 ldrb r0, [r0, #1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2151 1a1e: 0840 lsr r0, r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2152 1a20: d30b bcc 0x1a3a
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2153 1a22: 49c5 ldr r1, =0x864 ; via 0x1d38
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2154 1a24: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2155 1a26: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2156 1a28: 0080 lsl r0, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2157 1a2a: 5808 ldr r0, [r1, r0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2158 1a2c: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2159 1a2e: 0600 lsl r0, r0, #24
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2160 1a30: 0e00 lsr r0, r0, #24
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2161 1a32: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2162 1a34: 7088 strb r0, [r1, #2]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2163 1a36: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2164 1a38: 8088 strh r0, [r1, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2165 1a3a: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2166 1a3c: 8881 ldrh r1, [r0, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2167 1a3e: 20ff mov r0, #255 ; 0xff
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2168 1a40: 30f5 add r0, #245 ; 0xf5
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2169 1a42: 4281 cmp r1, r0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2170 1a44: dbdd blt 0x1a02
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2171 1a46: b002 add sp, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2172 1a48: 4770 bx lr
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2173 1a4a: b500 push {lr}
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2174 1a4c: b08c sub sp, #48 ; 0x30
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2175 1a4e: 466a mov r2, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2176 1a50: 7111 strb r1, [r2, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2177 1a52: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2178 1a54: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2179 1a56: 9002 str r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2180 1a58: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2181 1a5a: a904 add r1, sp, #16 ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2182 1a5c: aa03 add r2, sp, #12 ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2183 1a5e: f7ff fd75 bl 0x154c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2184 1a62: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2185 1a64: 8980 ldrh r0, [r0, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2186 1a66: 2820 cmp r0, #32 ; 0x20
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2187 1a68: dd02 ble 0x1a70
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2188 1a6a: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2189 1a6c: 9002 str r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2190 1a6e: e006 b 0x1a7e
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2191 1a70: a804 add r0, sp, #16 ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2192 1a72: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2193 1a74: 8989 ldrh r1, [r1, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2194 1a76: 466a mov r2, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2195 1a78: 7912 ldrb r2, [r2, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2196 1a7a: f7ff ff86 bl 0x198a
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2197 1a7e: 9802 ldr r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2198 1a80: b00c add sp, #48 ; 0x30
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2199 1a82: bd00 pop {pc}
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2200 1a84: ff19 <half-bl>
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2201 1a86: 0083 lsl r3, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2202 1a88: ff1a <half-bl>
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2203 1a8a: 0083 lsl r3, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2204 1a8c: ff26 <half-bl>
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2205 1a8e: 0083 lsl r3, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2206 1a90: ff24 <half-bl>
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2207 1a92: 0083 lsl r3, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2208 1a94: ff20 <half-bl>
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2209 1a96: 0083 lsl r3, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2210 1a98: ff1b <half-bl>
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2211 1a9a: 0083 lsl r3, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2212 1a9c: ff18 <half-bl>
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2213 1a9e: 0083 lsl r3, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2214 1aa0: b500 push {lr}
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2215 1aa2: b084 sub sp, #16 ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2216 1aa4: 9101 str r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2217 1aa6: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2218 1aa8: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2219 1aaa: 20ff mov r0, #255 ; 0xff
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2220 1aac: 7308 strb r0, [r1, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2221 1aae: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2222 1ab0: 9002 str r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2223 1ab2: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2224 1ab4: 48a1 ldr r0, =0xffff5805 ; via 0x1d3c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2225 1ab6: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2226 1ab8: 7348 strb r0, [r1, #13] ; 0xd
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2227 1aba: 48a1 ldr r0, =0xffff5005 ; via 0x1d40
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2228 1abc: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2229 1abe: 7388 strb r0, [r1, #14] ; 0xe
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2230 1ac0: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2231 1ac2: 7b40 ldrb r0, [r0, #13] ; 0xd
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2232 1ac4: 0840 lsr r0, r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2233 1ac6: d206 bcs 0x1ad6
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2234 1ac8: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2235 1aca: 7b80 ldrb r0, [r0, #14] ; 0xe
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2236 1acc: 0840 lsr r0, r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2237 1ace: d202 bcs 0x1ad6
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2238 1ad0: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2239 1ad2: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2240 1ad4: d0ed beq 0x1ab2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2241 1ad6: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2242 1ad8: 7b40 ldrb r0, [r0, #13] ; 0xd
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2243 1ada: 0840 lsr r0, r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2244 1adc: d316 bcc 0x1b0c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2245 1ade: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2246 1ae0: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2247 1ae2: 7308 strb r0, [r1, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2248 1ae4: 4994 ldr r1, =0x864 ; via 0x1d38
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2249 1ae6: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2250 1ae8: 7b00 ldrb r0, [r0, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2251 1aea: 0080 lsl r0, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2252 1aec: 5808 ldr r0, [r1, r0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2253 1aee: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2254 1af0: 0600 lsl r0, r0, #24
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2255 1af2: 0e00 lsr r0, r0, #24
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2256 1af4: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2257 1af6: 73c8 strb r0, [r1, #15] ; 0xf
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2258 1af8: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2259 1afa: 7bc0 ldrb r0, [r0, #15] ; 0xf
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2260 1afc: 9900 ldr r1, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2261 1afe: f7ff fc9f bl 0x1440
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2262 1b02: 9002 str r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2263 1b04: 9802 ldr r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2264 1b06: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2265 1b08: d11c bne 0x1b44
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2266 1b0a: e018 b 0x1b3e
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2267 1b0c: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2268 1b0e: 7b80 ldrb r0, [r0, #14] ; 0xe
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2269 1b10: 0840 lsr r0, r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2270 1b12: d317 bcc 0x1b44
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2271 1b14: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2272 1b16: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2273 1b18: 7308 strb r0, [r1, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2274 1b1a: 4987 ldr r1, =0x864 ; via 0x1d38
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2275 1b1c: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2276 1b1e: 7b00 ldrb r0, [r0, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2277 1b20: 0080 lsl r0, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2278 1b22: 5808 ldr r0, [r1, r0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2279 1b24: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2280 1b26: 0600 lsl r0, r0, #24
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2281 1b28: 0e01 lsr r1, r0, #24
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2282 1b2a: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2283 1b2c: 73c1 strb r1, [r0, #15] ; 0xf
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2284 1b2e: 7bc0 ldrb r0, [r0, #15] ; 0xf
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2285 1b30: 9900 ldr r1, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2286 1b32: f7ff fc85 bl 0x1440
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2287 1b36: 9002 str r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2288 1b38: 9802 ldr r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2289 1b3a: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2290 1b3c: d102 bne 0x1b44
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2291 1b3e: 20ff mov r0, #255 ; 0xff
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2292 1b40: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2293 1b42: 7308 strb r0, [r1, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2294 1b44: 9802 ldr r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2295 1b46: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2296 1b48: d102 bne 0x1b50
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2297 1b4a: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2298 1b4c: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2299 1b4e: d0b0 beq 0x1ab2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2300 1b50: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2301 1b52: 7b00 ldrb r0, [r0, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2302 1b54: b004 add sp, #16 ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2303 1b56: bd00 pop {pc}
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2304 1b58: ff1c <half-bl>
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2305 1b5a: 0083 lsl r3, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2306 1b5c: 0830 lsr r0, r6, #32
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2307 1b5e: 0000 lsl r0, r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2308 1b60: 084c lsr r4, r1, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2309 1b62: 0000 lsl r0, r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2310 1b64: b500 push {lr}
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2311 1b66: b086 sub sp, #24 ; 0x18
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2312 1b68: 466b mov r3, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2313 1b6a: 721a strb r2, [r3, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2314 1b6c: 9101 str r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2315 1b6e: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2316 1b70: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2317 1b72: 9004 str r0, [sp, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2318 1b74: 9804 ldr r0, [sp, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2319 1b76: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2320 1b78: d05b beq 0x1c32
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2321 1b7a: 496f ldr r1, =0x864 ; via 0x1d38
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2322 1b7c: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2323 1b7e: 7a00 ldrb r0, [r0, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2324 1b80: 0080 lsl r0, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2325 1b82: 5808 ldr r0, [r1, r0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2326 1b84: 7941 ldrb r1, [r0, #5]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2327 1b86: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2328 1b88: 7301 strb r1, [r0, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2329 1b8a: 7b00 ldrb r0, [r0, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2330 1b8c: 0840 lsr r0, r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2331 1b8e: d3f4 bcc 0x1b7a
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2332 1b90: 4969 ldr r1, =0x864 ; via 0x1d38
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2333 1b92: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2334 1b94: 7a00 ldrb r0, [r0, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2335 1b96: 0080 lsl r0, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2336 1b98: 5808 ldr r0, [r1, r0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2337 1b9a: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2338 1b9c: 0600 lsl r0, r0, #24
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2339 1b9e: 0e01 lsr r1, r0, #24
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2340 1ba0: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2341 1ba2: 7341 strb r1, [r0, #13] ; 0xd
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2342 1ba4: e02c b 0x1c00
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2343 1ba6: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2344 1ba8: 7b40 ldrb r0, [r0, #13] ; 0xd
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2345 1baa: a905 add r1, sp, #20 ; 0x14
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2346 1bac: 9a00 ldr r2, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2347 1bae: 9b01 ldr r3, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2348 1bb0: f7ff fd8c bl 0x16cc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2349 1bb4: 9004 str r0, [sp, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2350 1bb6: e039 b 0x1c2c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2351 1bb8: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2352 1bba: 7b40 ldrb r0, [r0, #13] ; 0xd
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2353 1bbc: a905 add r1, sp, #20 ; 0x14
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2354 1bbe: f7ff fdc2 bl 0x1746
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2355 1bc2: e7f7 b 0x1bb4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2356 1bc4: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2357 1bc6: 7b40 ldrb r0, [r0, #13] ; 0xd
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2358 1bc8: a905 add r1, sp, #20 ; 0x14
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2359 1bca: f7ff fe12 bl 0x17f2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2360 1bce: e7f1 b 0x1bb4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2361 1bd0: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2362 1bd2: 7b40 ldrb r0, [r0, #13] ; 0xd
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2363 1bd4: a905 add r1, sp, #20 ; 0x14
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2364 1bd6: f7ff fe34 bl 0x1842
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2365 1bda: e7eb b 0x1bb4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2366 1bdc: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2367 1bde: 7b40 ldrb r0, [r0, #13] ; 0xd
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2368 1be0: f7ff fe5e bl 0x18a0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2369 1be4: e022 b 0x1c2c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2370 1be6: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2371 1be8: 7b40 ldrb r0, [r0, #13] ; 0xd
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2372 1bea: a905 add r1, sp, #20 ; 0x14
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2373 1bec: 9a00 ldr r2, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2374 1bee: f7ff fe6d bl 0x18cc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2375 1bf2: e7df b 0x1bb4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2376 1bf4: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2377 1bf6: 7b40 ldrb r0, [r0, #13] ; 0xd
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2378 1bf8: a905 add r1, sp, #20 ; 0x14
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2379 1bfa: f7ff feab bl 0x1954
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2380 1bfe: e7d9 b 0x1bb4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2381 1c00: 4850 ldr r0, =0x83ff20 ; via 0x1d44
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2382 1c02: 6800 ldr r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2383 1c04: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2384 1c06: d0ce beq 0x1ba6
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2385 1c08: 3801 sub r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2386 1c0a: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2387 1c0c: d0d4 beq 0x1bb8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2388 1c0e: 3801 sub r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2389 1c10: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2390 1c12: d0d7 beq 0x1bc4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2391 1c14: 3801 sub r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2392 1c16: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2393 1c18: d0da beq 0x1bd0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2394 1c1a: 3801 sub r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2395 1c1c: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2396 1c1e: d0dd beq 0x1bdc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2397 1c20: 3801 sub r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2398 1c22: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2399 1c24: d0df beq 0x1be6
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2400 1c26: 3801 sub r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2401 1c28: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2402 1c2a: d0e3 beq 0x1bf4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2403 1c2c: 9804 ldr r0, [sp, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2404 1c2e: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2405 1c30: d1a3 bne 0x1b7a
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2406 1c32: 9805 ldr r0, [sp, #20] ; 0x14
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2407 1c34: b006 add sp, #24 ; 0x18
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2408 1c36: bd00 pop {pc}
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2409 1c38: 4942 ldr r1, =0x83ff20 ; via 0x1d44
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2410 1c3a: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2411 1c3c: 6008 str r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2412 1c3e: 4842 ldr r0, =0x83ff1b ; via 0x1d48
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2413 1c40: 2100 mov r1, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2414 1c42: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2415 1c44: 4841 ldr r0, =0x83ff18 ; via 0x1d4c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2416 1c46: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2417 1c48: 4770 bx lr
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2418 1c4a: 46c0 nop (mov r8, r8)
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2419 1c4c: ff14 <half-bl>
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2420 1c4e: 0083 lsl r3, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2421 1c50: b081 sub sp, #4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2422 1c52: 483f ldr r0, =0xffff5800 ; via 0x1d50
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2423 1c54: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2424 1c56: 493f ldr r1, =0xffff6000 ; via 0x1d54
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2425 1c58: 2002 mov r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2426 1c5a: 880a ldrh r2, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2427 1c5c: 4310 orr r0, r2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2428 1c5e: 8008 strh r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2429 1c60: 483c ldr r0, =0xffff6000 ; via 0x1d54
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2430 1c62: 8801 ldrh r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2431 1c64: 0849 lsr r1, r1, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2432 1c66: 0049 lsl r1, r1, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2433 1c68: 8001 strh r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2434 1c6a: 493a ldr r1, =0xffff6000 ; via 0x1d54
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2435 1c6c: 8808 ldrh r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2436 1c6e: 2202 mov r2, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2437 1c70: 4390 bic r0, r2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2438 1c72: 8008 strh r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2439 1c74: 9900 ldr r1, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2440 1c76: 2007 mov r0, #7
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2441 1c78: 7208 strb r0, [r1, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2442 1c7a: 9900 ldr r1, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2443 1c7c: 20bf mov r0, #191 ; 0xbf
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2444 1c7e: 70c8 strb r0, [r1, #3]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2445 1c80: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2446 1c82: 1c81 add r1, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2447 1c84: 2010 mov r0, #16 ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2448 1c86: 880a ldrh r2, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2449 1c88: 4310 orr r0, r2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2450 1c8a: 8008 strh r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2451 1c8c: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2452 1c8e: 2180 mov r1, #128 ; 0x80
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2453 1c90: 70c1 strb r1, [r0, #3]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2454 1c92: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2455 1c94: 2107 mov r1, #7
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2456 1c96: 7081 strb r1, [r0, #2]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2457 1c98: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2458 1c9a: 21bf mov r1, #191 ; 0xbf
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2459 1c9c: 70c1 strb r1, [r0, #3]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2460 1c9e: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2461 1ca0: 2107 mov r1, #7
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2462 1ca2: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2463 1ca4: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2464 1ca6: 2100 mov r1, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2465 1ca8: 7041 strb r1, [r0, #1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2466 1caa: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2467 1cac: 2103 mov r1, #3
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2468 1cae: 70c1 strb r1, [r0, #3]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2469 1cb0: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2470 1cb2: 2100 mov r1, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2471 1cb4: 7201 strb r1, [r0, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2472 1cb6: 4828 ldr r0, =0xffff5000 ; via 0x1d58
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2473 1cb8: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2474 1cba: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2475 1cbc: 2107 mov r1, #7
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2476 1cbe: 7201 strb r1, [r0, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2477 1cc0: 9900 ldr r1, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2478 1cc2: 20bf mov r0, #191 ; 0xbf
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2479 1cc4: 70c8 strb r0, [r1, #3]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2480 1cc6: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2481 1cc8: 1c80 add r0, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2482 1cca: 2110 mov r1, #16 ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2483 1ccc: 8802 ldrh r2, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2484 1cce: 4311 orr r1, r2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2485 1cd0: 8001 strh r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2486 1cd2: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2487 1cd4: 2180 mov r1, #128 ; 0x80
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2488 1cd6: 70c1 strb r1, [r0, #3]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2489 1cd8: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2490 1cda: 2107 mov r1, #7
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2491 1cdc: 7081 strb r1, [r0, #2]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2492 1cde: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2493 1ce0: 21bf mov r1, #191 ; 0xbf
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2494 1ce2: 70c1 strb r1, [r0, #3]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2495 1ce4: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2496 1ce6: 2107 mov r1, #7
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2497 1ce8: 7001 strb r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2498 1cea: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2499 1cec: 2100 mov r1, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2500 1cee: 7041 strb r1, [r0, #1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2501 1cf0: 9900 ldr r1, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2502 1cf2: 2003 mov r0, #3
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2503 1cf4: 70c8 strb r0, [r1, #3]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2504 1cf6: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2505 1cf8: 2100 mov r1, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2506 1cfa: 7201 strb r1, [r0, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2507 1cfc: b001 add sp, #4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2508 1cfe: 4770 bx lr
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2509 1d00: b081 sub sp, #4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2510 1d02: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2511 1d04: 7008 strb r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2512 1d06: 490c ldr r1, =0x864 ; via 0x1d38
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2513 1d08: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2514 1d0a: 7800 ldrb r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2515 1d0c: 0080 lsl r0, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2516 1d0e: 5808 ldr r0, [r1, r0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2517 1d10: 7941 ldrb r1, [r0, #5]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2518 1d12: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2519 1d14: 7041 strb r1, [r0, #1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2520 1d16: 7840 ldrb r0, [r0, #1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2521 1d18: 09c0 lsr r0, r0, #7
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2522 1d1a: d20b bcs 0x1d34
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2523 1d1c: 4806 ldr r0, =0x864 ; via 0x1d38
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2524 1d1e: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2525 1d20: 7809 ldrb r1, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2526 1d22: 0089 lsl r1, r1, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2527 1d24: 5840 ldr r0, [r0, r1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2528 1d26: 7940 ldrb r0, [r0, #5]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2529 1d28: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2530 1d2a: 7048 strb r0, [r1, #1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2531 1d2c: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2532 1d2e: 7840 ldrb r0, [r0, #1]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2533 1d30: 09c0 lsr r0, r0, #7
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2534 1d32: d3f3 bcc 0x1d1c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2535 1d34: b001 add sp, #4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2536 1d36: 4770 bx lr
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2537 1d38: 0864 lsr r4, r4, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2538 1d3a: 0000 lsl r0, r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2539 1d3c: 5805 ldr r5, [r0, r0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2540 1d3e: ffff <half-bl>
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2541 1d40: 5005 str r5, [r0, r0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2542 1d42: ffff <half-bl>
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2543 1d44: ff20 <half-bl>
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2544 1d46: 0083 lsl r3, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2545 1d48: ff1b <half-bl>
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2546 1d4a: 0083 lsl r3, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2547 1d4c: ff18 <half-bl>
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2548 1d4e: 0083 lsl r3, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2549 1d50: 5800 ldr r0, [r0, r0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2550 1d52: ffff <half-bl>
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2551 1d54: 6000 str r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2552 1d56: ffff <half-bl>
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2553 1d58: 5000 str r0, [r0, r0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2554 1d5a: ffff <half-bl>
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2555 1d5c: b500 push {lr}
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2556 1d5e: b087 sub sp, #28 ; 0x1c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2557 1d60: 466b mov r3, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2558 1d62: 721a strb r2, [r3, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2559 1d64: 9101 str r1, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2560 1d66: 9000 str r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2561 1d68: 9900 ldr r1, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2562 1d6a: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2563 1d6c: 8008 strh r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2564 1d6e: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2565 1d70: 2100 mov r1, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2566 1d72: 8001 strh r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2567 1d74: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2568 1d76: 9003 str r0, [sp, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2569 1d78: f7ff ff5e bl 0x1c38
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2570 1d7c: a805 add r0, sp, #20 ; 0x14
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2571 1d7e: a906 add r1, sp, #24 ; 0x18
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2572 1d80: 466a mov r2, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2573 1d82: 7a12 ldrb r2, [r2, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2574 1d84: f7ff feee bl 0x1b64
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2575 1d88: 9004 str r0, [sp, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2576 1d8a: 9804 ldr r0, [sp, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2577 1d8c: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2578 1d8e: d11f bne 0x1dd0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2579 1d90: 9803 ldr r0, [sp, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2580 1d92: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2581 1d94: d11c bne 0x1dd0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2582 1d96: 9800 ldr r0, [sp, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2583 1d98: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2584 1d9a: 8b0a ldrh r2, [r1, #24] ; 0x18
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2585 1d9c: 8801 ldrh r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2586 1d9e: 1851 add r1, r2, r1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2587 1da0: 8001 strh r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2588 1da2: 9905 ldr r1, [sp, #20] ; 0x14
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2589 1da4: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2590 1da6: 8b00 ldrh r0, [r0, #24] ; 0x18
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2591 1da8: 8008 strh r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2592 1daa: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2593 1dac: 9905 ldr r1, [sp, #20] ; 0x14
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2594 1dae: 8809 ldrh r1, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2595 1db0: 8802 ldrh r2, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2596 1db2: 1889 add r1, r1, r2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2597 1db4: 8001 strh r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2598 1db6: a805 add r0, sp, #20 ; 0x14
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2599 1db8: a906 add r1, sp, #24 ; 0x18
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2600 1dba: 466a mov r2, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2601 1dbc: 7a12 ldrb r2, [r2, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2602 1dbe: f7ff fed1 bl 0x1b64
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2603 1dc2: 9004 str r0, [sp, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2604 1dc4: 9804 ldr r0, [sp, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2605 1dc6: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2606 1dc8: d102 bne 0x1dd0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2607 1dca: 9803 ldr r0, [sp, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2608 1dcc: 2800 cmp r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2609 1dce: d0e2 beq 0x1d96
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2610 1dd0: 9804 ldr r0, [sp, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2611 1dd2: 2801 cmp r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2612 1dd4: d101 bne 0x1dda
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2613 1dd6: 2004 mov r0, #4
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2614 1dd8: 9003 str r0, [sp, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2615 1dda: 9803 ldr r0, [sp, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2616 1ddc: b007 add sp, #28 ; 0x1c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2617 1dde: bd00 pop {pc}
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2618 1de0: b089 sub sp, #36 ; 0x24
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2619 1de2: 201a mov r0, #26 ; 0x1a
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2620 1de4: 9005 str r0, [sp, #20] ; 0x14
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2621 1de6: 2018 mov r0, #24 ; 0x18
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2622 1de8: 9006 str r0, [sp, #24] ; 0x18
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2623 1dea: 2000 mov r0, #0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2624 1dec: 9008 str r0, [sp, #32] ; 0x20
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2625 1dee: 4669 mov r1, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2626 1df0: 9805 ldr r0, [sp, #20] ; 0x14
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2627 1df2: 8800 ldrh r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2628 1df4: 8008 strh r0, [r1, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2629 1df6: 9806 ldr r0, [sp, #24] ; 0x18
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2630 1df8: 8800 ldrh r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2631 1dfa: 8048 strh r0, [r1, #2]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2632 1dfc: 4668 mov r0, sp
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2633 1dfe: 8841 ldrh r1, [r0, #2]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2634 1e00: 8800 ldrh r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2635 1e02: 0400 lsl r0, r0, #16
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2636 1e04: 1808 add r0, r1, r0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2637 1e06: 9001 str r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2638 1e08: 9801 ldr r0, [sp, #4]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2639 1e0a: 0200 lsl r0, r0, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2640 1e0c: 0a00 lsr r0, r0, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2641 1e0e: 0080 lsl r0, r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2642 1e10: 3008 add r0, #8
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2643 1e12: 9007 str r0, [sp, #28] ; 0x1c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2644 1e14: 9807 ldr r0, [sp, #28] ; 0x1c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2645 1e16: 3018 add r0, #24 ; 0x18
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2646 1e18: 9002 str r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2647 1e1a: 9802 ldr r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2648 1e1c: 9004 str r0, [sp, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2649 1e1e: 9802 ldr r0, [sp, #8]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2650 1e20: 3002 add r0, #2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2651 1e22: 9003 str r0, [sp, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2652 1e24: 9803 ldr r0, [sp, #12] ; 0xc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2653 1e26: 8801 ldrh r1, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2654 1e28: 4806 ldr r0, =0xffff ; via 0x1e44
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2655 1e2a: 4281 cmp r1, r0
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2656 1e2c: d104 bne 0x1e38
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2657 1e2e: 9804 ldr r0, [sp, #16] ; 0x10
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2658 1e30: 8800 ldrh r0, [r0, #0]
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2659 1e32: 4904 ldr r1, =0xffff ; via 0x1e44
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2660 1e34: 4288 cmp r0, r1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2661 1e36: d001 beq 0x1e3c
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2662 1e38: 2001 mov r0, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2663 1e3a: 9008 str r0, [sp, #32] ; 0x20
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2664 1e3c: 9808 ldr r0, [sp, #32] ; 0x20
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2665 1e3e: b009 add sp, #36 ; 0x24
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2666 1e40: 4770 bx lr
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2667 1e42: 46c0 nop (mov r8, r8)
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2668
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2669 1e44: 0000ffff
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2670
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2671 1e48: e92d4000 stmdb sp!, {lr}
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2672 1e4c: e28fe001 add lr, pc, #1
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2673 1e50: e12fff1e bx lr
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2674 1e54: f7fe fe3d bl 0xad2
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2675 1e58: 4778 bx pc
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2676 1e5a: 46c0 nop (mov r8, r8)
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2677 1e5c: e8bd8000 ldmia sp!, {pc}
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2678
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2679 <1E60-1EFF: all FFs>
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2680
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2681 1f00: 00000001
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2682
8d30e1722e0f locked C139 bootloader reverse-engineered
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2683 <1F04-end: all FFs>