pykiso
0.19.0

Contents:

  • Pykiso
  • Getting Started
  • What’s New In Pykiso
  • API Documentation
    • Test Cases
    • Connectors
      • Included Connectors
      • Flashers
        • 1. flash_jlink
        • 2. flash_lauterbach
        • 3. cc_flasher_example
    • Auxiliaries
    • Message Protocol
    • Import Magic
    • Test Suites
    • Test Execution
    • Test-Message Handling
    • test xml result
  • Step report
  • Examples
  • Advanced features
  • Remote Test
  • Robot Framework
pykiso
  • »
  • API Documentation »
  • Flashers »
  • 1. flash_jlink
  • Edit on GitHub

1. flash_jlink

1.1. JLink Flasher

module

flash_jlink

synopsis

a Flasher adapter of the pylink-square library

class pykiso.lib.connectors.flash_jlink.JLinkFlasher(binary=None, lib=None, serial_number=None, chip_name='STM32L562QE', speed=9600, verbose=False, power_on=False, start_addr=0, xml_path=None, **kwargs)[source]

A Flasher adapter of the pylink-square library.

Constructor.

Parameters
  • binary (Union[str, Path, None]) – path to the binary firmware file

  • lib (Union[str, Path, None]) – path to the location of the JLink.so/JLink.DLL, usually automatically determined

  • serial_number (Optional[int]) – optional debugger’s S/N (required if many connected) (see pylink-square documentation)

  • chip_name (str) – see pylink-square documentation

  • speed (int) – see pylink-square documentation

  • verbose (bool) – see pylink-square documentation

  • power_on (bool) – see pylink-square documentation

  • start_addr (int) – see pylink-square documentation

  • xml_path (Optional[str]) – device configuration (see pylink-square documentation)

close()[source]

Close flasher and free resources.

Return type

None

flash()[source]

¨Perform firmware delivery.

Raises

pylink.JLinkException – if any hardware related error occurred during flashing.

Return type

None

open()[source]

Initialize the flasher.

Return type

None

Previous Next

© Copyright 2020, Sebastian Fischer, Daniel Bühler, Damien Kayser. Revision 5546e96b.

Built with Sphinx using a theme provided by Read the Docs.