Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPI unable to open #41

Closed
oscarjgv24 opened this issue Sep 3, 2017 · 4 comments
Closed

SPI unable to open #41

oscarjgv24 opened this issue Sep 3, 2017 · 4 comments

Comments

@oscarjgv24
Copy link

oscarjgv24 commented Sep 3, 2017

Hi,

I am trying to run it in the Beaglebone Blue... I tried using the image provided in (https://github.com/mirkix/ardupilotblue) and at first it ran correctly but then it gave an error of No INS backend available.

I am having the following error

root@beaglebone:/home/debian# /home/debian/arducopter -C udp:192.168.137.1:14550
SPI: unable to open SPI bus /dev/spidev2.1: No such file or directory

I checked the /dev folder and spidev2.1 is not there,
spi_bug

I would assume is just a matter of changing it but I am thinking maybe I missed something. I ran all the steps in (https://github.com/mirkix/BBBMINI/blob/master/doc/software/software.md).

Any suggestions?

Regards,
Oscar

@patrickpoirier51
Copy link

patrickpoirier51 commented Sep 4, 2017

Looks like you do not have the correct binary... this one is looking for SPI connected sensors that are on the BBBMINI not on the BBBlue.
Concerning the initial error - No INS backend-- is probably because you need root privileges to run , this is why the wiki examples are using sudo.
You should use gitter for these type of question: https://gitter.im/mirkix/BBBMINI
Regards

@oscarjgv24
Copy link
Author

oscarjgv24 commented Sep 4, 2017

Hi @patrickpoirier51 ,

Yes. This was my bad. I followed the suggestions in ([1]https://github.com/mirkix/BBBMINI/blob/master/doc/software/software.md) to the letter but they are for BBBMINI as you suggested.

I corrected this by avoiding step 16 in [1] and selecting board=blue in step [4] of compiling.

I got confused because this process is not described in ([2] https://github.com/mirkix/ardupilotblue) since it provides the image but I wanted to build it for myself.

As for the No INS backend, I don't know what was exactly but when I ran all the steps in [2] then all the compiling steps in [1], it worked.

And thank you Patrick. I didn't know about gitter but I have joined now. I will be posting any relevant problem or solution there.

Regards,
Oscar

@juvinski
Copy link

juvinski commented Sep 4, 2017

hi @OscarJGV26 ,

BBBMini use spi for 9DOF sensor while BBBBlue use just i2c for both 9DOF and Baro, that is the reason you are having this troubles.

@oscarjgv24
Copy link
Author

oscarjgv24 commented Sep 4, 2017

hi @juvinski

Yes. I realized I made that mistake on selecting board=blue and also, I assume, loading wrong cape layout in step 16.

Thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants