An open source XCP based measurement and calibration system for automotive ECUs
shreaker / openxcp Goto Github PK
View Code? Open in Web Editor NEWAn open source XCP based measurement and calibration system for automotive ECUs
License: Other
An open source XCP based measurement and calibration system for automotive ECUs
License: Other
Hi,
Trying to run this on Ubuntu, and qtcreator 6.0.2 throws errors requesting cpp files as the implementation match is not there for QtCSV::StringData and QtCSV::Write. Looks like you have also modified it from the general qtcsv implementation, so would appreciate those files to test some XCP on my end.
Also, does this base work where I can connect a Linux PC to a Vector VX to perform XCP over Ethernet? (PC Master and VX slave). Any thoughts on how to do that is appreciated too.
Sounds good.
Seeing a segmentation fault in small_vector.hh when performing the push_back at line 167. This is creating issues at the ELF parser level.
In expr.cc, line 42:
stack.reserve(arguments.size());
for (const taddr *elt = arguments.end() - 1;
elt >= arguments.begin(); elt--)
stack.push_back(*elt); // <- The value of elt is 0xfffffffffffffff8, which means the loop should be auto, despite which the seg fault occurs.
Which uses small_vector.hh's:
void push_back(const T& x)
{
reserve(size() + 1);
new (end) T(x);
end++;
}
How can I fix this and can anyone provide an ELF file they have tested with?
Thanks.
User
This is the log I am seeing for my XCP DAQ. After this, the XCPEvent throws the XCPError:ERR_OUT_OF_RANGE. Why?
"SENT CMD" "255" "FF 00"
"RESP." "CONNECT" "FF 3D 80 FF FA 00 01 01"
"CMD" "GET_STATUS" "FD"
"SENT CMD" "253" "FD"
"RESP." "GET_STATUS" "FF 20 00 FF 00 00"
"CMD" "FREE_DAQ" "D6"
"CMD" "ALLOC_DAQ" "D5 00 01 00"
"CMD" "ALLOC_ODT" "D4 00 00 00 01"
"CMD" "ALLOC_ODT_ENTRY" "D3 00 00 00 00 01"
"CMD" "SET_DAQ_PTR" "E2 00 00 00 00 00"
"CMD" "WRITE_DAQ" "E1 FF 00 00 28 6A 80 50"
"CMD" "SET_DAQ_LIST_MODE" "E0 00 00 00 01 00 01 00"
"CMD" "START_STOP_DAQ_LIST" "DE 02 00 00"
"CMD" "XCP_START_STOP_SYNCH" "DD 01"
"SENT CMD" "214" "D6"
"RESP. CMD: D6" "Payload: " "FF"
"SENT CMD" "213" "D5 00 01 00"
"RESP. CMD: D5" "Payload: " "FF"
"SENT CMD" "212" "D4 00 00 00 01"
"RESP. CMD: D4" "Payload: " "FF"
"SENT CMD" "211" "D3 00 00 00 00 01"
"RESP. CMD: D3" "Payload: " "FF"
"SENT CMD" "226" "E2 00 00 00 00 00"
"RESP. CMD: E2" "Payload: " "FF"
"SENT CMD" "225" "E1 FF 00 00 28 6A 80 50"
"SENT CMD" "224" "E0 00 00 00 01 00 01 00"
"RESP. CMD: E0" "Payload: " "FF"
"SENT CMD" "222" "DE 02 00 00"
"RESP. CMD: DE" "Payload: " "FF 00"
"SENT CMD" "221" "DD 01"
"RESP. CMD: DD" "Payload: " "FF"
Very nice Thesis and implenentation. Helped me a lot to better understand how the ethernet communication with Aurix works. I am a student and also trying to implement XCP on an Aurix TC277 but I got some questions regarding the slave implementation:
In ipStackAurix.c you used header files:
#include "Ifx_Lwip.h"
#include <Tft/conio_tft.h>
#include "HM_Config.h"
But I could not find those files anywhere online. Could you please provide those header files too?
I noticed that the ipStackAurix.h is not used anywhere in the provided files. Does it have to be implemented somewhere? I am just wondering if you used only the files you provided on github or also some additional files.
Hello Michael ,
I would like to use XCP BASIC Driver to make some measurement , the Hardware that i had is Pcan and and IC5700 ,
the software : Winidea , pcanviewer ,
As first step , the connection and other commands work perfectly when i send it in the Pcan viewer , but when i want to configure the DAQ "Dynamic Configuration" i found a problem in the phase of Start_stop_synch DD 01 ,
i use a standrad CAN Not CAN FD .
please can you give me some advices ?
Best Regards ,
Bechir .
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.