2 Replies Latest reply on Apr 15, 2018 4:36 PM by tdu

    WICED fails to download firmware to CY8CKIT-062-WiFi-BT

    jamie8_3266366

      The firmware download to Cy8CKIT-062-WiFi-BT fails to download often. Sometimes simply unplugging and plugging the dev kit in will fix the issue, other times I need to restart my computer. I have also found that it will sometimes succeed with multiple tries. 

      The openocd_log indicates the following error:

      "writing 16384 bytes at 135168

      target halted due to debug-request, current mode: Thread

      xPSR: 0x61000000 pc: 0x0800879a msp: 0x0800e20c

      loadimage address 134225948 foffset 131072 16384

      16384 bytes written at address 0x0800201c

      downloaded 16384 bytes in 0.696497s (22.972 KiB/s)

      Error: error writing data: The I/O operation has been aborted because of either a thread exit or an application request.

      Error: error writing data: The I/O operation has been aborted because of either a thread exit or an application request.

      Error: CMSIS-DAP command CMD_DISCONNECT failed.

      Error: error writing data: The I/O operation has been aborted because of either a thread exit or an application request.

      Error: CMSIS-DAP command CMD_CONNECT failed.

      Error: error writing data: The I/O operation has been aborted because of either a thread exit or an application request.

      Error: Failed to write memory and, additionally, failed to find out where

      Error: error writing data: The I/O operation has been aborted because of either a thread exit or an application request.

      Error: CMSIS-DAP command CMD_DISCONNECT failed.

      Error: error writing data: The I/O operation has been aborted because of either a thread exit or an application request.

      Error: CMSIS-DAP command CMD_CONNECT failed.

      Error: error writing data: The I/O operation has been aborted because of either a thread exit or an application request.

      Error: error writing data: The I/O operation has been aborted because of either a thread exit or an application request.

      Error: CMSIS-DAP command CMD_DISCONNECT failed.

      Error: error writing data: The I/O operation has been aborted because of either a thread exit or an application request.

      Error: CMSIS-DAP command CMD_CONNECT failed.

      Error: error writing data: The I/O operation has been aborted because of either a thread exit or an application request.

      Error: error writing data: The I/O operation has been aborted because of either a thread exit or an application request.

      Error: CMSIS-DAP command CMD_DISCONNECT failed.

      Error: error writing data: The I/O operation has been aborted because of either a thread exit or an application request.

      Error: CMSIS-DAP command CMD_CONNECT failed.

      Error: error writing data: The I/O operation has been aborted because of either a thread exit or an application request.

      Error: error writing data: The I/O operation has been aborted because of either a thread exit or an application request.

      Error: CMSIS-DAP command CMD_DISCONNECT failed.

      Error: error writing data: The I/O operation has been aborted because of either a thread exit or an application request.

      Error: CMSIS-DAP command CMD_CONNECT failed.

      Error: error writing data: The I/O operation has been aborted because of either a thread exit or an application request.

      Error: error writing data: The I/O operation has been aborted because of either a thread exit or an application request.

      Error: CMSIS-DAP command CMD_DISCONNECT failed.

      Error: error writing data: The I/O operation has been aborted because of either a thread exit or an application request.

      Error: CMSIS-DAP command CMD_CONNECT failed.

      Error: error writing data: The I/O operation has been aborted because of either a thread exit or an application request.

      Error: error writing data: The I/O operation has been aborted because of either a thread exit or an application request.

      Error: CMSIS-DAP command CMD_DISCONNECT failed.

      Error: error writing data: The I/O operation has been aborted because of either a thread exit or an application request.

      Error: CMSIS-DAP command CMD_CONNECT failed.

      Error: error writing data: The I/O operation has been aborted because of either a thread exit or an application request.

      Error: error writing data: The I/O operation has been aborted because of either a thread exit or an application request.

      Error: CMSIS-DAP command CMD_DISCONNECT failed.

      Error: error writing data: The I/O operation has been aborted because of either a thread exit or an application request.

      Error: CMSIS-DAP command CMD_CONNECT failed.

      Error: error writing data: The I/O operation has been aborted because of either a thread exit or an application request.

      target halted due to debug-request, current mode: Thread

      xPSR: 0x21000000 pc: 0x080087a4 msp: 0x0800e20c

      Error: error writing data: The I/O operation has been aborted because of either a thread exit or an application request.

      Error: CMSIS-DAP command CMD_DISCONNECT failed.

      Error: error writing data: The I/O operation has been aborted because of either a thread exit or an application request.

      Error: CMSIS-DAP command CMD_CONNECT failed.

      Error: error writing data: The I/O operation has been aborted because of either a thread exit or an application request.

      Error: mem2array: Read @ 0x08002018, w=4, cnt=1, failed

      apps/waf/sflash_write/sflash_write.tcl:110: Error:

      in procedure 'sflash_write_file'

      in procedure 'program_sflash' called at file "apps/waf/sflash_write/sflash_write.tcl", line 283

      in procedure 'memread32' called at file "apps/waf/sflash_write/sflash_write.tcl", line 230

      at file "apps/waf/sflash_write/sflash_write.tcl", line 110

      Error: error writing data: The I/O operation has been aborted because of either a thread exit or an application request.

      Error: CMSIS-DAP command CMD_DISCONNECT failed.

      Error: error writing data: The I/O operation has been aborted because of either a thread exit or an application request.

      Error: CMSIS-DAP command CMD_LED failed."

       

      Is their something in wrong in my configuration?