This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

RTT viewer or Segger message: CTRL-AP indicates that the device is secured (J-Link V6.88a Info)

Working in a Windows 64 environment with nRF Connect SDK v1.5.0. Target is a custom nRF5340 board connected through a nRF5340-PDK as a debugger, via USB.

I can no longer use RTT Viewer to connect to our target: any attempt to connect pops up a message saying CTRL-AP indicates that the device is secured... Do you want to unsecure the device?

Answering YES fully erases the target. Answering NO results in denied connection.

 

The same message is popping up when trying to run the debugger directly via Segger (the debugger works, but only after it fully erased the target and reuploaded the code).

This was not happening before, but we are unsure of what was changed to cause it and how to get around.

Regards

Bruno

Parents Reply
  • If I try to start the RTT for the NETCORE session it appears the error shown in the original post:

    If I press yes, the whole board doesn't function anymore, but I can access to both RTT sessions (they show nothing except that they start); if I press no I can go back to the RTT session for the APPCORE without any issue, the board still works.

    Maybe, since I'm using a custom board, I'm missing something in the devicetree? 

    /dts-v1/;
    #include <nordic/nrf5340_cpuapp_qkaa.dtsi>
    
    / {
    	model = "boardname";
    	compatible = "nordic,boardname";
    
    	chosen {
    		zephyr,sram = &sram0;
    		
    		...
    		...
    		...

    My dts starts like this.

Children
Related