srec_tektronix_extended(5)
π srec_tektronix_extended(5) β Tektronix Extended hexadecimal file format π
okay so bestie, this page lives in the File Formats Manual section and it's all about srec_tektronix_extended, the Tektronix Extended hexadecimal file format. Manual name folded in near the top, slay. π
π NAME π
<pink>srec_tektronix_extended</pink> β Tektronix Extended hexadecimal file format. Periodt.
π¦ DESCRIPTION π¦
This format lets binary files be uploaded and downloaded between two computer systems β typically between a computer system (such as a PC, Macintosh, or workstation) and an emulator or evaluation board for microcontrollers and microprocessors. It's giving "moving bytes between two vibes" and honestly? Iconic. β¨
πΈ The Lines πΈ
Lines always start with a percent (%) character. No cap.
Each line consists of 5 fields. These are the length field, the type field, the checksum, the address field (including address length), and the data field.
βββββ¬βββββββββ¬βββββββ¬βββββββββββ¬ββββββββββ¬βββββββ
β % β Length β Type β Checksum β Address β Data β
βββββ΄βββββββββ΄βββββββ΄βββββββββββ΄ββββββββββ΄βββββββ
π The Fields π
π Record Length
The record length field is a 2 character (1 byte) field that specifies the number of characters (not bytes) in the record, excluding the percent.
π§ Type
The type field is a 1 character field that specifies whether the record is data (6) or termination (8).
π Checksum
The checksum is a 2 character (1 byte) field that represents the sum of all the nibbles on the line, excluding the checksum.
β Address
This is a 9 character field. The first character is the address size; it is always 8. The remaining 8 characters are the 4-byte address that specifies where the data is to be loaded into memory.
π Data
The data field contains the executable code, memory-loadable data or descriptive information to be transferred.
π₯ Record Types π₯
6β a record containing data. The data is placed at the address specified.8β a termination record. The address field may optionally contain the address of the instruction to which control is passed. There is no data field.
π Size Multiplier π
In general, binary data will expand in size by approximately 2.5 times when represented with this format.
π EXAMPLE π
Here is an example Tektronix extended file. It contains the data βHello, Worldβ to be loaded at address 0x006B.
%256D980000006B48656C6C6F2C20576F726C64210A
%09819800000000
π«Ά COPYRIGHT π«Ά
srec_cat version 1.65
Copyright (C) 1998... Peter Miller
The srec_cat program comes with ABSOLUTELY NO WARRANTY; for details use the 'srec_cat -VERSion License' command. This is free software and you are welcome to redistribute it under certain conditions; for details use the 'srec_cat -VERSion License' command.
π MAINTAINER π
- Scott Finneran β E-Mail:
scottfinneran@yahoo.com.au - Peter Miller β E-Mail:
pmiller@opensource.org.au
okay bestie, cute sign-off time π the footer says Reference Manual for source/version SRecord, with page srec_tektronix_extended(5) β and there's literally no date printed in that footer, so no date to spill. Bye bestie! β¨ππ¦
π¦ where this page comes from
- opensuse-leap 16.0: srecord 1.65.0-bp160.1.12 Β· GPL-3.0-or-later
- opensuse-leap 16.0: srecord 1.65.0-bp160.1.12 Β· GPL-3.0-or-later
- opensuse-leap 16.0: srecord 1.65.0-bp160.1.12 Β· GPL-3.0-or-later
- opensuse-leap 16.0: srecord 1.65.0-bp160.1.12 Β· GPL-3.0-or-later
- Copyright (C) 2000, 2006-2009 Peter Miller
- Copyright (C) 1998, 2006-2009, 2014 Peter Miller
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms