All Flash memory programming is done with the Spartan (T2). From T2 firmware v6 onward, the flash memory is organized as follows:

0x000000 header
0x100000 Spartan "golden" backup
0x200000 Spartan
0x400000 Virtex

NOTE; earlier versions of the spartan firmware (pre v6) use addres 0x0 for the Spartan. These modules can be reloaded without a cable by writing v6 to 0x0, powercycling to configure from flash, loading the flash according to the table above, and finally powercycling to get the current configuration.

The flash programming may be verified against the mcs files (which must be locally available) with AMC13Tool with the following commands:

  • vfh (verify flash header)
  • vbs (verify backup spartan)
  • vs (verify spartan)
  • vv (verify virtex)

The flash may be programmed (mcs files must be locally available) with AMC13Tool with the following commands:

  • PFH (Program Flash Header)
  • PBS (Program Backup Spartan)
  • PS (Program Spartan)
  • PV (Program Virtex)
As of 26may2012, an AMC13Tool exists in python with the same commands.

The FPGAs (both Spartan and Virtex) may be configured from the flash contents by issuing the software command in AMC13Tool:

  • L (Load)
This command writes 0x100 into address 0x0 of the Spartan. The C++ command is:
  • amc13.writeAddress(amc13.spartan,0x0, 0x100)

The firmware versions of the Spartand and Virtex may be read with AMC13Tool with the command:

  • fv
This command reads address 0x0 of the Spartan and 0x0 of the Virtex:
  • amc13.readAddress(amc13.spartan,0x0)
  • amc13.readAddress(amc13.virtex,0x0)
The upper two bytes contain the AMC13 serial number and the lower two bytes contain the firmware version number.

-- JimRohlf - 26 May 2012

Edit | Attach | Watch | Print version | History: r25 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 27 May 2012 - JimRohlf
  • Edit
  • Attach
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