DownloadCondition


This class creates conditions of the download file (parameters of the debugger.Download.Property property).

[Type]

class DownloadCondition:
        FileName = ""
        DownloadFileType = DownloadFileType.LoadModule
        DownloadObject = True
        DownloadSymbol = True
        VendorType = VendorType.Auto
        OutputInputCorrection = True

[Variable]

Variable

Description

FileName

Specify the full path of the download file.

DownloadFileType

Specify the type of the download file.

The types that can be specified are shown below.

Type

Description

DownloadFileType.LoadModule

Load module file (default)

DownloadFileType.Hex

Intel HEX file

DownloadFileType.SRecord

Motorola S-record file

DownloadFileType.Binary

Binary file

DownloadObject

Specify whether to download object information.

True: Download object information.

False: Do not download object information.

DownloadSymbol

This holds whether to download symbol information.

True: Download symbol information.

False: Do not download symbol information.

VendorType

Specify the vendor of the compiler.

The types that can be specified are shown below.

Type

Description

VendorType.Auto

Automatically specify the vendor of the compiler judging from the output contents of debugging information (default).

VendorType.Ghs

Make this specification when using a compiler made by Green Hills Software, Inc.

OutputInputCorrection

Specify whether to generate information for the input correction feature.

True: Generate information for the input correction feature.

False: Do not generate information for the input correction feature.

[Detailed description]

-

"DownloadCondition" is in class format, and it is the structure of the parameter of the debugger.Download.Property property.

[Example of use]

>>>di = debugger.Download.Property
>>>print di[0].FileName
C:\project\test.abs
>>>print di[0].DownloadFileType
LoadModule
>>>dc = DownloadCondition()
>>>dc.FileName = "C:/project/test2.abs"
>>>dc.DownloadFileType = DownloadFileType.LoadModule
>>>di.Add(dc)
>>>debugger.Download.Property = di
>>>