We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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...?
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.).
Remember that having the ISR in the library affects the linking order, so also order of variables - if you have a buffer overflow, it's important to know what other variables follows the overflowing buffer.