Other Parts Discussed in Thread: HALCOGEN
Hello QJ.
I locked my TMS570LC4357 based launchpad with AJSM and now I experience a problem to unlock it.
I followed the described in the spna232 instructions.
Before device locking I generated a corresponded .dat file with AJSM port.
Then I generated an AJSM key with Halcogen and programmed a corresponded OTP memory region with this generated key. I checked in the CCS memory browser that the programmed memory values are equal with a key (correct memory programming).
After that I unpowered the launchpad and powered it again.
To unlock the device with 'dbgauth' utility I use the generated before .dat file and the generated by Halcogen key for unlocking.
I attach the .dat file to this thread. And the file with generated by Halcogen keys I send to your e-mail directly to prevent to discover it.
My tools versions:
- CCS: 8.3.1.00004
- Emupack: 8.4.0.00006
- Halcogen: 04.07.00
I use the next command line to unlock the device:
'dbgauth -c 570LC43-Lnx-WithAjsmPort.dat -s ajsm -t cortexr5 -k xxx_generated_unlock_key -m 1'
where 'xxx_generated_unlock_key' is the generated by Halcogen unlock key.
but I get the next message on my try to unlock it:
----------------
Using board config file:
C:\TI\ccsv8\ccs_base\common\uscif\570LC43-Lnx-WithAjsmPort.dat
Connecting to target device...
Scanning unlock key value...
Testing that the device is unlocked...
Disconnected from target.
The unlock routine failed; the target device is still locked.
Check the unlock key and board configuration.
----------------
So I experience a problem with my launchpad unlocking. Could you please help me?
Could you please check if my .dat file is correct. I followed the described instructions on its generation, but I am not sure still that it is correct. If my .dat file is incorrect - please share with me a correct one.
And could you please check if the generated key works fine on your device and you may successfully unlock your device with the corresponded generated unlock code in my HL_ajsm.asm file?
Thanks in advance for your help,
Oleg