GithubHelp home page GithubHelp logo

Comments (9)

RainerZ avatar RainerZ commented on September 26, 2024 2

Hello,
I created a experimantal branch V5_CANape14 with modifications for compatibility to CANape 14.
So far the issues I found in C_Demo project were:

  • A2L V1.71 is not supported -> added a quick hack downgrade to 1.70
  • GET_DAQ_CLOCK_MULTICAST is mandatory -> turned it on
  • Created a CANape14 project in ./CANape14/
    Could not reproduce the transport layer counter issue.
    Did not try CPP_Demo. It makes use of A2L 1.71.

Please note thar the TransportLayer counter is used to detect data loss when using UDP as transport layer.

from xcplite.

Z-ZWBY avatar Z-ZWBY commented on September 26, 2024

Hello@balagopa,
which version do you run?V5?
Does the Canpe14 have the configuration the TIME_CORRELATION_GETDAQCLOCK in the path 'DeviceManager/Protocol/Eventlist/ExpertSetting'?

from xcplite.

balagopa avatar balagopa commented on September 26, 2024

CANape ver 14 and Protocol type XCP5(dlc+ctr REtransmit). In that path 'DeviceManager/Protocol/Eventlist/ExpertSetting' we didn't have configured TIME_CORRELATION_GETDAQCLOCK

from xcplite.

balagopa avatar balagopa commented on September 26, 2024

I done this step, here after we able to see the Error XCPsim: Invalid counter in XCP transport layer header:

from xcplite.

RainerZ avatar RainerZ commented on September 26, 2024

The "Invalid Counter" usually error indicates lost UDP packets, which happens at the limits of performance.
But this should not be the reason, because the data rate in the C_Demo example is pretty low (300KByte/s) by default and CANape and XCPlite are be able to handle 100-600 MByte/s depending on PC and network performance.

Does your yellow dt measurement signal (this is the measured ecuTask() cycle time) show a constant 2ms cycle time?
Try to increase ecuPar.cycleTimeUs and see what happens.
Currently it seems to me, that the behaviour of the Windows Sleep() function changed with Windows 11.

from xcplite.

balagopa avatar balagopa commented on September 26, 2024

While trying to start the measurement we able to see ERROR 22h CRC out of range and parallel in write comment window showing Realtime support synchronization: None. Can you please help me out this

from xcplite.

RainerZ avatar RainerZ commented on September 26, 2024

Could you please provide a trace window XCP log, to see which XCP command returns this error and why.

from xcplite.

RainerZ avatar RainerZ commented on September 26, 2024

"Realtime support synchronization: None" just means, that CANape software timesyncronisation is disabled.
Usually, you would enable time synchronisation of XCP timestamps to PC clock in Tools/Options/Miscellaneous/DeviceDriver/ Synchronization Software

from xcplite.

RainerZ avatar RainerZ commented on September 26, 2024

Closed

from xcplite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.