Difference: P_flash (1 vs. 2)

Revision 216 Jan 2013 - CharlieHill

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

Update Firmware using 'p_flash.py'

  • First, download and install the latest AMC13Python tarball found here. This latest release will contain the latest firmware files for the AMC13
  • After installing the AMC13Python software, run p_flash.py from its own directory, e.g.:
    
    
Changed:
<
<
cd amc13_python_2012-09-14/src_amc13/
>
>
cd amc13_python_2012-11-07/src_amc13/
  python p_flash.py
  • Then enter your AMC13 serial number:
       PyChips v1.4.3
    
    
Changed:
<
<
Enter AMC13 Serial Number: 3
>
>
Enter AMC13 Serial Number: 10
 
  • NOTE: You will always be prompted for your SN when running p_flash.py, even if your AMC13 SN is set in your environment
  • To check and see what firmware versions are currently in your AMC13:
Line: 18 to 18
  Enter '0-11' for flash action, 'q' to quit: 11

Virtex firmware version: 0x14L

Changed:
<
<
Spartan firmware version: 0xbL
>
>
Spartan firmware version: 0xfL
 
  • To program new firmware into your Virtex chip (Spartan chip is the same process, using option '4'):
    
    
Line: 27 to 27
  Current Virtex firmware version is 0x14L

Allowed MCS files:

Changed:
<
<
  1. ) *AMC13T1v0x0017_6vlx130t.mcs*
>
>
  1. ) *AMC13T1v0x0025_6vlx130t.mcs*
 
  1. ) AMC13T1v0x0014_6vlx130t.mcs

Select desired MCS file (enter integer). Hit <CR> to select highlighted best option:

Line: 57 to 57
 
   Enter '0-11' for flash action, 'q' to quit: 11

Changed:
<
<
Virtex firmware version: 0x17L Spartan firmware version: 0xbL
>
>
Virtex firmware version: 0x25L Spartan firmware version: 0xfL
 
Changed:
<
<
  • As you can see, the Virtex firmware version has been updated to version 0x17! We are done!
>
>
  • As you can see, the Virtex firmware version has been updated to version 0x25! We are done!
 

Revision 127 Sep 2012 - CharlieHill

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="HcalDTC"

Update Firmware using 'p_flash.py'

  • First, download and install the latest AMC13Python tarball found here. This latest release will contain the latest firmware files for the AMC13
  • After installing the AMC13Python software, run p_flash.py from its own directory, e.g.:
       cd amc13_python_2012-09-14/src_amc13/
       python p_flash.py
       
  • Then enter your AMC13 serial number:
       PyChips v1.4.3
       Enter AMC13 Serial Number: 3
       
  • NOTE: You will always be prompted for your SN when running p_flash.py, even if your AMC13 SN is set in your environment
  • To check and see what firmware versions are currently in your AMC13:
       Enter '0-11' for flash action, 'q' to quit: 11
    
       Virtex firmware version: 0x14L
       Spartan firmware version: 0xbL
       
  • To program new firmware into your Virtex chip (Spartan chip is the same process, using option '4'):
       Enter '0-11' for flash action, 'q' to quit: 5
    
       Current Virtex firmware version is 0x14L
    
       Allowed MCS files:
       1) **AMC13T1v0x0017_6vlx130t.mcs**
       2) AMC13T1v0x0014_6vlx130t.mcs
    
       Select desired MCS file (enter integer). Hit <CR> to select highlighted best option:
       Type '1-2' to select or '0' for menu:
       
  • Type <CR> to select the highlighted file (which is the most up-to-date) or enter the desired number from the list
    • NOTE: if your Current Virtex firmware version matches the highlighted version, then your flash does not need to be updated. Type '0' to return to the menu
  • Type 'y' to program flash, or any other key to abort
       WARNING!! You are about to program the flash. Would you like to continue? 
       'y' for yes, any other key to abort: y
       
  • After the flash has been successfully programmed and verified, you should see a message similar to:
       AMC13 flash successfully verified, no. pages = 21348
       
  • Now that your flash memory has been updated, you are ready to load the update firmware to your FPGAs:
       Enter '0-11' for flash action, 'q' to quit: 10
    
       Warning!! You are about to reconfigure both spartan and virtex from flash memory. Would you like to continue?
       'y' for yes, any other key to abort: y
       Spartan and Virtex have been reconfigured from flash
       
  • Wait a few seconds to ensure the lodaing's completion!
  • Check to make sure that your firmware has been successfully updated:
       Enter '0-11' for flash action, 'q' to quit: 11
    
       Virtex firmware version: 0x17L
       Spartan firmware version: 0xbL
       
  • As you can see, the Virtex firmware version has been updated to version 0x17! We are done!

-- CharlieHill - 27 Sep 2012

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback