Frequently Asked Questions

Find clear, concise answers to common questions about CAN Real-time Embedded Platform’s (CREP’s) features and use.

What protocols does CREP support?

CREP supports UDS, J1939, XCP and CANopen over CAN. XCP can also be used with UDP/IP for higher bandwidth.

How does CREP simplify application development?

It manages key platform functions like diagnostics, communication protocols and scheduling, letting you focus on innovation. Having single source supplier of the platform makes it easier to handle since same configuration tool and integration used for all modules.

Can I use FreeRTOS instead of the scheduler in CREP?

Yes, the scheduler is optional and can be replaced with e.g. FreeRTOS. Just ensure to initialize the platform correctly and call the platform’s 1ms, 10ms and background tasks.

How do I specify which signals will be available with XCP?

XCP gets the variable/parameter information from a standardized A2L file. It contains variable’s name, description, scaling, datatype, unit and address. The A2L file is generated during the build and it gets information from yaml files. In the YAML file you specify which symbol shall be available in the A2L. The symbol is normally the name but can also be a struct or array element e.g. myStruct.array[2]. The datatype, dimensions and address is taken from the builds debug info (elf file). Extra properties like description, unit or scaling can be added but is optional.

Why is CREP using a dual boot?

If the boot itself shall be possible to be updated in filed then the ECU can be bricked if it looses power or communication during the update process. The dual boot ensures that the ECU will not be bricked in this condition since the new secondary boot will be updated to a download area in memory area. The primary boot validates the new boot before it replaces the secondary boot. After verifying the secondary again it deletes the data in the download area.

What CAN hardware is supported by CAN Logger?

CAN Loggers supports Kvaser hardware which exists in many different versions which will suit all your needs. Kvaser’s virtual drivers are also supported which makes it possible to connect to a PC simulation version of CREP.