Background; Flash Memory - Motorola Digital dna MSC8101ADS Manual

Table of Contents

Advertisement

Flash Memory

The following hardware is used in the procedure described in this application note:
• Personal computer (PC). Runs CodeWarrior and the HyperTerminal application.
• Parallel cable and parallel command converter. Connects the PC to the MSC8101ADS for use by the
• (straight through) Serial cable. Connects the PC to the MSC8101ADS for use by the HyperTerminal
The following software tools are used in the procedure outlined in this application note:
• CodeWarrior, production release 1.5. Previous versions of CodeWarrior software do not work with this
• HyperTerminal. Application on the PC to allow serial communication with the SMC UART interface
The following files are used to generate the S-record file to execute from the MSC8101ADS Flash
memory using CodeWarrior software:
• flash.lcf. The linker command file for using the MSC8101ADS Flash memory. This file places variable
3
Flash Memory
The MSC8101ADS provides 8 MB of 90 ns Flash memory on an 80-pin SIMM. It is buffered from the
60x-compatible system bus to reduce loading on the bus. The Flash memory is made by Smart Modular
Technology (SM73228XG1JHBGO) and is composed of four LH28F016SCT-L95 integrated circuits by
Sharp, arranged as 2 M × 32 in a single bank. The Flash memory can be expanded to 16 MB and 32 MB
by replacing the SIMM. Each sector in the Flash memory is 256 KB. Sector 0 is the first sector
(0xFF800000–0xFF83FFFF), sector 1 is the second sector (0xFF840000–0xFF87FFFF), and so on.
The Flash memory contains the HRCW, the application starting address, and the application. The HRCW
and the application address must be programmed at specific locations in the Flash memory. The
application can be placed where you deem necessary.
The addresses for the HRCW and address table as programmed on the MSC8101ADS are:
• 0xFF800000. The starting address of Flash memory used on the MSC8101ADS board. The HRCW
• 0xFE000110. The starting address of the (vector) address table. This address is mapped to 0xFF800110
The starting address of the application can be placed anywhere, but it is convenient to place it outside
sector 0 of the Flash memory so that you can erase the sector containing the HRCW and address table
without having to reprogram the application. Note that the starting address of the application is also set in
the linker command file (flash.lcf).
2
Freescale Semiconductor, Inc.
CodeWarrior debugger.
application to send the S-record file to the MSC8101ADS.
procedure. The default directory in which CodeWarrior is installed is C:\Program
Files\Metrowerks\CodeWarrior. Other programs and material are stored in subdirectories
under this directory. All of these files are placed on the PC hard drive when CodeWarrior code is
installed.
on the MSC8101ADS.
initialization values and code in Flash memory range. The build settings in CodeWarrior software are
configured to point to this file. Refer to Appendix A.
contains four bytes (least significant byte first) residing in the following four addresses: 0xFF800000,
0xFF800008, 0xFF800010, and 0xFF800018.
in the
8101_Initialization.cfg
MSC8101ADS. 0xFF800110 is programmed with the starting address of the application.
For More Information On This Product,
Go to: www.freescale.com
file used by default when a CodeWarrior project is loaded on the

Advertisement

Table of Contents
loading

Table of Contents