]> git.sur5r.net Git - openocd/commit
lpc2000: ignore status of part ID IAP command
authorGrigori Goronzy <greg@chown.ath.cx>
Thu, 30 Oct 2014 00:14:58 +0000 (01:14 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 24 Nov 2014 22:27:02 +0000 (22:27 +0000)
commitc4b52f8fd7b06f8cec5db5cdf33fd984a255ceaa
tree895a0ed22166544ac3c8d4c9069de728ee4f5830
parent4525c0a4c4d0aaa199c37a6d2245617e8445f213
lpc2000: ignore status of part ID IAP command

The IAP firmware won't return a proper status with some versions. This
happens on my CCC r0ket board and others have seen it as well [1]. So
just ignore the status code and do a (weak) consistency check instead.

[1] http://www.lpcware.com/content/forum/lpc1343-iap-read-part-identification-command

Change-Id: I0daa779d520a540629677c56857bbc20d6db422d
Signed-off-by: Grigori Goronzy <greg@chown.ath.cx>
Reviewed-on: http://openocd.zylin.com/2364
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
src/flash/nor/lpc2000.c