David, Thanks for writing libnxt - we are using it and it is very useful. I got the code off Juergen Stuber as your SVN repository was down when I was trying to access it in September.
I added two new utilities: runc and runjava, based on your fwflash. runc runs a C program in RAM. runjava has two parameters: the Java VM binary file and the Java binary. We have libnxt and these utilities running under Windows as well as Linux. You can get the lejos NXT code from https://lejos.svn.sourceforge.net/svnroot/lejos or browse it at http://lejos.svn.sourceforge.net/viewvc/lejos/. The nxtvm project contains all the code that runs on the NXT - see the platform/nxt directory. We have a complete running system thanks mainly to Charles Manning who has written all the code that interfaces with the hardware. Charles got this going before Lego released the firmware. We haven't used their firmware much - just looked at it a bit to help with a few things. We currently have 3 builds of the lejos VM: a ROM (flash) build, a RAM ELF build (used with a JTAG debugger) and a SAMBA RAM build. We use the SAMBA RAM build with the runjava utility, and this works on Windows and Linux. We currently have the link to the AVR fully working, so we support buttons, sensors, battery level and motors. We have the tacho count on motors, a 1ms timer interrupt, and the LCD display working, which gives us a lot of the RCX lejos functionality. We are close to releasing an alpha version of lejos: we just need to do some more testing and improve the documentation. The main functionality that is currently missing is Sound, USB, Bluetooth and I2C sensors. Lawrie Griffiths ----- Original Message ----- From: "David Anderson" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, January 03, 2007 6:31 AM Subject: [Lejos-discussion] Lejos on the nxt? > Hey all, > > I was wondering how far the effort to port Lejos to the nxt has gone. > > If you remember that, I'm the guy who wrote libnxt, and who wants to > get his own firmware booted on the nxt (http://nxt.natulte.net/). I've > been out of the world for a while (work work work), but now I'm back, > with a new NXT kit, and I've started making some nice progress on > getting something booted properly. > > In the interest of not duplicating efforts, I'd like my code and Lejos > to at least share a common base. I don't have much interest in running > a Java VM on the nxt myself, but the low-level kernel code should be > flexible enough to accomodate that. My current plan is to have the > kernel boot a single "userspace" program once it's finished > initializing the hardware. That program could, in lejos' case, be a > java VM that does more initialization and executes java bytecodes. > > Has Lejos started developing its nxt firmware using Lego's source > code, or their own code, or... What? :-) > > - Dave > > ------------------------------------------------------------------------- > 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 ------------------------------------------------------------------------- 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
