Procedure
- Locate the 8 × 10 Gbit/s FPGA image in the product package.
-
To check the state of SmartNIC 0, write: $ imgctrl --adapter 0 --query
--verbose
An example of an output is:
imgctrl v3.5.7.2-3dcf6 (Jan 10 2018 06:02:55) (Logfile: /tmp/imgctrl.log) Press CTRL-Z (Win:CTRL-BREAK) to increase verbosity level at runtime. Scanning for Napatech adapters.. Adapter 0: PCI SLOT : 0000:87:00.0 PCI DEVICE ID : 0165 PCI LANES : x16 ADAPTER TYPE : NT80E3_2_PTP PCI Express Gen3 2x40Gb QSFP+ platform RUNNING FPGA: FPGA IDENT : 200-9503-10-01-0000 64BIT CODE : 0x000000C8251F0A01 ITEM CODE : 200 PRODUCT CODE : 9503 VERSION CODE : 10 REVISION CODE : 1 BUILD CODE : 0 BUILD TIME : 0x5A244C3E BUILD DATE : Sun Dec 3 19:10:54 2017 (UTC/GMT) FPGA BANK0: PRODUCT CODE : 9503 VERSION : 10.01 DOWNLOADED BY : ntope DOWNLOAD DATE : Wed Dec 20 11:31:54 2017 SOURCE FILENAME : 200-9503-10-01-00-171203-2010.ntimg SOURCE DATE : Mon Dec 4 01:06:11 2017 FPGA BANK1: PRODUCT CODE : 9503 VERSION : 10.01 DOWNLOADED BY : ntope DOWNLOAD DATE : Wed Dec 20 11:31:55 2017 SOURCE FILENAME : 200-9503-10-01-00-171203-2010.ntimg SOURCE DATE : Mon Dec 4 01:06:11 2017 SUPPORTCHIP INFO: IDENT : AVR NT80E3_2_PTP VERSION : 3.5h VERSION NAME : Nov 22 2017 - 16:46:15 RUNNING BANK : 1 SOURCE FILENAME : atxmega128a1u.NT80E3_2_PTP.bank1.hex DOWNLOADED BY : uj_20171123 DOWNLOAD DATE : Thu Nov 23 11:30:28 2017 FPGA IMAGE STATE: IMAGE STATE : NEUTRAL (code 0) PRIMARY BANK : 0 RUNNING BANK : 0
The NT80E3-2-PTP state must be NEUTRAL.
-
To upgrade the FPGA image, write (for instance): $ imgctrl --adapter 0
--program --ini kje --ntimg 200-9519-10-01-1023-171217-9999.ntimg
Note: Interrupting the programming process, for instance using Ctrl+c, will invalidate the bank. In such a case, simply restart the programming process.An example of an output is:
imgctrl v3.5.7.2-3dcf6 (Jan 10 2018 06:02:55) (Logfile: /tmp/imgctrl.log) Scanning for Napatech adapters.. Adapter upgrade commencing.. Writing FPGA bank 1 Erasing................... 100% done Writing................... 100% done Verifying................. 100% done Done writing FPGA bank 1 Note: You can inspect the upload result through the Bank1 Contents section using the --query mode. To try the new image, remember to switch bank using the --switch mode. See --help for more information. Upgrade process complete
Results
Note: Upgrading an FPGA image does not automatically switch to the new image. Use
the --switch command to try the new image (see Switch an NT80E3-2-PTP to an 8 × 10 Gbit/s FPGA Image).