---++Update Firmware using 'p_flash.py' * First, download and install the latest !AMC13Python tarball found [[AMC13PythonSoftware][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.: <pre> cd amc13_python_2012-11-07/src_amc13/ python p_flash.py </pre> * Then enter your AMC13 serial number: <pre> PyChips v1.4.3 Enter AMC13 Serial Number: 10 </pre> * 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: <pre> Enter '0-11' for flash action, 'q' to quit: 11 Virtex firmware version: 0x14L Spartan firmware version: 0xfL </pre> * To program new firmware into your Virtex chip (Spartan chip is the same process, using option ='4'=): <pre> 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: </pre> * 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 <pre> WARNING!! You are about to program the flash. Would you like to continue? 'y' for yes, any other key to abort: y </pre> * After the flash has been successfully programmed and verified, you should see a message similar to: <pre> AMC13 flash successfully verified, no. pages = 21348 </pre> * Now that your flash memory has been updated, you are ready to load the update firmware to your FPGAs: <pre> 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 </pre> * *Wait a few seconds to ensure the lodaing's completion!* * Check to make sure that your firmware has been successfully updated: <pre> Enter '0-11' for flash action, 'q' to quit: 11 Virtex firmware version: 0x25L Spartan firmware version: 0xfL </pre> * As you can see, the Virtex firmware version has been updated to version 0x25! We are done! -- Main.CharlieHill - 27 Sep 2012
This topic: BUCMSPublic
>
WebHome
>
HcalDTC
>
P_flash
Topic revision: r2 - 16 Jan 2013 - CharlieHill
Copyright © 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