Advertisement

Atmel ATF15xx Family: ISP Devices
............................................................................................................
User Guide

Advertisement

Table of Contents
loading

Summary of Contents for Atmel ATF15 Series

  • Page 1 Atmel ATF15xx Family: ISP Devices ......................User Guide...
  • Page 2: Table Of Contents

    ATMISP Hidden Commands (Advanced Users Only)......3-10 Section 4 Atmel-ISP Hardware ................4-1 Atmel-ISP Board Description ..............4-1 4.1.1 Optional Features on Atmel-ISP Board Useful for Prototyping...4-2 Atmel-ISP Daughter Board ...............4-4 Atmel-ISP Cable ..................4-5 Atmel ATF15xx Family: ISP Devices User Guide Rev. 1936A-07/01...
  • Page 3 Running the Atmel-ISP Software............5-2 5.1.3.1 Setting Up the Chain File .............5-2 5.1.3.2 Executing ISP on Atmel ISP Devices...........5-3 Using ByteBlaster/ByteBlasterMV Cable with Atmel ISP Devices ....5-4 Creating SVF Files ..................5-4 Creating Jam Files ..................5-5 Creating PCF Files..................5-5 Section 6 JTAG ISP Guidelines................6-1 Section 7 Troubleshooting ..................
  • Page 4: Introduction

    In addition to these three components, a JEDEC file is also necessary to program any Atmel ISP devices. This JEDEC file can be created by compiling a design file using a compiler software that supports the Atmel ISP devices. Atmel also provides translator software (POF2JED.EXE) to convert output files from the competitor’s programming for-...
  • Page 5: Benefits

    The TDI pin is the serial data input. It is used to shift programming data into the Atmel device. The TDO pin is the serial data output. It is used to shift out data from the Atmel device. The TMS pin is a mode select pin. It controls the state of the JTAG TAP controller.
  • Page 6: Multiple-Device Programming

    1.2.2 Multiple-device Atmel ISP devices can be configured as part of a JTAG daisy chain. Once the daisy Programming chain is configured, multiple Atmel ISP devices can be programmed at the same time (Parallel ISP).
  • Page 7: Design Considerations

    A device residing in any location in the JTAG chain can be programmed exclusive of all others. You can use the Atmel-ISP software to place all other devices except the one to be programmed in the JTAG Bypass mode. When the other devices are placed in this mode, a 1-bit flow-through register appears between the TDI and TDO pins for these devices.
  • Page 8: Jtag Interface With Atmel-Wincupl

    1. Double-click on the Device icon in the Sources section of the Project Naviga- tor. The Choose Device dialog box will open. 2. Click once on Atmel PLDs. Click on the down arrow to scroll through the device list. 3. Click once on the appropriate Atmel ISP device type to select the device for your design.
  • Page 9 If you have designs that prevent you from reserving resources for the JTAG interface or you do not wish to use ISP, you must select an Atmel non-ISP device type. See Table 1-2 below for a listing. You can then reprogram the device using an external device programmer.
  • Page 10: Atmel-Isp Package Options

    Atmel-ISP Package Options Atmel offers two options for customers who want to implement in-system programming. The Atmel-ISP kit is useful for customers who want to implement ISP on their circuit board. The Atmel-ISP board package is an in-system programming tool. The contents of each of these two options are listed below.
  • Page 11: System Requirements

    Atmel-ISP Package Options System The Atmel-ISP board operates when connected to a parallel port on a PC station run- ® ® Requirements ning Windows 3.x, Windows 95, Windows 98, Windows NT 3.x or Windows NT 4.x. The minimum software and hardware requirements for programming the device are as follows: Atmel-ISP software (ATMISP.EXE)
  • Page 12: Atmel-Isp Software

    Atmel and non-Atmel ISP devices configured on your circuit board. You can use the software to add, edit or delete items in the JTAG chain file. Any Atmel ISP device in the JTAG chain can be programmed with this software. You can also Atmel ATF15xx Family: ISP Devices User Guide Rev.
  • Page 13 The ATMISP software also allows you to generate Serial Vector Format files. ATE ven- dors that support the SVF file format can execute ISP on Atmel ISP devices only. If you need to program devices from different vendors with a single SVF file, you’ll need to use third-party software that supports these features.
  • Page 14: Atmisp Commands

    This dialog box allows you to specify the ISP operation you want to perform for each Atmel ISP device in your JTAG hardware chain. Some of the ISP commands and operations available on the Atmel-ISP software are discussed below.
  • Page 15: Description Of Atmisp File Menu Commands

    This command allows you to create a new chain file. The chain file is ATMISP File Menu needed so that you can execute ISP operations for the Atmel ISP Commands device(s) in the JTAG chain on your circuit board or ISP board. After you execute this command, the ISP software will prompt you to spec- ify the number of devices in your JTAG chain.
  • Page 16 This option is intended to help you if you are having problems getting the Atmel-ISP software to communicate between your PC’s parallel port and either your circuit board or the Atmel-ISP board. When this option runs, the software dynamically adjusts the communication speed between the parallel port on your PC and the Atmel ISP devices in your JTAG chain.
  • Page 17 The ISP software will then append information about the new device to the existing chain file. Before you can use this command you must solder a new Atmel ISP device and connect it to your existing JTAG hardware chain on your circuit board.
  • Page 18 ISP software. The software will prompt you to save it before exiting. To add device(s) to a chain in Atmel-ISP V2.99 and later, you can perform the following: 1. Follow steps 1 and 2 above.
  • Page 19: Description Of Atmisp Process Menu Commands

    If there are discrepancies, use the Edit Device, Add Device or Delete Device command to modify the chain file. Atmel recommends that you view your chain file prior to executing it. This will assure that you are programming the right device with the right instruction in the correct order on your JTAG hardware chain.
  • Page 20 ATE vendors. The ISP software will generate an SVF file for Atmel devices only. All other devices need to be placed in the Bypass mode. The SVF...
  • Page 21: Atmisp Hidden Commands (Advanced Users Only)

    If you are unsure whether you have the latest version, check with Atmel PLD Applications. ATMISP Hidden There are many protection features built in to the Atmel-ISP software. For example, fea- tures to ensure that the correct device is being programmed, that the correct voltage Commands...
  • Page 22 Make sure you have first soldered an erased Atmel ISP device in your JTAG hardware chain. If you enable this option and still attempt to program any Atmel ISP device, you will only be able to program it once using ISP.
  • Page 23 Atmel-ISP Software 3-12 Atmel ATF15xx Family: ISP Devices User Guide...
  • Page 24: Atmel-Isp Hardware

    Atmel supplies a daughter board for each available package type. The Atmel-ISP board is primarily intended as a programming tool. You can use it to pro- gram Atmel ISP devices before inserting them on your circuit board. Figure 4-2 is a diagram of the Atmel-ISP board.
  • Page 25: Optional Features On Atmel-Isp Board Useful For Prototyping

    DC Adapter Connector You can find the revision of the Atmel-ISP board by looking on the front of it just below the prototype area and above the Q2 and Q3 labels. It is always recommended that you use the latest revision of the Atmel-ISP board when programming Atmel devices.
  • Page 26 LED1 for Setting Up 16-segment Display On/Off J5 - Male header for ISP cable (Pin 1 aligns with the red marking on the ByteBlaster/Atmel-ISP cable) SW3 - Slide switch (on/off) J8 - AC/DC adapter connection JP3 - V selection jumper. If programming ATF1500AS/ASL devices, set the jumper to 5V to select 5V V If programming ATF1500ASV/ASVL devices, set the jumper to 3V to select 3.3V V...
  • Page 27: Atmel-Isp Daughter Board

    There are unique daughter boards available for each Atmel-ISP package type. Each daughter board contains a socket for the Atmel ISP device on the top side, and female header connector on the bottom side. The header connectors on the bottom side mate with the male headers on Socket 2 of the Atmel-ISP board.
  • Page 28: Atmel-Isp Cable

    If you are attempting to program the ATF1500ASV low-voltage devices, you need to use Rev. 4 or later of the Atmel-ISP cable. This and later revisions will support both the ATF1500ASV and AS devices (3V and 5V, respectively). Earlier revisions of the cable only support the ATF15xx (5V) devices.
  • Page 29 Figure 4-5. Atmel-ISP Cable Connection to ISP Hardware Board/Circuit Board Figure 4-6 shows the pinout for the 10-pin female header on the Atmel-ISP cable. The pinout on the 10-pin male header on the PC board (if used for ISP) must match this pinout.
  • Page 30 All dimensions are in inches Figure 4-8. 10-pin Male Header Pinout The Atmel-ISP cable is subject to hardware revisions from time to time as Atmel improves its performance and adds new features. Always try to use the latest revision of the Atmel-ISP cable to program Atmel ISP devices.
  • Page 31 Atmel-ISP Hardware Atmel ATF15xx Family: ISP Devices User Guide...
  • Page 32: Getting Started

    Section 5 Getting Started In-System Before you can use the Atmel-ISP software, you will need to make sure that none of the ISP devices on your circuit board is using the JTAG port pins for logic I/O functions. Programming Atmel recommends that you erase all devices before inserting them on your circuit Procedure board.
  • Page 33: Setting Up Your Target System

    6. You are now ready to run the Atmel-ISP software. 5.1.3 Running the The Atmel-ISP software must be installed on your PC before you can run it. When it is Atmel-ISP Software successfully installed, the Atmel-ISP Program and Help icons are automatically created.
  • Page 34: Executing Isp On Atmel Isp Devices

    JTAG instruction width needs to be changed accordingly if the non- Atmel ISP device does not have a 10-bit JTAG instruction width. All Atmel PLD ISP devices have 10-bit JTAG instruction width, and 10 is the default width.
  • Page 35: Using Byteblaster/Byteblastermv Cable With Atmel Isp Devices

    Process..Run command. To switch the cable type back to the Atmel-ISP cable, go to the main menu, select the Process menu, and choose Options. Select No again to SVF format. The second notice will be different from before and it will ask if you want to use the Standard cable.
  • Page 36: Creating Jam Files

    Please refer to the application note “Creating Atmel JAM/JBC File(s) for the ATF1500AS Device Family” for further details on how to create Jam files for Atmel ISP devices. Creating PCF If you are using the Hewlett-Packard HP3070 Series of ATE testers to program your Files Atmel ISP devices, you’ll need the HP Pattern Capture Format (PCF) files.
  • Page 37 Getting Started Atmel ATF15xx Family: ISP Devices User Guide...
  • Page 38: Jtag Isp Guidelines

    • All Atmel ATF15xx devices are shipped in the erased state so that they are ISP- ready. 2. Make sure the red LED on the back of the Atmel-ISP cable is on when programming. • To ensure that the ISP cable is connected properly.
  • Page 39 Optional internal pull-ups on TMS and TDI can be used. Pull-ups are required on TMS and TDI by the JTAG standard. • Must select correct device types in Atmel-Synario and Atmel-WinCUPL to enable JTAG TAP. 10. ISP is available when the part is in Pin-controlled Power-down mode or when “low power”...
  • Page 40 When a blank/erased device is programmed – When a device is reprogrammed with the pin-keeper circuits disabled – Prevents bus contention with external devices interfacing with Atmel device on the circuit board • Weakly latched to the previous state: –...
  • Page 41 This is a JTAG chain that has both 3V and 5V devices. • 3V outputs may not drive 5V (CMOS-compatible) inputs on other devices on cir- cuit board. Programming problems may occur for 3V devices. Atmel ATF15xx Family: ISP Devices User Guide...
  • Page 42: Troubleshooting

    Section 7 Troubleshooting ATMISP This section is useful in resolving any problems that may arise when executing ISP operations using the Atmel-ISP software. Messages generated on-screen are further Messages classified into error messages, warning messages and notices. 7.1.1 Error Messages Failed to Save Chain File The software was unable to write the .chn file to disk.
  • Page 43 Another cause for this error occurs when the IDCODE box in the Atmel-ISP software JTAG Properties dialog box for each device is not checked. Versions 2.77 and later of the ISP software will warn you about this, but earlier versions may not.
  • Page 44 2. Problem: Your circuit board does not contain an Atmel ISP device(s). Solution: Make sure at least one Atmel ISP device is inserted in your circuit board. 3. Problem: No cable is connected between the PC’s parallel port and the 10-pin JTAG header on your circuit board.
  • Page 45 Solution: You need a different version of the ISP software (ATMISPNT) to be able to run on Windows NT 3.x and above. The Windows NT version of the Atmel-ISP software is also available on Atmel’s web site and BBS for download.
  • Page 46 The Atmel-ISP software reads an incorrect manufacturer silicon device ID for an Atmel ISP device on your circuit board. If any Atmel device has an invalid ID, you can still per- form ISP operations on it by using the hidden ID Check Override command. However, it is not recommended to override the device ID check feature.
  • Page 47: Warning Messages

    This error occurs if you have a 3V supply on your target system but are using 5V device(s) on your board. If the Atmel-ISP software detects a 3V supply on the JTAG header and a 5V device ID is read out from at least one device in your hardware chain, then it will generate this error.
  • Page 48 Troubleshooting The reverse is true for devices that have an ID code (such as Atmel ISP devices). The IDCODE box must be checked for them. If the IDCODE box is in the wrong state, it will affect the bitstream that the software actu- ally sees from your JTAG hardware chain versus the bitstream it expects to see.
  • Page 49: Notices

    ISP on automated test equipment (ATE) that supports the SVF format. The SVF file created will only support ISP operations on Atmel ISP devices. If you need to program devices from different vendors with a single SVF file or execute JTAG Boundary Scan Test (BST) operations on an Atmel device, you need to use third-party JTAG software that supports these features.
  • Page 50 SVF file for each group of ISP operations you want to perform. However, if you want to do this, select Yes. Otherwise, select No. Atmel recommends that you choose Yes here so that you don’t inadvertently create an SVF file that exe- cutes more operations than you intended to perform.
  • Page 51 Troubleshooting 7-10 Atmel ATF15xx Family: ISP Devices User Guide...
  • Page 52: Ordering Information

    The ATDH1150PC (5V-only ISP cable) and ATDH1160PC (5V-only ISP board) are no longer available and they are replaced by ATDH1150VPC and ATDH1160VPC, respectively. Contact information for Atmel PLD Applications: Hotline: (408) 436-4333 E-mail: pld@atmel.com URL: www.atmel.com Atmel ATF15xx Family: ISP Devices User Guide Rev. 1936A-07/01...
  • Page 53 Ordering Information Atmel ATF15xx Family: ISP Devices User Guide...
  • Page 54 No licenses to patents or other intellectual property of Atmel are granted by the Company in connection with the sale of Atmel products, expressly or by implication. Atmel’s products are not authorized for use as critical components in life support devices or systems.
  • Page 55 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Atmel ATDH1150VPC-...

Table of Contents