AnsweredAssumed Answered

Issue with dynamic linking (module) in CCES

Question asked by username14 on Jan 19, 2016
Latest reply on Mar 8, 2016 by Kader.M

I am a few issues in using a dynamic link-able module in CCES. I have an application linked to a dynamic link-able library.

I am unable to debug the code of the library (unlike static linking).


sample application -- call to entry point function of DLM (declared in the dlm.ldf).


An then an error occurs "ERROR: *** Address supplied is invalid *** with PC at: 0x125ede ()"


Turns out that whenever a built in function is called the code seems unable to branch to or return from it.


In the above case when I removed a call to "memset()" and the code moved to another location but failed at another point where another built in function like divide, log etc was called.


The LDF file used to build the DLM is attached. The two entry points exposed to the application are mentioned below





Please help.