Problem when uploading the program


#1

Hi,
I’m working on a project with the openROV. I have loaded an Ubuntu image into the Beaglebone Black. I have some programs done to control the motors and to get data from the sensors, so I can compile them and I get a .hex file, but when I try to program the arduido I get the following error:
avrdude: Can’t find programmer id "linuxspi"
Does anyone have a similar problem?
Thank you very much for your help.
Cheers,
Carlos


#2

Hey @croncalsanchez,

Can you fill in some more details. Are you using one of our pre-built images? If so do you know which one? Are you using our controller board?

The error is saying that the system is not able to talk to the SPI ports. That happens for 1 of 2 reasons.

  1. The arduino on the controller board has not had the fuzes set yet
  2. The system is physically having trouble talking to SPI

Is you list out the devices, do you see spi_dev device? ls /dev

Did the setup work before loading the Ubuntu image?