February 2008 1 SiliconBlue SiliconBlue Technologies iceman65 Board Programmable Solutions for Consumer Handheld 7-MAY-2008 (v1.1)
February 2008 2 Agenda iceman65 Kit Programming Options More Information
February 2008 3 What s in the Box? iceman65 board LED peripheral module 32.0 MHz oscillator can USB cable Two-pin power cable (for power measurements) Quick Start guide
February 2008 4 I/O Bank 3 I/O Bank 1 iceman65 Block Diagram SiliconBlue Technologies ice65l04cb284c Digilent JTAG-USB JTAG Interface Socketed 32.0 MHz Oscillator USB AC Adapter Battery Pack 32.768 khz Oscillator VCC I/O Bank 1 1.2V Power Source Select Current Test Point Current Test Point Power Switch Power-On LED Voltage Regulator Voltage Select (3.3V, 2.5V, 1.8V) 6-pin Peripheral Module Headers 40-pin Ribbon Cable Headers 100-pin Hirose FX2 Connector 3.3V 2.5V 1.8V 1.2V I/O Bank 0 Pushbutton Switch Configuration Done LED Two Slide Switches Reset I/O Bank 2 Current Test Point Voltage Select (3.3V, 2.5V, 1.8V) 6-pin Peripheral Module Headers 40-pin Ribbon Cable Headers 100-pin Hirose FX2 Connector SPI Programming Options USB USB 2.0 12 SMA Clock Input I/O Bank 0 Current Test Point Voltage Select (3.3V, 2.5V, 1.8V) Four user LEDs 6-pin Peripheral Module Headers 40-pin Ribbon Cable Headers 100-pin Hirose FX2 Connector TotalPhase Aardvark, Digilent Cheetah JTAG-USB Voltage Select (3.3V, 2.5V, 1.8V) 4 4Mbit SPI Serial Flash Current Test Point SPI Interface I/O Bank 3 80-pin Samtec Connector 6-pin Peripheral Module Headers Current Test Point Voltage Select (2.5V, 1.8V) I/O Bank 2
Design Philosophy Deliver the Boards NOW!!! Plentiful I/O : ice65 Competitive Advantage Expansion connectors and boards Leverage off-the-shelf solutions where possible Flexible I/O Voltages : ice65 Competitive Advantage Separate voltages for each I/O bank supply Power Measurements : ice65 Competitive Advantage Jumpers for easy measurements Each I/O bank, core isolated into power islands Programming Options Options Onboard USB + third party options Multiple power supply options Board supports ice65l02 through ice65l16 in CB132, CB284 packages CB284 socket (for testing on-board NVCM programming) February 2008 5
February 2008 6 Power Options Powered by USB by default Also programming interface Optional power sources AC adapter Battery pack Each I/O bank has Independent voltage control Isolation jumper Possible Power Sources AC Wall Adapter (+5V DC) USB Cable (default) Battery Pack (2.7 to 5.5V DC) Voltage Regulator National Semiconductor LP3906 J1 SDA SCL I 2 C Control Interface I/O Bank 3 I/O Bank 0 ice65 I/O Bank 2 J2 J5 J4 Isolation Jumpers 1.2V JP1 I/O Bank 1 JP2 JP3 JP4 3.3V 2.5V 1.8V Select Power Source WAL USB BAT I/O Bank 0 I/O Bank 1 I/O Bank 2 I/O Bank 3 SOURCE SELECT J3 1.8 ON OFF Power Switch POWER Power On LED ice65 Core VCC Board Supplies I/O Bank Voltage Select 3V3 Connectors and 2V5 Components J43 J45 J44 JP23 ice65 Power Isolation JP20 JP22 JP21 JP24
February 2008 7 LEDs Four general-purpose LEDs on the board Not on Rev. B boards Drive Low to light LED Connections shared with upper-left PMOD socket Pin numbers marked on board (Example [C7] ) LED Peripheral Module Included with kit Plugs into any PMOD socket Works at 1.8V to 3.3V Four discrete user LEDs (only on Revision D boards or later) Connections shared with top, left PMOD connector (J12) 0 = LED ON [ C7] [ C5] [ E5] [ E6] LD6 LD5 LD4 LD3
Switches CRESET_B pushbutton Two user slide switches Note reversed polarity User pushbutton Normally 1 Push for 0 BTN1 (Reset USB) CDONE Jumper (JP14) Configuration DONE LED (CDONE) SW3 [V14] 1 NOTE: Reverse polarity 0 SW2 [R13] 0 1 BTN3 [T13] Normally 1, Press for 0 BTN2 (Configuration Reset, RESET_B) February 2008 8
Clock Sources Empty SMA connector mounting location Socketed Oscillator Enable (JP25) Oscillator Socket (32.0 MHz installed) [V11] SMA Connector [E10] I/O Bank 3 I/O Bank 0 ice65 I/O Bank 2 I/O Bank 1 Empty SMA connector mounting location 32.768 khz Oscillator Enable (JP26) 32.768 khz oscillator mounted on back side [V12] 32.768 khz oscillator mounted on back side 32.0 MHz oscillator can shipped with board Mount in 8-pin DIP socket Can change to any half-size oscillator SMA Connector to drive from external clock source Also available as an output Empty SMA connector mounting location February 2008 9
Expansion Connectors 100-pin Hirose FX2 Connectors Banks 0, 1, and 2 Digilent FX2 boards 40-pin Ribbon Cable Connectors Banks 0, 1, and 2 TerASIC camera and LCD panel 6-pin Peripheral Module (PMOD) Connectors Eight total, two per I/O bank Digilent PMOD modules Samtec 2 x PMOD 80-pin Samtec High-speed Connector Hirose FX2 Ribbon Cable 2 x PMOD Hirose FX2 Ribbon Cable 2 x PMOD Hirose FX2 Ribbon Cable 2 x PMOD Bank 3 only February 2008 10
February 2008 11 Hirose FX2 Expansion Boards Breadboard Prototyping Wirewrap Prototyping Video Decoder Board www.digilentinc.com/products/catalog.cfm?nav1=products&nav2=accessory&cat=accessory NOTE: Port Enhancement demo board plugs in to an FX2 connector.
February 2008 12 40-Pin Ribbon Cable Boards 1.3MPixel CMOS Imager/Camera 3.6-inch 320 x 240 Color Display www.terasic.com.tw 4.3-inch High-Resolution 800 x480 Color Display? New board, not much information yet 5MPixel CMOS Imager/Camera
Peripheral Modules (PMOD) Prototype Module 6-pin connector 4 signals Power, Ground Easy interfaces Analog Interface Memory Display Motor control www.digilentinc.com/products/catalog.cfm?nav1=products&nav2=peripheral&cat=peripheral February 2008 13
I/O Bank Voltage Control Each I/O Bank has selectable input voltage Banks 0, 1, 2 3.3V, 2.5V, 1.8V Keep I/O Bank 2 at 3.3V unless you read the manual I/O Bank 0 Supply Voltage Select (J43) I/O Bank 0 Supply Isolation (JP20) I/O Bank 3 Supply Isolation (JP24) I/O Bank 3 Supply Voltage Select (JP23) VPP_FAST external 6.5V supply connection (J42) I/O Bank 3 I/O Bank 0 ice65 I/O Bank 2 I/O Bank 1 VPP_2V5 Programming Supply Isolation Jumper (JP19) I/O Bank 1 Supply Voltage Select (J45) I/O Bank 1 Supply Isolation (JP22) KEEP I/O BANK 2 AT 3.3V I/O Bank 2 Supply Isolation (JP21) I/O Bank 2 Supply Voltage Select (J44) Bank 3 2.5V or 1.8V SPI Mini Bank KEEP SPI BANK AT 3.3V SPI Bank Supply Isolation (JP8) SPI Bank Supply Voltage Select (J10) 3.3V, 2.5V, 1.8V Keep at 3.3V unless you read the manual February 2008 14
February 2008 15 SPI Programming USB Programming Mode (JP11) 8 Mbit 25-series SPI Serial Flash (IC4) PROM Select, Peripheral Mode Select (J9) 25 45 SLAVE J9 ice-ss Optional 8 Mbit 45-series SPI Serial Flash (IC5) SPI Bank Isolation Jumper (JP8) SPI Data Swapper (JP6, JP7) JP7 JP6 SEE TABLE A SPI Bank Voltage Select (J10) 3V3 Numonyx/ST Micro M25P80 8Mbit, commodity SPI serial Flash PROM SPI Flash Write- Protect Jumpers (JP9, JP10) PMOD or JTAG-USB Cable Header (J8) TotalPhase Aardvark or Cheetah Programmer Header (J6) Some boards also have Atmel AT45DB081D 8Mbit PROM (not default build) Programming support via onboard USB, TotalPhase box, or Digilent cable Set jumpers as required (including CRESET_B jumper)
February 2008 16 Programming SPI Flash Hold CRESET_B Low Tri-states all pins Allows external programmer access to SPI Flash Built into iceman65 board TotalPhase Digilent Aardvark (lower-speed) www.totalphase.com/products/aardvark_i2cspi Cheetah (high-speed) www.totalphase.com/products/cheetah_spi Free Flash Center software www.totalphase.com/products/flash_center JTAG-USB Cable www.digilentinc.com/products/detail.cfm?prod=jtag-usb&nav1=products&nav2=cables Works with Adept/ICEUTIL CRESET_B SiliconBlue ice65 Hold CRESET_B Low to keep ice65 SPI pins in high impedance state. Programmer then has full access to PROM. Programmer SPI_SO SPI_SI SPI_SS_B SPI_SCK Commodity SPI Serial Flash PROM
On-board USB Programmer Programming Software Adept USB device drivers Available for download from iceman65 web site www.siliconbluetech.com/iceman65/downloads/adept.msi ICEUTIL Command-line driven Available for download from iceman65 web site www.siliconbluetech.com/iceman65/downloads/iceutil.exe Installation Guide Available for download from iceman65 web site www.siliconbluetech.com/iceman65/adepticeutilinstallation.pdf February 2008 17
Default Jumper Settings February 2008 18
Programming Setup Turn on power Install CDONE Jumper (JP14) to Enable CDONE LED CDONE LD2 JP14 Connect Mini-USB Cable Install CRESET_B Jumper (JP13) Holds ice65 SPI pins in Hi-Z Set SPI Bank Voltage Install VCCSPI (JP8) Set J10 to 3V3 JP8 VCCSPI Set I/O Bank 2 to 3.3V (JP21, J44) Set USB Programming Jumper (JP11) to SPI SPI PROG Select SPI PROM (J9) 25 45 SLAVE VCCIO_2 JP21 J44 JP11 J9 3V3 2V5 1V8 25 = M25P80 45 = AT45DB081 (not available on all boards) Set SPI Data Swappers JP6 JP7 SPI VOLTAGE J10 Be sure that jumper JP13 is installed to hold CRESET_B Low! 3V3 2V5 1V8 February 2008 19
February 2008 20 ICEUTIL Quick Reference Open DOS box, command window iceutil [opt1] [otp2] [...] Options: -d <devname> specify name of SPI interface device to use -m <memtype> specify target device type -w <filename> write device with contents of specified file -r <filename> write specified file with contents read from flash -id print the id code from the flash device -v verify device contents after write -a <address> specify starting address to write/read -l <length> specify number of bytes to read -E erase the flash memory device -NE don't perform any erase before write -fb read/write files in binary format -fi read/write files in Intel hex format -fh read/write files in raw hex format -s <freq> set SPI clock speed
February 2008 21 ICEUTIL Example Project creates two possible configuration images <project_name>_bitmap.hex : raw hex file <project_name>_bitmap_int.hex: Intel hex file Program M25P80 PROM with Raw Hex iceutil -d iceman65 -m m25p80 -fh -w <project_name>_bitmap.hex -v Program M25P80 PROM with Intel Hex iceutil -d iceman65 -m m25p80 -fi -w <project_name>_bitmap_int.hex -v Write configuration image file Target iceman65 board Specify hex format Memory type Verify after programming
February 2008 22 Default Design Design pre-programmed on boards Shift registers toggle the LEDs in one direction I/O Banks 0, 1 controlled by 32.768 khz oscillator on back of board I/O Banks 2, 3 controlled by 32.0 MHz socketed oscillator Slide switches SW2 and SW3 control the shift direction Pushbutton BTN3 resets the internal shift registers Pushbutton BTN2 reloads the configuration image
February 2008 23 Measuring Power Each ice65 voltage rail has an isolation jumper VCC core All four I/O banks SPI mini bank Remove jumper to measure current VCC VCCIO_0 VCCIO_3 VCCIO_1 VCCIO_2 SPI_VCC
Techniques (1) Quick and Easy: Multimeter Use a high-accuracy multimeter Connect meter to jumper using included cable Set meter to largest current setting (A, 100 ma) (can possibly damage meter if set too low) Re-adjust to relevant range (ma, µa) Too low of a setting results in too large a voltage drop across jumper Potentially violates minimum voltage spec. for part Possibly use a second voltage meter to measure voltage drop across first meter/jumper connection Power = Current Voltage February 2008 24
Techniques (2) More Accurate: Low Ω, high-precision (1%) resistor across jumper Measure voltage drop across resistor Better approach for measuring current draw over time Resistor value is key Too high: too large of a voltage drop Too low: too small to measure Power = ( Voltage ) 2 Resistor Value February 2008 25
More Information iceman65 Evaluation Kit page www.siliconbluetech.com/iceman65 iceman65 User Guide www.siliconbluetech.com/iceman65/icemanboarduserguide.pdf Frequent updates at the moment Adept/ICEUTIL Software and Installation Guide Schematics PC Board Layout Files (Gerbers) Reference designs (coming soon) February 2008 26