Altera Home Page
Literature Licensing
Buy On-Line Download

  Home   |   Products   |   Support   |   End Markets   |   Technology Center   |   Education & Events   |   Corporate   |   Buy On-Line  
  Knowledge Database   |   Devices   |   Design Software   |   Intellectual Property   |   Design Examples   |   mySupport   |   Reference Designs  

 Altera Troubleshooters
      Overview
      Licensing
      Simulating with ModelSim
      Timing Analysis
      PLL Loss of Lock
      FPGA Configuration
      JTAG Config & ISP
      PFL Troubleshooter
      Jam, JBC and SVF
      Usage Guidelines
      Optimization Advisor
  

Solution ID: rd09131999_640
Last Modified: Oct 12, 2002
Product Category: Other
Product Area: N/A
Product Sub-area: N/A

Problem

How can I erase an Altera® device in-system using the JTAG pins?

Solution

It is possible to erase a configuration device or MAX® device that supports in-system programmability (ISP) by using the JamTM Player and performing the following steps:

  1. Create a Jam File (.jam) or Jam Byte-Code File (.jbc) for the targeted device using the Create JAM or SVF file option in the MAX+PLUS® II Programmer.

    You can use any Programmer Object File (.pof) targeted for the device to create the Jam File or JBC File.

  2. At the DOS prompt, type the following command: jam -dDO_ERASE=1 <filename>.jam

    You need to have the Jam Player installed on your PC or in your embedded processor for the jam.exe executable to be recognized.

  3. To ensure that the device was successfully erased, perform a blank check by typing the following command at the DOS prompt:
jam -dDO_BLANKCHECK=1 <filename>.jam

You can also erase any MAX device that supports ISP, by reading back the POF from a factory-shipped blank device and re-program the device with this POF. To read the blank POF from a factory-shipped MAX device, you need to "Examine" the factory shipped device by going into the Programmer in the MAX+PLUS II software. This examined file can now be saved and used to re-program the already programmed device to factory default settings. Also, re-programming an already programmed MAX device with this factory shipped blank POF will tri-state all the I/Os after power up.

Go to: This process will work for an configuration device as well, but the device will not pass a blank check.

For all FLEX® and APEXTM devices, removal of power or driving nCONFIG low for 2 microseconds. automatically erases the device as all the FLEX and APEX devices are made using an SRAM process. Thus, the erasure of any FLEX or APEX device via JTAG is irrelevant.

Go to: Configuration and MAX devices are made using a FLASH and EEPROM process respectively, thus retaining their programming after the power supply has been disconnected to the device.


Feedback

 Rate This Page
     This solution answers my question:
Strongly Disagree
   
Strongly Agree
 
  1 2 3 4 5  
     This solution was easy to find:
Strongly Disagree
   
Strongly Agree
 
  1 2 3 4 5  

    Please provide additional feedback to improve support solutions:


Altera does not warrant that this solution will work for the customer's intended purpose and disclaims all liability for use of or reliance on the solution.

  Please Give Us Feedback