Hi Everyone,

For all you NXT owners, the wait is over.

Lejos is now available on the Lego Mindstorms NXT as a technology preview alpha 
release.

You can download it from http://lejos.sourceforge.net/download.html.

See the news item on the lejos home page (http://www.lejos.org/).

This version runs in RAM and needs the NXT in firmware update mode. (Press the 
reset button on the back of the NXT in the top left corner for more than 4 
seconds).

The release has been tested on Windows and Linux and may work on other version 
of Unix.

It needs libusb on your PC. On Windows you should download and install the 
libusb-Win32 filter driver from http://libusb-win32.sourceforge.net/.  For 
Linux you can get it from  http://libusb.sourceforge.net/. On Linux you must 
ensure that your username has permissions to use the usb device.

This release has no sound, I2C sensor (e.g. UltraSonic)  or comms (Bluetooth or 
USB) support.

Downloading the VM and Java program is done over USB using the SAM-BA boot 
monitor that runs when the NXT is in firmware update mode. 

The release has lots of sample programs (of variable quality), and API docs. 
The API has changed a bit to support the NXT, so look at the API Docs 
(docs/apidocs/index.html)  and the samples.

To compile a program you do: lejosjc Test.java
To link it you do: lejoslink Test -o Test.bin
To download it you do: lejosdl Test.bin

The .bin files for all the samples are all pre-built. Try View.bin, for example.

When you download the program make sure the NXT is in firmware update mode, 
plugged into the USB, and on (press the orange square button).

The NXT powers off 5 seconds after your program stops running. You can stop a 
program by powering off the NXT - press ENTER + ESCAPE (the Orange and Grey 
square buttons) together.

Have fun!

Your feedback on the API etc. will be appreciated.

Thanks to Charles Manning, in particular, for writing all the hardware 
interface code. He did the majority of this before the Lego firmware was 
released, and without access to it.

New releases should come quite quickly. Charles is currently working on I2C 
sensor support, which will give access to the UltraSonic sensor and lots of 
third-party sensors.

The current method of downloading programs is temporary. We plan to have a 
flash firmware version as soon as possible, supporting downloading programs to 
a file system over USB or Bluetooth.

Lawrie Griffiths





-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Lejos-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lejos-discussion

Reply via email to