Hello,
I was under the impression that the DSP core in DM814x/DM816x only works with ELF libraries as mentioned in the following threads:
http://e2e.ti.com/support/embedded/tirtos/f/355/p/240763/847209.aspx#847209
http://e2e.ti.com/support/embedded/multimedia_software_codecs/f/356/p/279313/974744.aspx
Yet, it seems to be working with COFF libraries as well. I took the following steps to test this statement:
1. I use the RPE package in DVR-RDK for loading customized algorithms in C674x core of DM8148.
2. Using the xDM GenAlg Wizard of CCS v5, I created a simple xDM compliant source code with IAUDDEC1 interface.
3. Using CCS v.5, I built an ELF static library (.ae674 file) for C674x.
4. I integrated my library into RPE and recompiled the DSP firmware using the discussions in the following thread:
http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/p/268990/990628.aspx
After loading the DSP firmware, I am able to run my xDM sample application successfully.
Then, in my CCS project, I specified the output format to legacy COFF and rebuilt the static library (.ae674 file). Surprisingly, I can rebuild the DSP firmware in DVR-RDK successfully and run the xDM algorithm with RPE using the COFF library.
Please let me know if you confirm that the RPE package can work with both ELF and COFF static libraries. Is there a difference between DM816x and DM814x in this matter? Can I use any COFF library provided by third parties and integrate it in the RPE pacakge?
Thanks,
Mohammad