GDB action 'read memory', has failed with error report, Error 0x03000504: A fault error occurred in ACK of SWD communications. The error cannot be identified. please helps to solve

GDB action 'read memory', has failed with error report, Error 0x03000504: A fault error occurred in ACK of SWD communications. The error cannot be identified.