NXTidea

Tuesday, July 11, 2006

Firming up the Memory issue

I dont know if anyone else has noticed this but my NXT is often telling that with 20kb of space that it can not accept a Bright Turn Right Dark Turn Left line following program which when finally installed was no where near that big. Defragmentation might be a big problem. It requires either that you take off all your programs, and some time (as per the Help file) re-firmware (defrag) your NXT. Further still this firmware update as according to NXT Hacks @ http://nxt.natulte.net/trac/wiki/ElectricStorm is detrimental in the long term because,
"the lock bits, which let firmwares write-protect themselves, are only guaranteed for about a hundred toggles."
That means that if you are often "reformating" your NXT one day it may break.
:(

I'd like to open comments for people to share if they have had alot of memory allocation problems.
I found that mine seem to happen most when you have big files as the first ones you've uploaded. So I might suggest that you load any mini programs first and save the beefy ones for later. However this means that you cant just load your biggest (best?) and see what else fits.
The Option in the memory manager to erase all user files might be the best bet, but if you have alot of mainstay programs you want always loaded it might be annoying.

Please comment on anything to do with memory here.

2 Comments:

  • Hi Drew.

    There was an extensive discussion on the memory issue on LUGnet recently. I'll try to add that feed to my bNXT website.

    Filip
    bNXT.com

    By Anonymous Filip, at Thu Jul 13, 07:43:00 AM PDT  

  • Try out RobotC. It has a command in its PC IDe to do "defragmentation" command that does not require reloading firmware file. It will work on firmware for both RobotC and for NXT-G/NBC. So you don't have to write your programs in RobotC

    By Anonymous Dick Swan, at Thu Sep 07, 09:36:00 PM PDT  

Post a Comment

Links to this post:

Create a Link

<< Home