Hi Michael ,
The version of SKEAZN32XXX2 is very old, would you please check if your MCU is SKEAZN32XXX2?
About the hardware circuit:
Connect 10K pullup resistor to RESET_b pin of the MCU
Connect 10K pullup resistor to NMI_b pin of the MCU
Please select Device as SKEAZN32xxx2(allow security) in JLink Commander.
Press (clear)RESET_b button and then input unlock kinetis.
Will the JLink Commander still get: Unlocking Device...ERROR: Read from DP/AP register failed! ?
Please try if you are able to flash program after input unlock kinetis.
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Robin,
First, thank you for your recommendations.
On our custom boards, we do have one 10k pullup resistors on both the Reset_b pin and the NMI_b pin of the MCU.
Furthermore, I have tried to select SKEAZN32xxx2(allow security) in JLink Commander, cleared the RESET_b and then used the input unlock kinetis.
Sadly the "Unlocking Device...ERROR: Read from DP/AP register failed" still remains (See attachment for details).
Do you have more suggestions about how to solve this issue?
Edit: I found the error and solved the issue. I mixed up the reset signal with another incoming signal on one jumper on our boards which are connected to the Reset_b pin. This incoming signal drew the reset signal high while programming the MCU which makes it impossible to program the MCU. I moved the pin on the connector to where it was suppose to go according to our schematics and I am now able to program the board without any issue.
Thank you for your advice on this matter!
The issue can be closed.
Best regards,
Michael L.