All Questions
Tagged with can-bus automotive
28 questions
0
votes
0
answers
49
views
How can I use Python to send CAN XCP messages to a measurement ECU?
I need to use Python to implement the MEASUREMENT and CALIBRATE features for an ECU using the CAN XCP protocol. I already have an A2L file to declare variable names corresponding to ECU addresses. I ...
0
votes
0
answers
34
views
IS CAN NM message suppression possible in AUTOSAR
My ECU sends NM message default at startup. I need to control this behavior to send only on certain events. Is that possible? I'm using EB stack.
0
votes
0
answers
44
views
N_CR and N_AS Timeout in LIN communication
I am new to LIN protocol so far understood LIN communication and implemented the stack which is working fine for me now I want to implement N_CR and N_AS timeout.
I want to know where this timeout is ...
0
votes
1
answer
326
views
CAPL Signal value assignment and read use physical or raw data?
I am new to CAPL and Canoe, my question is when assign value to signal in CAN message should you assign using physical signal like this:
MSG.Signal_A = raw_data * scale + offset;
Or just assign the ...
-1
votes
1
answer
107
views
How do I make the matlab command "arxml.importer" work?
When I execute arxml.importer('file.arxml'), I get the following error warning, over and over:
The file "path\file.arxml" contains:
Warning: AUTOSAR CompuMethod with LINEAR scaling is not ...
0
votes
1
answer
576
views
How to Accurately Check Cycle Time for CAN Messages on Multiple Buses in CAPL using CANoe?
I'm currently working on a CAN network simulation using CANoe, and I am writing CAPL scripts to monitor the cycle time of CAN messages. My setup involves multiple CAN buses that share the same message ...
0
votes
1
answer
81
views
which DataIdentifier (DID) I need to get the voltage from ECU?
I use IsoTPSocketConnection of UDS protocol, I want to get the voltage from the vehicleת I wrote (I show part of the code):
with Client(conn, request_timeout=2, config=config) as client:
response =...
1
vote
1
answer
2k
views
CANDBC and ARXML difference
What is the difference between CAN DBC and ARXML files
In some places people's uses DBC alone but in some places ARXML is used
I want to understand the concept ARXML over the DBC.
How autosar pdu MSG ...
1
vote
0
answers
434
views
How do you give Reference of CallBack function in DaVinci configurator
I am currently writing a Autosar Server CDD. The Motive of this CDD is to notify the Clients once the data available. So the flow will be like,
RX/TX line ---> Communication Driver ---> ...
0
votes
1
answer
2k
views
CAPL programming -how to manipulate messages from 1 ecu and send it to target
I am completely new to CANoe and CAPL. I am trying to implement a man in the middle manipulation between a sender ECU and target ECU.How can i write code in capl to recieving messages from sender ecu ...
0
votes
0
answers
1k
views
How to detect ECU's NM Messages in CAN remote wakeup?
I am trying to implement the remote wakeup scenario in CAN network with Infotainment ECU. I am currently referring this AUTOSAR Network management document for the implementation
https://www.autosar....
0
votes
1
answer
4k
views
How to Wakeup from Sleep during CAN network state transition?
I am trying to understand the CAN network management of AUTOSAR. I am trying to sleep the ECU if there are no CAN message received during IGN cycle. I am blocking the CAN transmission and reception ...
1
vote
1
answer
3k
views
What is CAN Active, CAN passive and Sleep state in CAN Network manager?
I am trying to understand the CAN network management in vehicle. During my research, I got to know that CAN network management(CANNM) will make some Mode state to decide the CAN transmission. Those ...
0
votes
0
answers
57
views
Why don't we need ssp for Can 2.0?
In the Can physical, the can driver supports SSP for Can FD.
So, What is the purpose and mechanical SSP?
why don't SSP support Can normal 2.0?
1
vote
2
answers
2k
views
Is CRC already calculated by CAN protocol?
I am in a project and I have to comply with ISO26262 so I need to verify my CAN frame. I am going to check my frame using the CRC calculation. My question is: Should I do this calculation in my ...
0
votes
1
answer
7k
views
Configuration of "0x1902: Report DTC by Status Mask" in Unified Diagnostic Services (UDS)
I am using Read DTC Information(0x19) protocol, Subfunction: 0x02: Report DTC by Status Mask
But my question is specifically related to 0x1902 logic.
I tried to report DTCs by using different status ...
0
votes
2
answers
2k
views
meaning of different data byte format
From the CAN DBC file im taking few Can Messages and assigning values to each signal of Can Messages and then encoding it to send the can message.
for each signal, data is encoded in the different(few ...
0
votes
1
answer
443
views
CAN-bus bootloader standards
I'm developping an open source OTA update system for a few MCUs of a certain project. I wonder if there is some "standard" protocol for CAN-bus based bootloaders. Everything I saw online and ...
0
votes
1
answer
296
views
Tachograph remote authentication
I am trying to do a remote tachograph authentication by sending a RemoteCompanyCardReady cantp message to a VDO tachograph on connector C.
The reply message I get is a nack 7f 31 7f which seems to ...
0
votes
0
answers
237
views
Integrating a RTOS like Erika Enterprise on a hypervisor that can run AUTOSAR application?
I'm new to automotive applications and trying to understand the stack for automotive systems. My goal is to implement a system where I can test AUTOSAR applications.
Currently, I'm looking to ...
0
votes
1
answer
793
views
Can't understand why UDS length seem wrong to me
I'm learning UDS and in the process I came across this data frame logged from a car
Tester,02 10 01
Car. ,10 18 50 01 AA AA AA AA
Tester,30 00 00 .. FLOW CONTROL
Car. ,21 AA AA AA AA AA AA ...
1
vote
2
answers
2k
views
In UDS, is it possible to configure security access to unlock a session?
I have 4 sessions namely Default, Extended, Programming and Supplier session.
The jump to supplier session will happen via extended session. Default -> Extended -> Supplier
But before jumping to ...
2
votes
2
answers
5k
views
How to create a panel in CANoe project with selection of the particular ECU from DBC and selection of the TX/RX message from the selected ECU?
Once after adding the DBC file to CANoe configuration, How to select the particular ECU from DBC and select the particular TX/RX message in the panel?
Brief: I have multiple ECU
let's assume there ...
1
vote
1
answer
3k
views
How to see the error frames of a CAN network with Python-CAN
I wrote the program below,
can = CAN("can0", bitrate=50000, listen_only=True, error_reporting=True)
while True:
msg = can.recv()
print "Msg: ", msg
But it only displays the standard ...
1
vote
1
answer
2k
views
How to implement the UDS protocol over xl-driver library for sending Diagnostics?
i am trying to build UDS protocol over XL-driver library for building an diagnostic application, don't know from where is should start.
0
votes
1
answer
19k
views
how to fix CAN connection errors?
i'm newbie to the field of automotive, i'm trying to make a connection with can bus between CAN box and aurix board and monitor this connection using CANoe software.
i'm only trying to send a simple ...
0
votes
1
answer
3k
views
Sending / Receiving / Configuring TCP/IP Protocol Suite Request / Response Packets in CANalyzer using CAPL
We have requirement to test TCP/IP Protocol Suite ( TCP/UDP/IP/ARP/ICMP/Ethernet) using CANAalyzer / CANoe with CAPL and have below queries :-
Are there any API provided to send / receive /
...
0
votes
1
answer
7k
views
How the Diagnostic Trouble Code(DTC) data is defined in the ECU?
When a diagnostic tool is connected to the server it gets the the DTC.
I want to know how the DTC data is defined and stored in the ECU.