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