Motorola MSC8101 ADS User's Guide Page 249

  • Download
  • Add to my manuals
  • Print
  • Page
    / 346
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 248
Downloading Software
EOnCE/JTAG 12-17
ECR[R/W] = 0 to perform a write access.
ECR[GO] = 1 to execute the instruction.
ECR[REGSEL] = 1111110 to select the CORE_CMD register.
7. Select-DR: Write 48-bit CORE_CMD data to move data from the lower 32-bits
of the ERCV to an internal register. Assuming that address register r1 points to
0xEFFE08, the ERCV address, the following command moves the ERCV data
into data register d1:
move.l (r1)+,d1
The CORE_CMD value is 0x0000 0009 98A1. See Section 12.1.3.2,
CORE_CMD Example 2, on page 12-10 for information on calculating this value.
8. Select-DR: Write 0x017E into the ECR to perform the following operation:
ECR[R/W] = 0 to perform a write access.
ECR[GO] = 1 to execute the instruction.
ECR[REGSEL] = 1111110 to select the CORE_CMD register.
9. Select-DR: Write 48-bit CORE_CMD data to move data from the upper 32-bits
of the ERCV to an internal register. The following command moves the upper
32-bits of ERCV data into data register d0:
move.l (r1)+,d0
The CORE_CMD value is 0x0000 0009 90A1.
After the move operation executes, the r1 pointer must be reinitialized to
0xEFFE08 so that it points to ERCV before the next iteration.
10. Select-DR: Write 0x017E into the ECR to perform the following operation:
ECR[R/W] = 0 to perform a write access.
ECR[GO] = 1 to execute the instruction.
ECR[REGSEL] = 1111110 to select the CORE_CMD register.
11. Select-DR: Write 48-bit CORE_CMD data to move data from address registers
d0 and d1 to memory. Assuming that address register r0 points to the starting
memory address, the following command moves the ERCV data into memory:
move.2l d0:d1,(r0)+
The CORE_CMD value is 0x0000 0001 8031. See Section 12.1.3.3,
CORE_CMD Example 3, on page 12-10 for information on calculating this value.
12. Repeat steps 4 – 11 until all data and code are downloaded.
Page view 248
1 2 ... 244 245 246 247 248 249 250 251 252 253 254 ... 345 346

Comments to this Manuals

No comments