I am having trouble writing to NAND flash from u-boot -> nand info Device 0: NAND 16MiB 3.3V 8-bit, sector size 16KiB -> nand device Device 0: NAND 16MiB 3.3V 8-bit I then moved the uClinux image to RAM: -> tftp 0x40800000 uImage
Verified that the image is there: -> md 0x40800000 Attemped to erase NAND flash: -> nand erase ...it seemed to work Attempted to write the image and this is what I got: -> nand write 0x40800000 0x0 0x2000000 NAND write: device 0 offset 0x0, size 0x200000 0 bytes written: ERROR I tried to see if the device happened to be locked and this is what I saw: -> nand unlock device 0 whole chip nand_unlock: start: 00000000, length: 16777216! nand_unlock: Device is write protected! Error unlocking NAND flash, write and erase will probably fail It says that the device is write-protected. I checked the schematics and verified that the write_protect pin is pulled-up, which would make it writable. Not sure how it is that it is coming-up write protected or how I can change that. I'd appreciate a shove in the right direction. Thanks, -Martin _______________________________________________ uClinux-dev mailing list [email protected] http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by [email protected] To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev
