the follow patch fixes an issue with large block nand flash address where the beginning of the OOB area is always selected instead of the beginning of a page when needed.
Dave Anders diff -urN trunk/src/flash/nand.c trunk-nand/src/flash/nand.c --- trunk/src/flash/nand.c 2008-06-26 14:34:46.000000000 -0500 +++ trunk-nand/src/flash/nand.c 2008-06-26 14:49:48.000000000 -0500 @@ -806,7 +806,10 @@ * or 2048 for the beginning of OOB area) */ device->controller->address(device, 0x0); - device->controller->address(device, 0x8); + if (data) + device->controller->address(device, 0x0); + else + device->controller->address(device, 0x8); /* row */ device->controller->address(device, page & 0xff); _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development