Using a Raspberry Pi or Beaglebone


#1

Since linux seems to be the preferred OS for the ODrive could I use a Raspberry Pi Or Beaglebone (I have a couple of both) to connect to the Odrive?


#2

One day we will have it working well on Windows too ;D

But yeah, while I haven’t tried it, I believe that an Rpi or BB should work with the Linux instructions.


#3

Great, That’s my project for tonight!


#4

As I am going through the setup guide I was able to download the ODriveFirmware. without a hitch. But for the rest of the prerequisites I get when I type
sudo apt-get install https://launchpad.net/~terry.guo/+archive/gcc-arm-embedded
I get
Unable to locate package gcc-arm-none-eabi

Any Ideas?


#5

Unless you want to compile the firmware on the BB or RPi for a specific reason, I would suggest that you compile and flash the firmware from your PC.
Then you just do the USB commands from the BB and RPi.


#6

the parameter to apt-get is always a package name, never a URL

to install a package from launchpad, you can do a couple of things

  1. create a new source repo and then install the package

  2. download the specific .deb package and install that.

the URL you list is something I don’t have permission to access, which makes it a little hard to help you :slight_smile:
It’s possible that the cross compiler isn’t available to run on the pi

but on my pi, I can find the package
gcc-arm-none-eabi

do an apt-get update before you try to install any packages


#7

OK. I decided to punt. But I seem to be missing a step when flashing the firmware. I run “make gdb” and also “make gdb -f” what am I missing? It was working before I am just having old timers disease.


#8

The instructions say to run make flash.


#9

I don’t want to sound dense, but I was looking all over the getting started readme and actually all over, Where is that instruction? Maybe It will help me later.
Thanks


#10

which is part of the Firmware readme: https://github.com/madcowswe/ODriveFirmware#flashing-the-firmware


#11

I see it now. My eye just kept jumping down to the next section. I must be losing my mind.
I was looking for an embarrassed emoji but could not find one.

Thanks for taking the time.

Bart