debugger.Download.BinaryBank
|
This function downloads a binary file in memory bank format.
[Specification format]
debugger.Download.BinaryBank(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]
- | When using the memory bank, this function downloads binary files in memory bank format. |
[Example of use]
>>>debugger.Download.BinaryBank("C:/test/testModule.bin", 0x1000, False)
True
>>>debugger.Download.BinaryBank("C:/test/testModule2.bin", 0x2000, True)
False
>>>
|