This is an automated email from Gerrit. Timo Ketola (t...@exertus.fi) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/385
-- gerrit commit 5ddac5a04ced9b2e21738d5d7feed6de086f1cdf Author: Timo Ketola <t...@exertus.fi> Date: Tue Jan 17 10:47:11 2012 +0200 NAND: Misleading report of erased blocks For example, when blocks 2 and 3 were erased, openocd reported "erased blocks 2 to 4". That should be "2 to 3", I think. Change-Id: Icece63dedd3dd931b70fa73616819a19572e39de Signed-off-by: Timo Ketola <t...@exertus.fi> diff --git a/src/flash/nand/tcl.c b/src/flash/nand/tcl.c index c6ea3f3..53a3786 100644 --- a/src/flash/nand/tcl.c +++ b/src/flash/nand/tcl.c @@ -196,7 +196,7 @@ COMMAND_HANDLER(handle_nand_erase_command) { command_print(CMD_CTX, "erased blocks %lu to %lu " "on NAND flash device #%s '%s'", - offset, offset + length, + offset, offset + length - 1, CMD_ARGV[0], p->device->name); } -- ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel