16 Replies Latest reply on Sep 18, 2015 1:29 AM by cassar10

    Issue's programming FLASH on I210

    cassar10 Green Belt

      Hi,

       

      I am currently having issues programming the I210 with external flash (SST25VF040B)

      I have managed to flash one chip on a prototype but I think this may have been luck.

      When I open up Lanconfig tool my Flash comes up as protected. When I try to program the NVM image from file I get error file ID =0x1533 dev ID = 0x1531

      I know that the 1531 is the non-programmed FLASH and that 1533 is when it is programmed so it seems that this shouldn't be an error?

      Pin 12 is pulled low (through a 3k3) to disable security also.

       

      Any help would be very much appreciated.

       

      Kind regards,

       

      Kyle.

        • Re: Issue's programming FLASH on I210
          Carlos_A Brown Belt

          Hello Kyle,

           

          Thank you for contacting Intel Embedded Community.

           

          The information that may help you is stated to answer the question 2.23, on page 11 of the Intel(R) Ethernet Controller I210/I211 Frequently Asked Questions (FAQs).

           

          Please let us know if this information is useful to you.

           

          Best Regards,

          Carlos A.

            • Re: Issue's programming FLASH on I210
              cassar10 Green Belt

              Hi Carlos,

               

              Thanks for the reply. I have read the FAQ's and can't seem to gain any help from them. It looks as if my device is going into security mode, however I cannot see why.

              The flash is powered by the same source as the I210 and the security enable pull down is attached.

              Is there anything else I could be missing?

               

              Regards,

               

              Kyle.

            • Re: Issue's programming FLASH on I210
              cassar10 Green Belt

              Also if it helps I'm using win7x64. I have probed the security enable bit and this is pulled low.

              Is there any other reason I can't write to the flash?

              The board is the same design as a prototype which I did manage to flash on board but it seemed more by luck than judgement.

               

              again thanks in advance for anybody that can help with this.

                • Re: Issue's programming FLASH on I210
                  Carlos_A Brown Belt

                  Hello Kyle,

                   

                  Thanks for your reply.

                   

                  Could you please tell us the I-210 SKU and the document number of the NVM image related to the cited problem?

                   

                  Thanks in advance for your help.

                   

                  Best Regards,

                  Carlos A.

                    • Re: Issue's programming FLASH on I210
                      cassar10 Green Belt

                      Hi Carlos,

                       

                      I am using Quartzville_Tools_374119 to program the NVM image (I've tried both Lanconfig and EEupdate). the image I want to program to the flash is Dev_Start_I210_Copper_NOMNG_4Mb_A2_3.25_0.03.bin.

                      I know its not the image as I'm not getting that far as the option to write is greyed out. I cannot remember the doc number of the image files but they are ver 3.25.

                       

                      If I want to program the blank flash, should the pin 12 pull down be on or off? The datasheet seems to contradict itself a little, unless I'm reading it wrong.

                       

                      Again thanks for the help so far.

                        • Re: Issue's programming FLASH on I210
                          Carlos_A Brown Belt

                          Hello cassar10,

                           

                          Thanks for your reply.

                           

                          Based on your previous communication, we would like to address the following questions:

                           

                          Could you please clarify if you are using the I210-AT, I210-AS, or I210-IS?

                           

                          Could you please confirm that you are using the Intel(R) Network Connections Tools? In case that the versions contained on the cited file are updated to the ones that you have used, please use them and let us know the results.

                           

                           

                          Could you please try to program using the Intel(R) Ethernet Controller I210/I211-AT Production NVM Images? Because the NVM firmware images for the I210 should be signed. Once the I210 successfully initializes with a signed firmware image, security is enforced (unless security is disabled by pulling down pin 12) and the image cannot be overwritten except a by a new signed image that has the same or higher security revision.

                          The pin 12 on the I210 is designated for the purpose of overriding the security feature. To override the security when it is in effect, a pull down resistor can be applied to that pin. This pin is sampled during initialization to determine if security is disabled.

                           

                          Please give us all the information requested through the previous questions to have a better idea of your problem.

                           

                          Thanks again for your cooperation. 

                           

                          Best Regards,

                          Carlos A.

                            • Re: Issue's programming FLASH on I210
                              cassar10 Green Belt

                              Hi Carlos,

                               

                              I am using the I210-AT and the image is Dev_Start_I210_Copper_NOMNG_4Mb_A2_3.25_0.03.bin.

                              The tools I was using were an older version but I still have the same issue as before with the new tools.

                              The binary file I was using is up to date. The security disable bit is low as when I put a programmed flash on, I can reprogram if I want.

                              It just seems as though it can't initialize the blank flash.

                               

                              This is on the flash screen, as it says the flash is protected.

                              This is on the raw iNVM screen

                              This is on the NVM image screen

                              Is there anyway to get lanconf tool to try to reinitialize the flash part? As I have said both parts are powered by the same source.

                               

                              Your help is very much appreciated.

                               

                              Cheers,

                               

                              Kyle.

                                • Re: Issue's programming FLASH on I210
                                  Carlos_A Brown Belt

                                  Hello cassar10,

                                   

                                  Thanks for your update.

                                  Based on your previous communications, we would like to address the following questions:

                                   

                                  Could you please tell us how many implementations are experiencing this problem? Could please inform us how many of this project has been manufactured by you?

                                  Could you please try to reproduce this issue with other flash memories? Please keep in mind that the suggested ones are listed in section 11.8.1, on pages 785 and 786 of the Intel(R) Ethernet Controller I210 Datasheet. It would be better if you try with devices of different manufacturers.

                                   

                                  Please give us all the requested information to find the root cause of this problem.

                                  Thanks again for your help.

                                   

                                  Best Regards,

                                  Carlos A.

                                    • Re: Issue's programming FLASH on I210
                                      cassar10 Green Belt

                                      Hi Carlos,

                                       

                                      All implementations experience this problem. They have all been manufactured by us. We have one PCIe and one mini PCIe.

                                      The designs have been reviewed by Intel.

                                      Trying a different flash is a good shout. I have some on order for Monday.

                                      However a lot of the validated chips are no longer manufactured.

                                      I'll get back to you Monday once I have tried the different flash with an update.

                                       

                                      Cheers,

                                       

                                      Kyle.

                                        • Re: Issue's programming FLASH on I210
                                          Carlos_A Brown Belt

                                          Hello cassar10,

                                           

                                          Thanks for your reply.

                                           

                                          Please let us know any update or information as soon as you have it.

                                           

                                          Thanks again for your help.

                                           

                                          Best Regards,

                                          Carlos A.

                                            • Re: Issue's programming FLASH on I210
                                              cassar10 Green Belt

                                              Hi Carlos,

                                               

                                              Still no luck unfortunately. I tried two different types of flash.

                                               

                                              Any other ideas?

                                               

                                              Kind regards,

                                               

                                              Kyle.

                                                • Re: Issue's programming FLASH on I210
                                                  AdolfoS Brown Belt

                                                  Hello cassar10

                                                   

                                                  From the datasheet of the I210 (http://www.intel.com/content/dam/www/public/us/en/documents/datasheets/i210-ethernet-controller-datasheet.pdf)

                                                   

                                                  Page 53:

                                                  The I210 supports Flash devices that are either write-protected by default after power-up or not. The I210 removes the protection by sending the write-protection removal OpCode to the Flash after power up. For the first programming of a blank Flash, it is the host’s responsibility to remove the writeprotection from the Flash part via bit-banging access.

                                                   


                                                  Page 66:

                                                  All clients can access the Flash using parallel access, on which hardware implements the actual access to the Flash. Hardware schedules these accesses, avoiding starvation of any client. However, the software and firmware clients can access the Flash using bit-banging. In this case, there is a request/grant mechanism that locks the Flash to the exclusive use of one client. If one client is stuck without releasing the lock, the other clients can no longer access the Flash.

                                                   

                                                  There are two possibilities that you might want to check

                                                  1) That the OpCode of your new flash memories is different of default OpCodes that the i210 implements.

                                                  2) That your new memories need additional OpCode to enable writing.

                                                  3) That there is another application locking access to the Flash

                                                   

                                                  Capture.PNG

                                                   

                                                  If the above suggestions dont' work, please provide the following information:

                                                  1) Dump Flash of the device

                                                  2)The result of the Adapter Diagnostic Test on the devices that are not working

                                                  3)Try using an SPI programmer to write the image onto the memory (at least the first time) and then check if the memory can be programmed a second time using the LanConf tool

                                                  4)Try replacing the memory of the prototype for one of your new memories and see if you can program the memory on the prototyp

                                                   

                                                  I will be waiting for your feedback,

                                                   

                                                  Best Regards,

                                                  Adolfo Sanchez