OpenCores
URL https://opencores.org/ocsvn/an-fpga-implementation-of-low-latency-noc-based-mpsoc/an-fpga-implementation-of-low-latency-noc-based-mpsoc/trunk

Subversion Repositories an-fpga-implementation-of-low-latency-noc-based-mpsoc

[/] [an-fpga-implementation-of-low-latency-noc-based-mpsoc/] [trunk/] [mpsoc/] [src_c/] [ihex2bin/] [bin2ihex.1] - Blame information for rev 25

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 25 alirezamon
.Dd February 1, 2014
2
.Dt bin2ihex 1
3
.Os kk_ihex
4
.Sh NAME
5
.Nm bin2ihex
6
.Nd Convert binary data to Intel HEX
7
.Sh SYNOPSIS
8
.Nm
9
.Op Fl a Ar address_offset
10
.Op Fl i Ar input_file.bin
11
.Op Fl o Ar output_file.hex
12
.Op Fl v
13
.Sh DESCRIPTION
14
.Nm
15
reads binary data from standard input and writes the Intel HEX encoded
16
data to standard output.
17
.Sh OPTIONS
18
.Bl -tag -width -indent
19
.It Fl a Ar address_offset
20
Set the address of the first input byte to
21
.Ar address_offset
22
(default 0)
23
.It Fl i Ar file
24
Read the binary input from
25
.Ar file
26
instead of standard input
27
.It Fl o Ar file
28
Write the Intel HEX output to
29
.Ar file
30
instead of standard output
31
.It Fl v
32
Print extra status messages to standard error
33
.El
34
.Sh EXAMPLES
35
Read binary data from
36
.Ar input.bin
37
and write the Intel HEX output to
38
.Ar output.hex
39
.Pp
40
.Bd -ragged -offset indent
41
.Nm
42
.Fl i
43
.Ar input.bin
44
.Fl o
45
.Ar output.hex
46
.Ed
47
.Pp
48
Read binary data from
49
.Ar input.bin
50
and write the Intel HEX output to
51
.Ar output.hex
52
such that the first byte of the input will have the address
53
.Ar 0x8000000
54
in the output (e.g., for creating an image with the correct addresses for flashing
55
to a ROM):
56
.Bd -ragged -offset indent
57
.Nm
58
.Fl a
59
.Ar 0x8000000
60
.Fl i
61
.Ar input.bin
62
.Fl o
63
.Ar output.hex
64
.Ed
65
.Pp
66
Note that the address offset does not make the resulting output significantly
67
larger, but conversion back to binary with
68
.Xr ihex2bin 1
69
must be done with the same
70
.Fl a
71
argument to obtain a binary file identical to the original.
72
.Sh SEE ALSO
73
.Xr ihex2bin 1
74
.Sh AUTHOR
75
.An "Kimmo Kulovesi" Aq http://arkku.com

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.