AM62Px MCU+ SDK  09.02.01
Runtime debug unlock Example

Introduction

In HS-SE device, the JTAG debug port is closed by default. The user can do runtime debug unlock by sending a TISCI message with a signed debug certificate. This example demonstrates how to do runtime JTAG port unlock. If the JTAG is unlocked, the example passes. The example is supported only on HS-SE device.

Refer TISCI documentation for more details about the API.

Note
Only hosts allowed in security board configuration can send jtag unlock message via TISCI. Before running the example change the "jtag_unlock_hosts" parameter in the "source/drivers/sciclient/sciclient_default_boardcfg/am62px/sciclient_defaultBoardcfg_security.c" as follows,
.jtag_unlock_hosts = {TISCI_HOST_ID_WKUP_0_R5_0, 0, 0, 0},

Supported Combinations

Parameter Value
CPU + OS wkup-r5fss0-0 freertos
Toolchain ti-arm-clang
Boards am62px-sk
Example folder examples/security/runtime_debug_unlock

Steps to Run the Example

Generate debug certificate

Build the example

Sample Output

Shown below is a sample output when the application is run,

Runtime debug unlock example!
Run time JTAG debug unlock... DONE !!!
All tests have passed!!