flash/nor: flash driver for Synwit SWM050 MCUs
[fw/openocd] / doc / openocd.texi
index 9490f88fb56ef94ca21e8daae20d3e47cec09adc..c5a926ca86b5e3a8b7d4075f3451fbfe1d58fd5e 100644 (file)
@@ -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.