diff options
author | Caleb Szalacinski <contact@skiboy.net> | 2019-08-19 17:45:27 -0500 |
---|---|---|
committer | Tomas Vanek <vanekt@fbl.cz> | 2019-09-08 11:53:12 +0100 |
commit | 5a235226f0db67e85f9c71288dcd015e7081c37b (patch) | |
tree | e000ed89562eb5892e9dad3d21e1ede23142c548 /doc | |
parent | 642a9310ca1942e97a6612c2f8cf132d933845de (diff) | |
download | riscv-openocd-5a235226f0db67e85f9c71288dcd015e7081c37b.zip riscv-openocd-5a235226f0db67e85f9c71288dcd015e7081c37b.tar.gz riscv-openocd-5a235226f0db67e85f9c71288dcd015e7081c37b.tar.bz2 |
flash/nor: flash driver for Synwit SWM050 MCUs
SWM050 is a series of MCU product by Foshan Synwit Tech, which is
available in TSSOP-8 or SSOP-16 packages.
Adds flash driver for the internal 8KiB flash of the MCU. The registers
are based on reverse engineering the J-Flash blob provided by the
vendor.
Also adds a pre-made cfg file.
Change-Id: I0b29f0c0d062883542ee743e0750a4c6b6609ebd
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Caleb Szalacinski <contact@skiboy.net>
Reviewed-on: http://openocd.zylin.com/4927
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/openocd.texi | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi index 9490f88..c5a926c 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -7002,6 +7002,23 @@ unlock str9 device. @end deffn +@deffn {Flash Driver} swm050 +@cindex swm050 +All members of the swm050 microcontroller family from Foshan Synwit Tech. + +@example +flash bank $_FLASHNAME swm050 0x0 0x2000 0 0 $_TARGETNAME +@end example + +One swm050-specific command is defined: + +@deffn Command {swm050 mass_erase} bank_id +Erases the entire flash bank. +@end deffn + +@end deffn + + @deffn {Flash Driver} tms470 Most members of the TMS470 microcontroller family from Texas Instruments include internal flash and use ARM7TDMI cores. |