Download Server/Loader User Manual
Transcript
directory of your operating system (Windows 95/98: c:\windows\system, and in Windows NT/W2K: c:\winnt\system32). SDK install should have done this for you. With LINUX you should link with liblinuxsl.so which should have been deposited in /usr/local/lib by the installation script. With VxWorks there’s no need to link with a library if the ‘vxwsl.o’ has already been loaded separately onto the system. If this is not the case, either link with ‘vxwsl.o’ or ‘vxwsllib.o’. With RTOS-32 you should link with ‘rtossl.lib’ which should be in hesl\lib\rtos32 of your API&Tools installation directory. Examples Three worked out examples are available on the HUNT ENGINEERING CD: cd:\examples\server_loader_examples\c6x\examples\mysl cd:\examples\server_loader_examples\c6x\examples\sl_api\batch cd:\examples\server_loader_examples\c6x\examples\sl_api\exe The first example, mysl, is the simplest example. It shows you how to create your own Server/Loader using the Server/Loader library. The other 2 examples, in sl_api, show how you can combine the Server/Loader with the API: use the Server/Loader to boot a multiprocessor system, then use the API to communicate with it. In the sl_api example, there are 2 sub-directories, exe and batch. In the batch example the DSP system is booted using the standard Server/Loader. But the Server/ Loader isn't used to serve; instead another program takes over and communicates with the booted DSP system. In the exe example the Server/Loader library is used to reset and boot the DSP system, then the API is used to communicate with the booted DSP system. On WIN32, the 32-bit Microsoft Visual C/C++ is supported (versions 4, 5, and 6), as well as the 32-bit Borland C/C++. For LINUX, the GNU C/C++ compiler is supported. For VxWorks, the GNU C/C++ compiler is supported. For RTOS32, the Microsoft Visual C/C++ compiler is supported. 54 HUNT ENGINEERING Server/Loader USER MANUAL