Name

oe_freeccp — download a built model image to OpenECU.

Synopsis

oe_freeccp [-check] [-f <image_file>] [-cancardxl] [-pci] [-croid <id>] [-dtoid <id>] [-targetid <station address>] [-b <baudrate>]

Description

OE_FREECCP invokes the freeccp tool to either download a model image to an OpenECU or to check if an OpenECU is available on a CAN link.

The freeccp tool is provided free and unsupported by Pi Innovo. Users are permitted to use this software for commercial and non-commercial purposes.

The freeccp tool relies on a Vector CAN card.

The command options take the following form:

OptionDescription
-checkcheck for an OpenECU device on the CAN link (use appropriate CRO, DTO, station address and baud rate settings as necessary)
-f <image_file>download the build S-record image file (do not use the Intel HEX image)
-cancardxlselect a cancardxl can card
-pciselect a PCI can card
-croidset the CRO CAN identifier (PC to ECU CAN message — default is 1785)
-dtoidset the DTO CAN identifier (ECU to PC CAN message — default is 1784)
-targetidset the station address (default is 0)
-bset the baud rate in kBps (default is 500)

Examples:

oe_freeccp -f step1_image_small.s37

attempts to program the OpenECU device with the built step1 model.

oe_freeccp -croid 400 -dtoid 401 -targetid 2 -b 500 -f step1_image_small.s37

attempts to program the OpenECU device with the built step1 model, using a CAN ID of 400 for the CRO messages, using a CAN ID of 401 for the DTO messages, using a station address of 2 at 500 kBps.

oe_freeccp -check

attempts to talk to an OpenECU device using the default CCP settings.