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.

[参考译文] TDA2HF:在 TDA2X 下运行的 IPC 示例

Guru**** 656470 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/915570/tda2hf-ipc-example-running-under-tda2x

器件型号:TDA2HF

您好、TI

我使用了示例"http://software-dl.ti.com/processor-sdk-rtos/esd/docs/latest/rtos/index_how_to_guides.html#run-ipc-examples-on-am572x"

我的器件是 TDA2X,没有此平台的示例,因此我将该平台设置为“ti.platforms.evmDRA7XX" at all the makefile from dra7’example,

(..\IPC_3_45_00_00\examples\DRA7XX_BIOS_elf\ex01_hello)。  

编译工作正常、生成2个 .xe66文件  

----------------------------------

make[2]:离开目录'e:/Users/abdcustom/workspace_v6_2/CmIpcDemo/dsp2
使 profile = release hello_dsp2.x
make[2]:输入目录'e:/Users/abdcustom/workspace_v6_2/CmIpcDemo/dsp2
编号
#生成 bin/release/configuro/linker.cmd ...
E:/ti/VISION_SDK_02_05_00_00/ti_components/os_tools/windows/xdctools_3_30_04_52_core/xs --xdcpath="E:/ti/VISION_SDK_02_05_00_00/ti_components/os_tools/bios_6_40_03_39/packages;E:/ti/VISION_SDK_02_05_00_00/ti_components/os_tools/ipc_3_30_00_05_eng/packages;E:/ti/VISION_SDK_02_05_00_00/ti_components/os_tools/windows/xdctools_3_30_04_52_core/packages
           xdc.tools.configuro -o bin/release/configuro \
           t ti.targets.elf.c66 \
           -c E:/ti/VISION_SDK_02_05_00_00/ti_components/cg_tools/windows/c6000_7_4_2 \
           -p ti.platforms.evmDRA7XX:dsp2 \
           -b ./shared/config.bld -r 版本\
           -cfgArgs "{\
               配置文件:\"释放\"
           }" Dsp2.cfg
正在制作 package.mak (由于 package.bld)...
正在为软件包配置生成接口(因为 package/package.xdc.inc 比 package.XDC 旧)...
从 package/cfg/Dsp2_pe66.cfg 配置 Dsp2.xe66 ...
cle66封装/cfg/Dsp2_pe66.c……
编号
#生成 bin/release/obj/HelloDsp2.oe66...
e:/ti/VISION_SDK_02_05_00_00/ti_components/cg_tools/windows/c6000_7_4_2/bin/cl6x -c -qq -pdsw225 -ppd=bin/release/obj/HelloDsp2.oe66.dep -ppa -O2 -@bin/release/configuro/compiler.op-i. --output_file=bin/release/obj/HelloDsp2.oe66 -fc HelloDsp2.c
编号
#生成 bin/release/hello_dsp2.xe66...
e:/ti/VISION_SDK_02_05_00_00/ti_components/cg_tools/windows/c6000_7_4_2/bin/cl6x -z -w -q -c -m bin/release/obj/hello_dsp2.xe66.map -o bin/release/hello_dsp2.xe66 bin/release/obj/HelloDsp2.oe66 bin/release/configuro/linker.cmd -l E:/ti/VISION_SDK_02_05_00_00/ti_components/cg_tools/windows/c6000_7_4_2/lib/libc.a

make[2]:离开目录'e:/Users/abdcustom/workspace_v6_2/CmIpcDemo/dsp2
make[1]:离开目录'e:/Users/abdcustom/workspace_v6_2/CmIpcDemo/dsp2
E:\Users\abdcustom\workspace_v6_2\CmIpcDemo>

--------------------------------------

然后我将它们加载到 tda2x 芯片中。自由运行时间超过3分钟...

DSP1结果为:

DSP2结果为:

对于这个示例、这是为什么串行总是计数到5 、但不再增加呢? 这对于 TDA2X 芯片的 IPC 来说是可以的吗?

感谢您的帮助!