車両診断通信 [CanTp] Vehicle Diagnostic Communication Part 31 [Simulation 19] The body of CanTp for A-COMSTACK is cantp.c. Many header files also need to be brought in. Timer interrupt and exclusion are realized by Win32API. 2022.12.13 車両診断通信
車両診断通信 [CanTp] Vehicle Diagnostic Communication Part 30 [Simulation 18] A-COMSTACK, a set of communication stack BSW for AUTOSAR, is released by the TOPPERS Association. CanTp is used in this stack. A-COMSTACK can only be used commercially if you are an AUTOSAR partner. This time, it is used for learning purpose. The off-board tester side for operation check uses python can-isotp. 2022.12.12 車両診断通信
車両診断通信 [CanTp] Vehicle Diagnostic Communication Part 29 [Simulation 17] The code for interrupt emulation is presented. Wait for signal with WaitForSingleObject. xlCanReceive to get various information on receive, send, and error. xlEvent.tag allocates to various processes. 2022.12.11 車両診断通信
車両診断通信 [CanTp] Vehicle Diagnostic Communication Part 28 [Simulation 16] To realize MCAL-CANDRV, it is necessary to reproduce the receive and transmit completion interrupts. The XL driver library notifies the events of received, sent, and error via Win32API event object. Therefore, knowledge of thread and event object handling by Win32API is required. 2022.12.10 車両診断通信
車両診断通信 [CanTp] Vehicle Diagnostic Communication Part 27 [Simulation 15] We are now in the AUTOSAR CanTp section! AUTOSAR has a layered structure of SW-C, RTE, BSW, and MCAL. AUTOSAR CanTp is one of BSW and reproduces ISO 15765-2. 2022.12.09 車両診断通信
車両診断通信 [CanTp] Vehicle Diagnostic Communication Part 26 [Simulation 14] We experimented with changing FC parameters in can-isotp. can-isotp is highly complete. At least, it is much better than those vehicle diagnostic communication whose structure is broken. 2022.12.08 車両診断通信
車両診断通信 [CanTp] Vehicle Diagnostic Communication Part 25 [Simulation 13] We experimented with can-isotp request-response. SF-SF communication -> OK! MF-MF communication -> OK! 2022.12.07 車両診断通信
車両診断通信 [CanTp] Vehicle Diagnostic Communication Part 24 [Simulation 12] Most vehicle diagnostic communication is a single request-response communication. There are some exceptions such as request-only and response-only communication, but they are quite rare. Both the request and response sides are script fatted by the receive thread mechanism. 2022.12.06 車両診断通信
車両診断通信 [CanTp] Vehicle Diagnostic Communication Part 23 [Simulation 11] I changed the FC equivalent to change the behavior of can-isotp multi-frame requests. The behavior is now compliant with the specified STmin. The time parameters for communication are wide enough to allow for synchronization between systems. If it is more than 10[ms], we aim for 11[ms] to ensure that it meets 10[ms] or more. 2022.12.05 車両診断通信
車両診断通信 [CanTp] Vehicle Diagnostic Communication Part 22 [Simulation 10] In the default state of can-isotp, the DLC optimization specification is adopted. If you set padding and MIN_DLC in the parameters passed to CanStack, it switches to the padding specification. 2022.12.04 車両診断通信