AnsweredAssumed Answered

DAP error while reading AIRCR / CPUID register

Question asked by Arvind Reddy Maram on Aug 28, 2017
Latest reply on Oct 9, 2017 by Hui_Ma


We randomly keep getting this error while trying to the flash our KM34Z256VLL7 device.


Connecting ...
- Connecting via USB to J-Link device 0
- Target interface speed: 4000 kHz (Fixed)
- VTarget = 3.254V
- ERROR: DAP error while reading AIRCR / CPUID register
- ERROR: Failed to connect.
Could not establish a connection to target.


When I try the same from within KDS I get an error "Protection bytes of flash at addr 0x400-0x40F indicate that the readout protection is set. For debugger connection the device needs to be unsecured."


I noticed a chain which mentioned a procedure for KL processors, is there something similar for the KM series of controllers? Thanks in advance.