From mboxrd@z Thu Jan 1 00:00:00 1970 From: llandre Date: Wed, 30 Nov 2005 16:41:41 +0100 Subject: [U-Boot-Users] Locked block in StrataFlash Message-ID: <438DC835.2070904@dave-tech.it> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi all, I experienced a problem with strataflash driver on ARM920T-based custom hardware. The driver has been derived from board/esd/cpcpi440/strataflash.c. When issuing a saveenv command, U-Boot randomly can't erase the block because it is locked (environment is in flash). We verified with JTAG debugger that status register and it confirmed the locked state. To unlock the block we issued manually the necessary commands. The function flash_real_protect is never invoked (I verified with JTAG debugger that it is never executed, too). Anybody experienced similar problems? -- llandre DAVE Electronics System House - R&D Department web: http://www.dave-tech.it email: r&d2 at dave-tech.it