Giter Site home page Giter Site logo

jared52005 / monitor Goto Github PK

View Code? Open in Web Editor NEW
19.0 2.0 4.0 6 MB

Logging CAN, KLINE and ISO15765, TP2.0 directly into Wireshark and parsing UDS and KWP2000 data

License: MIT License

Lua 0.13% HTML 4.83% C 87.72% Assembly 6.73% CMake 0.01% Batchfile 0.02% Python 0.01% C# 0.56%
can iso14230-1 iso15765-2 iso9141 tp20 uds

monitor's People

Contributors

jared52005 avatar

Stargazers

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

Watchers

 avatar  avatar

monitor's Issues

WTM.Pcan

Implement PeakCAN into WTM applications as CLI interface

WTM - CAN IDs description file

User is able to specify file in CLI which will describe CAN IDs

  • List of ignored CAN IDs
  • List of IDs which belong to ISO15765
  • Describe file in Software/Readme.md

File is linked to application during startup via CLI, however application will automatically reload the file if it is changed by user externally (add more IDs, remove IDs, ...)

WTM.XL- Implement CLI interface

Missing processing of arguments. Should be able to consume:

  • Baudrate of CAN bus or FlexRay bus (Spy mode)
  • Name of logged interface (CAN, FlexRay)
  • FIBEX path

ESP32-S3 Crash on transmitting TCP packet

Every time when I will try to transmit from KLINE via TCP (IP RAW layer), then LWIP appears to crash on ECU response of 1A9B.
First I was experiencing this:

W (29068) Passive_Kline.c: ISO14230 crap bytes:  
I (29068) Passive_Kline.c: 0x3fc9eca0   00 00 00 00 00 00 00 00  00 00 00 00 00 55 ef 8f  |.............U..|
I (29068) Passive_Kline.c: 0x3fc9ecb0   8f 8f 8f 00 00 00                                 |......| 
Guru Meditation Error: Core  1 panic'ed (StoreProhibited). Exception was unhandled. 

Core  1 register dump: 
PC      : 0x40382165  PS      : 0x00060e33  A0      : 0x80382b0c  A1      : 0x3fce1ad0
A2      : 0x3fcf0014  A3      : 0x9704cd80  A4      : 0x00000280  A5      : 0x3fc9fea9   
A6      : 0x000005a0  A7      : 0xfffffffc  A8      : 0x3fcf7334  A9      : 0x3fcf7348
A10     : 0x00000003  A11     : 0xfffffffc  A12     : 0x3fcf7350  A13     : 0x3fcf733c   
A14     : 0x57355a48  A15     : 0xfffffffc  SAR     : 0x0000001c  EXCCAUSE: 0x0000001d   
EXCVADDR: 0x9704cd80  LBEG    : 0x40056f5c  LEND    : 0x40056f72  LCOUNT  : 0x00000000

Backtrace:0x40382162:0x3fce1ad00x40382b09:0x3fce1af0 0x40375ce1:0x3fce1b10 0x40375d09:0x3fce1b30 0x40375d35:0x3fce1b50 0x4038343d:0x3fce1b70 0x42018bbc:0x3fce1b90 0x42018c3b:0x3fce1bb0 0x42018ca9:0x3fce1bd0 0x4201e535:0x3fce1bf0 0x4201eb06:0x3fce1c20 0x4202a43a:0x3fce1c90 0x4202b17c:0x3fce1cb0 0x42017fd5:0x3fce1cd0 0x42018078:0x3fce1cf0 0x4037fc35:0x3fce1d20  

Then after I have increased memory of tcpwsraw_thread from 4096 to 8192 bytes, error has changed on

----

E (23908) Task_Tcp_Wireshark_Raw.c: Error occurred during sending: errno 5 
W (23908) Task_Tcp_Wireshark_Raw.c: Socket closed

assert failed: lwip_netconn_do_delconn IDF/components/lwip/lwip/src/api/api_msg.c:1161 (netconn state error) 

Backtrace:0x40375b8e:0x3fce1b500x4037c9f1:0x3fce1b70 0x4038342d:0x3fce1b90 0x4202ac13:0x3fce1cb0 0x42017fd5:0x3fce1cd0 0x42018078:0x3fce1cf0 0x4037fc35:0x3fce1d20

I am not sure what exactly is a cause. It might be related to length of a TCP packet. I will need to better pinpoint it and see if it is the issue on ISO15765 and VWTP2.0 and on older ESP32

ESP32 - Firmware Issue

Hey, just tried to use this brilliant project but the ESP32 firmware seems to fail even on just logging a simple UDS request for the VIN.

In Wireshark it logged the RDBI request a couple hundred times before the firmware crashed and rebooted.

Let me know if you need any additional info! (This happened both when tracing datagrams and just the raw socketcan style output)

Guru Meditation Error: Core  1 panic'ed (StoreProhibited). Exception was unhandled.

Core  1 register dump:
PC      : 0x4000c325  PS      : 0x00060130  A0      : 0x800d6793  A1      : 0x3ffc9190  
A2      : 0x00000000  A3      : 0x3ffb4fe2  A4      : 0x00000003  A5      : 0x00000000  
A6      : 0x0000f122  A7      : 0x00000000  A8      : 0x00000000  A9      : 0x3ffc9160  
A10     : 0x00000000  A11     : 0x00000004  A12     : 0x00060b20  A13     : 0x3ffc91fc  
A14     : 0x00000003  A15     : 0xaa90f122  SAR     : 0x0000001f  EXCCAUSE: 0x0000001d  
EXCVADDR: 0x00000000  LBEG    : 0x4000c2e0  LEND    : 0x4000c2f6  LCOUNT  : 0xffffffff  


Backtrace:0x4000c322:0x3ffc91900x400d6790:0x3ffc91a0 0x400d6bee:0x3ffc91e0 0x400d6d4d:0x3ffc9220 0x400d5ff8:0x3ffc9260 0x400d601d:0x3ffc92a0 0x4008b631:0x3ffc92c0 
0x400d6790: Task_Tcp_Wireshark_Raw_AddNewRawMessage at ~/Downloads/Monitor-master/Firmware/ESP32/main/Task_Tcp_Wireshark_Raw.c:270

0x400d6bee: Passive_Iso15765_SingleFrame at ~/Downloads/Monitor-master/Firmware/ESP32/main/Passive_Iso15765.c:60

0x400d6d4d: Passive_Iso15765_Parse at ~/Downloads/Monitor-master/Firmware/ESP32/main/Passive_Iso15765.c:140

0x400d5ff8: ProcessCanElements at ~/Downloads/Monitor-master/Firmware/ESP32/main/Task_CanReconstruct.c:63

0x400d601d: Task_CanReconstruct at ~/Downloads/Monitor-master/Firmware/ESP32/main/Task_CanReconstruct.c:39 (discriminator 1)

0x4008b631: vPortTaskWrapper at ~/esp/esp-idf/components/freertos/port/xtensa/port.c:131

WTM.GUI

Create a project, where all previous buses (J2534, KLINE, XL, PeakCAN) are preset in XML file and running in GUI, probably in some minimalistic Tray icon.

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.