1 Reply Latest reply on Jan 12, 2019 1:13 AM by jomoc_3144201

    ModusToolbox Debug fail - Unable to read IPC Lock Status registe

    jomoc_3144201

      I am getting am error when programming a CY8CKIT-062-BLE with ModusToolbox which is preventing the device to be loaded.

       

      This is the error that is seen:

      ** psoc6.cpu.cm4: Ran after reset and before halt...
      target halted due to debug-request, current mode: Thread 
      xPSR: 0x01000000 pc: 0x00000f48 msp: 0x08047800, semihosting
      Info : SWD DPIDR 0x6ba02477
      Error: Failed to read memory at 0x00000000
      Error: Unable to read IPC Lock Status register
      Error: ROW @10000000 not erased!
      target halted due to debug-request, current mode: Thread 
      xPSR: 0x21000000 pc: 0x00001f2c msp: 0x08047798
      Error: failed erasing sectors 0 to 13
      Error: flash_erase returned -4
      Info : dropped 'gdb' connection
      
      

       

      This was just working without issue but then started to show this error and I can no longer load code to the board.  I've tried rebooting my PC and disconnecting the board and nothing seems to clear this.

       

      Is there a way to reset the board to clear this?

       

      - Jon