Comments (9)
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.
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.
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.
I done this step, here after we able to see the Error XCPsim: Invalid counter in XCP transport layer header:
from xcplite.
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.
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.
Could you please provide a trace window XCP log, to see which XCP command returns this error and why.
from xcplite.
"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.
Closed
from xcplite.
Related Issues (20)
- running XCPlite on a headless system HOT 1
- Incorrect IP address in the A2L file(XCPLite V5) HOT 12
- Segmentation Fault using local variables.. HOT 1
- Memory leak pthread_create HOT 1
- New release version
- Multiple instances for c++ application
- CPP_Demo memory dump
- New Release Version
- No function to create physical calibration parameter
- Help HOT 3
- New Release Version
- The functionality corresponding to XCP_ENABLE_SO has not been implemented HOT 1
- Can XCPlite and CANape be run on the same machine? HOT 2
- Why does XcpSetDaqListMode overwrites flags to be mode? HOT 1
- Possibility using virtual address HOT 3
- Timeout: No response of the request msg received HOT 7
- Heap-use-after-free in socketGetLocalAddr
- XcpCreateEvent cycleTimeNs parameter mismatch in C_Demo HOT 1
- git markings in the source files HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xcplite.