eCAN loading problems to TI C2000 C28x3x card; are example only for Vector hardware
1 次查看(过去 30 天)
显示 更早的评论
Hi,
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?
Regards.
0 个评论
采纳的回答
Antonin
2018-11-26
Hi Mike,
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,
Thanks,
Antonin.
更多回答(2 个)
Antonin
2018-11-26
Hi Mike,
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 hope it helps,
Thanks,
Antonin.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!