Hi All, it looks like Denx does have drivers for the CAN hardware on the 5200. It appears to be a derivative work of Peak Systems (http://www.peak-system.com) PCAN software. I skimmed the source code and they have a driver that hooks the PCAN driver (they also support devices such as the SJA1000 chip and a couple other products from peak-system). The include in the source tree a command line app for transmitting and receiving messages as well.
Based on skimming the source code and looking at the pcan web site it appears to support 2.4 and 2.6 kernels, and the peak site indicates that they support the PF_CAN (SocketCAN) stuff built into newer kernels. I'm wondering, maybe Josh/Jamey could bring the flight computer on tuesday and maybe we can play with this a little? http://www.denx.de/en/view/Software/WebHome#Linux_Device_Drivers http://www.peak-system.com/fileadmin/media/linux/index.htm Thoughts? Regards, -Dave On Sun, Feb 1, 2009 at 5:58 AM, Andrew Greenberg <and...@psas.pdx.edu> wrote: > We've looked a bit at our schedule for the capstone, and the decision > between CAN and a UART backchannel really, really, really have to be > made in the next three weeks. > > To even consider CAN as a backchannel, we have to have the MPC5200 talk > CAN on its native CAN peripheral. That means digging up Denx's MPC52000 > CAN peripheral drivers and actually seeing them work, and testing them a > bit. > > We'll talk about this more on Tuesday, but I just wanted to warn > software folks - I guess mostly Dan and Dave here - that we need to know > stuff, soon. We'll have the MPC5200 FC at the next meeting for you to > play with, and I'll bring my CAN2USB adapter. > > Andrew > > -- > ------------------------------------------------------- > Andrew Greenberg > > Portland State Aerospace Society (http://psas.pdx.edu/) > and...@psas.pdx.edu P: 503.788.1343 C: 503.708.7711 > ------------------------------------------------------- > > _______________________________________________ > psas-avionics mailing list > psas-avionics@lists.psas.pdx.edu > http://lists.psas.pdx.edu/mailman/listinfo/psas-avionics > _______________________________________________ psas-avionics mailing list psas-avionics@lists.psas.pdx.edu http://lists.psas.pdx.edu/mailman/listinfo/psas-avionics