Flash bits can only be written to '0'. They erase to a '1' state. Therefore unless you are only changing a couple of bits to '0' you MUST erase flash everytime before reprogramming it. Al Leighton Rowe wrote: > > Concerning Philips Apps' post on Partial Flash Programming I > understand lpc flash memory can be updated 128 bits (minimum) at a > time, and that a each 4K area can be written 16 times (max). > > (http://groups.yahoo.com/group/lpc2000/message/2681) > > However, I'm currently having trouble updating 128-bit (quadword > aligned) locations in flash memory. The first write always > show up OK (as long as the location has all 1's), but on the 2nd > write (on the same location) results in some bit(s) not displaying > correctly. > > Is it possible for me to re-write a 128-bit (quadword aligned) flash > locations? Or must I erase the flash location first? I can do the > second question, but I'm a little confused about how often flash > bits can change without an erase. > > best regards, > Leighton > > > > > Yahoo! Groups Sponsor > <http://us.ard.yahoo.com/SIG=129krqpo6/M=324847.5707095.6763799.3001176/D=groups/S=1706554205:HM/EXP=1102615194/A=2343726/R=0/SIG=12ibhs9he/*http://clk.atdmt.com/VON/go/yhxxxvon01900091von/direct/01/&time=1102528794344024> > > > Get unlimited calls to > > U.S./Canada > > <http://us.ard.yahoo.com/SIG=129krqpo6/M=324847.5707095.6763799.3001176/D=groups/S=1706554205:HM/EXP=1102615194/A=2343726/R=1/SIG=12ibhs9he/*http://clk.atdmt.com/VON/go/yhxxxvon01900091von/direct/01/&time=1102528794344024> > > > > ------------------------------------------------------------------------ > Yahoo! Groups Links > > * To visit your group on the web, go to: > http://groups.yahoo.com/group/lpc2000/ > > * To unsubscribe from this group, send an email to: > lpc2000-unsubscribe@yahoogroups.com > <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe> > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of > Service <http://docs.yahoo.com/info/terms/>. > >
Message
Re: [lpc2000] Partial Flash Programming (ctd)
2004-12-09 by onestone
Attachments
- No local attachments were found for this message.