logo elektroda
logo elektroda
X
logo elektroda

CAN BUS analyzer, simple and effective

remzibi 9372 6
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • CAN BUS analyzer, simple and effective

    Effects of recent works and activities with CAN buses. I sat down and wrote soft to work with CAN BUS, it is supposed to work as an analyzer, recorder / player, bomber etc.
    The assumption to achieve maximum functionality with relatively cheap hardware.
    As STM32F103 hardware with any USB-Bridge (it is suitable for non-clogged buses), or STM32F042 with native USB, I wrote the firmware for both of these devices.
    PC software written in C # still under development. Support for CAN1000, 500, 250, 125, 100 kbps bus speeds so far. Frames 11 and 29 bit, hardware control from MCU.
    Coloring of changing CAN data seen in PassThru Scope. Monitor and tracer seen from the Peak analyzer software (it's a Mercedes in ? analyzers), other ideas and functionalities seen in others, including hobbyists from the east. The photos show prototypes from BluePill and with a purchased module for F042. In the video, a preview of how it works on F042 with native STM USB.
    Software frame filtration.

    I added the double buffering extension and now it no longer flashes like it does in the video.

    To do: hardware filtration on the CAN controller of the processor. Adding goodies to broadcasting custom frames and a bomber.

    [movie: c8118cf661] https://filmy.elektroda.pl/78_1637505465.mp4 [/ movie: c8118cf661]
    CAN BUS analyzer, simple and effective CAN BUS analyzer, simple and effective CAN BUS analyzer, simple and effective

    Cool? Ranking DIY
    About Author
    remzibi
    Level 24  
    Offline 
    remzibi wrote 1382 posts with rating 862, helped 34 times. Live in city Rumia. Been with us since 2002 year.
  • ADVERTISEMENT
  • #2 19726348
    -rafal-
    Level 15  
    Sometimes DIY under construction is not about sharing your work progress (something more than screenshots) about an electrode is not about sharing your work? In general, when it comes to such things, understand how Vector's CANoe works, for me the best hardware and software I have ever dealt with.
  • ADVERTISEMENT
  • #3 19726643
    Spacewalker
    Level 33  
    rediscovered wheel ........, hardware from ELTA, and it will go on any software
  • ADVERTISEMENT
  • #4 19727759
    DJ_KLIMA
    Level 24  
    Everything's fine by the time ;) in general, most of the simple things are going to be socket can from linux, it works on probably all possible CAN interfaces. But the strength of every analyzer is the software, I have pcan and vector. I like pcan-exploler to simulate a vector for coarse analysis. It's time to lean more and more over CAN FD and LIN because more and more of it.
    There is a good free soft :) and its name is BUSMASTER and I would recommend the author to make a dong for it, at a reasonable price there would be people willing.
  • ADVERTISEMENT
  • #5 19727966
    Samuraj
    Level 35  
    I made a dongle for the CarBusAnalyzer. I use it on a daily basis, it has 2xCAN and 1xLIN
  • #6 19730310
    remzibi
    Level 24  
    Spacewalker wrote:
    rediscovered wheel ........, hardware from ELTA, and it will go on any software


    This module on F042 is just the finished one you bought.
    But, personally, I would prefer to run the processor with quartz for these tasks rather than ext. generator.


    DJ_KLIMA wrote:
    .... It's time to lean more and more over CAN FD and LIN because more and more of it.
    There is a good free soft :) and its name is BUSMASTER and I would recommend the author to make a dong for it, at a reasonable price there would be people willing.

    And slowly you can lean over another prock as well as FD and LIN.

    Samuraj wrote:
    I made a dongle for the CarBusAnalyzer. I use it on a daily basis, it has 2xCAN and 1xLIN

    CarBusAnalizer nice soft, I followed its screenshots, but maybe it's a good solution to make a dongle instead of duplicating the soft.
    Any technical details we can ask?
  • #7 20306346
    remzibi
    Level 24  
    If anyone has time and wants to test the software to play with the CAN bus, which I dared to write, then I invite you. Unfortunately, I don't have time for that.

    Link to the entire playlist initially showing the possibilities, the last video is an invitation to cooperate in testing, addressed to workshop practitioners who can collect experience on living car organisms, for my part, I offer substantive assistance both in terms of CAN from the theoretical side and the operation of the https device: //www.youtube.com/watch?v=GCD5KYsYzmI&list=PLsU2GwRWnWD_iC3D5k85iEmSj_ETQAPPx



Topic summary

The discussion revolves around the development of a CAN BUS analyzer using STM32F103 and STM32F042 microcontrollers, aimed at achieving high functionality with cost-effective hardware. The firmware supports various CAN bus speeds (1000, 500, 250, 125, 100 kbps) and both 11 and 29-bit frames. Users share experiences with existing software tools like Vector's CANoe, PCAN, and BUSMASTER, highlighting the importance of software in CAN analysis. Some participants mention creating dongles for specific applications, such as the CarBusAnalyzer, and express interest in testing the author's software for practical applications in automotive environments.
Summary generated by the language model.
ADVERTISEMENT