Hi, PabloAvalos.
Thank you for your reaction.
The background of the question is as follows.
I made a model with "Simulink".
I build the model and generated the C code.
I implemented the C code in my board project. (The board here is "TWR-KE18F".)
The input and output of the model is "CAN".
At this time, it may be necessary to change the parameters in the model.
However, changing the value of the parameter requires you to edit the model directly and build it again.
I want to improve the efficiency when changing parameters.
So I learned that parameter calibration can be done with "CAN" in "XCP".
(I / O is controlled by CAN, so I want to calibrate the parameters with CAN as well.)
I understand that in "XCP", the PC is the host and the board is the slave.
However, I don't know how to edit the code to implement the "XCP" slave functionality on the board.
Thank you.
Best Regards.