Analog Devices ee-124 Application Notes

a
a Engineer To Engineer Note
aa
EE-124
Technical Notes on using Analog Devices’ DSP components and development tools
Phone: (800) ANALOG-D, FAX: (781) 461-3010, EMAIL: dsp.support@analog.com, FTP: ftp.analog.com, WEB: www.analog.com/dsp
Booting on the ADSP-2192
The ADSP-2192 currently supports booting via either the PCI or USB interfaces. The tasks performed by the ADSP-2192 boot loader kernel (which is located at address 0x14000 in Program ROM) will be two-fold: To determine how the DSP is configured to boot (PCI or USB), and setting up and initializing appropriate DSP registers, to facilitate the rest of booting. Detecting the presence of a serial EEPROM on the NVRAM interface and reading data from the serial EEPROM
The task of writing device drivers to facilitate booting of the DSP via these interfaces is with the user.
RESET Options on ADSP-2192
There are 3 types of RESET on the ADSP-2192. They are:
1 Power-on RESET 2 Forced RESET via PCI/USB 3 Software RESET
As currently proposed, for Power-on-RESET program flow will jump to the first location of the loader kernel at address 0x14000 and commence execution. A RESET via the PCI or USB device will cause program flow to jump to the command monitor that is part of the loader kernel. The serial EEPROM detection/reading subroutines will be bypassed. In case of a software RESET, the loader kernel will jump to the first location of internal PM memory at address 0x10000 and commence execution.
Copyright 2000, Analog Devices, Inc. All rights reserved. Analog Devices assumes no responsibility for customer product design or the use or application of customers’ prod ucts or for any infringements of patents or rights of others which may result from Analog Devices assistance. All trademarks and logos are property of their respective holders. Information furnished by Analog Devices Applications and Development Tools Engineers is believed to be accurate and reliable, however no responsibility is as sumed by Analog Devices regarding the technical accuracy of the content provided in all Analog Devices’ Engineer-to-Engineer Notes.
ADSP-2192 Architecture and Memory Map
The ADSP-2192 is a 16-bit DSP with dual 219x cores. The DSP architecture and memory map is shown in Figures 1 and 2, respectively. For a detailed discussion, please refer the ADSP-2192 datasheet.
PCI 2.2
33MHz
32 Bit
USB 1.1
Serial
Interface
AC-97 Codec
Interface
GPIO
Eight Pins
PCI/USB
DMA
Bus
16K X 24
PM
RAM
219X
CORE
#1
160 MHz
64K X 16
DM
RAM
Figure 1. ADSP-2192 architecture
Serial
Codec
4K X 16
SHARED
RAM
CORE
160 MHz
32K X 16
DM
RAM
219X
#2
Periphera
l
Control
16K x 24
PM
RAM
EE-124 Page 2
Technical Notes on using Analog Devices’ DSP components and development tools
Phone: (800) ANALOG-D, FAX: (781)461-3010, EMAIL: dsp.support@analog.com, FTP: ftp.analog.com, WEB: www.analog.com/dsp
Figure 2. ADSP-2192 Memory Map
EE-124 Page 3
Technical Notes on using Analog Devices’ DSP components and development tools
Phone: (800) ANALOG-D, FAX: (781)461-3010, EMAIL: dsp.support@analog.com, FTP: ftp.analog.com, WEB: www.analog.com/dsp
Booting Flowchart
Loader kernel reads CRST pins and determines Mode of
Booting; also performs housekeeping operations, setting up Interrupts, etc.
Loader Kernel reads BUS MODE pins to set up bus configuration
DSP emerges from ~RESET and program flow jumps to Boot ROM
Call subroutine to auto-detect serial EEPROM
Serial EEPROM
Exists?
Yes
Determine 8 or 16-bit? SPI or micro-wire?
Load serial EEPROM configuration and data
packets-load PCI/USB config registers accordingly
Do any serial EEPROM
need to be executed?
Yes
Execute Packets
No
Transfer Control to PCI
No
or USB to facilitate rest
of boot
After Booting is complete, user has option to either return to serial EEPROM or jump to user code and being execution
Finish
On emerging from RESET the loader kernel in DSP1’s ROM alone will attempt to read the serial EEPROM. The loader kernel for DSP2 will not boot via the serial EEPROM. It will wait in a loop until DSP1 has completed reading data from the serial EEPROM, at which point, both DSPs will booted directly via the PCI or USB interfaces.
EE-124 Page 4
Technical Notes on using Analog Devices’ DSP components and development tools
Phone: (800) ANALOG-D, FAX: (781)461-3010, EMAIL: dsp.support@analog.com, FTP: ftp.analog.com, WEB: www.analog.com/dsp
Loading...
+ 8 hidden pages