aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPeter Lawrence <majbthrd@gmail.com>2021-03-02 15:21:28 -0600
committerTomas Vanek <vanekt@fbl.cz>2021-05-02 22:40:24 +0100
commitb60d06ae325c00979e9ff17bb35e868879e6047f (patch)
tree9996340823faa2b1443e889eca0bbc95f697b6be /doc
parent64a3e7ba4f47c5340543d9a5cadd41bc45d93c93 (diff)
downloadriscv-openocd-b60d06ae325c00979e9ff17bb35e868879e6047f.zip
riscv-openocd-b60d06ae325c00979e9ff17bb35e868879e6047f.tar.gz
riscv-openocd-b60d06ae325c00979e9ff17bb35e868879e6047f.tar.bz2
tcl/board: add pico-debug support
pico-debug is not a board; it is a virtual CMSIS-DAP adapter that runs on the same RP2040 also being debugged. This is possible due to pico-debug running on the normally-dormant second Cortex-M0+ core (Core1), providing debugging of the first core (Core0). As such, it could be used on a variety of RP2040-based boards. Since a flash driver is useful (if not essential), a flash driver is included. This driver code originated on RPi's bespoke OpenOCD fork; lipstick was added to this particular pig to make it more presentable on OpenOCD proper. no new Clang analyzer warnings Change-Id: I31f98b5ea1664f0adfbc184b57efba963acfb958 Signed-off-by: Peter Lawrence <majbthrd@gmail.com> Reviewed-on: http://openocd.zylin.com/6075 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Diffstat (limited to 'doc')
-rw-r--r--doc/openocd.texi11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index a05f85d..a8a413c 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -6876,6 +6876,17 @@ Note: only Main and Work flash regions support Erase operation.
@end deffn
@end deffn
+@deffn {Flash Driver} {rp2040}
+Supports RP2040 "Raspberry Pi Pico" microcontroller.
+RP2040 is a dual-core device with two CM0+ cores. Both cores share the same
+Flash/RAM/MMIO address space. Non-volatile storage is achieved with an
+external QSPI flash; a Boot ROM provides helper functions.
+
+@example
+flash bank $_FLASHNAME rp2040_flash $_FLASHBASE $_FLASHSIZE 1 32 $_TARGETNAME
+@end example
+@end deffn
+
@deffn {Flash Driver} {sim3x}
All members of the SiM3 microcontroller family from Silicon Laboratories
include internal flash and use ARM Cortex-M3 cores. It supports both JTAG