openocd/src/flash
Alexander Kurz 144f96c35a cfi intel: fixing faulty flash write error message
Writing to Intel CFI flash with unaligned tail bytes raised a false
error message although all data was programmed successfully. e.g.:
> flash write_image image 0x602e0000 bin
> Programming at 0x602e0000, count 0x00000002 bytes remaining
> couldn't write word at base 0x60000000, address 0x602e0000
> error writing to flash at address 0x60000000 at offset 0x002e0000
Root cause for this false error was a mixup of two result variables
introduced with ecc8041c.

Change-Id: Ib6b85293dbed946a36a307e5b198c47b901145bf
Signed-off-by: Alexander Kurz <akurz@blala.de>
Reviewed-on: http://openocd.zylin.com/3233
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2016-02-29 19:08:45 +00:00
..
nand helper/fileio: Use size_t for file size. 2015-11-03 22:14:07 +00:00
nor cfi intel: fixing faulty flash write error message 2016-02-29 19:08:45 +00:00
common.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
common.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
Makefile.am build: add common.mk 2010-11-18 14:05:56 +00:00
mflash.c helper/fileio: Use size_t for file size. 2015-11-03 22:14:07 +00:00
mflash.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
startup.tcl Tcl exception codes cleanup, shutdown command amendments 2015-04-14 12:11:48 +01:00