A lift controller's legacy firmware, rewritten for a new microcontroller
The new lift control platform of Intec GmbH is built around a new microcontroller. We rewrote the controller's legacy firmware for it, and on the new chip the main lift logic responds within 5 ms.
- 1The lift controller runs firmware written for its old microcontroller.
- 2A new microcontroller takes its place. Firmware written for one chip does not run on another.
- 3We write the firmware again for the new chip, with its drivers, middleware, lift logic and menus.
- 4The lift runs on the new chip, and its main logic responds within 5 ms.
The old microcontroller is set aside with its firmware. The new one sits in its place, under the four parts of the firmware that were written again: drivers, middleware, lift logic and menus.
Project sheet
- Client
- Intec GmbH
- Industry
- Lift and building technology
- Our scope
- Legacy firmware rewritten for a new microcontroller: architecture, drivers and middleware, the logic of the distributed system, menus on OLED displays
- Stack
- BusCANopen
- OSRTOS
- UIOLED menu system
The challenge
The lift had to behave as before, on a different chip
Firmware is written for one particular chip. How it reads a switch, sends a message or keeps time depends on the microcontroller underneath.
The lift controller of Intec GmbH had firmware written for its old microcontroller. For the new platform, that firmware had to be written again.
It also had to be fast. More than 10 units share one CANopen bus, on which only one unit can send at a time, and the main lift logic must respond within 5 ms.
What we did
Firmware architecture and code for the new chip
We designed the firmware architecture and wrote the drivers for the new chip, the middleware above them, and the logic that makes more than ten units on one bus work as one lift.
A real-time operating system gives the main lift logic priority over everything else the controller does, so it responds within 5 ms.
We also wrote the graphical interface and the menu system for the platform's OLED displays. It is what a technician sees when the lift is set up and serviced.
Units on the bus
- 1Controller
- 2Drive
- 3–7On the car: inputs and outputs, door drive, car panel, position, load
- 8–11A call panel at every landing
Result
The lift controller runs on its new microcontroller
5ms
Response of the main lift logic in hard real time, on the new microcontroller.
From the project>10
Units in the distributed system, on one CANopen bus.
From the project
Oleksii Kvasnikov · Founder and lead engineer
Moving firmware to a new microcontroller
Send us the old code and tell us which chip it has to run on.