Why I do receive linker errors when I generate code using Embedded Target for Motorola MPC555 1.1 (R13SP1)?

2 views (last 30 days)
If I use Embedded Target for Motorola MPC555 1.1 (R13SP1) with my Simulink model that includes a signal defined as follows:
inputav = canlib.Signal;
inputav.PhysicalMin_ASAP2 = -1e25;
inputav.PhysicalMax_ASAP2 = 1e25;
inputav.Units_ASAP2 = 'None';
inputav.LongID_ASAP2 = '1';
I receive the following linker error when I attempt to generate code from this model:
### mwldeppc Linker Error:
# undefined: 'c_fire_DAQs'
# Referenced from 'rt_OneStep' in mpc555dk_main.o
### mwldeppc Linker Alert:
# Link failed.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This has been verified as an error within the documentation for Embedded Target for Motorola MPC555 1.1 (R13SP1) in the section defining a canlib.Signal object. The documentation should read as follows:
In order to use the canlib.Signal objects in Simulink 5.1 (R13SP1), the model must contain a CAN Calibration Protocol block, which is available in the following library:
Embedded Target for Motorola MPC555/MPC555 Driver Library/CAN 2.0B Controller Module/CAN Calibration Protocol
To resolve the linker error, insert the CAN Calibration Protocol block into your model. A dialog entitled Target Options Configuration will open, be sure to select "Yes" in answer to the question. This process ensures that the file containing the definition of 'c_fire_DAQs' will be compiled and linked.

More Answers (0)

Products


Release

R13SP1

Community Treasure Hunt

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

Start Hunting!