| Electronic Components Datasheet Search |
|
UM0225 Datasheet(PDF) 46 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0225 Datasheet(HTML) 46 Page - STMicroelectronics |
|
46 / 57 page ![]() Obsolete Product(s) - Obsolete Product(s) Obsolete Product(s) - Obsolete Product(s) 3 Designing with CAPS UM0225 45/56 A.2 End record This end-of-file record also begins with the colon (:) start character and is followed by the byte count (equal to “00”), the address (equal to “0000”), the record type (equal to “01”), and the checksum, “FF.” A.3 Extended segment address record This is added to the offset to determine the absolute destination address. The address field for this record must contain ASCII zeros (hexadecimal 30s). This record type defines Bits 4 to 19 of the segment base address; it can appear randomly, anywhere within the file and affects the absolute memory address of subsequent data records in the file. The following example illustrates how the extended segment address is used to determine a byte address. Problem: Find the address for the first data byte for the following file: :02 0000 04 0010 EA :02 0000 02 1230 BA :10 0045 00 55AA FF ..... BC Solution: 1. Find the extended linear address offset for the data record (0010 in the example). 2. Find the extended segment address offset for the data record (1230 in the example). 3. Find the address offset for the data from the data record (0045 in the example). 4. Calculate the absolute address for the first byte of the data record as follows: 00100000 Linear address offset, shifted left 16 bits + 12300 Segment address offset, shifted left 4 bits + 0045 Address offset from data record ________ 00112345 32-bit address for first data byte The address for the first data byte is 112345. Note: Always specify the address offset when using this format, even when the offset is zero. During output translation, the firmware forces the record size to 16 (decimal) if the record size is specified greater than 16. There is no such limitation for record sizes specified less than 16. A.4 Extended linear address record This record specifies bits 16–31 of the destination address for the data records that follow. This address is added to the offset to determine the absolute destination address, and can appear anywhere within the file. The address field for this record must contain ASCII zeros (hexadecimal 30s). |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |