3 Replies Latest reply on Feb 1, 2017 8:08 AM by Carlos_A

    I210 iNVM still blank after programming with eepromARMTool

    MFuchs Community Member

      Hi,

       

      I am in the bringup phase of our embedded board with i.MX6 CPU and i210 connected via PCIe.

      The i210 has no flash connected. I just want to write the internal NVM.

       

      lspci reports a blank i210. After enabling the pci device eepromARMtool detects the Intel part and I can dump

      the iNVM (still blank):

       

      root@imx6:~# echo 1 > /sys/bus/pci/devices/0000\:01\:00.0/enable

      root@imx6:~# ./eepromARMtool

      Intel(R) Eeprom ARM Tool ARM OTP Programming Tool

      Provided under the terms of a CNDA.  Do Not Distribute.

      Copyright(C) 2013 by Intel(R) Corporation

      NIC    BUS    DEV    FUN    Silicon    Memory Type Present

      ===    ===    ===    ===    =====    ======================

      1    1     0     0    I210         INVM+FLASH

      root@imx6:~# ./eepromARMtool -dump -nic=1

      Intel(R) Eeprom ARM Tool NVM/OTP Programming Tool

      Provided under the terms of a CNDA.  Do Not Distribute.

      Copyright(C) 2013-2014 by Intel(R) Corporation

      Version 0.6.7

      root@imx6:~# less I210NIC.otp

       

      0000 0000 0000 0000 0000 0000 0000 0000

      0000 0000 0000 0000 0000 0000 0000 0000

      0000 0000 0000 0000 0000 0000 0000 0000

      0000 0000 0000 0000 0000 0000 0000 0000

      0000 0000 0000 0000 0000 0000 0000 0000

      0000 0000 0000 0000 0000 0000 0000 0000

      0000 0000 0000 0000 0000 0000 0000 0000

      0000 0000 0000 0000 0000 0000 0000 0000

      0000 0000 0000 0000 0000 0000 0000 0000

      0000 0000 0000 0000 0000 0000 0000 0000

      0000 0000 0000 0000 0000 0000 0000 0000

      0000 0000 0000 0000 0000 0000 0000 0000

      0000 0000 0000 0000 0000 0000 0000 0000

      0000 0000 0000 0000 0000 0000 0000 0000

      0000 0000 0000 0000 0000 0000 0000 0000

      0000 0000 0000 0000 E201 4195 A6A0 AA86

      0000 0000 0000 0000 0000 0000 0000 0000

      .....

       

      Then I write the image into the chip:

       

      root@imx6:~# ./eepromARMtool -write -nic=1 -f=I210_Invm_Copper_NoAPM_v0.6.HEX

      Intel(R) Eeprom ARM Tool NVM/OTP Programming Tool

      Provided under the terms of a CNDA.  Do Not Distribute.

      Copyright(C) 2013-2014 by Intel(R) Corporation

      Version 0.6.7

      Flash wordsize reg val:  5 register 82a00

      root@imx6:~#

       

      ... and dump it again:

       

      root@imx6:~# ./eepromARMtool -dump -nic=1

      Intel(R) Eeprom ARM Tool NVM/OTP Programming Tool

      Provided under the terms of a CNDA.  Do Not Distribute.

      Copyright(C) 2013-2014 by Intel(R) Corporation

      Version 0.6.7

      root@imx6:~# less I210NIC.otp

       

      0002 1541 0002 3C21 1411 3400 8880 4552

      3611 5011 1A11 3C21 1411 3400 8880 4552

      4211 4811 1E19 001A 0241 16D1 8880 4552

      0002 00A8 0002 001A 0241 16D1 8880 4552

      0090 00A8 0002 001A 0241 16D1 8880 4552

      0000 0000 0000 0000 0000 0000 0000 0000

      0000 0000 0000 0000 0000 0000 0000 0000

      0000 0000 0000 0000 0000 0000 0000 021F

      0000 0000 0000 0000 0000 0000 0000 0000

      0000 0000 0000 0000 0000 0000 0000 0000

      0000 0000 0000 0000 0000 0000 0000 0000

      0000 0000 0000 0000 0000 0000 0000 0000

      0000 0000 0000 0000 0000 0000 0000 0000

      0000 0000 0000 0000 0000 0000 0000 0000

      0000 0000 0000 0000 0000 0000 0000 0000

      0000 0000 0000 0000 E201 4195 A6A0 AA86

      0000 0000 0000 0000 0000 0000 0000 0000

      0000 0000 0000 0000 0000 0000 0000 0000

      ...

       

      1) The dumped content does not really look like expected. It differs from the written image.

      2) After a power cycle the dump agains show a blank chip.

       

      What's wring? Any idea?

       

      Regard,

      Matthias