Search found 8 matches

by behanius
24 Aug 2011, 19:14
Forum: Mindstorms Software
Topic: Communication Protocols Command Questions
Replies: 5
Views: 3593

Re: Communication Protocols Command Questions

... I checked the firmware source code also and the only time you get EOFEXSPECTED is if you try to write more bytes in the last packet than there is room left in the file. As you can see above, the last packet is smaller than all the other packets (assuming the size is not a multiple of 61). John ...
by behanius
22 Aug 2011, 21:57
Forum: Mindstorms Software
Topic: Communication Protocols Command Questions
Replies: 5
Views: 3593

Re: Communication Protocols Command Questions

Hello John (and everyone else), I've been able to successfully write both *.rso and *.ric files with the open write data command. I've found that the brick will return an error if *.ric files are not written using the open write data command. Now I'm trying to write a *.rtm file, e.g. Try-Touch.rtm,...
by behanius
19 Aug 2011, 00:04
Forum: Mindstorms Software
Topic: Communication Protocols Command Questions
Replies: 5
Views: 3593

Re: Communication Protocols Command Questions

Linear files are written across contiguous 256 byte blocks of flash memory. Non-linear files can span non-contiguous blocks of flash memory. RIC files and RXE|RTM|SYS files (all executables) must be linear. Other files can (and should) be non-linear. You can look at the BricxCC source code (in Fant...
by behanius
18 Aug 2011, 21:40
Forum: Mindstorms Software
Topic: Communication Protocols Command Questions
Replies: 5
Views: 3593

Communication Protocols Command Questions

Hello, I am trying to write some C functions to read and write files to the NXT Brick. However, I am not entirely sure what the difference is between commands, .e.g write vs. write linear. Does anyone know the difference? Btw I'm looking at 'Appendix 1-LEGO MINDSTORMS NXT Communication protocol.pdf'...
by behanius
20 May 2011, 13:53
Forum: Mindstorms Software
Topic: Problem Running NXTTOOLS
Replies: 6
Views: 4903

Re: Problem Running NXTTOOLS

Thank you both bullestock and alanofosc. I'm up and running and look forward to tinkering!
by behanius
18 May 2011, 22:52
Forum: Mindstorms Software
Topic: Problem Running NXTTOOLS
Replies: 6
Views: 4903

Re: Problem Running NXTTOOLS

Instead of providing a binary file is it possible to post the source for NeXT Tools?
by behanius
18 May 2011, 22:39
Forum: Mindstorms Software
Topic: Problem Running NXTTOOLS
Replies: 6
Views: 4903

Re: Problem Running NXTTOOLS

I'm trying to run NeXT Tools via http://bricxcc.sourceforge.net/nexttools_linux.zip After I extract the zip, I try to run the file 'nxttools' with 'sudo sh nxttools' (yes, I am root). The error message and system parameters are in my first post and are still relevant. Also, I'm not sure of the param...
by behanius
18 May 2011, 20:16
Forum: Mindstorms Software
Topic: Problem Running NXTTOOLS
Replies: 6
Views: 4903

Problem Running NXTTOOLS

Hello, I am currently trying to run 'nxttools' on an Ubuntu 10.04 LTS (64-bit) and cannot run the program. This is my error message: >nxttools: 1: Syntax error: "(" unexpected and I do have permissions to execute the file (output of ls -ao) >-rwxrwx--- 1 behanius 6701444 2010-05-25 17:10 nxttools I ...