diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2010-11-11 14:12:31 +0800 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-11-16 09:16:11 +0100 |
commit | e7a8de17620cd24d0c28388d5851ce093297411c (patch) | |
tree | 61402b0ff25539a326e6d459dfbb1660bf0ed235 /doc | |
parent | fdae51287cf55a039f3401ed92151dbf518e4e7f (diff) | |
download | openocd_libswd-e7a8de17620cd24d0c28388d5851ce093297411c.tar.gz openocd_libswd-e7a8de17620cd24d0c28388d5851ce093297411c.tar.bz2 openocd_libswd-e7a8de17620cd24d0c28388d5851ce093297411c.tar.xz openocd_libswd-e7a8de17620cd24d0c28388d5851ce093297411c.zip |
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 <borneo.antonio@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/openocd.texi | 27 |
1 files changed, 27 insertions, 0 deletions
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 |