Motorola MSC8101 ADS User's Guide Page 68

  • Download
  • Add to my manuals
  • Print
  • Page
    / 346
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 67
2-16 MSC8101 User’s Guide
Reset Configuration and Boot
The bootloader routine expects at least one code block. When more than one block is
included in the source program data stream, word n+5 contains the address of the second
block, as shown in Table 2-11. The sequence repeats for subsequent blocks until the final
block in the data stream is reached. A special boot end block indicates the end of the boot
code stream (see Table 2-12).
The first two words indicate the end of the source blocks. At least one block of source
code is loaded when the bootloader is invoked.
2.4.4 Host Interface Load Procedure
The host interface load procedure includes:
1. Loading the source code blocks
2. Storing the blocks in a given address
3. Performing checks
The host MSC8101 writes the source code word after word to the host interface registers
of the MSC8101 slave. For each code word that is loaded, the routine calculates a
Table 2-11. Data Stream Source Program Block Structure
Word Description
1 Block size in 16 bits of the first program block to be loaded, most significant part
2 Block size in 16 bits of the first program block to be loaded, least significant part
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 0x0000
6 0x0000
7 Checksum—xor
8 Checksum
—xor
Table 2-12. Structure of the Boot End Block
Word Description
1 0x0000
2 0x0000
3 Boot start address, most significant part
4 Boot start address, least significant part
5 Checksum, XOR
6 Checksum, XOR
Page view 67
1 2 ... 63 64 65 66 67 68 69 70 71 72 73 ... 345 346

Comments to this Manuals

No comments