the system will be reset when run RAMCODE

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

the system will be reset when run RAMCODE

1,775件の閲覧回数
香龙朱
Contributor II

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

for example:

Snipaste_2019-01-16_12-05-53.png

The csec init driver will start the system tick.

Snipaste_2019-01-16_12-13-09.png

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.

ラベル(1)
0 件の賞賛
返信
1 返信

1,577件の閲覧回数
香龙朱
Contributor II

this issue may be the same reason as https://community.nxp.com/thread/496524 

anybody can give me some tips?

0 件の賞賛
返信