08-10-2022 04:10 AM
Hi,
I have encountered some problems in the process of using ADCs toolkit to implement ECU program brushing. I hope to get your professional guidance here.
When I know the checksum (CRC16-CCITT-FLase) of each data block that needs to be uploaded, my entire program can be implemented to upgrade the ECU. Of course, the data transfer phase 34,36,37 service is up and running and the time required is very short. However, now I have encountered a tricky problem. My data is divided into three blocks according to the address. The first two blocks are relatively small, so the data verification result can be run quickly, but the third block is very large, which leads to the long time spent on the data verification. For data verification, the method I use is to use the formula node in LabVIEW software to call the C language code of CRC16-CCITT-FLase.
I wonder if there is any way to solve this problem.
08-10-2022 06:47 AM
Have you tried plain LabVIEW functions?
Have a look at the code here: https://lavag.org/topic/21901-crc-16-ccitt-false-implementation/
08-10-2022 09:28 AM
Crosspost where I suggest using native LabVIEW, caching the result, or performing the math in parallel.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord