Address Tracing Enable (Ate) - Bit 15 - Motorola DSP56367 User Manual

24-bit digital signal processor
Table of Contents

Advertisement

6.2.3

ADDRESS TRACING ENABLE (ATE) - BIT 15

The Address Tracing Enable (ATE) bit is used to turn on Address Tracing (AT) Mode. When
the AT Mode is enabled, the DSP56300 Core reflects the addresses of internal fetches and
program space moves (MOVEM) to the Address Bus (A0-A17), if the Address Bus is not
needed by the DSP56300 Core for external accesses. The ATE bit is cleared on hardware
reset.
6.2.4
PATCH ENABLE (PEN) - BIT 23
The Patch Enable function is used for patching Program ROM locations. i.e. to replace during
program execution, the contents of the Program ROM. This is done by using the Instruction
Cache to supply the instruction word instead of the Program ROM.
The Patch Enable function is activated by setting bit 23 (PEN) in the OMR Register. The PEN
bit is cleared by hardware reset.
The Instruction Cache should be initialized with the new instructions according to the
following procedure:
These steps should be executed from external memory or by download via host interface:
1. Set Cache Enable = 1
2. Set Patch Enable = 1
3. initialize TAGs to different values by unlock eight different external sectors
4. lock the PATCH sector(s)
5. move new code to locked sector(s), to the addresses that should be replaced
6. start regular PROM program
;****************************************************************************
; PATCH initialization example
;****************************************************************************
MOTOROLA
page
132,55,0,0,0
nolist
INCLUDE "ioequ.asm"
INCLUDE "intequ.asm"
DSP56367
Core Configuration
Operating Mode Register (OMR)
6-3

Advertisement

Table of Contents
loading

Table of Contents