Difference: FlashMemory (23 vs. 24)

Revision 2423 Sep 2020 - ChristopherCosby

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
Useful Links
Changed:
<
<
Firmware Files
>
>
Firmware Files
 
iMPACT Installation
Running iMPACT
iMPACT Troubleshooting
Line: 46 to 46
 
  • Running iMPACT
    • If you have successfully installed iMPACT as well as "libusb" and "fxload" (see installation instructions above if not!), try and run the LabTools software.
Changed:
<
<
      1. Set the environment and start the program
>
>
      1. Set the environment and start the program
 
         $ source <LabToolsInstallationDir>/14.4/LabTools/settings64.[c]sh
         $ export LD_LIBRARY_PATH=<libusbSharedLibDir>:$LD_LIBRARY_PATH
         $ impact
         
Changed:
<
<
      1. Double click on the Boundary Scan icon in the "iMPACT Flows" sub-window
      2. Right click on the large sub-window and select initialize chain
>
>
      1. Double click on the Boundary Scan icon in the "iMPACT Flows" sub-window
      2. Right click on the large sub-window and select initialize chain
  If your device is successfully identified, then you are ready to follow the instructions below and program your AMC13's flash memory from JTAG.
Changed:
<
<
NOTE Newer versions of iMPACT may not have a iMPACT Flows window with Boundary Scan opened by default. Another way to start in this case is to start a new project (File -> New Project) and doing a boundary scan through there
>
>
NOTE Newer versions of iMPACT may not have a iMPACT Flows window with Boundary Scan opened by default. Another way to start in this case is to start a new project (File -> New Project) and doing a boundary scan through there
 
  • iMPACT Troubleshooting
Line: 64 to 64
 

Deleted:
<
<
 
  • Configure FPGA using iMPACT
Changed:
<
<
    1. Download the following bit file to your computer (in a known, accessible location):
>
>
    1. Download the following bit file to your computer (in a known, accessible location):
 
Changed:
<
<
    1. Connect your JTAG cable to the bottom-most of the two 10-pin, rectangular, male sockets on the front panel of your AMC13 as show here. Note that "pin 1" is in the upper left-hand corner of the connector
    2. Once your JTAG cable is connected, open the IMPACT software (see iMPACT Installation for installation instructions and Running iMPACT for startup instructions) on the computer which is connected to your JTAG cable
    3. The software will prompt you about loading past projects and creating new ones. Just say no/cancel to all of these opions.
    4. Once the main window for IMPACT is up, click on the Boundary Scan icon in the "iMPACT Flows" sub-window.
    5. Once you have done this, right click on the large sub-window and select initialize chain
    6. A window will then pop up asking you to assign configuration files. Cancel out of this.
    7. Make sure that at the bottom of your large sub-window, there is a blue rectangle which reads "Identify Succeeded". Also, you should now see a graphic (in this same sub-window) of both the Virtex and Spartan chips in your AMC13
    8. We want to program the Spartan chip! Right click on the graphic of the Spartan chip and select assign new configuration file
    9. This should open a file browser on your computer. Find and select the bit file that you downloaded at the start of this process.
    10. Once you have done this, click program and select ok
    11. The bit file is loaded very quickly, so don't be alarmed if it seems like nothing happened.
    12. Your Spartan chip should now be at firmware version 0x6. Do not cycle the power at this point.
    13. Use either AMC13Tool.exe in the C++ software or AMC13ToolFlash in the AMC13 software to update the flash for your Spartan and Virtex chips. You should program all 4 flash images (AMC13T2Header, AMC13T2Golden, AMC13T2Vxxxxx.mcs and AMC13T2Vxxxxx.mcs). After this last step is complete you should cycle the power and check that your versions are now the latest ones.
>
>
    1. Connect your JTAG cable to the bottom-most of the two 10-pin, rectangular, male sockets on the front panel of your AMC13 as show here. Note that "pin 1" is in the upper left-hand corner of the connector
    2. Once your JTAG cable is connected, open the IMPACT software (see iMPACT Installation for installation instructions and Running iMPACT for startup instructions) on the computer which is connected to your JTAG cable
    3. The software will prompt you about loading past projects and creating new ones. Just say no/cancel to all of these opions.
    4. Once the main window for IMPACT is up, click on the Boundary Scan icon in the "iMPACT Flows" sub-window.
    5. Once you have done this, right click on the large sub-window and select initialize chain
    6. A window will then pop up asking you to assign configuration files. Cancel out of this.
    7. Make sure that at the bottom of your large sub-window, there is a blue rectangle which reads "Identify Succeeded". Also, you should now see a graphic (in this same sub-window) of both the Virtex and Spartan chips in your AMC13
    8. We want to program the Spartan chip! Right click on the graphic of the Spartan chip and select assign new configuration file
    9. This should open a file browser on your computer. Find and select the bit file that you downloaded at the start of this process.
    10. Once you have done this, click program and select ok
    11. The bit file is loaded very quickly, so don't be alarmed if it seems like nothing happened.
    12. Your Spartan chip should now be at firmware version 0x6. Do not cycle the power at this point.
    13. Use either AMC13Tool.exe in the C++ software or AMC13ToolFlash in the AMC13 software to update the flash for your Spartan and Virtex chips. You should program all 4 flash images (AMC13T2Header, AMC13T2Golden, AMC13T2Vxxxxx.mcs and AMC13T2Vxxxxx.mcs). After this last step is complete you should cycle the power and check that your versions are now the latest ones.
 
  • Program FLASH using iMPACT
