Flashing the Lego NXT brick on Ubuntu is pretty straight forward:
- Download the latest firmware (or any other firmware of your choice).
- Download libnxt, patch in the bug fix, and build it.
sudo apt-get install build-essential libusb-dev scons cd libnxt-0.3 scons
- Put the NXT brick into firmware upload mode by turning it on and then pressing the reset button for four seconds. At this point, the screen should be blank and the brick should be making a clicking noise.
- Use
fwflash
to flash the new firmware. Usingsudo
avoids potential USB permission issues.
cd libnxt-0.3 sudo ./fwflash xxx.rfw
- Rejoice!