eCAN loading problems to TI C2000 C28x3x card; are example only for Vector hardware
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Mike Buba
el 25 de Nov. de 2018
Respondida: ashwinee jadhao
el 21 de Feb. de 2019
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 comentarios
Respuesta aceptada
Antonin
el 26 de Nov. de 2018
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.
1 comentario
Más respuestas (2)
Antonin
el 26 de Nov. de 2018
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 comentarios
ashwinee jadhao
el 21 de Feb. de 2019
can I use thiosn VN1610 for testing PIL using CAN COMMUNICATION
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!