From: bilahari Date: Thu, 12 Oct 2006 23:19:46 +0000 (UTC) Subject: [U-Boot-Users] Can I write to flash using mw command References: <20061012131130.CB2B3353DA0@atlas.denx.de> <1160675735.27646.52.camel@saruman.qstreams.net> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Ben Warren qstreams.com> writes: > > On Thu, 2006-10-12 at 15:11 +0200, Wolfgang Denk wrote: > > In message <452E2DD0.3070409 smiths-aerospace.com> you wrote: > > > > > > Back when I was a kid, all we had were ones. To make a zero we had to > > > > They changed it to zeros later, because a zero is much more powerful. > > For example, leading zeros can be very powerful, expecially when you > > employ them in the management of big companies. [BTW: that's the > > difference between commercial and scientific notation: scientists > > tend to suppress leading zeros.] And, to quote an ancient usenet > > posting (sorry, the exact source is unknown to me): > > > > Zero is an enigmatic value. It can mean success (fclose) or failure > > (scanf). It can mean black or white. It can mean no permissions > > (chmod) or all permissions (umask). It can mean now (setjmp) or later > > (atexit). It can mean the beginning (lseek) or the end (read). It can > > mean myself (getpgrp) or child (fork). It can mean all (kill's 1st > > argument) or nothing (kill's 2nd argument). It can mean `default' > > (SIG_IGN) or `I don't care' (waitpid) or `try to guess' (strtol). > > Indeed 0 lets you talk to God (setuid). > > Verily is 0 all things to all people. > > Obligatory follow-on from a long-forgotten source: > > "The decline of the Roman Empire can be traced to the fact that, lacking > zero, they were unable to return from their C programs" > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > Thank you all , learned the The Transcedental Truth about zero, From spansion documentation :- << When Flash memory is erased, all the bits in the erased area are set to a logical ?1? (high signal level). Programming selectively changes bits to a logical ?0? (Low signal level). Flash memory is traditionally programmed a single byte or word at a time and erased one sector@a time. Only an erase operation can return a ?0? back to a ?1?(erased) state. For Floating-Gate technology, it is possible to re-program (or write over) a byte or word that has been previously programmed without first erasing the byte or word (as long as no attempt is made to program a ?0? to a ?1?). This re-programming of byte or word locations can be used to incrementally program individual bits to ?0.? This incremental programming is useful to track the progress in multi-step programming schemes such as those used in a Flash File System. >>