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.
Hello TMS570 experts
I'm starting a new avionics development using the TMS570LS20216 device programmed in C using CCS v4. One of the challenges I have is not being able to use off-the-shelf code libraries in object code form such as the C runtime library supplied with CCS. I can address this by not using the supplied runtime library at all but write my own that implements the barest minimum functionality necessary.
What is the minimum set of functionality I need to implement in order to bring up the TMS570 from a cold boot and enable me to access all the functions of the built-in floating-point unit without linking in any external (i.e. not written by me) library? Alternatively, is any source code for the runtime library available (we have an NDA with TI) so that I could pick out the necessary parts and reverse engineer some design and requirements from the code?
Many thanks
Nick
Nick,
The source code for the runtime library is included in the compiler release; it's in a zip file called 'rtssrc.zip' in the /lib subdirectory of each compiler release.
The compiler itself is usually installed to the CCS install directory, and can be found under: ccsv4/tools/compiler.
There are instructions and a batch file to rebuild the runtime library in this .zip file.
Will this work for your avionics requirements?
Best Regards,
Anthony
Just thought I'd add one thing.... I'd strongly dissuade you from try to pair a different runtime library (e.g. newlib) with TI's compiler; or vice-versa TI's runtime library with a different compiler like gcc. There's some stuff in the runtime library that works with the compiler and vice-versa, they're not 100% independent. I believe the APIs may be standard, but the implementation isn't standardized which is part of the issue. If you want more information on this, then I'd probably post under the tools forum since the experts are going to be watching that forum. Main point here is to warn you about this before you spend too much time ... I've tried something like this before and found out after a day or two it just wasn't going to work.