2 Replies Latest reply on Jun 26, 2018 8:44 AM by RzR

    edison: XFSTK-STATUS--Error Code: 4

    RzR

      I fear my edison is bricked:

      flashall and flashall --recovery failed so I tried

       /usr/bin/platformflashtoollite 

       

      06/16/18 00:34:38.923 INFO : Intel(R) Platform Flash Tool Lite V 5.8.4.0 x64 (build on Tuesday May 02nd 2017, 13:20:36 UTC)

      06/16/18 00:34:38.923 INFO : Using xFSTK Downloader version: 2.0.0

      06/16/18 00:34:38.933 INFO : Using DFU Downloader version: 0.8.4

      06/16/18 00:34:38.934 INFO : Using DnX Firmware Downloader version: 1.0.0.0 (API: 3.0.20.1171(DBG))

      06/16/18 00:34:39.004 INFO : Using Intel Command Line FlashTool v.2.64 (Download Library v.5.31)

      06/16/18 00:34:39.012 INFO : Using Android Debug Bridge version 1.0.39

      Revision 3db08f2c6889-android

      Installed as /opt/intel/platformflashtoollite/bin/adb

      06/16/18 00:34:39.012 INFO : No external tool registered

      06/16/18 00:34:39.210 INFO : OS version detected: Linux x64 (Ubuntu 18.04 LTS)

      06/16/18 00:34:39.229 INFO : SSL supported: Yes

      06/16/18 00:34:39.242 INFO : Disk space available on /tmp : 17.41 GB

      06/16/18 00:34:39.251 INFO : Adb and fastboot binaries OK

      06/16/18 00:34:40.418 INFO : Platform Flash Tool Lite initialized successfully

      06/16/18 00:34:52.070 INFO : Ready to flash!

      06/16/18 00:34:52.073 INFO : Flash file /home/philippe/.flasher/.download/Edison_Poky_16-06.zip/FlashEdison.json [Windows] loaded

      06/16/18 00:34:54.368 INFO : [Port -1] Starting flash ...

      06/16/18 00:34:54.368 INFO : [Port -1] Running `Notify ${helperFile}` command

      06/16/18 00:34:54.428 INFO : Displaying notification during 42000 ms

      06/16/18 00:34:54.432 INFO : [Port -1] Command `Notify ${helperFile}` succeed

      06/16/18 00:34:54.432 INFO : [Port -1] Running `Wait for device with status dnx_fw on port -1` command

      06/16/18 00:35:01.441 INFO : [Port 1/5] Command `Wait for device with status dnx_fw on port -1` succeed

      06/16/18 00:35:01.441 INFO : [Port 1/5] Running `Notify Edison board plugged` command

      06/16/18 00:35:01.442 INFO : [Port 1/5] New device detected on 1/5 (id=0104000000000001)

      06/16/18 00:35:01.474 INFO : Displaying notification during 5000 ms

      06/16/18 00:35:01.477 INFO : [Port 1/5] Command `Notify Edison board plugged` succeed

      06/16/18 00:35:01.477 INFO : [Port 1/5] Running `"/opt/intel/platformflashtoollite/bin/xfstkFlashTool" "-1" "/home/philippe/.flasher/.download/Edison_Poky_16-06.zip/edison_dnx_fwr.bin" "/home/philippe/.flasher/.download/Edison_Poky_16-06.zip/edison_ifwi-dbg-00.bin" "/home/philippe/.flasher/.download/Edison_Poky_16-06.zip/edison_dnx_osr.bin" "/home/philippe/.flasher/.download/Edison_Poky_16-06.zip/u-boot-edison.img" "0x80000007" "none" "none" "0"` command

      06/16/18 00:35:01.488 INFO : [Port 1/5] Disabling xFSTK Misc DnX

      06/16/18 00:35:01.489 INFO : [Port 1/5] Disabling xFSTK wipe out ifwi option

      06/16/18 00:35:01.489 INFO : [Port 1/5] Using xFSTK Solo interface (new API)

      06/16/18 00:35:01.489 INFO : [Port 1/5] xFSTK Soft Fuse not set

      06/16/18 00:35:01.489 INFO : [Port 1/5] XFSTK Downloader API 2.0.0

      06/16/18 00:35:01.489 INFO : [Port 1/5] Copyright (c) 2015 Intel Corporation

      06/16/18 00:35:01.489 INFO : [Port 1/5] fwdnx -- /home/philippe/.flasher/.download/Edison_Poky_16-06.zip/edison_dnx_fwr.bin

      06/16/18 00:35:01.489 INFO : [Port 1/5] fwimage -- /home/philippe/.flasher/.download/Edison_Poky_16-06.zip/edison_ifwi-dbg-00.bin

      06/16/18 00:35:01.489 INFO : [Port 1/5] osdnx -- /home/philippe/.flasher/.download/Edison_Poky_16-06.zip/edison_dnx_osr.bin

      06/16/18 00:35:01.489 INFO : [Port 1/5] osimage -- /home/philippe/.flasher/.download/Edison_Poky_16-06.zip/u-boot-edison.img

      06/16/18 00:35:01.489 INFO : [Port 1/5] gpflags -- 0x80000007

      06/16/18 00:35:01.489 INFO : [Port 1/5] softfuse --

      06/16/18 00:35:04.109 INFO : [Port 1/5] ....XFSTK-LOG--virtual bool MerrifieldDownloader::SetDevice(IGenericDevice*)

      06/16/18 00:35:04.109 INFO : [Port 1/5] Initiating download...

      06/16/18 00:35:04.146 INFO : [Port 1/5] XFSTK-STATUS--FW(Miscdnx) download is in progress ...

      06/16/18 00:35:04.147 INFO : [Port 1/5] XFSTK-STATUS--FW: Sending DnX DCFI00 ...

      06/16/18 00:35:04.385 WARNING: [Port 1/5] XFSTK-STATUS--Error Code: 4 - Error attempting to read ACK/NACK from IN Pipe

      06/16/18 00:35:04.385 INFO : [Port 1/5] XFSTK-STATUS--Unknown Ack code:0, aborting ...

      06/16/18 00:35:04.385 INFO : [Port 1/5] XFSTK-STATUS--FAIL

      06/16/18 00:35:04.385 INFO : [Port 1/5] XFSTK-STATUS--Errors encounter during FW download. Aborting ...

      06/16/18 00:35:04.385 INFO : [Port 1/5] XFSTK: Download operation encountered errors.

      06/16/18 00:35:04.385 INFO : [Port 1/5] XFSTK: Please verify fw/os image integrity and reprovision target.

      06/16/18 00:35:04.386 INFO : [Port 1/5] xfstkFlashTool exited with error code 4 Error attempting to read ACK/NACK from IN Pipe

      06/16/18 00:35:04.386 ERROR : [Port 1/5] Command `"/opt/intel/platformflashtoollite/bin/xfstkFlashTool" "-1" "/home/philippe/.flasher/.download/Edison_Poky_16-06.zip/edison_dnx_fwr.bin" "/home/philippe/.flasher/.download/Edison_Poky_16-06.zip/edison_ifwi-dbg-00.bin" "/home/philippe/.flasher/.download/Edison_Poky_16-06.zip/edison_dnx_osr.bin" "/home/philippe/.flasher/.download/Edison_Poky_16-06.zip/u-boot-edison.img" "0x80000007" "none" "none" "0"` failed

      06/16/18 00:35:04.386 ERROR : [Port 1/5] Flash failed (Command type: Ifwi)

      06/16/18 00:35:05.926 INFO : [Port 1/5] Device lost on 1/5

      06/16/18 00:35:12.785 INFO : [Port 1/5] New device detected on 1/5 (id=0104000000000001)

      06/16/18 00:35:21.781 INFO : [Port 1/5] Device lost on 1/5

      06/16/18 00:36:23.128 INFO : [Port 1/5] New device detected on 1/5 (id=0104000000000001)

      06/16/18 00:36:32.193 INFO : [Port 1/5] Device lost on 1/5

      06/16/18 00:40:16.065 INFO : [Port 1/5] New device detected on 1/5 (id=0104000000000001)

      06/16/18 00:40:31.997 INFO : [Port 1/5] Device lost on 1/5

      May relate to: https://embedded.communities.intel.com/message/21988#21988 https://communities.intel.com/message/402544#402544

        • 1. Re: edison: XFSTK-STATUS--Error Code: 4
          Intel Corporation
          This message was posted on behalf of Intel Corporation

          Hello Phil, 

          Thank you for your interest in Intel® Edison Board.

          Does the USB serial port appear on your PC's device manager under Ports(COM & LPT)?

          Are you able to enter your Edison OS?

          You can try to flash it using the Flash Tool Lite. 

          If using the Flash Tool Lite will not work, you can use the Flashall method; you can find an explanation in the link below: https://communities.intel.com/message/311395#311395

          Also, if the previous methods are not helping you can try the method mentioned in https://communities.intel.com/message/257171#257171.

          This method can be used only on a PC with Linux OS. 

          We suggest you try these methods and let us know the result.

           

          Best regards,
          George
          Intel Customer Support

          • 2. Re: edison: XFSTK-STATUS--Error Code: 4
            RzR
            > Does the USB serial port appear on your PC's device manager under Ports(COM & LPT)? 
            yes I see it under /dev/ttyUSB something (linux)

            > Are you able to enter your Edison OS? no
            > You can try to flash it using the Flash Tool Lite.

            > If using the Flash Tool Lite will not work, you can use the Flashall method;
            > you can find an explanation in the link below:
            > https://communities.intel.com/message/311395#311395

            I tried this and it failed with the above message

            > Also, if the previous methods are not helping you can try the method mentioned in
            >
            https://communities.intel.com/message/257171#257171.

            flash-all --recovery is same as flash tool lite no ?

            > This method can be used only on a PC with Linux OS.

            This is what I use... I can share more logs
            06/16/18 01:33:25.300  DEBUG  : [Port 1/5] XFSTK-LOG--virtual bool MerrifieldUSB20Device::Write(void*, unsigned int) --->DnER 06/16/18 01:33:29.882  DEBUG  : [Port 1/5] XFSTK-LOG--GetOpCode 06/16/18 01:33:29.882  DEBUG  : [Port 1/5] XFSTK-LOG--ReadInAck 06/16/18 01:33:29.886  DEBUG  : [Port 1/5] XFSTK-LOG--usb_bulk_read() fails 06/16/18 01:33:29.890  DEBUG  : [Port 1/5] XFSTK-LOG--usb_bulk_read() fails 06/16/18 01:33:29.895  DEBUG  : [Port 1/5] XFSTK-LOG--usb_bulk_read() fails 06/16/18 01:33:29.899  DEBUG  : [Port 1/5] XFSTK-LOG--usb_bulk_read() fails 06/16/18 01:33:29.903  DEBUG  : [Port 1/5] XFSTK-LOG--usb_bulk_read() fails 06/16/18 01:33:29.907  DEBUG  : [Port 1/5] XFSTK-LOG--usb_bulk_read() fails 06/16/18 01:33:29.907  DEBUG  : [Port 1/5] XFSTK-LOG--USB I/O ERROR RETRYING R/W 06/16/18 01:33:29.907  DEBUG  : [Port 1/5] XFSTK-LOG--LogError 06/16/18 01:33:29.908  WARNING: [Port 1/5] XFSTK-STATUS--Error Code: 4 - Error attempting to read ACK/NACK from IN Pipe