INTEL HEX
Masz problem? Zapytaj na forum elektroda.pl
From: "Mariusz" <mariw2_at_nospam_wp.pl>
Subject: INTEL HEX
Date: Mon, 5 Mar 2001 14:47:48 +0100
Czy ktoś z Państwa jest w stanie pomóc mi rozszyfrować ten kod zapisu
Intel hex - chyba jest wykorzystywany w programatorach EPROM ),
Prosiłbym o jakieś polskie linki lub może ktoś z Państwa mi to wytłumaczy.
przykładowy kod wygląda tak :
10208000B10020B1010F19010F18010FD372B10077
012090000F40
00000001FF
Dziękuję i pozdrawiam
Mariusz Wierzchowski
mariw2_at_nospam_wp.pl
From: jfox_at_nospam_friko6.onet.pl (J.F.)
Subject: Re: INTEL HEX
Date: 5 Mar 2001 14:59:49 +0100
On Mon, 5 Mar 2001 14:47:48 +0100, Mariusz <mariw2_at_nospam_wp.pl> wrote:
Czy ktoś z Państwa jest w stanie pomóc mi rozszyfrować ten kod zapisu
Intel hex - chyba jest wykorzystywany w programatorach EPROM ),
Prosiłbym o jakieś polskie linki lub może ktoś z Państwa mi to wytłumaczy.
przykładowy kod wygląda tak :
10208000B10020B1010F19010F18010FD372B10077
10h [16] bajtow, od adresu 2080h, tych 16 bajtow, suma kontrolna
012090000F40
1 bajt, pod adresem 2090H, wartosci 00, suma kontrolna
00000001FF
Znacznik konca.
J.
From: "peters" <peters_at_nospam_poczta.onet.pl>
Subject: Re: INTEL HEX
Date: Mon, 5 Mar 2001 15:01:25 +0100
Prosiłbym o jakieś polskie linki lub może ktoś z Państwa mi to wytłumaczy.
przykładowy kod wygląda tak :
10208000B10020B1010F19010F18010FD372B10077
012090000F40
00000001FF
Zobacz na stronie Keila
nie jestem pewien, ale tam chyba jest dokladny opis formatu
--
pozdrawiam, peters
peters_at_nospam_poczta.onet.pl
http://peters.republika.pl (strona Petersa dla elektroników)
From: "Arnie" <arnie_at_nospam_ahoj.pl>
Subject: Re: INTEL HEX
Date: Mon, 5 Mar 2001 17:46:28 +0100
Czy ktoś z Państwa jest w stanie pomóc mi rozszyfrować ten kod zapisu
Intel hex - chyba jest wykorzystywany w programatorach EPROM ),
Prosiłbym o jakieś polskie linki lub może ktoś z Państwa mi to
wytłumaczy.
przykładowy kod wygląda tak :
10208000B10020B1010F19010F18010FD372B10077
012090000F40
00000001FF
format rekordu intel Hex - :LLAAAATTDD...DDCC, gdzie:
: - znak dwukropka rozpoczyna każdzy rekord
LL - 2 cyfry hex liczba danych DD,
zwykle LL=10H, w rekordzie EOF LL=00H
AAAA - 4 cyfry hex - adres ładowania rekordu,
w rekordzie EOF AAAA=0000H
TT - 2 cyfry hex - typ rekordu,
TT=00H - rekord danych, TT=01H - rekord EOF
DD - 2 cyfry hex - bajt danych
CC - 2 cyfry hex - suma kontrolna rekordu (U2):
CC = not(LL+AA+AA+TT+DD+..+DD) + 1
rekord EOF - ma zawsze postać :00000001FF
From: "J.S." <bsj_at_nospam_poczta.onet.pl>
Subject: Re: INTEL HEX
Date: Mon, 5 Mar 2001 18:11:08 +0100
Użytkownik "Mariusz" <mariw2_at_nospam_wp.pl> napisał w wiadomości
news:3aa39782_at_nospam_news.vogel.pl...
Czy ktoś z Państwa jest w stanie pomóc mi rozszyfrować ten kod zapisu
Intel hex - chyba jest wykorzystywany w programatorach EPROM ),
Prosiłbym o jakieś polskie linki lub może ktoś z Państwa mi to wytłumaczy.
przykładowy kod wygląda tak :
10208000B10020B1010F19010F18010FD372B10077
012090000F40
00000001FF
Dziękuję i pozdrawiam
Mariusz Wierzchowski
mariw2_at_nospam_wp.pl
INTEL format
!!!!!!!!!!!!!!!!!!!!!!!!!!!! intel1: 16 bit address field format, for files
64K bytes in length or less !!!!!!!!!!!!!!!!!!!
DATA record
Byte1: Header = colon(:)
2..3 the number of data bytes in hex notation
4..5 high byte of the record load address
6..7 low byte of the record load address
8..9 record type must be "00"
10..x the data bytes in hex notation: x=(number of data bytes-1)*2+11
x+1..x+2 checksum in hex notation
x+3..x+4 CR, LF
The checksum are the two's complement of the 8-bit sum without carry of the
byte count, offset address, record type and data bytes.
END record
Byte1: Header = colon(:)
2..3 the byte count , must be "00"
4..7 transfer address (usually "0000")
8..9 record type must be "01"
10..11 checksum in hex notation
12..13 CR, LF
The checksum are the two's complement of the 8-bit sum without carry of the
byte count, transfer address, record type.
!!!!!!!!!!!!! intel 2: MCS86 format, using a 20bit address for files larger
then 64KB
DATA record
Byte1: Header = colon(:)
2..3 the number of data bytes in hex notation
4..5 high byte of the record load address
6..7 low byte of the record load address
8..9 record type must be "00"
10..x the data bytes in hex notation: x=(number of data bytes-1)*2+11
x+1..x+2 checksum in hex notation
x+3..x+4 CR, LF
The checksum are the two's complement of the 8-bit sum without carry of the
byte count, offset address, record type and data bytes.
END record
Byte1: Header = colon(:)
2..3 the byte count , must be "00"
4..7 transfer address (usually "0000")
8..9 record type must be "01"
10..11 checksum in hex notation
12..13 CR, LF
The checksum are the two's complement of the 8-bit sum without carry of the
byte count, transfer address, record type.
EXTENDED ADDRESS record
Byte1: Header = colon(:)
2..3 the byte count , must be "02"
4..7 transfer address (usually "0000")
8..9 record type must be "02"
10..11 high byte of the segment address
12..13 low byte of the segment address
14..15 checksum in hex notation
16..17 CR, LF
The checksum are the two's complement of the 8-bit sum without carry of the
byte count, transfer address, record type and segment address.
START ADDRESS record
Byte1: Header = colon(:)
2..3 the byte count , must be "04"
4..7 transfer address (usually "0000")
8..9 record type must be "03"
10..13 8086 CS value
14..17 8086 IP value
14..15 checksum in hex notation
16..17 CR, LF
The checksum are the two's complement of the 8-bit sum without carry of the
byte count, transfer address, record type, CS & IP address.
Pozdrawiam
Jacek Studziński
From: "peters" <peters_at_nospam_poczta.onet.pl>
Subject: Re: INTEL HEX
Date: Mon, 5 Mar 2001 19:59:27 +0100
Dokladny opis tutaj: http://www.keil.com/support/docs/1584.htm
--
pozdrawiam, peters
peters_at_nospam_poczta.onet.pl
http://peters.republika.pl (strona Petersa dla elektronikow)