我们想实现TMS570LS1224的JTAG防护,实现固件的读保护,烧录芯片后不让第三方通过JTAG口读取MCU内的固件信息,在芯片解释里有相关功能模块Advanced JTAG Security Module(AJSM)的简介,但是没有详细的技术文档和使用方法,谁有相关资料可以提供一下。
Susan Yang:
这部分资料确实比较少,请您参考下我之前获取的使用示例
2627.AJSM.zip
user5823334:
回复 Susan Yang:
我这边使用了HALCOGEN生成AJSM相关源码,生成的文件里面有个教程,我现在按照来做,但是没有成功,能否帮忙看一下问题出在哪?教程如下:Steps to Add AJSM Support:
; ————————–
; 1) Generate the Visible Unlock Code using HALCoGen AJSM Tab.
; 2) Make sure Save Key is pressed before Generating HALCoGen Code.
; 3) Add Memory Section in linker file to program the ""ajsm"" data section
;to address location 0xF0000000.
;
;————————————-
;Below example is for CCS Linker file
;————————————-
;MEMORY
;{
;- – – – –
;- – – – –
;AJSM: org = 0xF0000000len = 0x00000010
;AJSMECC : org = 0xF0040000len = 0x00000002
;}
;
;SECTIONS
;{
;- – – – –
;- – – – –
;.ajsm: {} > AJSM
;.ajsmecc : {} > AJSMECC
;}
; 4) Build the project.
; 5) 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.
; 6) Once device programmed correctly, after reset your JTAG will be locked.
; 7) Below SafeTI forum Link contains the user guide for using CCS as Unlock Tool.
;e2eprivate.ti.com/…/3575.aspx
;
;If you don鈥檛 have access then it will tell you the link is invalid.
;Goto to www.ti.com/safetyanalysis to get access.
;
; 8) Use the Scan pattern in the bottom of this file for JTAG unlock.
;This pattern is generated when AJSM "save key" button is pressed.