Site Navigation

Your Account

Choose Language

Update Software Image From SD Card

This guide will walk you through the steps for update your software to the latest image. The steps are for computers running Microsoft Windows or Apple OSx.

  • Author: OpenROV
  • Time estimate: 45 minutes
  • Difficulty: Easy

Edit Step 1 Introduction  ¶ 

Image 1/2: You will need a microSD card that is at least 4 GB. Image 2/2: We recommend a microSD card that is Class 10.

Edit Step 1 Introduction  ¶ 

  • This guide will walk you through steps to burn the latest software image to a microSD card to be loaded onto your BeagleBone Black (BBB).

  • You will need a microSD card that is at least 4 GB.

  • We recommend a microSD card that is Class 10.

  • Ensure that the SD card is not locked. The switch should be in the position as shown.

Edit Step 2 Download Image  ¶ 

Image 1/1: As of October 7, 2015 the latest software image is 30.0.3

Edit Step 2 Download Image  ¶ 

  • The first step is to download the most recent OpenROV image.

  • As of October 7, 2015 the latest software image is 30.0.3

  • You can download it from the product page of our website. You will want to download the ROV FLASH image. It is about 400 MB in size.

  • Please also read the release notes.

  • The next part "Burn Image to microSD Card" is different for Windows and OSx so please move to the appropriate section.

Edit Step 3 Burn Image to microSD Card (Windows)  ¶ 

