This function downloads a binary file.
[Specification format]
debugger.Download.Binary(fileName, address, append = False, flashErase = False)
|
[Argument(s)]
|
|
fileName
|
Specify a download file.
|
address
|
Specify a download start address.
|
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 address.
When specifying both fileName and address, 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 binary format. |
[Example of use]
>>>debugger.Download.Binary("C:/test/testModule.bin", 0x1000, False)
True
>>>debugger.Download.Binary("C:/test/testModule2.bin", 0x2000, True)
False
>>>
|