Design and Development of Can Sniffer
N. Prabhakar Reddy1, K.Sasidha2
1N. Prabhakar Reddy, M.Tech, Dayananda Sagar College of Engineering, Bengaluru (Karnataka), India.
2K.Sasidha, Associate Professor Head-Incharge, Dayananda Sagar College of Engineering, Bengaluru (Karnataka), India.
Manuscript received on 18 November 2012 | Revised Manuscript received on 25 November 2012 | Manuscript published on 30 November 2012 | PP: 6-9 | Volume-1 Issue-5, November 2012 | Retrieval Number: E0344101512/2012©BEIESP
Open Access | Ethics and Policies | Cite | Mendeley | Indexing and Abstracting
© The Authors. Blue Eyes Intelligence Engineering and Sciences Publication (BEIESP). This is an open access article under the CC-BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/)
Abstract: Controller Area Network (CAN) is used extensively in automotive applications, with in excess of 400 million CAN enabled microcontrollers manufactured each year. CAN messages could be calculated and hence guarantees provided that message response times would not exceed their deadlines. This seminal research has been cited in over 200 subsequent papers and transferred to industry in the form of commercial CAN schedulability analysis tools. These tools have been used by a large number of major automotive manufacturers in the design of in-vehicle networks for a wide range of cars, millions of which have been manufactured over the last 8 years. This paper shows that the original schedulability analysis given for CAN messages is flawed. It may provide guarantees for messages that will in fact miss their deadlines in the worst-case. This paper provides revised analysis resolving the problems with the original approach. Further, it highlights that the priority assignment policy, previously claimed to be optimal for CAN, is not in fact optimal and cites a method of obtaining an optimal priority ordering that is applicable to CAN. The paper discusses the possible impact on commercial CAN systems designed and developed using flawed schedulability analysis and makes recommendations for the revision of CAN schedulability analysis tools. The CAN Sniffer Tool is a simple to use low cost CAN bus monitor which can be used to develop and debug a high speed CAN network. The tool supports CAN 2.0b and ISO11898-2 and a broad range of functions which allow it to be used across various market segments including automotive, industrial, medical and marine. The toolkit comes with all the hardware and software required to connect a CAN network to a PC. In CAN bus, the two CAN channels can send/receive CAN messages either with extended or standard ID. All messages received by the CAN interface are sent via UART to the serial port of PC. On the PC the CAN-messages get collected and ordered by CAN-ID. In CAN the communication is done in two-wire, the CAN sniffer can receives the messages based on arbitration process.
Keywords: CAN, UART, CAN-ID, PC
Scope of the Article: Mobile App Design and Development