Jump to content
  • 0

mmap failed 0xffffffffffffffff



I am migrating a raspberry pi ata acquisition application to your MCC 128 hat.

I installed your board in a new RPi 5.  when I run your examples for the MCC 128, I get an error each time a sample is taken.  Actually I get three lines of 

    mmap failed 0xffffffffffffffff

for each call to the card.  The card seems to be returning correct measurements, though.

Can you advise me on ways to track down this probem?



Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 1

Use the beta version, which is at https://github.com/mccdaq/daqhats/tree/pi5

Follow the instructions below to install. 

1. $ cd daqhats

2. $ sudo ./uninstall.sh

3. $ git pull

4. $ git checkout pi5

5. $ sudo ./install.sh

6. $ pip install daqhats (manually add Python support)

You can switch back to the released library by uninstalling the library, running “git checkout master”, and then installing the library.

Use the installed MCC DAQ HAT Manager utility application to verify communication with the MCC 118/MCC 128 or use terminal commands.

$ sudo daqhats_read_eeproms

$ daqhats_list_boards

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...