In the diploma thesis we present the Universal Protocol for Measurements and Calibration - XCP, based on a theoretical basis with the ASAM’s documentation standard. In the introductory chapters, we get acquainted with the tools used, as well as with the development environment and the target device used, that is STM32 Nucleo-144 development board. The core part of the thesis covers the entire presentation, structure and usability of the XCP protocol. As a necessary addition to the protocol, the CAN-FD transport
layer, its configuration and functionalities are described below. With the PCAN-View tool and the PCAN-USB FD interface, manufactured by PEAK Systems, we establish a simple CAN network that serves to illustrate demo scenarios of protocol use. The theoretical basis is further supported by the implementation of selected protocol functionalities together with the transport layer and the CAN-FD protocol. The entire implementation of the library is tested on the mentioned development board, which serves as a simulator of the ECU, that is calibrated via a personal computer. In the conclusions, we mention possible additions and extensions to the implementation, as well as its possible further areas of application.
|