From e7a8de17620cd24d0c28388d5851ce093297411c Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Thu, 11 Nov 2010 14:12:31 +0800 Subject: NOR/SPEAr: Add support for Serial NOR Add support and documentation for STMicroelectronics SPEAr Serial Memory Interface (SMI). Code tested on SPEAr3xx only. Signed-off-by: Antonio Borneo --- doc/openocd.texi | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'doc') diff --git a/doc/openocd.texi b/doc/openocd.texi index f946bdf6..0d24ddef 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -4252,6 +4252,33 @@ flash bank $_FLASHNAME cfi 0x00000000 0x02000000 2 4 $_TARGETNAME @c "cfi part_id" disabled @end deffn +@deffn {Flash Driver} spearsmi +@cindex SPEAr Serial Memory Interface +@cindex SMI +@cindex spearsmi +All members of SPEAr MPU family from STMicroelectronics include a +``Serial Memory Interface'' (SMI) controller able to drive external +SPI flash devices. +Depending on specific MPU and board configuration, up to 4 external +flash devices can be connected. + +SMI makes the flash content directly accessible in the CPU address +space; each external device is mapped in a memory bank. +CPU can directly read data, execute code and boot from SMI banks. +Normal OpenOCD commands like @command{mdw} can be used to display +the flash content. + +The setup command only requires the @var{base} parameter in order +to identify the memory bank. +All other parameters are ignored. Additional information, like +flash size, are detected automatically. + +@example +flash bank $_FLASHNAME spearsmi 0xf8000000 0 0 0 $_TARGETNAME +@end example + +@end deffn + @subsection Internal Flash (Microcontrollers) @deffn {Flash Driver} aduc702x -- cgit v1.2.3