Part Number:MSP430FR5043Other Parts Discussed in Thread:UNIFLASH
UniFlash操作了Settings & Utilities下的Security的按钮,make device secure后,重启再次下载代码就会失败了,请问怎么回事
Ben Qin:
你好,connection to the device will not be possible after the device is secured.
参考下这两篇文档:
www.ti.com/…/slaa685.pdfwww.ti.com/…/slau319x.pdf
,
Jason Xu:
使用了UNIFLASH下载了一次jtag加密的固件后,如果需要再次更新代码就不行了,请问怎么回事了
,
Ben Qin:
你是将jtag加密了吗?需要先将jtag先解密才可以重新下载程序。
,
Jason Xu:
请问怎么解密???
,
Ben Qin:
可以参考下下图:
,
Jason Xu:
UNIFLASH本身不能解密吗?或者没有其他解密的软件吗?是通过如下的方式加密的,代码中添加的这一段
#pragma RETAIN(JTAG_signatures)#pragma DATA_SECTION(JTAG_signatures, ".jtagsignature")const uint16_t JTAG_signatures[] = {0xAAAA, 0x0002};
#pragma RETAIN(JTAG_password)#pragma DATA_SECTION(JTAG_password, ".jtagpassword")const uint8_t JTAG_password[] = {0x12, 0x34, 0x56, 0x78};
请问下载一次固件后如和再次下载
,
Ben Qin:
参考下下面这篇帖子:
MSP430F5419A: How to unlock JTAG interface – MSP low-power microcontroller forum – MSP low-power microcontrollers – TI E2E support forums