From: openocd-gerrit <ope...@us...> - 2025-04-25 09:43:21
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via 9fce121366c86e77e84b9d20c7d1c7dbb38710d5 (commit) from 63f94bbab864d78e19ff86eda0836a5ff35b4a1b (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 9fce121366c86e77e84b9d20c7d1c7dbb38710d5 Author: Tomas Vanek <va...@fb...> Date: Wed Aug 14 17:14:17 2024 +0200 doc: document changes in rp2xxx flash driver Namely the driver name changed from rp2040_flash and added RP2350 support. Signed-off-by: Tomas Vanek <va...@fb...> Change-Id: I2ec9e62786002d71f655dbe0edc9f2e9ac4141b7 Reviewed-on: https://review.openocd.org/c/openocd/+/8456 Tested-by: jenkins diff --git a/doc/openocd.texi b/doc/openocd.texi index 9ff524b74..32a2895ec 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -7872,15 +7872,29 @@ locked, but can still mass erase the whole flash. @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. +@deffn {Flash Driver} {rp2xxx} +Supports RP2040 "Raspberry Pi Pico" microcontroller and RP2350 Pico 2 +RP2040 is a dual-core device with two CM0+ cores. +RP2350 is a dual-core device with two slots switched to either Cortex-M33 +or Hazard3 RISC-V core. +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 +flash bank $_FLASHNAME rp2xxx $_FLASHBASE $_FLASHSIZE 0 0 $_TARGETNAME @end example + +@deffn {Command} {rp2xxx rom_api_call} fc [p0 [p1 [p2 [p3]]]] +A utility for calling ROM API function with two characters lookup code +@var{fc} and up to 4 optional parameters @var{p0 p1 p2 p3}. +The call is supported on the target where the flash bank is configured +(core0). +@end deffn + +@deffn {Command} {rp2xxx _switch_target} old_target new_target +A command used internally by rp2350.cfg when the core type is switched. +@end deffn @end deffn @deffn {Flash Driver} {rsl10} ----------------------------------------------------------------------- Summary of changes: doc/openocd.texi | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) hooks/post-receive -- Main OpenOCD repository |