|
Software mode emulation for the ZSP400 device requires special
monitor code to be executed on the target device. The monitor
program enables the high speed data exchange through the target ZSP
device JTAG port. One way of providing this code to the ZSP core for execution
is by loading the monitor routines into the target ZSP's external flash ROM,
or, alternatively, external RAM, before releasing a DSP reset.
For new systems in production that are assembled with an external
Flash memory, the easiest way to initialize the monitor code image is by way of
a command file that performs a series of JTAG boundary scan sequences for
a specific manufacturer's Flash memory device. Another method is to simply
install a pre-programmed (or socketed) Flash memory device; however, requiring
such a device creates problems with software updates. Also, users can
bootstrap through the host port and load a program to initialize the monitor
code.
The JTAG boundary scan programming procedure is the
slower method, but advantageously can be executed on the assembled system
without any code being executed on the target processor.
Back to Top
|
Programming the external Flash program memory is accomplished by
placing the target ZSP device in the JTAG EXTEST mode. Internal logic is
disconnected from the device's pins. All signals are written/read by way
of serially shifting data to all the logic cells that control the state of the
package pins through the JTAG TAP controller of the JTAG scan chain connected
devices.
Different flash memory manufacturer programming procedures are
supported, including options for user definition of the Flash programming
algorithm. The ZSP-USB-JTAG emulator programming speeds are as follows:
-
For AMD type flash memory the speed is about 20 words per
second.
-
For Micron type flash memory,which requires only 2 writes (instead
of 4 as is the case for an AMD device), the programming rate is about 40 words
per second.
-
For a typical monitor size of 2K words, this programming speed will
require about 50 seconds for Micron flash initialization, and about 100 seconds
for the AMD device.
|