Diagnostics on Vector CANoe - Part 1

Micael Coutinho,vectorcanoetooling

Vector provides a solid diagnostics framework to communicate with ECU's. Take the first step into diagnostics on Vector CANoe in this article

Diagnostics are one of the most important parts of modern ECU's, especially if they are thoroughly implemented, without being overwhelming. Not only in development, but if you ever saw the MIL (Malfunction Indication Light) coming on, that means some diagnostic went on to deliver such a warning! This is why we love diagnostics here, they are useful. We already made quite a few articles (with more to come) related to diagnostics, but how do we see them in action? Well, one could buy a device that costs very little, a simple OBD-II reader, or, use Vector tools, if you are a total professional. We already explored a bit of their CAPL language, in Vector CAPL Tutorial (opens in a new tab). Today, we will learn how to configure UDS communication in Vector CANoe.

It's safe to say, that before we go too deep into the theory, you should have some basic knowledge of the topics in discussion today. So, you may want to take a read on our articles UDS Overview (opens in a new tab) and UDS Frames and NRC Codes (opens in a new tab), to get an overview of the UDS protocol, if this is new to you, and CAN-TP Overview (opens in a new tab), to learn about the PDUs involved in UDS communication. Although CANoe also supports KWP (KeyWord Protocol), we are not focusing on it today, but we will cover it in the future and compare it to UDS. Another thing to take into consideration is that this will become a series of articles, as it's impossible to cover everything related to CANoe and diagnostics without writing a book! So, we'll deliver this to you in bite-sized pieces.

Let's start! When we open CANoe, you have one tab related to diagnostics. From left to right, let's analyse it:

CANoe diagnostics tab { w: 1178, h: 123 }

CANoe diagnostics tab

From left to right, we have:

From this description, you can see that some of these functionalities overlap. You can do the same as provided in the Fault Memory and Session Control windows in the Diagnostic Console window, just with a lower level of abstraction. The good thing is, you can create a dedicated window on CANoe where this is organized as you see fit. So, there is a user interface for everyone. Lastly, we can see the tab also contains some XCP functionalities. We will leave them for another set of articles, as XCP is a development module, and a bit different from diagnostics. If you want to learn more about it, you can read our article What is XCP (opens in a new tab).

As you can see, today we covered all the categories available for use in CANoe, and it looks like we have some homework! Specially near the end, some new concepts related to heavy duty vehicles started popping up, and we'll for sure cover them in the upcoming articles, as a support base to continue our learning of the powerful Vector CANoe diagnostic features. For today, though, let's digest these categories, refresh some old concepts and enjoy the day. See you in the next part!

© AutosarToday —@LinkedIn