UDSim icon indicating copy to clipboard operation
UDSim copied to clipboard

Usage

Open vk-gst opened this issue 5 years ago • 3 comments

How does this work when there is no real CAN interface available? I am using ICSim over virtual CAN interface and running UDSim as well on the same interface. I do not understand what I can do with this setup. Could someone explain briefly a bit about what can be achieved with UDSim and ICSim combination?

vk-gst avatar Mar 27 '20 14:03 vk-gst

They are two separate tools with different goals. ICSim is an instrument cluster simulator. The goal of that tool is to teach you how to reverse engineering CAN packets.

UDSim is a tool designed to Target diagnostic packets from shop tools to a vehicle. For instance, you can record a scan tool or another diagnostic tool and have the log analyzed by UDSim. At that point UDSim should be able to emulate the car and fool the tool into thinking it is still taking to a real car. The benefits is to then use the virtual car to do things like fuzz the diagnostic tool or simply use UDSim to simulate a vehicle to demonstrate how some tool would work in a classroom it presentation setting.

The tools are not designed to work together because ICSim doesn't use diagnostic UDS packets.

zombieCraig avatar Mar 29 '20 18:03 zombieCraig

@zombieCraig Thanks for the update. Does the UDSim send a response on reception of an OBD packet? For eg. I sent the following cansend can0 7df#021101, for an ECU reset. I can see on the UDSim in the Simulation mode, a message stating the ECU reset has occurred. But, does UDSim is also supposed to send a reply to the above cansend ? From the Car Hacker's handbook, the response for the above should be 7e8 03 7F 11 11. I do not see this response on the candump.
P.S. My setup does not have any diagnostic tool kits connected. I have tried running the UDSim in learning mode and sent can packets using cansend, as mentioned above.

vk-gst avatar Mar 30 '20 11:03 vk-gst

@zombieCraig Could you please share me a file UDS Can packets INI ? I am researching about it but I don't real Car for get the CAN packet layout. Many Thanks for your share about this tool and data

daihhqn87 avatar Oct 08 '21 13:10 daihhqn87