Other Parts Discussed in Thread: TMS320F28335
Hi All,
Could anyone please help me in identifying the best method to print the data into the host PC during the execution of Program in target? I'm using TMS320F28335 experimenter kit.
I have some basic idea on the following methods,
1) Printing the data into the RAM location. Then setting a breakpoint in the code once the RAM memory is full and collecting the data from the Ram using the DS scripts. This will be done in a cyclic manner until the end of execution. In this method, I'm not able to set another breakpoint (abort) to return to the debugger at the end of program. I know there are 2 breakpoints available however I'm facing issue in setting second breakpoint.
2) Using built in File I/O operations (semi hosting) supported by the control card. This is comparatively very slow. It is taking several minutes to transfer data. Suppose if the execution is taking 30 seconds, then file I/O operation is taking additional 3 to 5 minutes to transfer data into the host PC through onboard JTAG adapter.
3) Printing the data into the FLASH memory (through some unlock and lock operations). I have not tried this option. If this is possible, then it would be simple for me to collect the data at the end of execution using DS scripts. Also I can able to store all my print data continuously in FLASH (Because I have more space in FLASH) without interrupting the execution.
4) Printing the data directly into the RS-232 port. I understood some hardware setup needs to be done for this method. I have not tried this option as I'm not familiar with the hardware connections. Any help would be appreciated if this is the best method.
Please advice if you have any other new methods or fine tuning the above said methods.
Thanks in advance.
- Anand