AnsweredAssumed Answered

the system will be reset when run RAMCODE

Question asked by Shannon Chu on Jan 15, 2019
Latest reply on Feb 26, 2019 by Shannon Chu

In Csec Driver and Flash Driver, some function is placed in RAM. Use "START_FUNCTION_DEFINITION_RAMSECTION" and END_FUNCTION_DEFINITION_RAMSECTION.

for example:


The csec init driver will start the system tick.


When I init the csec driver, then call some cesc or flash function that need run RAMCODE. when the code run to the RAMCODE, the system will be reset.

if I disable the system tick, those function will be run succeed, and there is no system reset.


I don't know why it happened. I don't know why the system tick will  impact the ramcode.


Anybody can explain the theory or reason to me?

I don't know disbale the system tick will really run those function succeed every time.