Search found 8 matches
- 24 Aug 2011, 19:14
- Forum: Mindstorms Software
- Topic: Communication Protocols Command Questions
- Replies: 5
- Views: 6321
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 ...
- 22 Aug 2011, 21:57
- Forum: Mindstorms Software
- Topic: Communication Protocols Command Questions
- Replies: 5
- Views: 6321
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,...
- 19 Aug 2011, 00:04
- Forum: Mindstorms Software
- Topic: Communication Protocols Command Questions
- Replies: 5
- Views: 6321
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...
- 18 Aug 2011, 21:40
- Forum: Mindstorms Software
- Topic: Communication Protocols Command Questions
- Replies: 5
- Views: 6321
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'...
- 20 May 2011, 13:53
- Forum: Mindstorms Software
- Topic: Problem Running NXTTOOLS
- Replies: 6
- Views: 8249
Re: Problem Running NXTTOOLS
Thank you both bullestock and alanofosc. I'm up and running and look forward to tinkering!
- 18 May 2011, 22:52
- Forum: Mindstorms Software
- Topic: Problem Running NXTTOOLS
- Replies: 6
- Views: 8249
Re: Problem Running NXTTOOLS
Instead of providing a binary file is it possible to post the source for NeXT Tools?
- 18 May 2011, 22:39
- Forum: Mindstorms Software
- Topic: Problem Running NXTTOOLS
- Replies: 6
- Views: 8249
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...
- 18 May 2011, 20:16
- Forum: Mindstorms Software
- Topic: Problem Running NXTTOOLS
- Replies: 6
- Views: 8249
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 n...