Image 1/1: [http://www.7-zip.org|7-Zip|new_window=true]

Edit Step 3 Burn Image to microSD Card (Windows)  ¶ 

Edit Step 4  ¶ 

Image 1/3: Navigate to the file that you downloaded from our website. Image 2/3: Right click on the file and "Extract files". Image 3/3: Click "Ok" on the dialogue box that pops up.

Edit Step 4  ¶ 

  • Open the program "7-Zip File Manager".

  • Navigate to the file that you downloaded from our website.

  • Right click on the file and "Extract files".

  • Click "Ok" on the dialogue box that pops up.

  • You should now have a folder that is around 2 GB.

1 Edit Step 5  ¶ 

Image 1/2: Open "SDFormatter". Image 2/2: "Drive" should be the letter of the drive of the SD card reader on your computer.

1 Edit Step 5  ¶ 

  • Insert the SD card into your computer.

  • Open "SDFormatter".

  • "Drive" should be the letter of the drive of the SD card reader on your computer.

  • Click on "Format".

Edit Step 6  ¶ 

Image 1/3: Select the .img file. Image 2/3: Click "Write". Image 3/3: Wait for the process to complete, about 5 minutes.

Edit Step 6  ¶ 

  • Open "Win32DiskImager".

  • Select the .img file.

  • Click "Write".

  • Wait for the process to complete, about 5 minutes.

  • Remove the SD card from your computer.

  • Continue to the step title "Apply Image to BBB".

Edit Step 7 Burn Image to microSD card (OSx)  ¶ 

Image 1/3: Download "The Unarchiver" from the App Store. Image 2/3: Right click on the file you just downloaded and open with "The Unarchiver." Image 3/3: You should now have another file that ends in .img and is just under 2 GB.

Edit Step 7 Burn Image to microSD card (OSx)  ¶ 

  • The first thing you need to do is extract the .img file.

  • Download "The Unarchiver" from the App Store.

  • Right click on the file you just downloaded and open with "The Unarchiver."

  • You should now have another file that ends in .img and is just under 2 GB.

  • If you prefer a Graphical User Interface rather than using the terminal as shown in the next few steps, you can follow this tutorial to use PiFiller.

Edit Step 8  ¶ 

Image 1/3: You will now run some commands. You will type them in and then press the return key on your keyboard. Image 2/3: Type in: sudo bash Image 3/3: Type in: diskutil list

Edit Step 8  ¶ 

  • Open "Terminal" on your computer.

  • You will now run some commands. You will type them in and then press the return key on your keyboard.

  • Type in: sudo bash

  • Type in: diskutil list

  • Record the disk numbers that you have. In this example there are two disks (disk0 and disk1).

  • Insert the SD card into your computer.

  • Type in: diskutil list

  • Record the new disk number. In this example it is disk2.

Edit Step 9  ¶ 

Image 1/1: '''disk# '''is the disk of the SD card. This will be the new disk that you recorded before. In this example the SD card is disk2.

Edit Step 9  ¶ 

  • Type in: diskutil unmountdisk /dev/disk#

  • disk# is the disk of the SD card. This will be the new disk that you recorded before. In this example the SD card is disk2.

2 Edit Step 10  ¶ 

Image 1/3: The '''*********''' is the username of the computer, '''#######''' is the .img file name and '''rdisk#''' is the disk number of the SD card. Image 2/3: This assumes the .img file is on your desktop. Image 3/3: Once you press enter the cursor will move to a new line and flash.

2 Edit Step 10  ¶ 

  • Type in: dd if=/Users/**********/Desktop/####### of=/dev/rdisk# bs=2m

  • The ********* is the username of the computer, ####### is the .img file name and rdisk# is the disk number of the SD card.

  • This assumes the .img file is on your desktop.

  • Once you press enter the cursor will move to a new line and flash.

  • This process will take between 5-10 minutes and you will eventually get a string of result text.

  • You can now remove the microSD card from your computer.

10 Edit Step 11 Apply Image to BBB  ¶ 

Image 1/3: Plug the USB wire into the BBB to power it up. Image 2/3: The USER LEDS will blink to show that the image is being applied to the BBB memory. Image 3/3: The process takes about 15 minutes to complete.

10 Edit Step 11 Apply Image to BBB  ¶ 

  • Remove the BBB from your ROV. Insert the microSD card into your BBB.

  • Plug the USB wire into the BBB to power it up.

  • The USER LEDS will blink to show that the image is being applied to the BBB memory.

  • The process takes about 15 minutes to complete.

  • Once the flashing process is complete the 4 USER LEDS will stop flashing and be on. If the lights do not all go solid, unplug the USB cable and plug it back in and wait 15 minutes again.

  • When this is complete, remove the USB cable from the BBB to power it off and remove the microSD card.

  • Attach the BBB to your controller board.

  • You will need to also update the firmware on the Ardunio. Please read all the way to the end of this guide.

Edit Step 12 Connect to ROV  ¶ 

Image 1/2: '''Windows Vista:''' go to control panel -> network and sharing center -> click on "manage network connections" on the left-hand bar.  Then r-click on "local area network" -> l-click on properties -> l-click on "Internet Protocol Version 4" -> l-click on "properties" and select the option "use the following ip address" and enter in 192.168.254.2 Image 2/2: '''Windows 7:''' go to control panel > network and internet > network and sharing center > click on "change adapter settings" on the left-hand bar.  Then r-click on "local area connection" > properties > l-click on "Internet Protocol Version 4" and click on properties.  Select the option "use the following ip address" and enter in 192.168.254.2

Edit Step 12 Connect to ROV  ¶ 

  • The ROV has a built in static IP address of 192.168.254.1, so to connect with it, your computer should have a similar address but with the last number set to something other then 1. "192.168.254.2" for instance would work great. The subnet mask should be set to 255.255.255.0

  • Windows Vista: go to control panel -> network and sharing center -> click on "manage network connections" on the left-hand bar. Then r-click on "local area network" -> l-click on properties -> l-click on "Internet Protocol Version 4" -> l-click on "properties" and select the option "use the following ip address" and enter in 192.168.254.2

  • Windows 7: go to control panel > network and internet > network and sharing center > click on "change adapter settings" on the left-hand bar. Then r-click on "local area connection" > properties > l-click on "Internet Protocol Version 4" and click on properties. Select the option "use the following ip address" and enter in 192.168.254.2

  • Windows 8: go to control panel > network and internet > network and sharing center > click on "change adapter settings" on the left-hand bar. Then r-click on "Ethernet" > properties > l-click on "Internet Protocol Version 4" and click on properties. Select the option "use the following ip address" and enter in 192.168.254.2

  • OS X (Mac): Open System Preferences, click Network. Select "Edit Locations" from the Location drop down. Click the (+) and create a new location called "OpenROV". Select your ethernet adapter on the left and select Manually from the "Configure IPv4" drop down. Set the IP address to 192.168.254.2 and subnet mask to 255.255.255.0. Press Apply.

    • You will need to open Network and change the Location to OpenROV (and press Apply) when you're using your ROV. When you're done, you will want to change the location back to Automatic so your internet works normally.

Edit Step 13  ¶ 

Image 1/1: Connect the USB cable from the topside box and your computer.

Edit Step 13  ¶ 

  • Connect the Ethernet cable to the topside box and your computer.

  • Connect the USB cable from the topside box and your computer.

  • The ROV will power on. Wait 1-2 minutes for it to boot up.

Edit Step 14  ¶ 

Image 1/1: In the status bar at the top, type '''192.168.254.1:8080''', which is the IP address of the OpenROV.  Press 'enter' and wait 10-20 seconds.  Soon the OpenROV Cockpit should appear.

Edit Step 14  ¶ 

  • Open Google Chrome web-browser. If you do not have the latest version of Google Chrome, you can go here to get it. It's a free download.

  • In the status bar at the top, type 192.168.254.1:8080, which is the IP address of the OpenROV. Press 'enter' and wait 10-20 seconds. Soon the OpenROV Cockpit should appear.

7 Edit Step 15 Upload Firmware  ¶ 

Image 1/3: The micro SD card should '''NOT''' be in the ROV. The title of the button is not correct. Image 2/3: Press "Show Details". Image 3/3: Then press "Apply new firmware".

7 Edit Step 15 Upload Firmware  ¶ 

  • In Cockpit, press the "Settings" button in the upper right-hand side of the screen, and press "Upload firmware from SD card to Arduino"

    • The micro SD card should NOT be in the ROV. The title of the button is not correct.

  • Press "Show Details".

  • Then press "Apply new firmware".

  • This process takes 5-10 minutes.

1 Edit Step 16  ¶ 

Image 1/1: Plug the USB back in to turn the ROV on.

1 Edit Step 16  ¶ 

  • Once the upload is successful unplug the USB cable from your computer to power the ROV off.

  • Plug the USB back in to turn the ROV on.

  • You may need to program and calibrate the thrusters before they respond properly to commands (hardware version 2.6 and below).

  • Congratulations, you now have the latest software image installed!

You're Done!

37 Comments

Is there a way to check what the current firmware / software is on the supplied mother board??

Cheers!

Paul

bounceyball - Reply

If you login to 192.168.254.1 (without the :8080) it will open the dashboard. There will be a button that says "software" and it will tell you the firmware and software on your OpenROV.

OpenROV -

Is it also possible to update the ROV through the dashboard ( i think there is an option that sounds like that)

Fe3C - Reply

We have the internet update (what you are talking about) up and running on this image. Once you have updated to 30.0.3 from the microSD card and onto you BBB, in the future you should be able to do it all through dashboard.

OpenROV -

src/CControllerBoard.cpp:29:18: error: ‘A8’ was not declared in this scope

int temppin = A8;

^

.build/uno/Makefile:422: recipe for target '.build/uno/src/CControllerBoard.o' failed

johcha - Reply

Mu depth compass IMU seems not working I checked wiring etc seems all okay, I updated BBB and updated the firmware what next to do getting MPU_init failed with code -1

Max Duursma - Reply

mpu_init failed with code -1 what to do, I have updated the firmware heading and depth not working all others okay

Max Duursma - Reply

Please see this forum post (https://forum.openrov.com/t/imuv2-0-prob...) or reach out directly to our support team.

OpenROV -

How can I use the v30.0.3 ROV SD Card image to control the openrov? i use Win32DiskImager to write the .img file to the SD card, but it is no use when I insert it into the beaglebone?

yuleijian - Reply

The card is to flash the BBB. Once inserted and powered on you need to wait about 15 minutes for the software to all load, then you can remove the card. See Step 11. If you continue to have issues, please reach out to our support team.

OpenROV -

I have an OpenROV 2.1 (i know it's way too old)

Can this update work with the BBB of the 2.1 version?

I've followed all the step for installing the last image update but the User leds from the 11th step never stop blinking

Did someone have an issue

Thanks,

Nathan

Nathan - Reply

This software version will only work with OpenROV v2.5 and later.

OpenROV -

Hello! I have a problem is that when I try to update my arduino firmware , it shows that

"mv: cannot stat ‘/tmp/tmp.YjDC7NB8hE/src/Device.cpp’: No such file or directory" and

"src/CControllerBoard.cpp:29:18: error: ‘A8’ was not declared in this scope int temppin = A8;" and

".build/uno/Makefile:242: recipe for target '.build/uno/src/CControllerBoard.o' failed" and

"firmware-build.sh: : Compile of the Arduino image failed.

firmware-installfromsource.sh: Building Firmware Failed! Aborting"

Please tell me how to do.!!!!!

Thank you!!!!

Paul - Reply

photo Carappat

jhamman lal - Reply

Do I need to update or performany SD software loading prior to logging in with Chrome? The instructions do not inject this so I assume no, but I want to be sure it's not a troubleshooting aspect I am ignoring. That said, I see a lot of people upgrading so I began to doubt myself, although the updates seem to be after the IP steps in the procedure. Thanks for all the help.

William

William - Reply

The firmware update is after the new image is on the BBB. The SD card loads the image onto the SD card, then is removed. After that then you update the controller board from the BBB. Please contact our support team if you have additional questions (support@openrov.com). -Brian G.

OpenROV -

With the SD card formatter I got the error "this drive is not supported". This was with a sony 64gb mirco sdxc card, 40 mb/s. sr-64uy made in korea card, with a sony microsd adapter, srac-a1 made in china.

I ended up formatting with windows with exFAT and following the rest of the steps. So far it seems to work. I purchased a version 2.6 and didn't have to reprogram the thrusters!

But now I cant seem to reformat my card back to 64gb, with the windows formatter its stuck at 1.65gb.

Jimmy - Reply

Hi. I am running MacOSX. I get stuck here.

After giving the command

"dd if=/Users/xxxxxxxxxxx/Desktop/OpenROV_30.0.3.img of=/dev/rdisk2 bs=2m"

I get the string

"dd: /Users/xxxxxxxxxxx/Desktop/OpenROV_30.0.3.img: No such file or directory"

(As you can see I renamed the image filea bit by shortening it but i copy/paste from desktop to Terminal window so the file name is the correct one)

Thomas Dahlgren - Reply

Did you get this solved? If you have not, please reach out to our support team (https://openrov.zendesk.com/hc/en-us/req...) and we will help you sort this out.

-Brian G.

OpenROV -

Having problem at step 11, when applying the image to the BBB. After about 13 min of blinking of the 4 user leds, all my 4 leds went dark. Acc to the instruction all of the 4 leds should be on. What could the problem be?

Rasmus - Reply

In addition, when powering up the ROV again anyway, I cant seem to access the cockpit :/ After a while the ROVS four leds on the camera board starts to blink on/off and never stops.

Rasmus -

We noticed this as well here in the lab yesterday. If you run it through step 11 a second time they should all go solid. We think we have narrowed down the problem and will post an update once we are sure we have narrowed it down.

OpenROV -

The blinking is because the ROV does not have a connection to cockpit on your computer since the window is not open.

OpenROV -

Hi again,

I have ROV version 2.7.

Update of the problem: After successfully installing the new software last weekend I made a "dry" run updateing motor turning direction etc. Everything worked fine. This weekend however, I cant access the cockpit using Chrome. I get the short happy sounding noise, and the four leds flashing after a couple of minutes but no connection to the ROV with Chrome...

I thought maybe it would work redoing the software update (STEP 11) but now the LEDs on the BBB doesn't turn on when I plug in the USB.

Thomas Dahlgren - Reply

Thank you for opening a support ticket with us. This will be the fastest way to get the problem solved.

OpenROV -

I am having the same exact problem. How did you fix it? I am trying to avoid buying a new controller board or BeagleBone

Georgia Bennett -

When inserting the USB to power the BBB with the SD card inserted, there are no flashing lights. Instead, the lights stay fully solid. Is this a problem, and if it is, what steps should I take to fix it? I haven't tested it by attaching the BBB yet, so I can't say for sure if something is wrong.

Dan Lam - Reply

If you power it down and back on do you see the same thing?

OpenROV -

HI, when I flashing processing is complete, my 4 user LEDs looks like usr0 on->usr0,usr1 on->usr0,usr1,usr2 ->usr0,usr1,usr2,usr3->usr1,usr2,usr3->usr2,usr3->usr3-> all off ->usr3 -> usr2,usr3->usr1,usr2,usr3->usr0,usr1,usr2,usr3->usr0,usr1,usr2->usr0,usr1-> usr0->all off ->repeat

is that correct? beacuse I want to use putty logn in and control LEDs, but I can't control 4 LEDs on and off . Is that mean flashing process is not working.

oliveharp - Reply

The process "stalled" without showing the desired "Upload Successful" line. I had to repeat that command in Step 15 three times before it finally said "Upload Successful". Working now :-)

Thomas Dahlgren - Reply

Glad to hear you got it solved. What ROV version do you have?

OpenROV -

I have ROV version 2.8.

I can access the cockpit but am unable to use the keyboard to control any of the ROV functions. The LEDs on the front of the camera are also flashing on and off indefinitely.

I've followed the directions up until this point with no issue but now I am receiving this message:

firmware-build.sh: : Compile of the Arduino image failed.

firmware-installfromsource.sh: Building Firmware Failed! Aborting

Did I miss something?

Mark Oates - Reply

Unpacking:Successful

Compiling:Error

Compiling Error Details:

src/CControllerBoard.cpp:29:18: error: ‘A8’ was not declared in this scope

int temppin = A8;

^

.build/uno/Makefile:422: recipe for target '.build/uno/src/CControllerBoard.o' failed

johcha - Reply

This is my upload results.Tried many times.What are the possible solutions?

johcha -

I have a same problem with you. Have you already gotton it solved? Tell me please!!!!!!!!

Paul -

Make sure the BBB is attached to the controller board. If you continue to have issues please email us at support@openrov.com -Brian G.

OpenROV -

While carrying out this step (after the progress bar was full) the page became irresponsive so I killed the page. Now my openROV is not working, the PWR LED is the only LED working on the controller board, and the beaglebone is not being powered. I cannot access the cockpit to repeat the firmware update of the arduino, the message shown is "This site can’t be reached"

Hannah - Reply