Git Product home page Git Product logo

openxcp's Introduction

OpenXCP

An open source XCP based measurement and calibration system for automotive ECUs

openxcp's People

Contributors

shreaker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

openxcp's Issues

Repo missing stringdata.cpp, writer.cpp, and contentiterator.cpp? Possibly missing other .cpps too?

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.

Segmentation fault and ELF parser issues

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.

XCPError: ERR_OUT_OF RANGE: Out of range error

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"

Question regarding slave implementation

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:

  1. 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?

  2. 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.

XCP Basic Driver Using PcanViewer Interface

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 .
aee4c70d-54d2-4701-9f5a-fcbc77c3464a
please can you give me some advices ?

Best Regards ,
Bechir .

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.