From mboxrd@z Thu Jan 1 00:00:00 1970 From: Craig A. Vanderborgh Date: Thu, 16 Dec 2004 02:11:44 -0500 Subject: [U-Boot-Users] Problem with Strata 28F256K3 Writing on PXA Message-ID: <41C13530.6050206@voxware.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello everyone: I now am able to erase flash from my u-boot build and that works. Almost there, but one rather serious problem remains. The writes to flash are not working correctly. I am using the "stock" board/lubbock/flash.c routines for the flash write. When I attempt to write bytes into flash, the 2nd short of each long word ends up being 0xffff instead of its intended value. This same code works perfectly on my PXA-255 development system that uses the Strata 28F128J3 chips. An important note - I see EXACTLY the same thing using "jflashmm" (to JTAG bytes into flash) unless it's writing to the very first sector - in which case it works correctly. I think this might be an important clue. Is this possibly a PXA register settings problem?? StrataFlash experts - please throw me a bone here if you possibly can!! Thanks in advance, craig vanderborgh voxware incorporated