Flash Bootloader Solutions for
ECU Reprogramming
Bootloader Software Solution for Automotive ECU
Designed by our experienced embedded software developers, this time-tested, stable and ready-to-deploy flash bootloader solution has been successfully integrated in a number of production programs across US, India and Europe.
This Low Memory footprint (both ROM and RAM) bootloader software solution for automotive is compatible with application-level protocols like UDS on CAN, UDS on IP, J1939 and KWP2000.
This bootloader also supports communication protocols like CAN FD, CAN and LIN.
It is compatible with both RTOS and non-RTOS based applications. And the reprogramming code sequence is customizable as per the requirements of your target application.
Flash Bootloader Development and Integration Services:
Hardware Platform Consulting for Bootloader Development Project
- Requirement gathering and application analysis workshops with our automotive experts
- Hardware platform evaluation and project roadmap strategy
- Flash Bootloader software development for 8 bits, 16 bits and 32 bits microcontroller platform as per the project requirements
- Expertise in development of:
- ARM Bootloader
- AVR Bootloader
- STM32 Bootloader
- Infineon Bootloader
In-vehicle Communication and Application Layer Services
- Support for Flash bootloader development for ECU Flashing over CAN FD, CAN, LIN, UART, SPI, I2C, Ethernet communication protocols
- Support for development of flash bootloader software based on UDS over CAN, UDS over IP (DoIP), J1939, KWP 2000, J1587 protocols
- Custom bootloader development for ECU Flashing over any proprietary communication protocol as per the customer’s requirement
ECU Reprogramming Tools Development and End-of-Line Testing Support
- Design and development of customized ECU Flashing tool (PC/Web based)
- Expertise in development of GUI-based and Command line-based (for End-of-Line testing) ECU reprogramming tool
- Support for tools configuration and testing of standard ECU reprogramming tools like PCAN, VFlash, ValueCAN3 and more
- Support for ECU Programming using Vflash tool
Secure Flash Bootloader Software Access and Data Integrity Services
- Seed and Key Algorithm implementation for secure and verified access to flash bootloader software for ECU reprogramming or software update
- Checksum strategy (like CRC16) implementation to ensure vehicle data integrity while ECU Programming
Flash Bootloader Development Services
- Bootloader sequence development as per the customer/project requirements (Jump to Boot, Erase App, Download App, Validate and Reset sequence)
- Memory mapping between the Flash Bootloader software and automotive ECU Application
- CAPL Script or Bus Master Script development to support ECU reprogramming
- Base software development (Flash driver, MCU, Timer and more) in accordance with the bootloader software design
- Flash Bootloader software integration with the customer’s hardware platform
Secure Boot Implementation for Automotive ECU Reprogramming
- Implementation of Hardware Security Module (HSM) (as per the Microcontroller Platform specifications) t and integration with the existing Flash Bootloader Software
- Support for Encryption and Decryption of flashing files
- Feature development to avoid unintended read and write functionality in Flash Bootloader
- Support for implementation of Digital Signature, for logical blocks
- Support for data compression and decompression, in order to facilitate fast and efficient downloading
Flash Bootloader Factsheet:
Read this reference guide to know in detail about our Flash Bootloader solution used for ECU reprogramming.
Download this Flash Bootloader PDF to get following information:
- Overview of industry-wide proven and stable Flash Bootloader solution
- Bootloader Solution Kit: Script & Tools development, Primary and Secondary bootloader
- Bootloader solution features and memory requirements
- Key Service offerings(development, testing, and maintenance)
- Compatibility with different vehicle communication protocols
- Customizable ECU programming code sequence
Video Explaining Different Types of Flash Bootloaders
Related Blogs: Learn More About Flash Bootloader Solutions and ECU Flashing
- Understanding What is a Flash Bootloader and the Nuances of an Automotive ECU Re-programming
- Classical CAN v/s CAN FD: Decoding Their Data Transfer Capabilities and Compatibility with the Bootloader Software
- What are Different Types of Flash Bootloaders that Facilitate Automotive ECU (Electronic Control Unit) Reprogramming
Ans. Yes, our designed Bootloader software is compatible with popularly used communication protocols (either wired/wireless).
Following is the indicative list of protocols which are compatible with our bootloader design:
- UART
- SPI
- LIN
- Ethernet
- Bluetooth
- Kline
Ans: We can help you implement ‘Secure Boot’ in the Flash Bootloader software. The following is our 3-tier approach to implement ‘Secure Boot’:
- We implement the Hardware Security Module (HSM) specific to the Microcontroller platform. We provide Support for integration of HSM with the existing Flash Bootloader Software.
- We develop Encryption and Decryption algorithms for flashing files, based on standard algorithms. This helps to bolster the security of ECU reprogramming process.
- We also ensure to integrate a feature that restricts any unintended read and write functionality in Flash Bootloader.
Ans: The application and the bootloader can both be reprogrammed using two different programming sequences.
The primary bootloader is used for application reprogramming and the secondary bootloader is used for bootloader reprogramming.
Both the codes are stored in the program memory of the microcontroller.
Ans. Embitel’s Bootloader solution ensures a low memory footprint for both ROM and RAM. The bootloader programming occupies the following space of memory block:
- 12 to 15 Kilo Bytes of ROM
- 2 to 3 Kilo Bytes of RAM
Knowledge bytes
- What is Flash Bootloader Software?
- Learn about the Generic Bootloader Software Architecture:
There are primarily two types of Bootloaders: –
- Primary or Single Bootloader (PBL): Primary Bootloader (PBL) is installed in the ROM and is the first block to execute on boot reset. The main function of the Primary Bootloader is to download the Secondary Bootloader in the RAM of the automotive ECU and activate the SBL.
- Secondary Bootloader (SBL):The Secondary Bootloader is used for reprogramming and/or software update of the automotive ECU application software.
- The Flash Bootloader is programmed in the EOL Station and is loaded on the microcontroller Flash memory (which stores both the bootloader software and ECU application software).
- If the applications are validated, the software control is moved to the automotive ECU application software. If not validated, then control of the software remains with the Bootloader.
- The Bootloader communicates with ECU reprogramming tools through serial communication protocols (UART, LIN, SPI, CAN, Ethernet, etc.) and can reprogram the ECU application software.
- The Bootloader software also detects, reports, and manages errors like power failures, loss of communication, and Flash-write errors.
- Flash error protection is usually accomplished by storing a checksum or Cyclic Redundancy Code (CRC) for the ECU application.
- Learn about the UDS-based Bootloader Software Architecture
- Diagnostics Session Control
- ECU Reset
- Routine Control (Flash-Erase and Application Validation)
- Request Download
- Transfer Data
- Transfer Exit
- Clear DTC
- Learn about the J9139-based Bootloader Architecture
It uses CAN communication protocol with a 250kbps rate. Multi-packet data will be handled by the Transport layer – J1939/21 – TP.
The following layers are in the J1939 Bootloader software:
- J1939/21 – Datalink and TP
- J1939/81 – Network Management Layer
- J1939/71 – Application Layer
- J1939/73 – Diagnostic Layer (DM3, DM11, DM14, DM15, and DM16)