How to connect XCP on CAN through Simulink model on Simulink Real-time?
I want to connect my model to a2l variables in my test ECU through XCP on CAN. My XCP transmit address is 0x200 and XCP receive address is 0x300. I do not understand how to use the XCP Transport Layer block from Simulink Real-time.
I have created a model using the blocks shown in the Screenshot. However, I get errors shown in the attached images when I run the model – MAX_CTO from the Connect response (80) and MAX_DTO from the Connect response (2) does not match the value from the A2L (8). I’m not sure if there are any other settings to be configured in the model.I want to connect my model to a2l variables in my test ECU through XCP on CAN. My XCP transmit address is 0x200 and XCP receive address is 0x300. I do not understand how to use the XCP Transport Layer block from Simulink Real-time.
I have created a model using the blocks shown in the Screenshot. However, I get errors shown in the attached images when I run the model – MAX_CTO from the Connect response (80) and MAX_DTO from the Connect response (2) does not match the value from the A2L (8). I’m not sure if there are any other settings to be configured in the model. I want to connect my model to a2l variables in my test ECU through XCP on CAN. My XCP transmit address is 0x200 and XCP receive address is 0x300. I do not understand how to use the XCP Transport Layer block from Simulink Real-time.
I have created a model using the blocks shown in the Screenshot. However, I get errors shown in the attached images when I run the model – MAX_CTO from the Connect response (80) and MAX_DTO from the Connect response (2) does not match the value from the A2L (8). I’m not sure if there are any other settings to be configured in the model. xcp on can, xcp can transport layer block, ecu a2l read and write MATLAB Answers — New Questions