Tool/software:
Hi TI Team,
I'm working on the AM275x platform and trying to pass command-line arguments to main() using loadti. I referred to the script at:
`C:\ti\ccs2011\ccs\ccs_base\scripting\examples\loadti\loadti.bat` which mentions support for passing up to 40 parameters.
To test this, I modified the hello_world example with the following code:
Then I ran the following command to load and execute the program:
Observed Output:
So, while argc reflects the correct number of arguments (4), all entries in argv[] are empty strings.
Could you please confirm:
-
Is this the expected behavior?
-
If not, is there a specific way to ensure the argument values are passed correctly to
argv[]when usingloadti? -
Alternatively, is there another supported method to simulate passing runtime arguments to a C7x application via JTAG?
Any guidance or examples would be greatly appreciated.
Thanks,