]> git.sur5r.net Git - openocd/blob - tcl/board/lpc4350_spifi_generic.cfg
Added SPIFI flash driver, algorithms, and docs
[openocd] / tcl / board / lpc4350_spifi_generic.cfg
1 #
2 # Generic LPC4350 board w/ SPIFI flash.
3 # This config file is intended as an example of how to
4 # use the lpcspifi flash driver, but it should be functional
5 # for most LPC4350 boards utilizing SPIFI flash.
6
7 set CHIPNAME lpc4350
8
9 source [find target/lpc4350.cfg]
10
11 #A large working area greatly reduces flash write times
12 set _WORKAREASIZE 0x2000
13
14 $_CHIPNAME.m4 configure -work-area-phys 0x10000000 -work-area-size $_WORKAREASIZE
15
16 #Configure the flash bank; 0x14000000 is the base address for
17 #lpc43xx/lpc18xx family micros.
18 flash bank SPIFI_FLASH lpcspifi 0x14000000 0 0 0 $_CHIPNAME.m4