To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.nxtOpen lugnet.robotics.nxt in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / NXT / 1063
1062  |  1064
Subject: 
Re: Nxtcom error #89
Newsgroups: 
lugnet.robotics.nxt
Date: 
Thu, 6 Mar 2008 16:11:24 GMT
Viewed: 
30882 times
  
In lugnet.robotics.nxt, Joe Strout wrote:
To follow up my own post: I've since verified that I have 45K free on the NXT,
and the file I'm installing is under 13K.  I've also restarted both my Mac and
my NXT, and still get that mysterious error 89.

After more experimentation, it does appear to have something to do with the
program size though.  When I comment out part of my main program, it compiles to
11458 bytes and installs fine.  When I uncomment that part, it compiles to
13096, and gives me the error-89 finger.

Is there some expected limit to program size I should know about?


According to the LEGO Mindstorms NXT Communication protocol.pdf that is part of
the Bluetooth Developer Kit, your error code (89) means "No linear space".  That
means all the remaining space on your NXT is fragmented so there is not enough
contiguous memory available for the executable you are trying to upload.
Executables need to be written linearly as do RIC files.  You can defragment the
NXT file system by copying off all the files, erasing the user flash memory, and
then copying all the files back to the nxt.

I will talk to Dave Baum about adding more system commands to nxtcom so that you
can erase user flash (amongst other things) with his utility.  And I will see if
I can dedicate more time to getting all my Windows utilities ported over to Mac
and Linux platforms.  You may want to look into Jason Bacon's legoctl/roboctl
utility as well.

John Hansen



Message has 1 Reply:
  Re: Nxtcom error #89
 
(...) Thanks, John -- this agrees with what Dave found as well. Makes sense. (...) Thanks again. What would be really neat is a utility that can draw a memory map, showing what is stored where. I haven't seen such a thing since my Apple II days, but (...) (16 years ago, 6-Mar-08, to lugnet.robotics.nxt)

Message is in Reply To:
  Re: Nxtcom error #89
 
To follow up my own post: I've since verified that I have 45K free on the NXT, and the file I'm installing is under 13K. I've also restarted both my Mac and my NXT, and still get that mysterious error 89. After more experimentation, it does appear (...) (16 years ago, 5-Mar-08, to lugnet.robotics.nxt)

7 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR