MATLAB Answers

Why can't the CCP block of C2000 Embedded Coder Support Package work?

2 views (last 30 days)
zy1
zy1 on 28 May 2019
Answered: ming li on 8 Aug 2019
I inatalled C2000 Embedded Coder Support Package in matlab2017a,and when I attempt to run the package sample"c28x_ccp_ert.slx" ,there have some errors occurred,but code generation is successfully.
screenshot.png
screenshot1.png
screenshot2.png
I can download code to the F28335 board but I can't connect to the target via from INCA to do the calibration work.I want to kown if the a2l document"c28x_ccp_ert.a2l" is correct.
screenshot3.png
So I have two questions:
1.Why the CCP Sample model has some running errors?
2.Why can't I connect the target via from INCA to do the calibration work?

Accepted Answer

Venkatesh Chilapur
Venkatesh Chilapur on 28 May 2019
Hi,
Our examples are tested to work with Vector Hardware only. Please refer the below post for the same:
On setting up the host CAN hardware to be able to connect to target via CAN communication please refer the documentation page:
Regards.
Venkatesh C
  1 Comment
zy1
zy1 on 28 May 2019
Thanks for your answer .
Does it have some methods for example modify some configuration,that can make the examples work with INCA?

Sign in to comment.

More Answers (1)

ming li
ming li on 8 Aug 2019
A2L automatically generated by MATLAB can only connect CANape, while Inca cannot identify it. A2L needs to be adjusted in format, and some keywords need to be modified. Currently, there is no automatic conversion tool.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!