openocd/src/flash
Matt Dittrich ad1c9cdbcb flash/nor: add lpc4300 variant to lpc2000 driver
This patch adds flash programming support for internal flash of the
LPC43x2/3/5/7 part, tested on a LPC4337 (also tested on a LPC1768
and LPC2468). It should also work with LPC1800's with onchip flash.
The "base" parameter of the "flash bank" command is now significant
for the lpc4300 variant and required to determine the bank number
parameter needed by the IAP routines.

NOTE: I could only program flash successfully when the chip is powered
with "P2_7" pulled low to put it in ISP mode.  When running from flash
(and not the ISP ROM), the target fails to halt and the sector erase
fails. This is similar to the behavior I remember when trying out the
spifi driver on a LPC4350... lots of power cycles to make progress, one
To burn, one to run.  So I am not confident my config is set up correctly.

Change-Id: I8a75ef1b95cedd5b5898b2dedff477f502fd19f3
Signed-off-by: Matt Dittrich <mdittrich.dev@gmail.com>
Reviewed-on: http://openocd.zylin.com/1126
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
Tested-by: jenkins
2013-04-21 07:29:59 +00:00
..
nand Added support for ARMv7-M in arm io. 2013-04-02 15:11:02 +00:00
nor flash/nor: add lpc4300 variant to lpc2000 driver 2013-04-21 07:29:59 +00:00
ocl/at91sam7x change #include "ocl.h" to <flash/nor/ocl.h> 2009-12-03 04:24:49 -08:00
common.c build: cleanup src/flash directory 2012-02-06 10:51:49 +00:00
common.h build: cleanup src/flash directory 2012-02-06 10:51:49 +00:00
Makefile.am build: add common.mk 2010-11-18 14:05:56 +00:00
mflash.c build: fix clang warnings 2012-08-24 16:51:00 +00:00
mflash.h build: cleanup src/flash directory 2012-02-06 10:51:49 +00:00
startup.tcl program: do not poll target after reset run 2013-04-17 09:52:40 +00:00