Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
Hello everyone,
I'm using CCS 7.1.0.00016 on Win7 x64 and I'm trying to build an EDMA example which is using EDMA3 LLD. For this project I'm using SYS/BIOS 6.50.1.12, XDCTools 3.50.0.10 and EDMA3 LLD 2.12.0 (downloaded from here: http://software-dl.ti.com/dsps/dsps_public_sw/sdo_tii/psp/edma3_lld/index.html)
The example that I want to run can be found here: https://gforge.ti.com/gf/project/lld_examples/frs/ under LLDExamples ZIP (I found this link on the main wiki page about EDMA LLD programming (processors.wiki.ti.com/.../Programming_the_EDMA3_using_the_Low-Level_Driver_(LLD)).
They are written for c64x but I need to build and run it on TDA2x's DSP C66x core. I am trying to run the one named "TTO_LLD_example1_async_6455" from tto_lld_6455.zip.
I imported the C code into a new SYS/BIOS > TI Target Examples > Minimal Project (so just the .h and .c files). Next, I reffered to the EDMA3 Driver Datasheet provided by the LLD package inside CCS Help and configured the project to link the following libraries:
In edma.c there is a reference to a semaphore which has to be provided by sys/bios, so I edited my .cfg which came with sys/bios minimal project and added these lines:
var semaphore0Params = new Semaphore.Params();
semaphore0Params.instance.name = "OsSem";
Program.global.OsSem = Semaphore.create(1, semaphore0Params);
The reference was resolved this way.
However, the next build produces linking errors which I cannot resolve and need help with. These are:
undefined first referenced
symbol in file
--------- ----------------
ti_sysbios_family_c64p_EventCombiner_disableEvent__E .../Libraries/edma3_lld_drv_sample.ae66<sample_cs.oe66>
ti_sysbios_family_c64p_EventCombiner_enableEvent__E .../Libraries/edma3_lld_drv_sample.ae66<sample_cs.oe66>
I would appreciate any help with this issue as it is very important that I have a working EDMA w/ LLD as soon as possible. Ideally, if someone has a working example and is willing to share or has a guide on how to build one it would be great.
Thanks in advance.
