Why I can't access some part of momery of K60 by using IAR

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

Why I can't access some part of momery of K60 by using IAR

ソリューションへジャンプ
1,333件の閲覧回数
SloanWagner
Contributor I

When I tried to test the drivers of FlexCan with testing tasks ,I found that if FlexCan is disabled,the testing tasks couldn't run any more.The tasks would be interrupted by a unhandled interrupt.

So there was no chance to enabled the FlexCan module. Then I opened the memory window of IAR in order to look for the errors of FlexCan, but I find there is no value in the specified memory.

My english is poor,please forgive me . Thank you!

FlexCan0‘s base address1.PNG.png

Flash memory's base address2.PNG.png

SPI0's base address3.PNG.png

タグ(3)
0 件の賞賛
返信
1 解決策
1,109件の閲覧回数
davidsherman
Senior Contributor I

Is the clock gate enabled in the SIM?  Reading or writing the module registers without the clock gate enabled will cause bus faults.

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,110件の閲覧回数
davidsherman
Senior Contributor I

Is the clock gate enabled in the SIM?  Reading or writing the module registers without the clock gate enabled will cause bus faults.

0 件の賞賛
返信
1,109件の閲覧回数
SloanWagner
Contributor I

Think you for your replay.I have found why the FlexCAN can't work.The SIM and OSC is not enabled ,your answer helped me. Thank you very much.

0 件の賞賛
返信