Posts by mspieth

    I have a Ti LaunchpadXL2 RM57L843 and have set up AJSM to protect the firmware.
    I can program the OTP memory with the key with Uniflash but our customer uses j-link pro's in their manufacturing process.

    How can I program the OTP locations and associated ECC location with J-Link pro/J-Trace JTag devices?

    I have tried jlink commander loadfile with a suitable intel hex file but that does not work.
    Direct memory writes also do not work, but I didn't expect that to work anyway.
    J-Flash lite and J-Flash also do not work.

    AJSM unlock works with dbgauth (ti) and a jlinkscript that writes to SDTAP2 register 11 (0xb) with the 128 bit/16 byte key generated by halcogen, except that the key sequence is not reversed.

    A jlink script that writes OTP would be suitable if there is no built in command to do so in.

    Am I missing something obvious?

    Hopefully someone can help before I write a script to do that too.