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.

TMS570LS0232: Memory lock and ulocked with CAN message or command

Part Number: TMS570LS0232


Hi experts,

Is there any way to lock and unlock the memory with CAN message for TMS570LS0232 .I want to protect memory against to read from anyone. I try to lock JTAG with AJSM but when I want to unlocked it I have to use CCS but I want to unlocked by any command or CAN message.

Also, Is there a way to protect memory from reading with any registers to easily lock and unlock memory data, but I still want to do this by command or CAN message?

Thanks.

  • Hi Rahmi,

    First of all, apologies for the delay in my late replay, i was stuck with other issues in this mean time.

    Is there any way to lock and unlock the memory with CAN message for TMS570LS0232 .I want to protect memory against to read from anyone. I try to lock JTAG with AJSM but when I want to unlocked it I have to use CCS but I want to unlocked by any command or CAN message.

    You can lock the device from the CAN messages.

    As mentioned in above, the customer OTP can also be programmed through application right. So, you can program your required key to the OTP section of the AJSM, after you are receiving a Lock command message through CAN communication. Once you programmed the OTP area with the key the device will get locked.

    But it is not possible to unlock the device from application code. The unlocking can only be possible by using "dbgauth.exe".

    (+) RM46L852: AJSM Unlock sequence on JTAG level - Arm-based microcontrollers forum - Arm-based microcontrollers - TI E2E support forums

    Please refer above thread to understand the same.

    Also, Is there a way to protect memory from reading with any registers to easily lock and unlock memory data, but I still want to do this by command or CAN message?

    I think there is no other way to lock or unlock the device from memory reading.

    There is a memory protection unit inside the controller, but this will only be helpful to control the memory access bus masters in the system other than the CPU. And this also cannot prevent the external JTAG access.

    --
    Thanks & regards,
    Jagadish.