]> git.sur5r.net Git - openocd/commit
Kinetis: Disable watchdog on Kx devices when programming.
authorThomas Schmid <thomas@rfranging.com>
Wed, 30 Sep 2015 15:40:10 +0000 (09:40 -0600)
committerFreddie Chopin <freddie.chopin@gmail.com>
Thu, 5 Nov 2015 16:51:03 +0000 (16:51 +0000)
commit5355ec627f9791dc82e8d6e7135ec77756731ab0
treee086904239024d7263635eba9be825ec0f71eeae
parentfdbe47b97f9fc925d43d426a794a23dcb3b7f957
Kinetis: Disable watchdog on Kx devices when programming.

Kx devices with FTFA flash need the watchdog disabled when programming.
I tried to keep overhead as small as possible and re-use registers that
were already inquired (e.g. sim_sdid).

Change-Id: Ibc29a26ec34102d78a6c3920dd16f63e134a8f6f
Signed-off-by: Thomas Schmid <thomas@rfranging.com>
Reviewed-on: http://openocd.zylin.com/2986
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
src/flash/nor/kinetis.c