Line: 1 to 1 | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Programming AMC13 Flash with AMC13ToolFlash | |||||||||||||||||||||
Changed: | |||||||||||||||||||||
< < | Instructions for programming flash with AMC13ToolFlash. Flash sectors should be programmed using the latest firmware for all sectors. The flash sectors should be programmed in the following order: | ||||||||||||||||||||
> > | Instructions for programming flash with AMC13ToolFlash. Flash sectors should be programmed using the latest firmware for all sectors. These instructions are for initial programming of the AMC13 or for recovery of AMC13 after flash has been corrupted. This tool is not meant for typical firmware updates of a working AMC13. Firmware update should follow instructions using AMC13Tool2: AMC13Tool2Recipes#UpdateFirmware | ||||||||||||||||||||
Changed: | |||||||||||||||||||||
< < |
| ||||||||||||||||||||
> > | Prerequisites: | ||||||||||||||||||||
| |||||||||||||||||||||
Changed: | |||||||||||||||||||||
< < | Getting the files: | ||||||||||||||||||||
> > | Getting Firmware: | ||||||||||||||||||||
AMC13T2Header_6slx45t.mcs at the link here![]() | |||||||||||||||||||||
Changed: | |||||||||||||||||||||
< < | Golden T2 is the backup for the T2 in case the main image gets corrupted. This should be named something like AMC13T2Goldenv0xfff8_6slx45t.mcs where "fff8" is the version number in hex and smaller values indicate newer versions. To find the latest, go to http://physics.bu.edu/~wusx/download/AMC13/?C=M;O=D and find the newest file named as above. | ||||||||||||||||||||
> > | Golden T2 is the backup for the T2 in case the main image gets corrupted. This is named AMC13T2Goldenv0xfff8_6slx45t.mcs where "fff8" is the version number in hex and smaller values indicate newer versions. To find the latest, go to http://physics.bu.edu/~wusx/download/AMC13/?C=M;O=D and find the newest file named as above. | ||||||||||||||||||||
Spartan is the newest AMC13XGT2... file from http://ohm.bu.edu/~dzou/firmware.cgi.
Kintex/Virtex is the newest AMC13XGT1... file from http://ohm.bu.edu/~dzou/firmware.cgi.
| |||||||||||||||||||||
Changed: | |||||||||||||||||||||
< < | Programming instructions:
AMC13ToolFlash.exe -c 192.168.2.188 -f pfh Address table path "/home/dzou/work/amc13//amc13/etc/amc13/" set from AMC13_ADDRESS_TABLE_PATH Programming flash header... before URI string init after URI string init Using AMC13 software ver:35359 Select appropriate file to program serial no: 161 1. AMC13T2Header_6slx45t.mcs 2. AMC13T2v0x0025_6slx45t.mcs 3. AMC13T2v0x0026_6slx45t.mcs | ||||||||||||||||||||
> > | Programming instructions:Make sure that you have the latest firmware files for both the Spartan and Kintex chips by downloading the latest '.mcs' files from here![]() Running the AMC13ToolFlashRun the Flash Tools using:$ AMC13ToolFlash.exe -c 55/c -f pa
Address table path /home/djarcaro/cms/amc13/amc13/etc/amc13/ set from AMC13_ADDRESS_TABLE_PATH Using control hub true Created URI from IP address: T2: chtcp-2.0://localhost:10203?target=192.168.1.144:50001 T1: chtcp-2.0://localhost:10203?target=192.168.1.145:50001 Connecting to the board... --------------------------------------------------- Verifying flash header Serial Number: 55 1. AMC13T2v0x0029_6slx45t.mcs 2. AMC13T2v0x002d_6slx45t.mcs 3. AMC13T2Header_6slx45t.mcs | ||||||||||||||||||||
4. AMC13T2Golden_6slx45t.mcs | |||||||||||||||||||||
Deleted: | |||||||||||||||||||||
< < | 5. AMC13T2v0x0021_6slx45t.mcs | ||||||||||||||||||||
Enter number for MCS file to select (0 to exit): | |||||||||||||||||||||
Changed: | |||||||||||||||||||||
< < |
Select the appropriate MCS file (this is case, it is 1)
Enter number for MCS file to select (0 to exit): 1 Programming against file: AMC13T2Header_6slx45t.mcs... Programming AMC13T2Header_6slx45t.mcs to flash address 0x000000... Erasing flash sector at address 0x000000 ... programming flash at address ...4. Program backup Spartan (Golden) using 'pbs' flash command and otherwise similar procedure as above: AMC13ToolFlash.exe -c 192.168.2.188 -f pbs5. Program Spartan (T2) using 'ps' flash command and otherwise similar procedure as above: AMC13ToolFlash.exe -c 192.168.2.188 -f ps5. Program Virtex/Kintex (T1) using 'pv' or 'pk' (they are equivalent) flash command and otherwise similar procedure as above: AMC13ToolFlash.exe -c 192.168.2.188 -f pv6. Once you have all sector programmed, power cycle AMC13 to apply firmware in flash (NOTE: Do NOT power cycle board until all sectors are programmed successfully, do so will erase the any bit files programmed to T2 and will attempt to apply the firmware currently in flash, which can cause errors if there is nothing available from a given flash sector). | ||||||||||||||||||||
> > |
Select the correct mcs file corresponding to the prompt. Here the command is Verify Flash Header (-f vfh) so 3 would be the correct mcs file.
Once you have all sector programmed, run the flash tool with the -r option to reload the flash memory (or power cycle the board)(NOTE: Do NOT power cycle board until all sectors are programmed successfully, do so will erase the any bit files programmed to T2 and will attempt to apply the firmware currently in flash, which can cause errors if there is nothing available from a given flash sector).
The flash sectors should be programmed in the following order if not using the pa option:
| ||||||||||||||||||||
-- DavidZou - 09 Apr 2015 |