Hello! Hopefully the attachment is still there this time (I had to zip the file to make it work).
Now I know more why my program didn't get any response at all the first time. The ECU I used had only CCP 1.01 implemented, and the "Test" command is not specified in that version so it is quite obvious that I do not get a the expected response. What is more strange is that the Test command in 2.1 uses the same CRO command code (0x05) as the command for "allocate DAQ list" in version 1.01.
I guess the CCP command set does not support the older version (<2.0) of CCP? There seems to be a great lack of compatibility between the older and the newer variant.
Another comment: The nicanccp.h file in the installation has to be updated to make the code compile:
The last argument in the prototype to the CCPOpen function is defined as "u32 &CCPTaskRef", this must be changed to "u32 *CCPTaskRef".
Regards,
Johan