Everything

debugger.Download.Hex


This function downloads a hex file.

[Specification format]

debugger.Download.Hex(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 data in hex format.

[Example of use]

>>>debugger.Download.Hex("C:/test/testModule.hex")
True
>>>