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.

C6EZRun Problems!

Other Parts Discussed in Thread: OMAP3530

My program is running good in the arm11. The procedural framework is as follows: A, the main program; B, the video stream decoding and display; C, image decoding and display; D, audio player and so on. B, C, D were compiled into a dynamic library, When we use the command to run the A program, We can load the B, C, D different functional modules by adding (-b-c-d) additional parameters.
Now I want to enhance the running speed of my program. So i choose the Omap3530, I want to run the video stream decoding on DSP core.
So first, I do a test. I divider the B program into two parts:
part1,video stream transfer to DSP and display the decodered data to LCD. part1 run on the ARM core.
part2,decoder complete the non-standard video decoding.part2 run on the DSP core.
I compiled the part1 to part1.lib by C6EZRunlib.Then i compiled the part2 and link part1.lib to produced a Executable program. I run the loadmodules.sh and the test program. The result is right.
Now In order to dischange my main framework, I want to compiled the part2 and link part1.lib to a dynamic libraries. the dynamic libraries appear. But i run the A program, The Error occurred. I think it may be wrong to link a DSP static library to a dynamic library. Please tell me how can i do? my email is: david@kingsem.com. Thanks!

  • Hello,

    What device is this for?

    Regards,
    Marc

  • I also tried to use a c6run library with an application that use dlopen and other dl.. APIs under Linux, but this did not work.  I tried various linker tricks with GCC to try to get it to include the entire static library into the shared library, but I could never get this to work.  I eventually gave up and just made my shared dynamic libraries into static libraries and just linked everything statically.  I'm not expert enough in the way GCC and shared Linux libraries to know if there is a correct way to do this, but I think adding support to C6EZRun to generate shared libraries would be useful.

    Regards, Daniel