Hi Gerardo, Hi Edgar,
I really appreciate your help. The transistor circuit was to make a little protection between the reset pin of the SWD header and the reset pin of the KW41Z module (I have now deleted it and have connected directly Reset SWD pin to Reset KW41Z pin). To perform the SWD connections I have followed the schematics of the R41Z-Eval-Board (I have 4 Eval Board which I tried to debug via SWD with my J-link tool and it works properly). The SWD connections from this board are:

I also taped "unlock kinetis" before taping the command "connect" to the J-link commander and the problem still exists. New error appears when I write "unlock kinetis", ERROR: Read from DP/AP register failed:

When I take a R41Z-Eval-Board and I debug it via SWD with the J-link tool and tape the same commands as before everything works ok, so the problem is the KW41Z blank module of my custom board:

I think my problem is related with the default configuration of a blank KW41Z modules. I have found in MKW41Z Reference Manual that the blank modules are by default in secure flash state, so they can not be debugged via SWD until we do not perform a "mass erase" to the flash memory.



The reset signal behaviour is a normal behaviour from blank chips, I searched on the forum and people say that when we flash the module for first time the reset signal strange behaviour dissapear.
My problem is: How do I perform a "mass erase" to the flash memory to solve my issue? Is the "mass erase" the solution or it is related to the hardware or many other things? I am using MCUExpresso IDE or Kinetis Design Studio IDE to debug the modules, this IDE is able to perform "mass erase"?
I need to solve this problem to perform a big Thread mesh in my compnay with our custom board with KW41Z modules.
I really hope you can solve it.
Best,
Diego C.