debugger.Download.HexBank
|
This function downloads a hex file in memory bank format.
[Specification format]
debugger.Download.HexBank(fileName, offset = 0, append = False, flashErase = False)
|
[Argument(s)]
|
|
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]
- | When using the memory bank, this function downloads hex files in memory-bank format. |
[Example of use]
>>>debugger.Download.HexBank("C:/test/testModule.hex")
True
>>>debugger.Download.HexBank("C:/test/testModule2.hex", 0x1000, True)
False
>>>
|