author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Wed, 05 Aug 2015 23:55:34 +0300 | |
changeset 1729 | 22ffd80639c0 |
parent 1682 | f24fa90e806b |
child 1905 | fba288d59662 |
permissions | -rw-r--r-- |
1675
7e5ff3a96f2d
Convert ELF to Intex hex format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
892
diff
changeset
|
1 |
.. -*- coding: utf-8; -*- |
7e5ff3a96f2d
Convert ELF to Intex hex format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
892
diff
changeset
|
2 |
.. include:: HEADER.rst |
892 | 3 |
|
1675
7e5ff3a96f2d
Convert ELF to Intex hex format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
892
diff
changeset
|
4 |
============ |
7e5ff3a96f2d
Convert ELF to Intex hex format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
892
diff
changeset
|
5 |
Assempler. |
7e5ff3a96f2d
Convert ELF to Intex hex format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
892
diff
changeset
|
6 |
============ |
7e5ff3a96f2d
Convert ELF to Intex hex format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
892
diff
changeset
|
7 |
.. contents:: |
7e5ff3a96f2d
Convert ELF to Intex hex format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
892
diff
changeset
|
8 |
|
7e5ff3a96f2d
Convert ELF to Intex hex format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
892
diff
changeset
|
9 |
Decompile binary file. |
7e5ff3a96f2d
Convert ELF to Intex hex format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
892
diff
changeset
|
10 |
====================== |
7e5ff3a96f2d
Convert ELF to Intex hex format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
892
diff
changeset
|
11 |
|
7e5ff3a96f2d
Convert ELF to Intex hex format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
892
diff
changeset
|
12 |
With GNU Binutils:: |
892 | 13 |
|
14 |
$ objdump -w -d file.o |
|
15 |
||
1675
7e5ff3a96f2d
Convert ELF to Intex hex format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
892
diff
changeset
|
16 |
Convert ELF to binary format. |
7e5ff3a96f2d
Convert ELF to Intex hex format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
892
diff
changeset
|
17 |
============================= |
7e5ff3a96f2d
Convert ELF to Intex hex format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
892
diff
changeset
|
18 |
:: |
7e5ff3a96f2d
Convert ELF to Intex hex format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
892
diff
changeset
|
19 |
|
1682
f24fa90e806b
Convert ELF to binary format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1675
diff
changeset
|
20 |
$ objcopy -O binary image.elf image.bin |
f24fa90e806b
Convert ELF to binary format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1675
diff
changeset
|
21 |
|
1675
7e5ff3a96f2d
Convert ELF to Intex hex format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
892
diff
changeset
|
22 |
Convert ELF to Intex hex format. |
7e5ff3a96f2d
Convert ELF to Intex hex format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
892
diff
changeset
|
23 |
================================ |
7e5ff3a96f2d
Convert ELF to Intex hex format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
892
diff
changeset
|
24 |
:: |
7e5ff3a96f2d
Convert ELF to Intex hex format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
892
diff
changeset
|
25 |
|
7e5ff3a96f2d
Convert ELF to Intex hex format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
892
diff
changeset
|
26 |
$ avr-objcopy -O ihex image.elf image.ihex |
7e5ff3a96f2d
Convert ELF to Intex hex format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
892
diff
changeset
|
27 |