Motorola DSP56305 Manuel d'utilisateur Page 72

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 112
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 71
Instruction Cache and Memory Features
Using the Bootstrap ROM
MOTOROLA Optimizing DSP56300/DSP56600 Applications 5-11
Possible advantages for using the Memory Switch mode:
1. A program may dynamically change it's internal memory
map according to need.
2. A system may be developed with the intention of using
Program and data ROM in the end product. Using a ROM
allows much more data to be placed on chip. Development is
done with a RAM-based emulation version, which can hold
much smaller internal memory. Using external memory is
not always an adequate solution due the different timing of
external accesses. Using a RAM-based chip with Memory
Switch mode may help solving the problem—large program
sections may be tested using more program memory, and
sections using large data tables could be tested separately
using more data memory.
The MS (Memory Switch) bit in the OMR selects between the two
alternate memory configurations. In chips without the Memory
Switch mode, this bit is reserved. Enabling or disabling the Memory
Switch mode should be done with care—the user may not use
memory addresses that change their locations while executing the
switch instruction at least six instructions afterwards. The cache
must also be disabled. A proper switching sequence should be run
from program memory addresses that do not change their physical
mapping during the switch, when the cache is disabled, and
without data accesses to the data areas that change their physical
mapping. In the example of the DSP56302, the switching routine
may be run from program memory addresses lower than $4C00, or
higher than $6000, with the cache disabled.
5.3 USING THE BOOTSTRAP ROM
Most DSP56300 family members have a short ROM program for
downloading a program from an external device to the program
RAM. This program is coded in the core, and is mapped to the
internal program memory space. At the user's choice, this program
may be executed immediately after a hardware reset. The program
chooses the device that is used for the download by studying the
operating mode bits in the OMR. The operating mode bits are
latched from the interrupt request pins during the hardware reset,
and thus are user-controlled. According to these bits, program data
may be downloaded from the SCI, Host Interface, the external
Vue de la page 71
1 2 ... 67 68 69 70 71 72 73 74 75 76 77 ... 111 112

Commentaires sur ces manuels

Pas de commentaire