Our customer asked us to implement the firmware on a low-cost embedded system that would be used as ECU. The system shall run under MQX Operating System, support CODESYS Control Runtime System and CANopen. The runtime system needs to support in “Run Out Of Flash” and “standard” (SDRAM) modes.
We first adapted the MQX layer so some OS objects (Events, semaphores, tasks, etc…) can be called dynamically, after what we ported the CODESYS runtime system to MQX (System components layer). We then developed CODESYS project configurations for both ROOF and STANDARD modes and prepared the corresponding device description files.
A CAN Minidriver was implemented as well as an MQX CAN driver. As log-interface, we implemented and configured a serial interface. Delivery followed the QA process, including automated runtime system tests.
The project was delivered on-time with some customer support for commissioning of the prototype machine.