]> git.sur5r.net Git - openocd/commit
lpc2000: fix LPC810 programming support
authorNemui Trinomius <nemuisan_kawausogasuki@live.jp>
Fri, 27 Dec 2013 03:25:33 +0000 (12:25 +0900)
committerSpencer Oliver <spen@spen-soft.co.uk>
Sat, 11 Jan 2014 22:19:57 +0000 (22:19 +0000)
commitcb6836f9235cd8c57cd08c7cb4121d2328d50155
tree74feebefc2c8efeb717c317831fa2d74ab99f7ae
parent5baed523908efc45dc9f90253ef2764527ee99d5
lpc2000: fix LPC810 programming support

IAP commands fail on programming LPC810 because it has only 1kByte of SRAM.
This patch is fixing cmd51_max_buffer suitable size for LPC810,LPC811 and
other LPC1000 series.
Tested on a LPC810,LPC812,LPC11u14,and LPC1114(DIP28).

Change-Id: Iecec9fd963cb63bdff4a7bd3bbf4f8b1a7c60fbd
Signed-off-by: Nemui Trinomius <nemuisan_kawausogasuki@live.jp>
Reviewed-on: http://openocd.zylin.com/1843
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/flash/nor/lpc2000.c