Skip to content

Commit 143d70e

Browse files
committed
docs: mark flash debug sequences as supported
1 parent f640c11 commit 143d70e

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

docs/open_cmsis_pack_support.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -138,26 +138,26 @@ Sequence name | Delegate function | Description
138138
`DebugDeviceUnlock` | `unlock_device` | Ensure the device is accessible.
139139
`DebugCoreStart` | `start_debug_core` | Initialize core debug.
140140
`DebugCoreStop` | `stop_debug_core` | Uninitialized core debug.
141+
`DebugCodeMemRemap` | - | Remap memory to execution location. Executed before verifying memory content after flash programming. This is required to replicate a memory remap of a device bootloader (that is not executed during debug connection).
141142
`ResetSystem` | `will_reset` | System-wide reset without debug domain via software mechanisms.
142143
`ResetProcessor` | `will_reset` | Local processor reset without peripherals and debug domains.
143144
`ResetHardware` | `will_reset` | System-wide reset without debug domain via the dedicated debugger reset line, e.g. nRST.
144145
`ResetHardwareAssert` | - | Assert a system-wide reset via the dedicated debugger reset line, e.g. nRST.
145146
`ResetHardwareDeassert` | - | De-assert a system-wide reset via the dedicated debugger reset line, e.g. nRST.
146147
`ResetCatchSet` | `set_reset_catch` | Configure the vector catch to stop code execution after the reset.
147148
`ResetCatchClear` | `clear_reset_catch` | Free hardware resources allocated by `ResetCatchSet`.
149+
`FlashInit` | - | Executed before starting a flash operation.
150+
`FlashUninit` | - | Executed after a flash operation finished.
151+
`FlashEraseSector` | - | Executed to erase a flash memory sector.
152+
`FlashEraseChip` | - | Executed to erase all on-chip flash memory with target device specific erase technology.
153+
`FlashProgramPage` | - | Executed to program a single flash page.
148154
`TraceStart` | `trace_start` | Enable target trace capture.
149155
`TraceStop` | `trace_stop` | Disable target trace capture.
150156

151157
Standard debug sequences not currently supported:
152158

153159
Sequence name | Description
154160
------------------------|------------------------------------------------------
155-
`DebugCodeMemRemap` | Remap memory to execution location.
156-
`FlashInit` | Flash programming
157-
`FlashUninit` | Flash programming
158-
`FlashEraseSector` | Flash programming
159-
`FlashEraseChip` | Flash programming
160-
`FlashEraseDone` | Flash programming
161161
`FlashProgramPage` | Flash programming
162162
`FlashProgramDone` | Flash programming
163163
`RecoverySupportStart` | Before step or run command to support recovery from a lost target connection.

pyocd/commands/values.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -760,6 +760,7 @@ class DebugSequencesValue(ValueBase):
760760
"DebugDeviceUnlock",
761761
"DebugCoreStart",
762762
"DebugCoreStop",
763+
"DebugCodeMemRemap",
763764
"ResetSystem",
764765
"ResetProcessor",
765766
"ResetHardware",

0 commit comments

Comments
 (0)