Everything

debugger.Download.HexIdTag


This function downloads a hex file with ID tag.

[Specification format]

debugger.Download.HexIdTag(fileName, offset = 0, append = False, flashErase = False)

[Argument(s)]

Argument

Description

fileName

Specify a download file.

offset

Specify an offset (default: 0).

append

Specify whether to make an additional download.

True: Perform additional download.

False: Perform overwrite download (default).

flashErase

Specify whether to initialize a flash memory before download.

True: Initialize a flash memory before download.

False: Do not initialize a flash memory before download (default).

Caution

It is not possible to specify only fileName and offset.
When specifying both fileName and offset, also specify append or both append and flashErase.

[Return value]

If a binary file was downloaded successfully: True

If there was an error when downloading a binary file: False

[Detailed description]

-

This function downloads a hex file with ID tag.

[Example of use]

>>>debugger.Download.HexIdTag("C:/test/testModule.hex")
True
>>>debugger.Download.HexIdTag("C:/test/testModule2.hex", 0x1000, True)
False
>>>