Motorola Digital dna MSC8101ADS Manual page 7

Table of Contents

Advertisement

Freescale Semiconductor, Inc.
Edit the calc.h file for the corresponding crystal oscillator frequency on the MSC8101ADS (U18)
and the baud rate used with the HyperTerminal application. Build the application if the calc.h file
was modified.
5.
Start the HyperTerminal application on the PC and then run the Flash programmer application on the
MSC8101ADS.
The following display appears on the HyperTerminal window:
MSC8101ADS Flash Loader Utility
print dump load_flash sec_erase program_word help sec_addr
-->
6.
Erase the first two sectors of the Flash memory.
Use the following commands:
-->0 sec_erase
-->1 sec_erase
Note:
The HyperTerminal commands can also be run from a script, as shown in Appendix E.
7.
Verify that the sectors in Flash memory are erased.
Sector 0 starts at 0xFF800000, which is where the HRCW starts. Sector 1 starts at 0xFF840000,
which is the starting address of the LEDblinker application. Use the dump command on the
HyperTerminal window, as follows:
-->hff800000 dump
This displays the following:
Hit return for next sixteen, q to quit
FF800000 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
-->
Additional <return> key strokes display more memory locations.
FF800010
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF800020
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF800030
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
-->
Pressing 'q' ends the memory display.
8.
Verify that the application memory is erased.
-->hff840000 dump
Hit return for next sixteen, q to quit
FF840000
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF840010
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF840020
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
-->
9.
Program the HRCW with the following commands:
-->h2c000000 hff800000 program_word
-->h00000000 hff800008 program_word
-->h02000000 hff800010 program_word
-->h0a000000 hff800018 program_word
10. Verify that the HRCW is programmed correctly.
For More Information On This Product,
Go to: www.freescale.com
Application Example
................
................
................
................
................
................
................
7

Advertisement

Table of Contents
loading

Table of Contents