INTEL HEX


Patrzysz na wersję archiwalną wątku "INTEL HEX" z forum pl.misc.elektronika


Mariusz - 5 Mar 2001, 08:44

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



J.F. - 5 Mar 2001, 09:03


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.


peters - 5 Mar 2001, 09:04

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


Arnie - 5 Mar 2001, 11:46

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


J.S. - 5 Mar 2001, 12:12

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



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


peters - 5 Mar 2001, 14:02

Dokladny opis tutaj: http://www.keil.com/support/docs/1584.htm

konwerter BMP do HEX
uart i hex
Jak z Hex na Asembler
Zegar z Kraju Rad
  • wierszyki;na;50;lecie
  • prazki na garniakach i same kupno garniakow
  • 2 0
  • obuwie robocze panda
  • blox edycja css
  • windsor;brass
  • wspF3lny jEAzyk 2005
  • co mowi mi tarot
  • reksio tepe
  • Lista wątków z for dyskusyjnych ## Strona Główna