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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
660 Views
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

Tags (3)
0 Kudos
1 Solution
436 Views
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.

View solution in original post

0 Kudos
2 Replies
437 Views
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 Kudos
436 Views
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 Kudos