How to change many XCP signals at once in the ECU using XCP protocol and CAPL?

779 views Asked by At

I'm actually working with CANoe and CAPL language on the test of some XCP signals in an ECU, thus I need to change those XCP signals all at the same time (as mentionned in the customer specifications) in order to check the behaviour of the software implemented in the ECU with this change, but all I know is to change one signal at a time, how can I implement with CAPL the update of many XCP signals at the same time?

1

There are 1 answers

1
Midas On

The mechanism you're looking for is called page switching. Unfortunately, it has to be configured and enabled in your ECU first.

If it is, then you can use CAPL functions xcpGetCalPage to see what page are you on and xcpSetCalPage to change the page.