]> git.sur5r.net Git - openocd/commit
target/target.c: fixed rp check bug in asynchronous flash write algorithm.
authorDmitryShpak <disona@yandex.ru>
Wed, 25 Mar 2015 11:31:16 +0000 (14:31 +0300)
committerSpencer Oliver <spen@spen-soft.co.uk>
Wed, 1 Apr 2015 23:18:25 +0000 (00:18 +0100)
commitd3c2679bcb8e8ba25e7b6e443b39f57474afc099
tree27fb37f78c3d8221756f194a4faad80c34c7d8da
parent09ca5af4d01e00ccec4fa7ff5b3281cae26ed375
target/target.c: fixed rp check bug in asynchronous flash write algorithm.

Bug in read pointer check within flash write algorithm made incorrect check
if block size is more than 4 bytes (bug was detected with 16 bytes block size).

Change-Id: I5b8e7ebca619a0a85ae6e9e496ff792248134d81
Signed-off-by: DmitryShpak <disona@yandex.ru>
Reviewed-on: http://openocd.zylin.com/2657
Tested-by: jenkins
Reviewed-by: Jens Bauer <jens@gpio.dk>
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
src/target/target.c