This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430I2041无法烧断熔丝

Other Parts Discussed in Thread: MSP430I2041

MSP430I2041需要自己写一段SUC程序来完成软件加密,只是流程清除但是还是不清楚怎么写这段段码,以及怎么跟应用程序代码一起烧进IC中,所以麻烦有熟悉的帮忙解答一下,谢谢!

  • 建议您看一下官网的APP NOTE : MSP Code Protection Features

     

    2.2.4 MSP430i2xx Electronic Fuse Implementation – Start-Up Code (SUC)

    另外您可以在  下载并查看 low_level_init.c

    The i2040 series devices are a little bit different when it comes to securing the device. Basically there is no "JTAG Fuse" to blow in the device. It has a JTAG Disable register in the device that is set during the Start Up Code (SUC). (JTAG is disabled at start-up of the device) You will have to write code in your application order to lock the JTAG here, and if you desire to ever unlock the JTAG, a hook will need to be written in your application to do so. The register in the SYS Module (SYSJTAGDIS ) will lock the JTAG. Without such a hook, the JTAG can never be re-enabled. Of course, this can be a desired effect after development! the TLV and SUC chapter of the User Guide explains this lock some more. Also, you can see an example within the low_level_init.c/.asm file accompanied with the i2040 code examples within MSPWare of how the SUC handles the JTAG Lock. 

    www.ti.com.cn/.../slaa685.pdf

  • 非常感谢您的回答,附件文档我之前也看过,实现流程原理已经很懂了,现在就是具体的代码实现还不清楚,然后看了你说的low_level_init..asm参考代码,感觉这个就是SUC的代码实现过程,不过是汇编代码,而且我也不清楚怎么把这个汇编代码和我的应用程序代码一起烧录到MCU中,因为现在量产了,所以需要一次性烧录好加密的程序。另外您发的那个网页打开后无法显示,如附件我上传的图片,不知道里面是啥内容。

  • low_level_init.c可以在下面的链接查看 

    dev.ti.com/.../