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-11-07/src_amc13/
       python p_flash.py
       
  • Then enter your AMC13 serial number:
       PyChips v1.4.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:
       Enter '0-11' for flash action, 'q' to quit: 11
    
       Virtex firmware version: 0x14L
       Spartan firmware version: 0xfL
       
  • 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) **AMC13T1v0x0025_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: 0x25L
       Spartan firmware version: 0xfL
       
  • As you can see, the Virtex firmware version has been updated to version 0x25! We are done!

-- CharlieHill - 27 Sep 2012

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 16 Jan 2013 - CharlieHill
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback