Categories

{{ selectedCategory.name }}

{{ topic.Title }} {{ topic.Ddate | formatDate }}

{{ topic.Content }}

No topics found!

NXP/ST Power Architecture: Password protected device

03-Aug-2021

When a device is password protected, BlueBox must send the password to the device to unlock debug interface. Before that only access to JTAG ID is available. 


Solution:

Password is entered in Hardware / CPU Options / SoC.


64-bit password

The password is accepted by MPC/SPC  any time (as well when CPU is in reset).


256-bit password

The password is accepted by MPC/SPC  after it is already released from reset. That means that regular start of emulation fails because debugger cannot unlock debug interface before reset is released. There are two solutions: 

1. Hot attach.

    2. Use Reset method Stop:

    i. Open Hardware  / CPU Options / Reset tab.

    ii. In the RESET method section choose Stop from the drop-down list.

    iii. Open Hardware  / CPU Options / JTAG.

    iv. Set Scan speed to 5000 kHz. 

      When Reset method Stop is selected, Reset is released, password is sent to MPC/SPC device which unlocks debug interface and after that CPU is stopped. 

      1. Devices which have  DCI module core (only core) are also reset after that via DCI. CPU is stopped before any instruction is executed.
      2. Calypso and Calypso3M devices have no DCI. In the case of Reset Stop method ‘final DCI reset’ is missing so CPU is stopped somewhere in BAM code or in user code if JTAG communication is slow. In this case Scan speed 5000 kHz is preferred. 


      More resources: 

      Was this answer helpful?

      Sorry this article didn't answer your question, we'd love to hear how we can improve it.
      Note: This form won't submit a case. We'll just use it to make this article better.

      Similar topics

      {{ topic.Title }} {{ topic.Ddate | formatDate }}

      {{ topic.Content }}

      No similar topics found!

      Other topics in the same category

      {{ topic.Title }} {{ topic.Ddate | formatDate }}

      {{ topic.Content }}

      No topics found!