How to use ‘--breakpoint’, ‘—datafile’ and ‘-@/ --config’ command with CCES_Runner.exe command line utility
Question:
- Is ‘--breakpoint’ command used together with ‘--datafile’ command to rd/wt memory?
Answer:
Yes. The “--breakpoint" option is used in conjunction with the “--datafile" option to read or write memory. For example, to read an array of values to the “output.txt” file from the const variable “values” after halting at a label “breakpt”:
For example:
CCES_runner.exe --target "Emulation Debug Target" --platform "ADSP-21569 via ICE-1000" --processor "ADSP-21569" --core "0, EMU|ANY|CLEAR_SYMBOLS|RUN_AFTER_LOAD|SHARC/ldr/ezkit21569_preload.dxe,21569/Debug/21569.dxe" --datafile "0,out,output.txt,binary,values,40,1,breakpt" --breakpoint "0,breakpt"
Question:
Can ‘—datafile’ command also be used to rd/wt IOP registers?
Answer:
Yes, “--datafile" command can be used to read or write the IOP registers directly. But we can also read the register values via code and store them in a variable to then read via “--datafile".
Question:
Are there any file location demands of configuration file when ‘-@/ --config’ command used?
Answer:
The config file can be located anywhere and either a full path or a path relative to the current working directory must be used.