This repository was archived by the owner on Feb 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Flashing
seanharris edited this page Dec 22, 2014
·
2 revisions
General notes:
- If you are downgrading, you MUST use the factory reset method (the link below). You can use the factory reset method either way, it'll just be slower than the alternative.
- rUNSWift is using the 1.14.5 opn.
Go here to flash using the factory reset method:
https://community.aldebaran-robotics.com/doc/1-14/software/naoflasher/rescue_nao_v4.html
You will need a usb with the image flashed.
- To setup a usb, you will need to download the opn and also naoflasher from Aldebaran's website.
- Insert the USB stick into the back of the robots head.
- Press and hold down the button on the chest of the robot until it lights up blue.
- Leave until it completes.
This is just a guideline - if this exact behaviour doesn't happen, there may not be anything wrong.
You should have your codebase set up (if not, go to Getting Started). Now, run the following commands:
-
nao_sync -s <robot>
. Enter the password for the robot when asked to, and enter the root password (root) when asked to. Wait for it to restart afterwards. nao_sync -ar <robot>
nao_sync <robot>
This will set up ssh keys and load libagent and rUNSWift. You can now run the rUNSWift code via chest button presses or by ssh-ing in.
Verify that the code works - you're done!
- rsync the opn file to the robot
-
nao-autoflash file.opn
on the robot -
sudo shutdown -h now
on the robot - Turn on and update the firmware.
- NAO V4.0: press and hold the robot Chest button for about 5 seconds until it gets blue.
- NAO V3.x: press the robot Chest button.
- Ear LEDs shows the progression
or
- scp opn file to /var/persistent/.image
- reboot the robot.
- wait for echoing beeping sound.
- reboot the robot.