dbg.M0006 SWD Error Nack while trying to debug

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

cross mob
lock attach
Attachments are accessible only for community members.
PaDa_2015331
Level 1
Level 1
First like received First like given

I'm trying to debug a code and I got the error dgb.M0006 as seen in the image.  Anyone knows what to do to fix it?  Or what does it mean?

As you can see, the device gets programmed but it fails when it comes to debug.  A couple mouths ago I was able to debug but not anymore.

0 Likes
1 Solution
PaDa_2015331
Level 1
Level 1
First like received First like given

Okay, I got it.  The Enable Device Protection field was enable in the .cydwr

Disabling it fix the issue.

View solution in original post

1 Reply
PaDa_2015331
Level 1
Level 1
First like received First like given

Okay, I got it.  The Enable Device Protection field was enable in the .cydwr

Disabling it fix the issue.