Upgrading using NAOFlasher

Before starting

Make sure your robot is ready.
For further details, see: 1/4 - Making NAO ready for upgrade .

Then:

Step Action

Get a USB stick:

  • unformatted,
  • larger or equal to 512MB.

If necessary, see: Reusing a formatted USB stick .

Get a NAOFlasher according to the Operating System of your computer:

  • nao-flasher-x.x-win32-vs2008.zip
  • nao-flasher-x.x-linux32.tar.gz
  • nao-flasher-x.x-linux64.tar.gz
  • nao-flasher-x.x-mac64.tar.gz

You can download the latest release from SoftBank Robotics Community website. For further details, see: Downloading & Installing SoftBank Robotics Software .

Get the NAO system image.

nao-atom-system-image-x.x.opn or

opennao-atom-system-image-x.x.x.opn

You can download the latest release from SoftBank Robotics Community website. For further details, see: Downloading & Installing SoftBank Robotics Software .

Factory reset option : if you plan to ask a Factory reset , get an Ethernet cable, and make sure you have all relevant information to restore the WiFi connection settings afterward.

For further details, see: Setting NAO’s WiFi connection .

I - Writing the image on the USB stick

Step Action

Insert your USB stick in your computer.

Note

On Windows and Mac OS X , you might encounter a prompt telling you that the USB drive you inserted is not readable, and that you should format it.

Please ignore this and click the Cancel button or similar.

Launch the flasher executable.

It should look roughly like this:

/sites/default/files/repository/70_html_nao/_images/nao-flasher01.png

Note

On Linux and Mac OS X , the program may require sudo privileges.

Choose File > Open image (Ctrl+O) or click the Browse button to select the image you want to flash.

/sites/default/files/repository/70_html_nao/_images/nao-flasher02.png

I not yet done, select your USB stick from the list.

If your USB stick does not appear in the list, try the Refresh button after inserting it in your computer.

Optionally, check the Factory reset option .

Warning

Factory Reset will remove all the data from your robot, please backup your data before running the program.

Click the Write button to start the process:

/sites/default/files/repository/70_html_nao/_images/nao-flasher03.png

If you get an error message telling:

When the process is completed, it should look like this:

/sites/default/files/repository/70_html_nao/_images/nao-flasher04.png

Remove the USB stick.

II - Plugging the USB stick

Step Action
Shutdown the robot.
Plug the USB stick you previously flashed into the robot USB port .

You can now launch the upgrade.

For further details see: 3/4 - Restarting NAO to launch the upgrade .


Troubleshooting

My new USB stick doesn’t work!

If the USB stick you just flashed doesn’t work, it is may be due to the old files in your home directory. Try flashing your key again with the Factory Reset option enabled.

Launching NAOFlasher with administrator privileges

To Launch NAOFlasher with administrator privileges:

  1. Find and select the NAOFlasher executable:

    [Choregraphe path]\bin\flasher.exe

  2. Right-click it and choose Run as administrator .

Reusing a formatted USB stick

If you want to use an already formatted USB stick, you have to clean it.

Warning

This process erases the whole USB stick.

Any data on the USB stick will be irreparably lost.

Cleaning up your USB stick - Windows

Warning

DISKPART is a very dangerous tool if you don’t know how to use it. It can potentially erase all your data without warning. Please be careful and don’t use it if in doubt.

Launch DISKPART

Go to the windows search box and type diskpart. Then type ENTER or click on the diskpart icon to launch the program.

Note

DISKPART might fail to operate on the drive if the flasher is running. Exit the flasher before running DISKPART.

/sites/default/files/repository/70_html_nao/_images/cleanup-1.png

Clean The Drive

/sites/default/files/repository/70_html_nao/_images/cleanup-2.png

Step Action

list volume : this will list all the volumes present on your computer.

Find the line that correspond to your USB stick and remember the corresponding letter ( Ltr column).

select volume X : replace X with your drive letter.

This will enable you to do actions on the drive.

clean : erase all data and partitions on the drive. You can’t undo this!
exit : exits DISKPART. You may now try the flasher again.

Cleaning up your USB stick - Linux

You can use, for example, GParted .

Warning

GParted is a very dangerous tool if you don’t know how to use it. It can potentially erase all your data without warning. Please be careful and don’t use it if in doubt.

Step Action
Launch GParted with root privileges.
Select the device corresponding to the usb stick.
On this device, delete all existing partitions.
Click the Apply button.
Read carefully the warning.
Triple check that it is selected device is the right one.
Confirm.

For further information, read the GParted online documentation: http://gparted.sourceforge.net/display-doc.php?name=help-manual .

Cleaning up your USB stick - Mac

Step Action
Launch Utilities > Disk Utility .
Select the USB disk to erase.
Click the Partition tab.
Set Partition Layout to 1 Partition .

Set Format to Free space .

/sites/default/files/repository/70_html_nao/_images/cleanup_mac.png
Click Apply button.