All projects
professional · Embedded Linux firmware · Sep 2017 — Present

Ewon

Firmware engineer, then architect, on industrial VPN routers

HMS, Nivelles

Ewon

Ewon, an HMS Networks brand, builds industrial VPN routers and data gateways. A machine builder plugs a Cosy or a Flexy into the machine's network and reaches its PLCs from anywhere through Talk2M, Ewon's VPN cloud. The Flexy also collects machine data over industrial protocols such as Modbus, and redistributes it over OPC UA or MQTT.

Embedded developer

Working in the R&D team in Nivelles, I worked on the Cosy 131, Cosy+ and Flexy 201→205 products. I developed many features end-to-end, from the C back-end on a Linux system to the JavaScript/CSS front-end, such as the WAN fallback (multiple interfaces keeping the device always connected) and digital-input alarming.

Close to the hardware:

  • Board bring-up and flashing of new boards, U-Boot, and JTAG/SWD debug probes.
  • SPI peripherals at driver and protocol level; Ethernet and the industrial protocols on top of it.
  • ZeroMQ and Protocol Buffers messaging, NTP time synchronisation, and AT commands to drive the 4G modem.
  • Porting the Yocto distribution to several platforms, writing and adapting recipes and classes.

Debugging and optimising:

  • On target with gdb, gdbserver and core dumps, down to the Linux kernel.
  • Valgrind and static analysis to keep the C code base healthy.
  • Measured optimisation: profile first, then fix.

Daily technologies: C, the Yocto Project, CMake, Bash, Docker, JavaScript/CSS, CLion, Jenkins and Redmine.

Firmware architect

Promoted to firmware architect, I became responsible for keeping the code maintainable and future-proof. I had the opportunity to:

  • Build and manage the CI/CD system with Docker, Jenkins and Gerrit.
  • Master the release chain end to end: development, automated tests, end-to-end tests, changelog and release.
  • Design the move from a monolithic firmware to a modular architecture: separate processes under a supervisor, each isolated in its own chroot, with keep-alive monitoring and inter-process communication.
  • Design the new over-the-air (OTA) update system: an A/B partition scheme on a root filesystem encrypted with the Secure Element, so a failed update always falls back to the previous version.
  • Help architect a new security design based on a Secure Element, a HashiCorp Vault and an encrypted flash file system.
  • Organize the merge with a Global Platform from the Swedish headquarters, restructuring our whole code base.