| 전자부품 데이터시트 검색엔진 |
|
EB632 데이터시트(PDF) 10 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
EB632 데이터시트(HTML) 10 Page - Freescale Semiconductor, Inc |
|
10 / 112 page ![]() Functional Differences Between MSC8101 (Mask 2K42A) and MSC8103 (Mask 2K87M), Rev. 2 10 Freescale Semiconductor Boot 5.4 Source Program Data Stream Structure The source program can be organized into several blocks. Each block can be either a data block or an instruction block, and it can be loaded to a different specified destination. Each block contains the block size, the location where the block is loaded, source program words, checksum, checksum enable and the location from which the next block is loaded. When each block word is loaded, the routine calculates a checksum by XORing the current word bit by bit with the result of XORing previous words. The value of bit i of the current result is equal to XORing bit i of the current word with bit i of the previous result. After the entire block is loaded, the calculated checksum is compared to the loaded checksum. The checksum comparison and calculation can be skipped by clearing checksum enable bit. The last block is a special block that indicates end of code. It contains the boot execution start address. Figure 1 shows the stream structure. 5.5 Source Program Block Structure The data stream source programs must be structured in the format shown in Table 8. Figure 1. Boot Code Stream Structure Table 8. Block Structure Word Description 1 Block size + checksum enable bit (see Figure 2 for layout description) 2 Next block address 3 Address where the first block of the source program is to be loaded, most significant part 4 Address where the first block of the source program is to be loaded, least significant part 5 First word of source program n Last word of source program n + 1 Checksum—xor for first block n + 2 Checksum—xor for first block 2nd offset + 1 Block size + checksum enable bit 2nd offset + 2 Next block address 2nd offset + 3 Address where the second block of the source program is to be loaded, most significant part 2nd offset + 4 Address where the second block of the source program is to be loaded, least significant part 2nd offset + 5 First word of source program 2nd offset + n Last word of source program 2nd offset +n + 1 Checksum—xor for second block 2nd offset + n + 2 Checksum—xor for second block Block 1 Block 2 . . . Block x Code End Block |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |