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/] [ihex2bin.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 ihex2bin 1
3
.Os kk_ihex
4
.Sh NAME
5
.Nm ihex2bin
6
.Nd Convert Intel HEX encoded data to binary
7
.Sh SYNOPSIS
8
.Nm
9
.Op Fl a Ar address_offset | Fl A
10
.Op Fl i Ar input_file.hex
11
.Op Fl o Ar output_file.bin
12
.Op Fl v
13
.Sh DESCRIPTION
14
.Nm
15
reads Intel HEX encoded data from standard input and writes the
16
decoded binary 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 byte output to
21
.Ar address_offset
22
- by default the beginning of the output is considered to be at address
23
0, which may cause large amounts of padding to be written if the input
24
data begins at an offset (e.g., a ROM address for flashing program images)
25
.It Fl A
26
Autodetect the address offset (see
27
.Ar -a
28
above), i.e., the first output byte written will have the address of the
29
first byte of input - this option should almost always be used!
30
.It Fl i Ar file
31
Read the Intel HEX input from
32
.Ar file
33
instead of standard input
34
.It Fl o Ar file
35
Write the binary output to
36
.Ar file
37
instead of standard output
38
.It Fl v
39
Print extra status messages to standard error
40
.El
41
.Sh EXAMPLES
42
Read Intel HEX from
43
.Ar input.hex
44
and write the binary output to
45
.Ar output.bin
46
such that the first byte of input is written as the first byte
47
of output (even if the input specifies an address offset):
48
.Pp
49
.Bd -ragged -offset indent
50
.Nm
51
.Fl A
52
.Fl i
53
.Ar input.hex
54
.Fl o
55
.Ar output.bin
56
.Ed
57
.Pp
58
Read Intel HEX from
59
.Ar input.hex
60
and write the binary output to
61
.Ar output.bin
62
such that the first byte of the output has address
63
.Ar 0x8000000
64
(the beginning of the output is padded if the input data begins
65
at a greater address):
66
.Bd -ragged -offset indent
67
.Nm
68
.Fl a
69
.Ar 0x8000000
70
.Fl i
71
.Ar input.hex
72
.Fl o
73
.Ar output.bin
74
.Ed
75
.Sh SEE ALSO
76
.Xr bin2ihex 1
77
.Sh AUTHOR
78
.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.