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.
I am using the DSS javascript API to call loadRaw() on a TDA3X DSP1. The purpose is to load an image into DDR.
Javascript code is as follows.
...
dsp1ds.memory.loadRaw(0, n_location, tmpFile,32,false );
...
Based on some experimentation I suspect that the load is done directly to DDR. And DSP1's cache is not invalidated. My theory is that my C program gets a mostly updated input image but some parts of the image are stale from from the previous contents of the data cache.
I have two questions:
1. Does loadRaw() perform any cache invalidate or is that the DSP1's responsibility to invalidate it's cache before the load?
2.The first parameter of loadRaw is "nPage". Should I be setting this to "1" for "DATA" and not "0"?
Thanks,
AYM