Embedded Firmware and Diagnostics for EV and Automotive Teams

For EV makers, Tier 1 suppliers and automotive electronics teams, EmbedCrest develops ECU firmware, CAN, CAN FD and LIN communication, UDS diagnostics, bootloaders and telematics, with HIL and SIL validation. The outcome is controllers that integrate cleanly on the vehicle network and arrive at your safety and homologation process with traceable engineering evidence.

Technically reviewed by the EmbedCrest engineering teamUpdated

Who this is for

  • EV and Battery Engineering Lead
  • Tier 1 Electronics Engineering Manager
  • Vehicle Integration Lead
  • CTO at an EV or Mobility Startup

Outcomes we work towards

  • Fewer integration faults on the vehicle network
  • Faster diagnosis of field and end of line failures
  • Safer firmware updates in service
  • Traceable test evidence for your safety process

Vehicle electronics fail at the boundaries between ECUs

Modern EVs and two and three wheelers combine battery packs, motor controllers, chargers, displays and telematics from different suppliers. Most late defects appear where these meet: mismatched CAN signal definitions, bus load spikes, missing diagnostic services, bootloaders that cannot recover from a failed flash. Teams under launch pressure often test on the bench with ideal conditions, so timing and fault handling problems only surface during vehicle trials, when every fix costs weeks and supplier coordination.

Scope

What We Design, Build and Hand Over

  • ECU application and driver firmware on automotive grade microcontrollers
  • CAN, CAN FD and LIN stacks, DBC driven signal definitions and network management
  • UDS diagnostics over CAN with DTC handling, data identifiers and routines
  • Secure bootloaders and OTA update paths with rollback and version control
  • Telematics and gateway units linking vehicle buses to cellular backends
  • Sensor integration for motor, battery, thermal and driver assistance subsystems
  • HIL and SIL test benches, restbus simulation and automated regression
  • MISRA C coding practice and requirements traceability for your safety case
Architecture

Where our firmware sits in the vehicle network

A typical EV architecture links domain controllers over CAN or CAN FD, with a gateway or telematics unit bridging to the cloud. We work at ECU and gateway level, keeping signal definitions, diagnostics and update paths consistent across suppliers.

  1. Step 1

    Sensors and actuators

    Current, temperature, position and speed sensors, contactors, motors and driver inputs.

  2. Step 2

    ECU firmware

    Drivers, control tasks, safety monitors and RTOS scheduling on the target microcontroller.

  3. Step 3

    Vehicle networks

    CAN, CAN FD and LIN messaging defined from a shared DBC or LDF.

  4. Step 4

    Diagnostics and bootloader

    UDS services, fault memory and secure flashing through the diagnostic port.

  5. Step 5

    Telematics gateway

    Bus logging, cellular link, OTA staging and remote diagnostics.

  6. Step 6

    Fleet backend

    Vehicle data, fault trends and update campaigns for service teams.

Where our firmware sits in the vehicle network
Use Cases

Where Teams Use This

Vehicle control unit for an electric two wheeler

Firmware coordinating throttle, motor controller, battery pack and display over CAN, with fault handling, limp modes and UDS diagnostics so service centres can read and clear faults with standard tools.

CAN FD migration for a battery and charger subsystem

Moving pack and charger messaging from classic CAN to CAN FD to carry more cell data, while keeping backward compatible gateways and verifying bus load and timing on a restbus setup.

Telematics unit with remote diagnostics

A gateway that logs selected CAN traffic, reports faults and location over LTE M or 4G, and stages verified firmware updates for connected ECUs during safe vehicle states.

Driver assistance sensor processing

Embedded processing for camera or radar inputs on driver assistance features, with deterministic timing and data logging used by the vehicle team for validation drives and calibration.

End of line test and flashing station

Automated station software that flashes ECUs, runs functional checks over UDS and records results per serial number, giving production traceability and quick root cause on rejects.

Process

How the Work Runs

  1. Requirements and interfaces

    Review system requirements, DBC files, diagnostic specification and any safety requirements allocated to the ECU or gateway.

  2. Software architecture

    Define task model, communication stack, bootloader and update strategy, and the verification plan aligned with your process.

  3. Firmware development

    Implement drivers, application logic and diagnostics under MISRA C practice, with unit tests and static analysis in CI.

  4. HIL and SIL validation

    Run restbus simulation, fault injection and regression on benches before the firmware reaches a vehicle.

  5. Vehicle integration support

    Support bench to vehicle integration, trace analysis and defect fixing with your validation and supplier teams.

Deliverables

What You Receive

  • Software architecture and interface specification
  • Firmware source with build and flashing scripts
  • CAN or CAN FD message and diagnostic implementation report
  • Bootloader and OTA update design with rollback tests
  • HIL and SIL test cases with execution reports
  • Static analysis and MISRA C compliance report
  • Requirements traceability matrix for your safety process

Have a similar challenge?

Share a short brief; an engineer replies within one business day. How engagements work

Prefer a fixed scope start? Embedded Architecture Blueprint

Discuss Your ECU Firmware Project
FAQ

Questions About EV and Automotive

Can EmbedCrest develop firmware for an ASIL rated component?

Yes, within your functional safety process. We follow the safety requirements, development rules and verification activities your ISO 26262 plan defines for that component and deliver traceable evidence. We do not certify the component or assign ASIL levels; your safety manager and independent assessor own those decisions and the safety case.

What is the difference between CAN and CAN FD for EV projects?

CAN FD (Flexible Data rate) carries up to 64 bytes per frame and can switch to a faster bit rate for the data phase, while classic CAN carries 8 bytes. For EVs this helps with cell level battery data and faster flashing. It requires CAN FD capable controllers and transceivers on every node that must read those frames.

Do you implement UDS diagnostics and bootloaders?

Yes. We implement Unified Diagnostic Services (UDS, ISO 14229) over CAN, including diagnostic sessions, security access, data identifiers, routines and fault memory, plus bootloaders that verify image signatures before running new firmware. The service set is agreed with your diagnostic specification so it works with your service and end of line tools.

How do you validate automotive firmware before vehicle testing?

With layered testing. Unit tests and static analysis run on every change, software in the loop (SIL) checks control logic on a PC, and hardware in the loop (HIL) benches simulate the rest of the vehicle network, sensors and faults around the real ECU. This catches timing, bus load and fault handling problems before expensive vehicle trials.

Do you support AUTOSAR projects?

We work on both classic embedded architectures and projects that integrate with AUTOSAR based ECUs, for example matching communication matrices and diagnostics. Whether we develop inside a specific AUTOSAR toolchain depends on the licences and tools your programme provides, so we confirm this during scoping rather than assume it.

Ready to Scope EV and Automotive?

Share your product or plant context. An engineer reviews it and replies with questions, a proposed approach and next steps.

Discuss Your ECU Firmware Project
Discuss Your ECU Firmware Project