code for CAN, does not work, but should. cross-compiled on linux using the windriver gcc tools.