Flash/LPC2000: Add support for auto-probing flash size

Adds support for auto-probing on devices which support the IAP
Read Part ID command. Includes IDs for all LPC17XX, LPC13XX,
LPC11XX and LPC11XXX devices with publicly available user
manuals.

To use auto-probing, select the 'auto' lpc2000 variant.

Change-Id: Ic617c32925c9ebe0e9d9192ed8ddbfa08e9f0aaa
Signed-off-by: Cosmin Gorgovan <cosmin@linux-geek.org>
Reviewed-on: http://openocd.zylin.com/2075
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
This commit is contained in:
Cosmin Gorgovan
2014-03-29 22:34:43 +00:00
committed by Andreas Fritiofson
parent 99d440cbba
commit 5fccaa2c8b
2 changed files with 435 additions and 53 deletions

View File

@@ -5195,7 +5195,9 @@ which must appear in the following order:
@option{lpc1700} (LPC175x and LPC176x)
@option{lpc4300} - available also as @option{lpc1800} alias (LPC18x[2357] and
LPC43x[2357])
or @option{lpc1100} (LPC11(x)xx and LPC13xx)
@option{lpc1100} (LPC11(x)xx and LPC13xx)
or @option{auto} - automatically detects flash variant and size for LPC11(x)00,
LPC1300 and LPC1700
@item @var{clock_kHz} ... the frequency, in kiloHertz,
at which the core is running
@item @option{calc_checksum} ... optional (but you probably want to provide this!),

File diff suppressed because it is too large Load Diff