Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: Accessing D_CAN on Beaglebone

$
0
0

Hello

I'm trying to access the D_CAN registers on the Beaglebone running Linux 3.8.13. I think I have all done right but the first time accessing the CAN1 registers at  CAN1_BASE_ADDR    0x481D0000 results in:

Feb 22 00:00:17 beaglebone kernel: can4linux:  0x481d0000 remapped to 0xfa1d0000
Feb 22 00:00:17 beaglebone kernel: can4linux: Can[1]: - : out can_vendor_init()
Feb 22 00:00:17 beaglebone kernel: can4linux: Cin: (fa1d0000)
Feb 22 00:00:17 beaglebone kernel: Unhandled fault: external abort on non-linefetch (0x1028) at 0xfa1d0000
Feb 22 00:00:17 beaglebone kernel: Internal error: : 1028 [#1] SMP THUMB2

After searching a while I found that it could be that not all clocks are enabled. Can someone please point me how I can enable the CAN module clocks. What are the clocks I have to enable and how?

Thanks

   Heinz


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>