eCAN loading problems to TI C2000 C28x3x card; are example only for Vector hardware
2 views (last 30 days)
I am trying to use CAN communication for loading application to Control Card F28335. I am using CAN Calibration Protocol and External Mode example and Set Up CAN Communication with Target Hardware page as a reference. But this this example requires Vector-Informatik CAN hardware and software. I do not have Vector-Informatik CAN but some other CAN to USB converters. Actually I have two different ones (Lawicel AB's CANUSB and PEAK System's PCAN-USB FD) and both cannot connect to the Control Card and load application. When I Run in External mode I get the folowing message:
Build process completed successfully Searching ASAP2 file for signal information. Searching ASAP2 file for parameter information. Searching DAQ mapping file for DAQ event channel mappings. [Warning: A Java exception occurred trying to load the com/mathworks/toolbox/ecoder/canlib/vector/VectorCAN class: Java exception occurred: java.lang.UnsatisfiedLinkError: com.mathworks.toolbox.ecoder.canlib.vector.VectorCANJNI.get_CAN_MESSAGE_STANDARD()I at com.mathworks.toolbox.ecoder.canlib.vector.VectorCANJNI.get_CAN_MESSAGE_STANDARD(Native Method) at com.mathworks.toolbox.ecoder.canlib.vector.VectorCAN.<clinit>(VectorCAN.java:16) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at com.mathworks.jmi.OpaqueJavaInterface.findClass(OpaqueJavaInterface.java:181) ]
In order for CAN comincatin to work are Vector tools required or can I use any other manufacture ant their CAN to USB converters? Automated SImulink process is loading VectorCAN. What if I have different CAN device?
Our built-in External Mode support over CAN for TI C2000 processors only supports the Vector tools.
The Vehicle Network Toolbox supports the PEAK hardware and would allow you to create a host model to communicate with a target model running on the F28x3x processor. You would have to place eCAN blocks in your target model with this approach which is more manual than External Mode but allows higher throughput.
Note that we only support communicactions to monitor data and tune parameters, we don't have provisions to load the code over CAN at this point.
As an alternative to CAN, External mode is supported over serial for TI C2000 devices.
I hope it helps,
More Answers (2)
Our CAN solution is based on the Vector XL Library which is compatible with pretty much all Vector hardware.
We tested internally using the older CANCaseXL, CANCardXL and the newer VN1610.
The most popular Vector device used to be the CANCaseXL, and is now the VN1610.
I would recommend the VN1610, which I think should also be one of the most cost effective solution.
I hope it helps,