Hello,
I would like to use loadti in order to load and run a program in my test board, but I don't get any result when running loadti. I have already checked the forum and as far as I saw maybe there are some bug passing the arguments to loadti (http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/164161/699048.aspx), so I passed the arguments in a several ways (with absolute path, with relative path, with all the files in the same directory...). I'm launching the script loadti from /opt/ti/ccsv5/ccs_base/scripting/examples/loadti
What I get when running loadti is just the following:
********************************************************************************************************
$ ./loadti.sh --cfg-file tms570ls31x.ccxml --xml-log log.xml kernel.out
flxInitLoad: client has not been protected.
flxInitLoad: client has not been protected.
Usage: loadti [OPTION]... [OUT_FILE1[+OUT_FILE2]...] [ARGUMENT]...
Load OUT_FILE executable(s) to TI target and run, passing ARGUMENT(s) to main.
Mandatory arguments to long options are mandatory for short options too.
Options:
-a, --async-run
-b, --init-bss-section[=VALUE]
-c, --cfg-file=CONFIG_FILE
-h, --help
-l, --load
-mlr, --mem-load-raw="PAGE,ADDR,FILE,TYPE_SIZE,BYTE_SWAP"
-mld, --mem-load-dat="PAGE,ADDR,FILE,LEN"
-msr, --mem-save-raw="PAGE,ADDR,FILE,LEN,TYPE_SIZE,BYTE_SWAP"
-msd, --mem-save-dat="PAGE,ADDR,FILE,LEN,IO_FORMAT,APPEND"
-n, --no-profile
-q, --quiet
-r, --reset
-s, --stdout-file=FILE
-t, --timeout=VALUE
-v, --verbose
-x, --xml-log=FILE
-@, --options-file=FILE
********************************************************************************************************
As I said, I tried to pass the arguments with absolute paths, but I get the same output. I also tried to run it as root with sudo, but same output as well.I also tried to write the short version of the options (i.e., -c instead of --cfg-file), but no new result. I tried to use = sign to pass the argument (i.e., -c=tms570ls31x.ccxml) or to use "" like -c="tms570ls31x.ccxml", but nothing.
I read in other posts that the message "flxInitLoad: client has not been protected." is not that important.
Message "Mandatory arguments to long options are mandatory for short options too." does not give me any information.
Do you know what else can I try?
I'm using Linux kernel 3.0.57 64 bits (but I have installed libraries to use 32 bits programs) with Ubuntu 11.04.
Any help will be appreciated. Thank you very much in advance.