diff options
author | Gianluca Renzi <gianlucarenzi@eurekelettronica.it> | 2012-10-25 14:26:42 +0200 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2012-11-06 14:34:16 +0000 |
commit | 051ec13abcaf0b1ea192db66a89742bc053b41bd (patch) | |
tree | 45f06e4dfc3836c5ef8448bcae3f421c474ec3c5 /tcl/board | |
parent | d8d1c62cc3bcf0143313a68adf61382b15ee60ba (diff) |
Generic LPC1850 board w/ SPIFI flash.
This config file is intended as an example of how to
use the lpcspifi flash driver, but it should be functional
for most LPC1850 boards utilizing SPIFI flash.
Change-Id: I855854282336701fd210134497ce014017f3aaec
Signed-off-by: Gianluca Renzi <gianlucarenzi@eurekelettronica.it>
Reviewed-on: http://openocd.zylin.com/929
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'tcl/board')
-rw-r--r-- | tcl/board/lpc1850_spifi_generic.cfg | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tcl/board/lpc1850_spifi_generic.cfg b/tcl/board/lpc1850_spifi_generic.cfg new file mode 100644 index 00000000..bff4af60 --- /dev/null +++ b/tcl/board/lpc1850_spifi_generic.cfg @@ -0,0 +1,18 @@ +# +# Generic LPC1850 board w/ SPIFI flash. +# This config file is intended as an example of how to +# use the lpcspifi flash driver, but it should be functional +# for most LPC1850 boards utilizing SPIFI flash. + +set CHIPNAME lpc1850 + +source [find target/lpc1850.cfg] + +#A large working area greatly reduces flash write times +set _WORKAREASIZE 0x4000 + +$_CHIPNAME.m3 configure -work-area-phys 0x10000000 -work-area-size $_WORKAREASIZE + +#Configure the flash bank; 0x14000000 is the base address for +#lpc43xx/lpc18xx family micros. +flash bank SPIFI_FLASH lpcspifi 0x14000000 0 0 0 $_CHIPNAME.m3 |