When I am trying for debugging some errors were coming regarding to CMSIS-DAP write error and read error.
Can you please give clarification for this issue.
please, can you specify your issue/upload the screenshot of errors?
Do you use IDE or not?
Please look at this article
OpenOCD/CMSIS-DAP Debugging with Eclipse and without an IDE | MCU on Eclipse
Retrieving data ...