70 likes | 181 Views
ACS on VxWorks. B.Gustafsson European Southern Observatory. ESO Feb 4 2004. ESO. VxWorks support. Cross Compiler on Sun Support by acsMakefile Flag MAKE_VXWORKS=‘on’ INTROOT (ACSROOT) – vw directory bin/PPC604. Module. Mod – ws – src Makefile + *.cpp files - include
E N D
ACSon VxWorks B.Gustafsson European Southern Observatory ESO Feb 4 2004 ESO
VxWorks support • Cross Compiler on Sun • Support by acsMakefile • Flag MAKE_VXWORKS=‘on’ • INTROOT (ACSROOT) – vw directory • bin/PPC604 ACS with VxWorks
Module • Mod – ws – src Makefile + *.cpp files • - include • lcu –src – Makefile + links to ../../ws/src • - include links to ../../ws/include • tat • Source file: due to use of ACE code for Linux and VxWorks identical • for specific VxWorks code use #if MAKE_VXWORKS . . #else . . #endif ACS with VxWorks
Code • Building binaries and not libraries • Sort of shared libraries • Linking is done on the target when binary downloaded ACS with VxWorks
CORBA • On VxWorks only servers running • Only C/C++ code (no java nor python) • Only one instance of the ORB can run on the LCU • To restart the ORB it is necessary to unload all modules and load them again (or reboot) ACS with VxWorks
Environment • Booting from Sun • No local file system, NFS mount from Sun • bootScript • userScript ACS with VxWorks
Demo Linux client CAN bus VxWorks server Simulator ACS with VxWorks