|
| 1 | +--- |
| 2 | +title: "pyOCD 0.44.0 released" |
| 3 | +date: 2026-04-01 |
| 4 | +categories: |
| 5 | + - release |
| 6 | +tags: |
| 7 | + - news |
| 8 | + - release |
| 9 | + - release-patch |
| 10 | + - pyocd |
| 11 | +author: Teo Mahnic |
| 12 | +excerpt: "Introducing default debug sequences and flash programming support via debug sequences" |
| 13 | +--- |
| 14 | + |
| 15 | +pyOCD v0.44.0 has been released and is available from PyPI. This version includes several improvements and bug fixes. |
| 16 | +The complete list of changes is provided below |
| 17 | + |
| 18 | +To upgrade pyOCD, just run `pip`: |
| 19 | + |
| 20 | +``` |
| 21 | +pip install --upgrade pyocd |
| 22 | +``` |
| 23 | + |
| 24 | +This version introduces support for default debug sequences as defined in the [Open-CMSIS-Pack specification](https://open-cmsis-pack.github.io/Open-CMSIS-Pack-Spec/main/html/debug_description.html#default_sequences), |
| 25 | +improving consistency and standards alignment. It adds missing debug sequence support for flash programming and holding |
| 26 | +hardware reset. It also changes the flash programming strategy for programming multiple flash memories to a single |
| 27 | +erase-program sequence, spanning all targeted memory regions. |
| 28 | + |
| 29 | +The RTT support has also been updated with renamed channel mode `server` (previously `telnet`) and improved robustness, |
| 30 | +flexibility, and transfer speed. Another new feature is the SystemView Server mode for the `run` subcommand, which |
| 31 | +allows using SEGGER's SystemView Recorder via IP (TCP/IP connection). |
| 32 | + |
| 33 | +Thanks again to all the contributors who helped make this release possible! ❤️ |
| 34 | + |
| 35 | +[v0.44.0 on GitHub](https://github.com/pyocd/pyOCD/releases/tag/v0.44.0) \ |
| 36 | +[v0.44.0 on PyPI](https://pypi.org/project/pyocd/0.44.0) |
| 37 | + |
| 38 | +--- |
| 39 | + |
| 40 | +## New Features |
| 41 | +- Debug sequences: |
| 42 | + - Use default debug sequences as defined in the [Open-CMSIS-Pack specification](https://open-cmsis-pack.github.io/Open-CMSIS-Pack-Spec/main/html/debug_description.html#autotoc_md2) |
| 43 | + - Support debug sequences for hardware reset: `ResetHardwareAssert` and `ResetHardwareDeassert` |
| 44 | + - Support debug sequences for flash programming: `FlashInit`, `FlashUninit`, `FlashEraseChip`, `FlashEraseSector`, `FlashEraseDone`, `FlashProgramPage`, `FlashProgramDone`, and `DebugCodeMemRemap` |
| 45 | +- `run` subcommand: |
| 46 | + - Add SystemView Server mode to support SEGGER's SystemView Recorder via IP (TCP/IP connection) |
| 47 | + |
| 48 | +## Improvements |
| 49 | +- RTT: |
| 50 | + - Improve robustness and tolerate unexpected target halts |
| 51 | + - More flexible configuration |
| 52 | + - Increase transfer speed |
| 53 | + - Improve log messages |
| 54 | +- SystemView: |
| 55 | + - Improve log messages |
| 56 | + |
| 57 | +## Changes |
| 58 | +- Flash programming: |
| 59 | + - Split flash programming into separate erase and program operations |
| 60 | +- RTT Configuration: |
| 61 | + - Rename channel mode `telnet` to `server` |
| 62 | + |
| 63 | +## Fixes |
| 64 | +- GDB Server: |
| 65 | + - Fix thread information on subsequent client connection |
| 66 | +- Debug sequences: |
| 67 | + - Support inline control flow statements (`if`, `while`) |
| 68 | + - Fix predefined debug access variable contents for `__protocol` and `__connection` |
| 69 | +- Cortex-M: |
| 70 | + - Restrict PACBTI and PMU extension detection to Armv8.1-M targets |
| 71 | +- CoreSight: |
| 72 | + - Restore CSW value after pre-discovery |
| 73 | + |
| 74 | +## Targets |
| 75 | +- Add nRF54LM20A target (@StarSphere-1024) |
| 76 | + |
| 77 | +**Full Changelog**: https://github.com/pyocd/pyOCD/compare/v0.43.1...v0.44.0 |
0 commit comments