Changed:
<
<
    1. Download the desired MCS file to your computer (in a known, accessible location)
    2. Connect your JTAG cable to the bottom-most of the two 10-pin, rectangular, male sockets on the front panel of your AMC13. Note that "pin 1" is in the upper left-hand corner of the connector
    3. Once your JTAG cable is connected, open the IMPACT software (see iMPACT Installation for installation instructions and Running iMPACT for startup instructions) on the computer which is connected to your JTAG cable
    4. The software will prompt you about loading past projects and creating new ones. Just say no/cancel to all of these opions.
    5. Once the main window for IMPACT is up, click on the Boundary Scan icon in the "iMPACT Flows" sub-window.
    6. Once you have done this, right click on the large sub-window and select initialize chain
    7. Right click on the "SPI/BPI Device" dotted box and select "Add SPI/BPI Flash"
    8. In the file browser dialogue box, select the MCS file you want to program to FLASH
    9. In the "Select Attached SPI/BPI" dialogue box, select "SPI PROM" in the first pull down box and M25P128 in the second dialogue box (use M25P32 for TTT board!), then hit OK
    10. Right click on the new FLASH box attached to your FPGA in the large sub-window's diagram and select "Program"
    11. This process may take quite a long time, so be patient. The large sub-window will let you know whether the FLASH program was successfull or problematic
>
>
    1. Download the desired MCS file to your computer (in a known, accessible location)
    2. Connect your JTAG cable to the bottom-most of the two 10-pin, rectangular, male sockets on the front panel of your AMC13. Note that "pin 1" is in the upper left-hand corner of the connector
    3. Once your JTAG cable is connected, open the IMPACT software (see iMPACT Installation for installation instructions and Running iMPACT for startup instructions) on the computer which is connected to your JTAG cable
    4. The software will prompt you about loading past projects and creating new ones. Just say no/cancel to all of these opions.
    5. Once the main window for IMPACT is up, click on the Boundary Scan icon in the "iMPACT Flows" sub-window.
    6. Once you have done this, right click on the large sub-window and select initialize chain
    7. Right click on the "SPI/BPI Device" dotted box and select "Add SPI/BPI Flash"
    8. In the file browser dialogue box, select the MCS file you want to program to FLASH
    9. In the "Select Attached SPI/BPI" dialogue box, select "SPI PROM" in the first pull down box and M25P128 in the second dialogue box (use M25P32 for TTT board!), then hit OK
    10. Right click on the new FLASH box attached to your FPGA in the large sub-window's diagram and select "Program"
    11. This process may take quite a long time, so be patient. The large sub-window will let you know whether the FLASH program was successfull or problematic

  • Configure FPGA using Vivado (as an alternative to iMPACT)
    1. Download the following bit file to your computer (in a known, accessible location):
    2. Connect your JTAG cable to the bottom-most of the two 10-pin, rectangular, male sockets on the front panel of your AMC13 as show here. Note that "pin 1" is in the upper left-hand corner of the connector
    3. Once your JTAG cable is connected, open the Vivado Lab Tools on the computer which is connected to your JTAG cable
    4. On the opening screen, click "Open Hardware Manager".
    5. At the top of the screen a bar will appear with the text "No hardware target is open." Click on "Open target" and select "Auto Connect" from the drop down menu.
    6. The device should appear on the left, with sub elements for both of the chips.
    7. We want to program the Spartan chip! Right click on the name of the Spartan chip and select "Program XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
    8. This should open a file browser on your computer. Find and select the bit file that you downloaded at the start of this process.
    9. Once you have done this, click program and select ok
    10. Your Spartan chip should now be at firmware version 0x6. Do not cycle the power at this point.
    11. Repeat steps 7-10 for the T1 Virtex Chip
    12. (If you're running a memory test for production testing, proceed with those steps now, before you program flash or power cycle the unit)
    13. Use either AMC13Tool.exe in the C++ software or AMC13ToolFlash in the AMC13 software to update the flash for your Spartan and Virtex chips. You should program all 4 flash images (AMC13T2Header, AMC13T2Golden, AMC13T2Vxxxxx.mcs and AMC13T2Vxxxxx.mcs). After this last step is complete you should cycle the power and check that your versions are now the latest ones.
  -- JimRohlf - 26 May 2012
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback