Hello all,
I've been working on the BeagleBone, running Angstrom v2011.11-core Linux. I'm writing a Python library (using Python 2.7.2) for peripheral support using the pins broken out on the expansion headers. I'm doing this using the mmap module on /dev/mem, and referring to the AM335x Reference Manual for register addresses. I had no trouble at all with the GPIO registers, and I'm trying to get the ADC working now. The problem I'm having is that I'm getting a bus error when I try to read or write any of the ADC registers.
Here's the output of dmesg after trying to read the ADC CTRL register (absolute address of 0x44e0d040):
[128816.761898] Unhandled fault: external abort on non-linefetch (0x1018) at 0x40785040
I've triple checked my addresses and I'm sure they're correct. Any suggestions would be greatly appreciated.
Thanks in advance,
-Alex