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

canembeddedlibmetrowerksmpc555simulinktargetTarget Support Package FM5

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.

Best Answer

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.