4 Replies Latest reply on Jun 5, 2020 3:05 AM by BiM_4640481

    openocd failure

    BiM_4640481

      Hi,

      I am working on Muratta 1LD board.

       

      I am facing the following error. JTAG LED is always ON. This error started occurring when I tried to use sflash_write function for OTA_update.

      openocd_log.txt is attached here:

       

       

       

       

      Building apps lookup table
      Downloading Bootloader ...
      The process cannot access the file because it is being used by another process.
      The process cannot access the file because it is being used by another process.
      "**** OpenOCD failed - ensure you have installed the driver from the drivers directory, and that the debugger is not running **** In Linux this may be due to USB access permissions. In a virtual machine it may be due to USB passthrough settings. Check in the task list that another OpenOCD process is not running. Check that you have the correct target and JTAG device plugged in. ****"
      Downloading DCT ...
      The process cannot access the file because it is being used by another process.
      "**** OpenOCD failed - ensure you have installed the driver from the drivers directory, and that the debugger is not running **** In Linux this may be due to USB access permissions. In a virtual machine it may be due to USB passthrough settings. Check in the task list that another OpenOCD process is not running. Check that you have the correct target and JTAG device plugged in. ****"
      The process cannot access the file because it is being used by another process.
      Downloading resources filesystem ... build/snip.httpbin-MurataType1LD/filesystem.bin at sector 1  size 167...
      The process cannot access the file because it is being used by another process.
      tools/makefiles/wiced_apps.mk:335: recipe for target 'FILESYSTEM_IMAGE_DOWNLOAD' failed
      make.exe[1]: *** [FILESYSTEM_IMAGE_DOWNLOAD] Error 1
      make.exe[1]: *** Waiting for unfinished jobs....
      Makefile:351: recipe for target 'main_app' failed
      make: *** [main_app] Error 2

      11:27:47 Build Finished (took 5s.565ms)

       

      Thanks,

      Binsy M S

        • 1. Re: openocd failure
          RaktimR_11

          I don't have access to a 1LD kit right now. So, can't really check the correct LED status.

           

          What do you mean by sflash_write function for OTA_update?

           

          You can use the InstallDriver.exe and check this again. Before capturing the openocd_log,txt, please perform a clean and then attach the openocd_log.txt

          • 2. Re: openocd failure
            BiM_4640481

            Tried InstallDriver.exe application.

             

            sflash_write function for OTA_update means my application want to write a bin file to 1MB onboard flash so that on reset the board should run with the new code. My aim is to check whether OTA update is possible with the 1MB onboard flash

             

            I am not able to perform clean. It also gives the following error

             

            14:55:09 **** Build of configuration Default for project 43xxx_Wi-Fi ****
            "C:\\Users\\USER\\Documents\\WICED-Studio-6.4\\43xxx_Wi-Fi\\make.exe" clean
            MAKEFILE MAKECMDGOALS=clean OTA2_SUPPORT is disabled
            Cleaning...
            build\openocd_log.txt - The process cannot access the file because it is being used by another process.
            Done

            14:55:11 Build Finished (took 2s.154ms)

            • 3. Re: openocd failure
              RaktimR_11

              Go to task manager and kill the openocd-all-brcm-libftdi.exe process to remove this error

              • 4. Re: openocd failure
                BiM_4640481

                ok. Thank you