Mathuran Posted August 22 Share Posted August 22 Hello, I am using a Raspberry Pi 5 in Raspberry Pi OS 64 bit, and a DAQ HAT MCC 172, i follow all the step here : https://github.com/mccdaq/daqhats#examples but when i use the command daqhats_list_boards it say that i have 0 board found. So i need help to solve this Link to comment Share on other sites More sharing options...
0 Fausto Posted August 22 Share Posted August 22 Hello @Mathuran. Please follow all of the install instructions: https://github.com/mccdaq/daqhats#install-instructions Be sure to execute the command: sudo daqhats_read_eeproms How many MCC HATS and other third-party HATS do you have mounted on your RPi 5? Is your MCC 172 board new or was it used with other RPi modules? If you are using the Raspberry Pi OS desktop interface, the DAQ HAT Manager utility will be available under the Accessories in the start menu. This utility will allow you to list the detected DAQ HATs, update the EEPROM files if you change your board stack, and launch control applications for each DAQ HAT to perform simple operations. Please verify that your RPi has both SPI and I2C options enabled in the configuration. These settings are found by clicking Raspberry Pi Start Icon >> Preferences >> Raspberry Pi Configuration. When the Control Panel appears, click on the Interfaces tab. If not already enabled, enable both SPI and I2C kernel modules. If you continue to have an issue, remove the MCC 172 and replace the SD card with a fresh installation of the Raspbian OS. Mount the MCC 172 HAT back onto the RPi 5 and redo the installation instructions for the MCC DAQHAT software. This test will help rule out a bad image or SD card. Regards, Fausto Link to comment Share on other sites More sharing options...
0 Mathuran Posted August 23 Author Share Posted August 23 Hello @Fausto Thanks for your help. Yes, I have already executed the command sudo daqhats_read_eeproms, but it didn't change anything. I have mounted only one MCC HAT on the Raspberry Pi, and both the Pi and HAT are new. I also tried using the DaqHat Manager utility, but it didn't detect the card. The SPI and I2C options are enabled. I will try using a new SD card with Raspberry Pi OS 32-bit. Regards, Mathuran Link to comment Share on other sites More sharing options...
0 Mathuran Posted August 23 Author Share Posted August 23 Hello @Fausto So i tried with a new sd card with a new boot but i have the same problem. Otherwise when i use the command mcc172_firmware_update 0 ~/daqhats/tools/MCC_172.fw it finish the update and say this warning : "Warning - address 0 using factory EEPROM default values" How can i solve this ? Link to comment Share on other sites More sharing options...
0 Mathuran Posted August 23 Author Share Posted August 23 Hello, I have something new. I made the same settings but this time on a raspberry pi 3 and I managed to detect the daqhat. Are you sure that the mcc daq 172 is compatible with the Raspberry pi 5. However I see on the git that there have been updates for the Rpi 5. I would like to be able to use it on the Raspberry Pi 5. Link to comment Share on other sites More sharing options...
0 Fausto Posted August 23 Share Posted August 23 Hello @Mathuran. Yes, the MCC DAQ HATS are compatible with the Raspberry Pi 5. Yes, the MCC DAQ HAT Library for Raspberry Pi was updated to v1.5.0.0, adding support for the RPi 5. Please follow all of the install instructions: https://github.com/mccdaq/daqhats#install-instructions Be sure to execute the command: sudo daqhats_read_eeproms How many MCC HATS and other third-party HATS do you have mounted on your RPi 5? Link to comment Share on other sites More sharing options...
0 Mathuran Posted August 26 Author Share Posted August 26 Hello @Fausto I only have the Raspberry Pi 5 and one MCC Daq hat. I have nothing else. Regards, Mathuran Link to comment Share on other sites More sharing options...
0 Fausto Posted August 26 Share Posted August 26 Hello @Mathuran. Did you remove the MCC 172 before replacing the SD card with a fresh installation of the Raspbian OS? Afterward, power down the RPi5 and mount the MCC 172 HAT back onto the RPi 5 before repeating the installation instructions for the MCC DAQHAT software. https://github.com/mccdaq/daqhats#install-instructions Please verify there is no jumper in the address header. Regards, Fausto Link to comment Share on other sites More sharing options...
0 Mathuran Posted August 27 Author Share Posted August 27 Good morning, I had already tested it but it didn't change anything I did it again just in case but I have no difference still the same problem Regards, Mathuran Link to comment Share on other sites More sharing options...
0 Fausto Posted August 27 Share Posted August 27 Hello @Mathuran. Which Raspberry Pi OS version is installed on the RPi 5? Please reply with top and bottom images of your MCC 172 board. Regards, Fausto Link to comment Share on other sites More sharing options...
0 Mathuran Posted August 28 Author Share Posted August 28 Hello @Fausto I am using the Raspberry Pi OS with desktop, System: 32-bit. Regards, Mathuran Link to comment Share on other sites More sharing options...
0 Fausto Posted August 28 Share Posted August 28 Hello @Mathuran. Thank you for the images. The RPi 5 supports the Raspberry Pi OS debian version 12 (Bookworm). I downloaded the 'Raspberry Pi OS (64-bit) with desktop and recommended software' image (Debian version: 12, bookworm) from the Raspberry Pi website to a new microSDXC and then installed the image onto a RPi 5 with a MCC 172. While following the MCC DAQ HAT install instructions, the 'sudo ./install.sh' command concluded with detecting the EEPROM at address 0, as shown below. rpi5@rpi5:~ $ cd ~/daqhats rpi5@rpi5:~/daqhats $ sudo ./install.sh Reading package lists... Done Building dependency tree... Done Reading state information... Done The following NEW packages will be installed: ... Reading DAQ HAT EEPROMs Reading... Found EEPROM at address 0 Done If your MCC 172 was not detected during the installation, then follow the 'Uninstall the daqhats library' steps, restart the system, and reinstall the daqhats library. As shown below, the MCC 172 is supported on a RPi 5. Please verify the MCC 172 is completely seated on the RPi 5. Regards, Fausto Link to comment Share on other sites More sharing options...
0 Mathuran Posted August 29 Author Share Posted August 29 Hello @Fausto, I redid the steps with the same version of Raspberry Os. But this did not solve the problem the RPI5 cannot detect the EEPROM although it worked on RPI3. But I think that the card is detected because I still manage to update the firmare of the mcc172 with mcc172_firmware_update 0 ~/daqhats/tools/MCC_172.fw. Is an additional library needed on RPI5? Regards, Mathuran Link to comment Share on other sites More sharing options...
0 Fausto Posted August 29 Share Posted August 29 (edited) Hello @Mathuran. Which version of the Raspberry Pi OS image did you use, i.e. Bookworm, 32 vs. 64, Lite vs Full? All the required commands are listed in the MCC DAQ HAT Library for Raspberry Pi Install Instructions. Did you run sudo apt full-upgrade followed by sudo reboot? Please run the firmware update for the MCC 172 again on the RPi 5 and reply with a screen capture of the result. Lastly, run the command daqhats_version on the RPi 5 to display the installed version number and reply with the version. Regards, Fausto Edited August 29 by Fausto daqhats_version command Link to comment Share on other sites More sharing options...
0 Mathuran Posted August 29 Author Share Posted August 29 Hello @Fausto Actually i use the Raspberry pi OS 64 bit, and i have already tested the sudo apt full-upgrade followed by sudo reboot. Regards, Mathuran Link to comment Share on other sites More sharing options...
0 Fausto Posted August 29 Share Posted August 29 Please run the command daqhats_version on the RPi 5 to display the installed version number and reply with the version. Link to comment Share on other sites More sharing options...
0 Mathuran Posted August 29 Author Share Posted August 29 yes, it reply : daqhats version 1.5.0.0 is installed Link to comment Share on other sites More sharing options...
0 Fausto Posted August 29 Share Posted August 29 Thank you for the response. Are there any wires connected to pins 27 and 28 (GPIO 0 & GPIO 1 respectively) or other devices connected to the RPi 5's 40 pin header? Link to comment Share on other sites More sharing options...
0 Mathuran Posted August 29 Author Share Posted August 29 no nothing else i just put the daqhat for the moment Link to comment Share on other sites More sharing options...
0 Fausto Posted August 29 Share Posted August 29 Please run the command sudo rpi-eeprom-update to confirm the firmware is up-to-date on the RPi 5. Link to comment Share on other sites More sharing options...
0 Mathuran Posted August 30 Author Share Posted August 30 Hello, Sure, it reply this Link to comment Share on other sites More sharing options...
0 Fausto Posted August 30 Share Posted August 30 Thank you. Please power off the RPi 5 and remove all wires connected to the MCC 172. Restart the RPi 5 with the MCC 172 and run the command: sudo daqhats_read_eeproms Next, run the command: daqhats_list_boards Regards, Fausto Link to comment Share on other sites More sharing options...
0 Mathuran Posted August 30 Author Share Posted August 30 hello, it say that: rpi5@raspberry:~ $ sudo daqhats_read_eeproms Reading . . . Done rpi5@raspberry:~ $ daqhats_list_boards 0 boards found regards, Mathuran Link to comment Share on other sites More sharing options...
0 Fausto Posted August 30 Share Posted August 30 Thanks again. Taking this offline for a replacement. Link to comment Share on other sites More sharing options...
0 Mathuran Posted August 30 Author Share Posted August 30 Thanks, But, i don't understand what are you going to take offline? Link to comment Share on other sites More sharing options...
0 Fausto Posted August 30 Share Posted August 30 I sent you a private message in this forum to discuss a replacement. Link to comment Share on other sites More sharing options...
Question
Mathuran
Hello,
I am using a Raspberry Pi 5 in Raspberry Pi OS 64 bit, and a DAQ HAT MCC 172, i follow all the step here :
https://github.com/mccdaq/daqhats#examples
but when i use the command daqhats_list_boards it say that i have 0 board found.
So i need help to solve this
Link to comment
Share on other sites
25 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now