Embedded Systems & Product Development Consultancy · London, UK
Wi-Fi, VHF and mapping-system firmware for a marine AIS transponder already at sea
A marine electronics company makes AIS transponders, the units that let vessels see each other and be seen at sea and on lakes and rivers. Across two contracts we worked on the firmware of a Class A transponder and fixed a Wi-Fi fault on a Class B unit already in service: multi-processor STM32 firmware, the ESP32 link to phones and tablets, the start-up firmware load for the VHF chip, faster map updates over USB, and fixes found in the climate chamber at −25 °C.
At a glance
- Industry: Maritime
- Client: A marine electronics company
- Location: Kent, United Kingdom
- Our role: Firmware for a multi-processor Class A transponder, drivers and bootloaders, VHF baseband loading, Wi-Fi performance, climate-chamber test fixes, a Wi-Fi fault on a Class B transponder
- Platform: STMicroelectronics STM32H7 (Arm Cortex-M7) and STM32F4 (Arm Cortex-M4) on an RTOS; Espressif ESP32; CML Microcircuits AIS baseband processor
- Key technologies: C/C++, RTOS, ESP32 Wi-Fi, USB, SPI with DMA, bootloaders, Python, UML, Eclipse, GCC, Segger J-Link, ST-Link, Git, JIRA
- Services: Embedded software & firmware · Embedded debugging & troubleshooting · Testing & verification · Hardware/software integration
- Outcome: A Class B Wi-Fi fault fixed in half the time allowed; reliable VHF firmware loading, faster map updates and cold-weather fixes on the Class A transponder
The challenge
An AIS transponder broadcasts a vessel’s identity and position over VHF and receives the same from the vessels around it. Class A units are fitted to larger commercial vessels; Class B units to smaller craft. Either way, it is equipment the crew relies on, and it has to start correctly every time and keep working in the cold, the damp and the motion of a boat.
The client’s Class A transponder brings several parts together: two STM32 processors, a VHF baseband chip whose firmware is loaded at every start-up, a 5-inch navigation display showing a world map with the vessel and the traffic around it, and an ESP32 that lets phones and tablets connect and use many of the device’s functions. Its world map has to be updated in the field over USB, and an update that takes too long is one that does not get done. On the client’s Class B transponder, already in service, the Wi-Fi link sometimes dropped while the unit was starting up.
Our role
We worked with the client across two contracts. On the Class A transponder we developed firmware in C and C++ for the STM32H7 and STM32F4 processors on an RTOS, wrote and debugged drivers for the ESP32 Wi-Fi link, USB, and SPI with DMA, and worked on the bootloader. We documented the software architecture and algorithms in UML, took part in peer code reviews, and verified our functions with bench and unit tests. On the Class B transponder we found and fixed the Wi-Fi fault.
System architecture
The Class A transponder runs its firmware on two STM32 processors, an STM32H7 (Arm Cortex-M7) and an STM32F4 (Arm Cortex-M4), on an RTOS. Around them sit the VHF radio, the navigation display, the Wi-Fi module and a USB port.
- VHF radio: a CML Microcircuits AIS baseband processor, whose firmware is loaded by the main processor at every start-up.
- Navigation display: a 5-inch screen with a world map, showing the vessel and the vessels around it at sea, on lakes and on rivers, and letting the crew message them from the device.
- Wi-Fi: an Espressif ESP32 that connects phones and tablets, from which many of the device’s functions can be used.
- USB: map updates through a USB bootloader.
Loading the VHF chip at every start-up
The AIS baseband processor does not keep its own firmware: the transponder loads it into the chip each time it starts. That load was sometimes failing, which leaves a transponder without its radio. We traced the problems in the loading flow and fixed them so the VHF chip comes up reliably on every boot. Along the way we wrote test software for the baseband processor that helped the hardware engineers find and correct an issue in the design around it.
Wi-Fi for phones and tablets
On the Class A transponder, we improved the ESP32’s Wi-Fi performance when several phones and tablets are connected at once. On the Class B transponder, already in service, the Wi-Fi link sometimes dropped while the unit was starting up. We investigated and fixed the fault in half the time the client had allowed for it.
Faster map updates
The world map on the navigation display is updated over USB through a bootloader. We worked on that USB bootloader and improved its speed, so a map update takes less of the crew’s time.
Down to −25 °C in the climate chamber
The transponder was tested in a climate chamber, and at −25 °C its software behaved abnormally. We traced the causes and fixed them, so the unit behaves the same in the cold as it does on the bench.
Unit testing in Python
We wrote Python scripts for unit tests alongside our firmware. One of them showed that message timings in another part of the code were outside the industry standard, which let the issue be corrected before it reached the field.
Results
- A Class B Wi-Fi fault, on a product already at sea, fixed in half the time allowed.
- Reliable loading of the VHF baseband firmware at every start-up on the Class A transponder.
- Faster map updates through the USB bootloader.
- Better Wi-Fi performance with several phones and tablets connected.
- Abnormal behaviour at −25 °C traced and fixed after climate-chamber testing.
- Test software that helped the hardware engineers correct the design around the VHF chip.
Fixing firmware on a product already in the field?
Tell us what it does and when it goes wrong.
An engineer will read it and reply within one business day.
Latest from the blog
SLAM in a living room: how a robot vacuum builds a map
November 24, 2026
2.3K zones: what a robot sees in 3D with ST’s VL53L9
November 10, 2026
Ultra Low Power Microcontrollers: STM32L5 Series
March 7, 2020