This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS570LS3137: Programming AJSM JTAG lock with Bootloader , Disable JTAG Permanently from the Boot Loader

Part Number: TMS570LS3137

We want to perform following operation from the Boot loader to Disable JTAG .

As we cannot write at address 0xF0000000 with Bootloader FLASH API (F021_API_CortexR4_BE_NDS.lib) library what is the solution to disable the JTAG using Boot loader .

/* Lock JTAG permanently */
.sect ".ajsm"
.arm
AJSM0 .word 0x00000000U
AJSM1 .word 0x00000000U
AJSM2 .word 0x00000000U
AJSM3 .word 0x00000000U
.sect ".ajsmecc"
.arm
AJSMECC0 .byte 0x0CU
AJSMECC1 .byte 0x92U

AJSM : org = 0xF0000000 length = 0x00000010
AJSMECC : org = 0xF0040000 length = 0x00000002

.ajsm : {} > AJSM
.ajsmecc : {} > AJSMECC