TI中文支持网
TI专业的中文技术问题搜集分享网站

TM4C1294的mac address修改后如何重写?

我使用了Uniflash对TM4C1294芯片进行mac address的写入,写完后想要使用

MAP_FlashUserSet(0x00FFFFFF, 0x00FFFFFF);
MAP_FlashUserSave();

进行修改但是无法达成,查询后知道这两个暂存是一次性的写入(如下),需要使用Uniflash做unlock的动作

These registers each provide 32 bits of user-defined data that is non-volatile. Bits can only be
changed from 1 to 0. The reset value shown only applies to power-on reset when the register is not
yet committed; any other type of reset does not affect this register. Once committed, the register
retains its value through power-on reset. The only way to restore the factory default value of this
register is to perform the "Recover Locked Device" sequence detailed in the JTAG section.

但我在使用Uniflash时无法进行unlock,出现以下错误

CORTEX_M4_0: GEL Output: Memory Map Initialization Complete
CORTEX_M4_0: Starting Debug Port Unlock operation…
CORTEX_M4_0: Error: Failed unlocking device!
不知道我哪做法错了吗?
Susan Yang:

您现在是使用的TI的开发板还是您自己的板子?您用uniflash来unlock时是如何配置的,能否给出相关截图?

另外建议您先看一下之前的帖子 e2e.ti.com/…/653180
用CCS试一下是否可以unlock

赞(0)
未经允许不得转载:TI中文支持网 » TM4C1294的mac address修改后如何重写?
分享到: 更多 (0)