diff options
author | richard vegh <vegh.ricsi@gmail.com> | 2010-03-16 10:46:41 +0100 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-03-16 10:46:41 +0100 |
commit | ab5f98edcd3e8810c15d378d3244238d9d8f8d0e (patch) | |
tree | fe7de56260eeb648f0cbe92fd190a4e41b223b75 /src/flash/mflash.c | |
parent | f85ad1e52a499bc98ae9d559157e8adbe8a5ad1f (diff) | |
download | openocd+libswd-ab5f98edcd3e8810c15d378d3244238d9d8f8d0e.tar.gz openocd+libswd-ab5f98edcd3e8810c15d378d3244238d9d8f8d0e.tar.bz2 openocd+libswd-ab5f98edcd3e8810c15d378d3244238d9d8f8d0e.tar.xz openocd+libswd-ab5f98edcd3e8810c15d378d3244238d9d8f8d0e.zip |
lpc3180: LPC3180(LPC3250) SLC driver implemented
Until this time only basic SLC functionality exists when you want to use SLC to access external nand flash.
Basic functionality can be selected with command:
lpc3180 select 0 slc
It is anyway very slow to write/read to/from nand flash.
With the new command, SLC speed improved about 20 times, and hardware ECC info also read/written from/to nand flash OOB area:
lpc3180 select 0 slc bulk
Speed improvement achieved by using working are in SRAM of the LPC3250 chip and controlling DMA controller to interact between SRAM and SLC peripheral.
Here are the patches, and if they are ok than take them.
Tested with hitex LPC3250 usb stick.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/flash/mflash.c')
0 files changed, 0 insertions, 0 deletions