使用Dcsm_security_tool进行加密后,程序会进入非法中断,如何解决?
具体现象是:1.在不进行加密时,程序运行正常。2.进行加密后,在烧录后,芯片不断电直接运行能正常运行。重新上电后发现芯片进入 ILLEGAL_ISR(通过IO口信号确认);3.通过仿真进行解密后可在仿真中正常运行。
经过排查发现如果不使用ADC中断和DMA中断则情况正常;
加密配置为如下两图:




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.
使用Dcsm_security_tool进行加密后,程序会进入非法中断,如何解决?
具体现象是:1.在不进行加密时,程序运行正常。2.进行加密后,在烧录后,芯片不断电直接运行能正常运行。重新上电后发现芯片进入 ILLEGAL_ISR(通过IO口信号确认);3.通过仿真进行解密后可在仿真中正常运行。
经过排查发现如果不使用ADC中断和DMA中断则情况正常;
加密配置为如下两图:



