Hi,
I'm using Uniflash 3.0.0.000031 on Ubuntu 12.04 64-bit to flash my TMS570LS3137 on a Hercules devel board.
I can successfully flash my board using the following commandline:
$ ./uniflash.sh -ccxml tms570.ccxml -program demo.out
Flashing of my ~30 KB application takes about 80 seconds.
I'd like to flash faster, so I checked the available options with -viewOptions, and I saw:
Radio Button Option:
id: FlashEraseSelection
name:
value: Entire Flash
choices:
Entire Flash
Necessary Sectors Only (for Program Load)
Selected Sectors Only
However, settings the options as suggested in the examples does not work. On trying
$ ./uniflash.sh -ccxml tms570.ccxml -setOptions FlashEraseSelection="Necessary Sectors Only (for Program Load)" -program demo.out
I just get the following error:
***** Texas Instruments Universal Flash Programmer *****
<START: 11:19:37 GMT+0100 (MEZ)>
> Configuring the Flash Programmer with the given configuration ...
> Flash Manager is configured for the following part: TMS570LS3137
> Setting up the user Flash Options ...
SEVERE: Value is not valid for current property
> [Error]: could not set value of option.
<END: 11:19:39 GMT+0100 (MEZ)>
<Total Time: 1.608s>
I also tried -setOptions FlashEraseSelection=1 and escaping the strings in '' instead of "".
How can I correctly set options for flash programming from the commandline?
Thanks,
Alex