v0.13.0b1
Pre-release
Pre-release
New features
- Support for STLinkV2 debug probes!
- STLinkV2 probes appear in the list of available devices just like CMSIS-DAP probes.
- Currently, the board associated with an STLinkV2-1 probe is not detected and you must always use the
--targetoption to manually specify the target type.
- Major breaking changes to board-related classes.
- New
Sessionclass is now the object graph root. This class holds references to the debug probe and board instances, and owns session user options. - New
ConnectHelperclass with static methods previously inMbedBoard. - New
DebugProbeclasse hierarchy underpyOCD.probeadds architectural support for multiple debug probe types and separates probe and board functionality. - Moved pyDAPAccess under
pyOCD.probe. - Refactored
BoardandMbedBoardclasses.
- New
Boards and targets
- Corrected LPC54608 flash size to 512 kB and correspondingly updated flash algorithm.
- Added board ID and test binary for ST Nucleo-F412ZG board.
- Added STM32L475xC, STM32L475xE, STM32L475xG target and ST-Discovery-L475E-IOT01A board.
- Added STM32F439xG, STM32F439xI target and u-blox EVK-ODIN-W2 board.
Fixes and changes
- In cases where the CPU ID cannot be read, such as locked STM32 devices, the CPU type is reported as "unknown" rather than throwing an exception.
- The CPU revision and patch are reported along with the CPU type, i.e. "CPU core is Cortex-M4 r0p1".
- Fixed the
lsbreakcommand inpyocd-toolby adding missingget_breakpoints()method toBreakpointManager. - Python 3 fix: disassembly in
pyocd-tool.
Testing
automated_test.pyaccepts a--boardoption to select boards to test by unique ID.- Python 3 fix: flash algo debug mode.