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,324 次查看
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,100 次查看
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,101 次查看
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,100 次查看
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 项奖励
回复