2. flash_lauterbach
2.1. Lauterbach Flasher
- module
flash_lauterbach
- synopsis
used to flash through lauterbach probe.
- class pykiso.lib.connectors.flash_lauterbach.LauterbachFlasher(t32_exc_path=None, t32_config=None, t32_script_path=None, t32_api_path=None, port=None, node='localhost', packlen='1024', device=1, **kwargs)[source]
Connector used to flash through one and only one Lauterbach probe using Trace32 as remote API.
Initialize attributes with configuration data.
- Parameters
t32_exc_path (
Optional
[str
]) – full path of Trace32 app to executet32_config (
Optional
[str
]) – full path of Trace32 configuration filet32_script_path (
Optional
[str
]) – full path to .cmm flash script to executet32_api_path (
Optional
[str
]) – full path of remote apiport (
Optional
[str
]) – port number used for UDP communicationnode (
str
) – node name (default localhost)packlen (
str
) – data pack length for UDP communication (default 1024)device (
int
) – configure device number given by Trace32 (default 1)
- flash()[source]
Flash software using configured .cmm script.
- The Flash command leads to the following sub-tasks execution :
Send to Trace32 CD.DO internal command (execute script)
Wait until script is finished
Get script execution verdict
- Raises
Exception – if Trace32 error occurred during flash.
- Return type
None