Skip to content

v0.13.0b1

Pre-release
Pre-release

Choose a tag to compare

@flit flit released this 07 Oct 21:30
9726149

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 --target option to manually specify the target type.
  • Major breaking changes to board-related classes.
    • New Session class is now the object graph root. This class holds references to the debug probe and board instances, and owns session user options.
    • New ConnectHelper class with static methods previously in MbedBoard.
    • New DebugProbe classe hierarchy under pyOCD.probe adds architectural support for multiple debug probe types and separates probe and board functionality.
    • Moved pyDAPAccess under pyOCD.probe.
    • Refactored Board and MbedBoard classes.

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 lsbreak command in pyocd-tool by adding missing get_breakpoints() method to BreakpointManager.
  • Python 3 fix: disassembly in pyocd-tool.

Testing

  • automated_test.py accepts a --board option to select boards to test by unique ID.
  • Python 3 fix: flash algo debug mode.