This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
What options are available in code composer to get data into and out of the processor for testing.
At the moment I am using the load memory to load some precomputed values into a memory location, and then I can validate the code. Is there a way to automate the load memory function so every time I run it, it will 'load memory' at a given point?
Are there alternative ways to send test data to the board for testing through code composer?
Hello,
If the data you are loading is in the *.dat format, you can set a breakpoint at the desired location where you wish to load the data and configure the breakpoint to read data from a file and load a desired amount to a specified location. This can be done from the breakpoint peroperties:
If you are wish to do a raw binary transfer in one shot, you can change the "Action" to "Execute Expression (GEL)" and then specify the GEL_MemoryLoad call to load memory from your file. This option will work for dat, coff and binary files.
GEL_ MemoryLoad(startAddress, page, length, "fileName", "[bitsize]", "[swap]")
For more information on the above GEL call, check the Help documentation that ships with CCS.
Thanks
ki