jtag: drivers: stlink: ignore write verify error 68/4368/2
authorPaul Fertser <fercerpav@gmail.com>
Sat, 20 Jan 2018 18:05:46 +0000 (21:05 +0300)
committerTomas Vanek <vanekt@fbl.cz>
Sat, 3 Feb 2018 15:33:56 +0000 (15:33 +0000)
commitf2b228f5d1728b9972624c1a7ae681fc6df2cddc
treed28c48a6d6d78c4bc77af976517f98c1ac14402c
parentc2b2a7a3b84913465420ae7fa0394304943cf035
jtag: drivers: stlink: ignore write verify error

This looks like some inappropriate stlink (mis-)feature and it messes
operations for writing to certain memory-mapped registers.

Discussed at https://forum.sparkfun.com/viewtopic.php?f=18&t=44949 .
Also known to be problematic for working with Kinetis parts.

Reported by robertfoss_ on IRC.

Change-Id: I8633aed13346c596000ba6c377758e1bb96db73f
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/4368
Tested-by: jenkins
Reviewed-by: Robert Foss <robert.foss@memcpy.io>
Reviewed-by: Andreas Bolsch <hyphen0break@gmail.com>
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
src/jtag/drivers/stlink_usb.c