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.

TMS320F280039C: 使用DCSM库自带的函数写加密密码无法写入

Part Number: TMS320F280039C

您好:

最近正在调试加密功能,想要实现把加密的密码CSMPSWD在程序运行过程中写入,将密码提前设置好后调用dcsm.c中的DCSM_writeZone1CSM函数,调用该函数运行后,仿真发现密码部分并没有写入,想问下如果要在程序运行中写入密码部分需要怎么操作呢?

调用的函数如图:

调用前设置需要的具体密码: