Rev 3.0 - July 2001 [Doc. # IQX_AutoConfig_ApNote] 1 of 4
Application Note
Automatic Configuration of IQX Family
1.0 Introduction
I-Cube’s Digital Crosspoint Switching (DCS) products are SRAM-based, thus requiring configuration at
power-on. The configuration data can be stored in an EEPROM device and downloaded to the device(s) upon
power-up. This application note presents an example showing how to automatically configure the IQX family
of Digital Crosspoint Switching (DCS) products using dual serial EEPROMs.
2.0 Design Description
2.1 Block diagram
Figure 1. Auto-Con figuration Using Dual Serial EEPRO M’s Block Dia gram
A Serial EEPROM can be used to store the bit stream for the IQX family of products. Using
minimal external logic, the bit stream stored in the EEPROM can be downloaded into the IQX
device(s) over the TDI and TMS pins, with the TCK pin used for synchronization. Since the
configuration of IQX requires two bit streams, one for TDI and one for TMS, it is
recommended to have two EEPROMs, one for each bit-stream.
IQX devices do not provide a clock output. Therefore, external logic is required to provide a
clock source to both the EEPROMs and the IQX devices.
DATA
CLK
EEPROM #1
DATA
CLK
EEPROM #2
TMS
TDI
TCK
IQX Device
External Clock
TDO
TRST*
Hardware
Reset
Note:
*
means "Active Low"
2 of 4 [Doc. # IQX_AutoConfig_ApNote] Rev 3.0 - July 2001
Automatic Configuration of IQX Family
Most connections between the serial EEPROMs and the IQX devices (refer to the Figure 1) are
simple and self- e xplanatory.
The first EEPROM stores the test mode information; therefore, its DATA output drives the
TMS of the IQX device.
The second EEPROM stor es the test data information; therefore, its DATA output drives the
TDI of the IQX device.
External logic is needed to generate a clock signal for the TCK pin of the IQX device and the
CLK input of each EEPROM.
2.2 EEPROM size
Table 1 shows the EEPROM size recommended for each IQX device. Note: two EEPROMs are
required in thi s application in order to store the bit infor-mation for TMS and TDI.
2.3 Software
I-Cube’s IDS100 software provides an option to convert a bit stream file into an ASCII hex file
suitable for use with an EPROM programmer. It can generate hex files in either Motorola 32-
bit hex or Intel Hex-32 format. The “IDS100 IQX Family User’s Guide” document, under
“Make EPROM file option” section, provides step-by-step instructions on how to make
EEPROM files.
If using IDS100 under W indows, option 4 in the Make EEPR OM dia-lo g box o f the IDS 100
software will separate the TMS bits and the TDI bits from the bit st ream file into tw o
different files for serial EEPROM devices.
If using IDS100 under DOS, the following command is used to convert a bit stream file into an
EEPROM file.
mkeprom bin_file hex _File [-f{M/I}] [-s{4}] [-axxxx] [-exxx]
Where,
bin_file a binary bit stream file generated by the I-Cube program
hex_file the resulti ng o utput hex file
-f{M/I} specify the format for the output hex file; specify M for Motorola 32-bit hex
and I for Intel Hex- 32
-s(4) specify the ordering or sequencing of the TMS/TDI bits in the hex data bytes.
Option 4 is used to convert a bit stream file into two separate TMS and TDI files for
serial EEPROM devices.
-a specify the starting address
-e specify the ending address
Table 1 EEPROM Size by IQX Device
Devices EEPR OM Size
IQX320 256K x 1 bit
IQX240B 128K x 1 bit
IQX160 65K x 1 bit
IQX128B 65K x 1 bit
Rev 3.0 - July 2001 [Doc. # IQX_AutoConfig_ApNote] 3 of 4
Automatic Configuration of IQX Family
Both the IDS100 software and the IDS100 IQX Family Users Guide docu-ment can be
downloaded from I-Cubes web site, http://www.icube.com.
2.4 Design Example
This is an example demonstrating how to automatically configure an IQX320 device using
dual serial EEPROM. Two 256K x 1 serial EEPROMs from ATMEL, part number AT17C256,
are used to store the bit streams. Refer to Atmels AT17C256 data sheet for more details on
these devices. The layout of the circuitry is shown in th e Figure 2.
Upon power-up, an active low RESET signal will reset the IQX320 device and the two serial
EEPROMs. An external clock is used to synchronize all devices. The bit stream stored in each
EEPROM is downloaded to the IQX320 device through the TDI and TMS pins. At the end of
the bit stream, the CEO pin will be a logic 0. Once the CEO pin is at logic 0 for the first
EEPROM, it generates a STOP signal that wil l disable the clock for both EEPROMs . The logic
0 state of the second CEO will turn on the LED to signify that the configuration is
completed.
Figu re 2. A uto-Co nfi g ur ing th e I QX3 20 Using Du al Se rial EEPR O Ms Sche m atic
OSC
VCC
STOP*
CLOCK*10 K
10 K RESET*
10 K
Reset*/OE
SER_EN*
CE*
CLK
VCC
DATA
CEO*
AT17C256
Reset*/OE
SER_EN*
CE*
CLK
VCC
DATA
CEO*
AT17C256
VCC
VCC
CLOCK
10 K
10 K
STOP*
IQX320
TRST*
TDI
TDO
TCK
TMS
RCE
1 K
10 K
CLOCK*
RESET*
LED
VCC
10 K
RESET*
VCC
1.1 µF
Note: * mean s "Active Low "
VCC
4 of 4 [Doc. # IQX_AutoConfig_ApNote] Rev 3.0 - July 2001
Automatic Configuration of IQX Family
I-Cube® is a registered trademark and ActiveArray, ImpliedDisconnect, RapidConnect, RapidConfigure,
IQ, IQX, MSX, OCX, and PSX are trademarks of I-Cube, Inc. All other trademarks or r egister ed tra demarks
are the property of their respective holders. I-Cube, Inc., does not assume any liability arising out of the
applications or use of the product described herein; nor does it convey any license under its patents,
copyright right s or any rights of others.
The information contained in this document is believed to be current and accurate as of the publication
date. I-Cube reserves the right to make changes, at any time, in order to improve reliability, function,
performance or design in order to supply the best product possible.
I-Cube assumes no obligation to correct any errors contained herein or to advise any user of this text of any
correction if such be made.
This product is protected under the U.S. patents: 5202593, 5282271, 5426738, 5428750, 5428800, 5465056,
5530814, 5559971, 5625780, 5710550, 5717871, 5734334, 5754791, 5781717, 5784003, 5790048, 5884101.
Additional patents pen ding.
Automatic Configuration of IQ X Family Rev 3.0, July 2001
Copyright © 1992-2001 I-Cube, Inc. All rights reserved. Unpublishedrights reserved under the copyright
laws of the United States. Use of copyright notices is precautionary and does not imply publication or
disclosure.
I-Cube®, Inc.
2605 S. Winchester Blvd.
Campbell, CA 95008 USA
Phone: +(408) 341-1888 Automatic Configuration of IQX Family
Fax: +(408) 341-1899 Revision 3.0, July 2001
Email: marketing@icube.com Document#: IQX_AutoConfig_ApNote_3.0
Internet: http://www.icube.com