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 / 116
115  |  117
Subject: 
Re: Flash Write Cycles
Newsgroups: 
lugnet.robotics.nxt
Date: 
Sun, 10 Sep 2006 02:15:39 GMT
Viewed: 
12711 times
  
In lugnet.robotics.nxt, David Wallace wrote:
I'm hoping that Atmel's 10,000 number is conservative. I also hope that the NXT
firmware doesn't reprogram the same location. If I'm working on a program and
reflashing it many times, I think I'm going to keep changing the name so it gets
stored at a different location until the flash is full, and then erase and start
over.

When downloading a program to the NXT using NBC if there is a file with the same
name on the NXT already it is first deleted.  Then a new file is created and
written using the same filename.  I don't know whether that means the firmware
will write the file to a different location or not.

Executables and icon files have to be created using OpenWriteLinear which means
they have to be contiguous.  The VM actually reads the byte codes directly from
flash as the program executes.

There was a discussion some time back in which, if I recall correctly, it was
said that the NXT firmware doesn't do anything fancy, like wear leveling, for
the flash memory.

Any knowledgeable people out there in this area?

Dick Swan comes to mind, but it may fall under the category of protected
intellectual property.

John Hansen



Message has 1 Reply:
  RE: Flash Write Cycles
 
(...) I researched this topic about eight months ago. I no longer worry about it. I must admit I didn't know about the "lock-bits" specification and was concerned only with the "flash rewrite specification". I have also had other conversations on (...) (18 years ago, 10-Sep-06, to lugnet.robotics.nxt)

Message is in Reply To:
  Flash Write Cycles
 
Does anyone know how the NXT firmware handles writing program files into flash? If you re-flash a program with the same name, does it first erase the sectors that the old program was located in and then re-flash these sectors with the new program? (...) (18 years ago, 9-Sep-06, to lugnet.robotics.nxt)

14 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