From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul McAvoy Date: Sat, 1 Mar 2003 17:12:12 -0800 Subject: [U-Boot-Users] flash memory access References: <20030301231629.8E51FC6E0C@atlas.denx.de> Message-ID: <000901c2e058$c149ac50$1400a8c0@bodhi> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de I was using the reference of 256 * 128K sectors from some other demo sorce code that came with the board. But after looking at the datasheet for the device: http://www.atmel.com/dyn/products/product_card.asp?family_id=624&family_name =Flash+Memory&part_id=1761 There is no mention of any sectors on the chip, and the only way to re-program it (apparently) is to re-flash the entire thing. -p ----- Original Message ----- From: "Wolfgang Denk" To: "Paul McAvoy" Cc: Sent: Saturday, March 01, 2003 3:16 PM Subject: Re: [U-Boot-Users] flash memory access > In message <20030301132517.A14084@europa.queda.net> you wrote: > > Hmm.. after more reading, I have found that in order to program _ANY_ of the > > flash on my atmel chip the following is the case: > > > > 1) the entire chip has to be erased, setting all bits to 1 > > 2) any bytes can be programmed setting the bits to 0 > ... > > > I have an Atmel chip, 32Megbyts, 256 * 128K sectors. > > This makes no sense. If the flash chip has 256 sectors (aka "erase > units"), you can always erase each individual sector without any > influence on the other 255 sectors. > > Best regards, > > Wolfgang Denk > > -- > Software Engineering: Embedded and Realtime Systems, Embedded Linux > Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de > Niklaus Wirth has lamented that, whereas Europeans pronounce his name > correctly (Ni-klows Virt), Americans invariably mangle it into (Nick- > les Worth). Which is to say that Europeans call him by name, but > Americans call him by value. > > >