On Sunday 14 January 2007 11:59, Juan Antonio Breña Moral [JAB] wrote: > Then it is possible to connect via E2C a SEEPROM. Well. is it possible to > store in that memory NXJ and microkernel into NXJ to communicate with that > memory? The idea is to create autonomous NXT bots with "intelligence" that > intelligence is due to a complex java algorithms stored between NXT memory > and others memories. Un abrazo.
That is technically possible although NXJ does not support external I2C yet. I am still working on that. If I understand what you correctly, you want to be able to have the VM in the main flash, then use the SEEPROM as extra storage for java code (and perhaps extended data). Depending on how much storage you need, the NXT internal flash storage might be enough. At this stage, the NXJ less than 32kBytes. Once the rest (Bluetooth, USB etc) is added, I expect NXJ to still take less than about 64kB of flash. The NXT has 256kB of flash, so that leaves approx 190k of flash open to store java classes and data. The data might be stored in a primitive "file system". With all that do you think you'd still need SEEPROM or some other extended memory? -- Charles > Juan Antonio Breña Moral > http://www.juanantonio.info > > On Sab Ene 13 23:42 , Charles Manning sent: > > On Sunday 14 January 2007 03:24, Juan Antonio Breña Moral wrote: > > This morming, I thought that it is possible to access to USB memory > > using USB port. I have thought that if NXT brick use this USB port to > > access to any USB memory, the Software developed to NXT brick would be > > more complex without any memory restriction. > > > > It is possible? > > No it is not. > > USB is a master/slave protocol and the hardware defines whether the device > is master or slave. > > A PC is a master. > The NXT is a slave. > A USB memory stick is a slave. > > This means you can't just hook up an NXT with a USB stick. You need some > sort of host in the equation. > > If you want extra memory (depending how much you want) then the easiest is > probably going to be adding SEEPROM via I2C or similar. ------------------------------------------------------------------------- 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
