各位专家好,我在学习RM42l432安全功能时,发现HALCOGen生成的代码好像和SafeTI Diagnostic Library库中函数是不是有一些重复?比如HAL生成了 _coreEnableFlashEcc_(); esmInit(); 而SafeTI Diagnostic Library库中也提供了 SL_Init_ECCFlash,SL_ESM_Init。请问两对功能一样吗?还是有什么区别?
谢谢
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.
非常感谢,但是您上面给我的链接这样说啊。SafeTITM Diagnostics Library can be used as Library or direct source. When customer chooses to use SafeTITM Diagnostics Library file directly with HALCoGen they must regenerate the library. The default library files that comes with the standard SafeTITM Diagnostics Library installer is build with EXTERNAL_SP_INIT = 0, i.e., stack pointer is initialized by SafeTITM Diagnostics Library. But for this demonstration we want HALCoGen to do stack pointer initialization hence rebuild SafeTITM Diagnostics Library with option EXTERNAL_SP_INIT = 1.