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.

TMS570LS0714: how to lock the JTAG in production flow

Part Number: TMS570LS0714
Other Parts Discussed in Thread: HALCOGEN, UNIFLASH

Hi BU experts, 

Do we have doc showing the steps of locking the JTAG in production flow? 

I found this doc: https://www.ti.com/lit/an/spna232a/spna232a.pdf?ts=1672022976530&ref_url=https%253A%252F%252Fwww.ti.com%252Fproduct%252FTMS570LS0714%253FkeyMatch%253D%2526tisearch%253Dsearch-everything%2526usecase%253Dpartmatches

But there are few description about how to enable AJSM features in production phase, such as what tools and the steps. 

Thanks. 

BR, 

Will 

  • Hi Will,

    The following steps have to be followed to generate AJSM Keys:

    1.Open a HALCoGen Project with HALCoGen Version 4.06.00 or Greater.

    2.Go to the “Driver Enable” tab and check 'Enable AJSM'.

    3.2 Options:

    • HALCoGen “Generate Key” AJSM Unlock Key:
    • Manually Feed Key:

    Once satisfied with the Key, calculate the ECC, and click “Save Key”. Notice the “New Key” gets saved to the “Visible Key”.

    4.Generate the code. File “ajsm.asm” gets generated, which contains the necessary memory or data section with the new AJSM keys. This new ajsm keys are stored in HALCoGen project and when next time same project is opened this key will appears in the “Visible Key” Field.

    5.Memory section must be added to the linker file to program the "ajsm" data section to address location 0xF0000000 and “ajsmecc” data section to address location 0xF0400000, before building the project.

    6.Build the project.

    7.Make sure ECC is calculated and is part of the Image before programming

    Note: If ECC locations are not programmed correctly device might be locked permanently.

    8.Once device programmed correctly, after reset your JTAG will be locked.

  • Thank you, Qingjun. Will discuss with customer this process. 

  • Hi Qingjun, 

    Customer said when programming the AJSM key via UNIFLASH, it prompts following information: 

    Do you know why? Should they use other tools? 

    Best Regards, 

    Will 

  • The ECC address for AJSM key is at 0xF0040000 (customer OPT ECC) rather than 0xF0400000 (data flash ECC).

    Please double check your linker cmd file: