PIC18 > PICANalyser
Home

CAN bus analyser with PIC18F458

A CANalyser is a tool dedicated to the capture or generation of CAN frames. This system is made up of a board inserted in a computer and a software.

A such a tool is usefull to spy the CAN bus, but also to do some statistics, send test vectors on the bus, evaluate the peripheral performances, or the bus load for instance. The possibilities have no limit !


The PIC18F458 of Microchip has got one serial communication port and another one for the CAN bus. With a such PIC18 it's possible to build a basic CANanaylser : the PICANalyser.

 

> Hardware prototype

The first action is to build the hardware otherwise the CAN bus spy will not be possible. Rather than routing immediatly the circuit with Eagle, I've decided to do a prototype from an ELEX board provided by Sélectronic in France :

Here is the result :


About the embedded software the application will use the real-time kernel PICos18.

 

> Embedded software

The embedded software is based on the PICOS18 real-time kernel, first because the system must show a maximum reactivity, and also in order to let other tasks run during sleeping time.

The main features of the software are :

The sources are not provided. The PICANalyser is a product from the Pragmatec company and the version available on the SoftElec web site is a Beta version. Its reliability and efficiency are not warranty. To purchase commercial version of the PICANalyser for PIC18F458 please contact the sales departement of Pragmatec: contact@pragmatec.net.

Here is the HEX fiche to load into the PIC18.

 

> The Windows™ application

The software has been designed with Borland Builder 3.0 on a Windows 98 platform. It is running also on the other Windows platforms of Microsoft.

The software is provided in version v1.00 Beta :

To avoid any trouble do what follows :

Download the Windows software : PICANalyser.exe
Dowload the COM manager dll : COM.dll

The sources are not provided. The PICANalyser is a product from the Pragmatec company and the version available on the SoftElec web site is a Beta version. Its reliability and efficiency are not warranty. To purchase commercial version of the PICANalyser for PIC18F458 please contact the sales departement of Pragmatec: contact@pragmatec.net.