This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Library mysery

Hello,

I have a piece of proprietary code that absolutely needs to be included in the project as a library. The problem is, that once the .lib file is included, the controller hangs (abort, or not - RTX driven system) after about a minute or operation (library installs a UART ISR). If I replace the library with the only source file used to build it - there is no problem at all! Did you encounter something similar with MDK? Any ideas?
By the way, how can one contact support? I'm being redirected to this ARM site, I registered but nothing happened...?

Parents
  • Aha...!

    By the way, I moved my ISR outside of the library (it calls a library function), and increased the size of my UART hardware buffer. Did not see hangups since, but I remain doubtful. If the ISR is placed inside the library, practically nothing helps! Smells like a tool-chain issue to me. I will try to write a test application in my free time (what is that?). By the way, there are quite some issues with MDK 4.12 that are pending a solution (C runtime library etc.).

Reply
  • Aha...!

    By the way, I moved my ISR outside of the library (it calls a library function), and increased the size of my UART hardware buffer. Did not see hangups since, but I remain doubtful. If the ISR is placed inside the library, practically nothing helps! Smells like a tool-chain issue to me. I will try to write a test application in my free time (what is that?). By the way, there are quite some issues with MDK 4.12 that are pending a solution (C runtime library etc.).

Children