ModusToolbox Debug fail - Unable to read IPC Lock Status registe

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
jomoc_3144201
Level 4
Level 4
25 replies posted 10 replies posted 5 replies posted

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

0 Likes
1 Solution
jomoc_3144201
Level 4
Level 4
25 replies posted 10 replies posted 5 replies posted

Okay, so I removed the Honeywell SEK002 board that was on the BLE Kit and then ran Erase all Flash from PS Programmer and then upgrade firmware.  This seemed to clear the error that was seen. 

I'm not sure how the board got to this state, but it seems to be fine now.

View solution in original post

0 Likes
1 Reply
jomoc_3144201
Level 4
Level 4
25 replies posted 10 replies posted 5 replies posted

Okay, so I removed the Honeywell SEK002 board that was on the BLE Kit and then ran Erase all Flash from PS Programmer and then upgrade firmware.  This seemed to clear the error that was seen. 

I'm not sure how the board got to this state, but it seems to be fine now.

0 Likes