×

Happy to Help!

This website doesn't store cookies. Enjoy the experience, without worrying about your data!

Great, thanks!

Monthly Archives: January 2022

  • 0

Implementation of SAE J1939 based Secure Bootloader for an Automotive Tier-1 Supplier

About the Customer

Our customer is a tier-1 supplier of automotive components with deep focus on developing the solutions for future mobility. Our automotive teams have been involved in multiple projects with the customer across various technologies and implementations.

Business Challenge

Flash bootloader is an integral part of an automotive software. Since bootloaders are specific to the underlying communication protocol, they need to be developed based on specific project’s requirements. In one of its new programs, the customer required a SAE J1939 based bootloader with security features. A configuration tool was also required to configure the vehicle application layer (SAE J1939-71) of J1939 protocol software.

Major challenges faced by the customer were related to:

  • Availability of ready-to-deploy SAE J1939 protocol and expertise related to configuration of PGNs and SPNs for J1939 protocol software
  • Right technology partner for PC based tool development for ECU reprogramming
  • Lack of expertise in development of secure bootloader, specifically J1939-based bootloader

 

Embitel’s Solution

We have readily available SAE J1939 protocol software that can be configured as per the requirements and types of messages to be sent. On top of that, our expertise in implementation of various cybersecurity features in flash bootloader has been quite extensive. Both these attributes made us the choice technology partner for this project.

After a series of discussions among the teams, we were able to prepare a detailed flow diagram indicating the message flow through various layers and interfaces used in each layer.

Implementation of SAE J1939

A snapshot of the tasks performed by the project team:

  1. We deployed our ready-to-deploy SAE J1939 protocol stack and configured it based on requirements provided by the customer. One of the major customizations that we performed was ‘read and write’ of SPN values to be executed in nano seconds, compared to micro seconds in general implementations.
  2. Sequence of Bootloader was customized based on customer needs.
  3. We developed a tool based on CAPL scripting for reprograming of ECU.

The final deliverables included the following:

  • J1939 stack and corresponding artifacts like LLD, MTD etc.
  • Bootloader and sample application
  • Reprogramming tool based on CAPL
  • Validation test plan and report

Embitel’s Impact

The development time of the project was reduced by at least 6 months since we deployed our proven SAE J1939 protocol software. As a result, our customer was able to reduce the time-to-market and the overall cost of the project.

Additionally, our extensive experience in development and implementation of secure bootloader enabled us to deliver a robust and cutting-edge bootloader solution.

Tools and Technologies

  • MPLAB X IDE: It is an IDE from Microchip that helps develop, debug, and qualify embedded software
  • CANOE: CANOE from Vector was used to test and analyse ECU network
  • CAPL: PC based tool for ECU reprogramming was developed using Vector’s CAPL (Communication Access Programming Language)

  • 0

Integration of ISO 26262 Compliant Functional Safety and Automotive Cybersecurity

Category : Embedded Blog

The concept of connected vehicles wherein a gamut of software inside a car interacts with the physical world, brings in safety and security concerns. An ADAS system that is connected to an external cloud is vulnerable to cyber-attacks that might result in the hacker taking control of the car. Several such incidences have been recorded in the past.

ISO 26262 standard has been around for a decade now and has become a de facto standard for ensuring functional safety while developing automotive software or hardware. More recently, with the development of various cyber-physical systems, security has emerged as an equally concerning and important issue. And the release of ISO 21434 standard for automotive cybersecurity makes it amply evident.

It is not the first automotive cybersecurity standard to be released. However, ISO 21434 has been created keeping in the mind the ever-evolving threat landscape, and that makes it the most definitive standard for cybersecurity. The standard also incorporates various aspects of other standards such as SAE J3016.

ISO 21434 standard has been created along the lines of ISO 26262 standard and therefore, you would find a lot of similarities in terms of processes. As a matter of fact, several members of ISO 26262 committee were also part of the committee put together to prepare ISO 21434 standard.

The reason why we are discussing functional safety and cybersecurity in the same breath is due to the fact that both showcase a high degree of overlap. If you happen to look at SAE J3016 model, safety-critical system is considered as a sub-set of cybersecurity-critical system. Even in terms of processes, there is a lot in common.

In this blog, our focus will be on the commonalities between the implementation of FuSa and automotive cybersecurity and how the two standards overlap.

ISO 26262 and ISO 21434: Commonalities and Differences

Both these standards provide a set of guidelines to achieve their respective goals. In the context of FuSa, it is all about meeting the safety goals while developing an automotive solution. On the other hand, cybersecurity standard aims to help you achieve protection from cyberattacks. In both cases, the lifecycle starts with identifying the items to work on and moves on to finding the risks, threats and finally ends with developing the solution in a way to mitigate these risks and threats.

Let’s put both ISO 26262 and ISO 21434 lifecycle side by side and make a comparative study.

ISO 26262 cybersecurity

 

At first glance, you can spot a lot of similarities in the way both standards explain their scopes. There is the management phase, concept phase, product development phase and post development phase. Since ISO 21434 follows the same approach as ISO 26262, these similarities are expected. However, a closer view brings forth a few new phases that are unique to cybersecurity.

New additions in ISO 21434 are:

  • Part 6 – Project dependent cybersecurity management: Since the requirements and application of cybersecurity might differ across automotive solutions, part-6 has been added to the standard.
  • Part 7- Continuous cybersecurity activities: Cybersecurity threat is ever-evolving which makes it a continuous activity. New threats must be analyzed, and the automotive software must be updated to deal with them. In this regard, cybersecurity has a sharp contrast with functional safety standard wherein, hazards and associated risks are analyzed on the onset and safety mechanisms are put in place.
  • Part 8- Risk assessment methods: ISO 21434 standard explicitly specifies the methods for risk assessment which include processes such as asset identification, attack path analysis and so on. ISO 26262 specifies HARA as the primary way to identify hazards and associated risk and is pretty much covered in the concept phase.

In the diagram below, a correlation between ISO 26262 and ISO 21434 has been showcased. HARA is replaced with TARA, safety goals with security goals and safety requirements with security requirements. At the core of it, the execution and work products of these activities are quite similar. The requirement flows down from the product’s concept phase to the design and implementation phases. Post the implementation phase, integration, and validation follows that leads to the production phase.

ISO 26262 cybersecurity lifecycle

Integration of ISO 26262 and ISO 21434: Challenges and Solutions

Conceptually, most of the analysis like HARA and TARA are quite similar. Security and safety team usually work in tandem so that any common work products can be shared. In the previous sections, we observed how different activities in ISO 26262 can be corelated to ISO 21434, be it HARA or safety concepts or safety goals.

In order to design a system that is both safe and secure, multiple challenges need to be mitigated. From requirement traceability, coding compliance and structural coverages to tool qualification and code verification, FuSa and cybersecurity experts have a lot to think about. Integration of both standards seem to be the right approach to ensure that functional safety and cybersecurity concerns are handled in tandem and both teams are able to share resources, work products, tools and more. In addition to sharing resources, there is a lot more that can be achieved if integration of ISO 26262 and ISO 21434 is done right.

For instance, Hardware Security Module (HSM) has emerged as one of the reliable components to implement cybersecurity. Keeping functional safety in mind, HSM can be developed as safety element out of context as per the ASIL requirements specified in ISO 26262 standards. It can then be integrated in the ECU in a manner that prevents interference between HSM and the host ECU and hence does not impact any of its safety-relevant function.

Some of the best practices that can be incorporated for the successful integration of ISO 26262 and ISO 21434 are:

  • Cybersecurity aspects should be incorporated into the functional safety assessment
  • Risk assessment during security lifecycle should be ideally carried out from the perspective of functional safety
  • If the project under development has a cybersecurity aspect to it, ASIL should be determined keeping cybersecurity related threats also
  • Communication networks should be designed such that there is enhanced protection of safety-relevant data
  • Components responsible for ensuring cybersecurity should be utilized in ways to achieve functional safety, for example hardware security module.

Final Remark

Modern connected vehicles need to be as secure as they are safe. In many aspects, security will be directly responsible for safety of the vehicle. Hence, there is a need for cybersecurity and functional safety to work in tandem.

The similarity between both the standards clearly highlights their co-existence. Since the cybersecurity standard is relatively new, we will soon be witnessing various tools that would support implementation of both standards simultaneously. Whatever the future holds, it would be interesting to see different stakeholders work together to realize the concept of cybersecurity and functional safety together.


  • 0

[Infographic ] Electric Vehicle Charging Protocols that will Define the Future of EVs

Category : automotive-insights

 

Charging an electric vehicle is not as simple as refueling an IC engine vehicle. Compatibility between the electric vehicle supply equipment (EVSE) and the electric vehicle on various parameters has to be established before the charging can begin. Voltage, current, frequency, communication medium, billing and fast charging compatibility are among the various factors that decide whether a charging station will be able to charge a specific EV. Since there are various EV and EV charging unit manufacturers, a standardization is indispensable.

The different EV charging protocols offer this much needed standardization among the EVs charging system and EVSE. Various consortiums have come up with a few protocols that EV manufacturers are also following.

EV Charging Infographic

 

Bharat EV, CHAdeMO, CCS are some the most widely implemented EV charging protocols that enable safe connection between EV and EVSE.

These EV charging protocols ensure that various criteria of safe charging are fulfilled before the EV charging is initiated. These protocols also monitor the vital parameters while the vehicle is being charged so that there is no instance of shock to the passengers and no damage to the EV and its component.

 


  • 0

Development of an Automotive Ecommerce Solution on Magento 2 Commerce Cloud for a Leading Asian Bank

Category : Digital Commerce , Others

About the Customer

Our customer is a leading financial institution, headquartered in Asia, offering various types of financial products and banking solutions including vehicle loans across all customer segments.

Business Challenge

Ecommerce is no longer a territory reigned by retails, banking and finance institutions are also rooting for digital commerce to deliver a great experience to their customers. Joining the bandwagon of banking institutions embracing commerce to cater to their customer’s needs, is our customer – a leading banking firm in Asia.

ecommerce cloud

 

The customer organization wanted to build a strong digital commerce infrastructure to better serve their customers while also offering services relating to different segments.

They were looking for a trusted solution partner who could help them create a full-fledged digital vehicle auctioning platform in less than 4 months which offered the following facilities:

  • Easy onboarding of its existing clients for its Re-Possessed vehicles
  • Smooth and hassle-free Vehicle Auction experience right from customer-onboarding to token payment collection for a successful bidding
  • Streamline and Speed-up Sales approval process
  • Open up new avenues to serve customers with more value added services leveraging the Digital Commerce

 

Embitel Solution

Our veteran digital commerce experts conducted a detailed technical consultation workshop with the customer’s team. During the consulting workshop, our consultants undertook following activities:

  • Analysed the requirements and business goals of the customer
  • Evaluated their existing business model
  • Assessed the market readiness
  • Defined and created digital strategy, ecommerce & IT roadmap that delivers profitable growth

After the technical consulting workshop, it was decided that the ambitious automotive ecommerce solution would be developed on Magento 2 Commerce Cloud.
The Digital Commerce Vehicle Auction Platform was developed using Adobe Commerce Cloud Edition version 2.4.2. The platform enabled users interested in buying pre-owned vehicles to seamlessly view all the vehicles listed on the website, select the preferable item and bid on them during the online auction.

Here is a quick snapshot of the various phases and features of the automotive ecommerce solution development for the esteemed customer.

 

E-auction Events: Interactive events tab listing Live Auctions as well notifications regarding all the upcoming bids along with a Countdown timer.
Integrations: Integration with our clients’ bespoke platforms (lending system)

Integration with the banking e-platform for a seamless listing of Products to be auctioned

Integration with Partner websites and other 3rd party services

Managing Online Bidding Multiple bid management features including Auto Bidding, Front End Customer Bidding, Offline/Admin Bidding.
Customer Profiling Segregation of Customer Journey based on Business and Individual Profile
Pricing and Promos Managing pricing and promos on products being auctioned
Winner Selection Set , announce & Notify the e-auction Winner
Reviews Gather detailed feedback and reviews from the website users
Customer-Centric Features  
Customer Registration New customer registration , Online KYC verification , account creation and profile management
Token Payment Customers can pay the token amount via their preferred payment methods (Cards/netbanking/Cash On Delivery)
Multi-Wishlist Customer can create separate wishlists

 

Other highlights of our solution include:

  • Embitel created a whole customized registration flow which included OTP verification, KYC verification and PAN card verification.
  • Embitel did integration with Customer’s lending system for inventory and order processing for seamless creation of products and auctions in Adobe Commerce.
  • Once the auction is over and winner is declared, the data is sent from Adobe Commerce to the lending system for order processing and status of the different process stages is made visible to the end user.
  • We developed a secure and well-integrated payment module leveraging Adobe Commerce (Magento) and built wrapper to accept partial payments.
  • Embitel team also tailored the Adobe Commerce (Magento) order flow to accept order placement only after the payment confirmation.
  • All the user-centric pages including Home page, content pages and product description pages were designed as per the modern ecommerce design guidelines to lend an incredible user experience.
  • The entire ecommerce platform was tested for all the functional, security, performance, user acceptance (UAT) requirements mandatory preceding the final launch .

 

Embitel Impact

  • Deployed a highly intuitive and user-friendly Automotive e-commerce platform in less than 6 months from ideation to Production
  • The user experience on the website was enhanced multi-fold as navigation was easier and product search and discovery was streamlined.
  • The team helped in launching a highly interactive automotive e-auction platform that fulfilled our clients’ digital business goals including
    • Seamless and faster user onboarding
    • Streamlined sales process
    • 100% Transparency and Visibility
    • Intelligence regarding customer’s buying preferences and buying experience
    • Value added services to customers including multi-wish list, multiple mode of payments to enhance experience while navigating through the e-commerce platform

Tools and Technologies

  • Hosted on Magento 2 Commerce Cloud
  • Magento Business Intelligence for gathering and processing customer insights

 


  • 0

HMI Development for Two-Wheeler Digital Instrument Cluster

 

About the Customer

Our customer is a leading supplier of automotive components such as instrument clusters, fuel level sensors and dashboard equipment for OEMs around the world.

Business Challenge

The customer desired to develop a cost-effective digital instrument cluster solution for ICE-powered motorcycles. They were seeking a technology partner to assist in software design and development of a module in the instrument cluster HMI.

The customer was aware that our automotive engineering team has previously worked on developing production-ready HMI solutions for motorcycles. Additionally, they were impressed by the IPs our team has developed recently. This affirmed our proficiency in designing complete digital instrument cluster solutions, and hence, they decided to partner with us for this project.

Embitel Solution

We designed and developed the software for a Human Machine Interface (HMI) with Thin Film Transistor (TFT) display that was part of the customer’s digital instrument cluster product. Since TFT technology offers exceptional resolution amongst all flat-panel technologies while also being cost-effective, this was most suited for this project.

The primary MCU is on a different module of the digital instrument cluster. This module has been developed by the customer themselves. The MCU of our HMI unit, i.e., the Bluetooth (BT) module, will make a connection with the primary MCU through UART and read the fault codes, speed, odometer info, fuel level details, etc. This information is also sent to the mobile application of the driver.

Architecture:

HMI Architecture

 

Software Architecture of Bluetooth (BT) Module:

Software Architecture of Bluetooth Module

 
Key Features of the Solution:

  • Bluetooth Connectivity – Our solution connects via Bluetooth Low Energy (BLE) to the mobile phone of the driver and sends data to a mobile application. Whenever Bluetooth is enabled, the corresponding icon will be displayed on the TFT screen.
  • Calls and Messages – The HMI screen shows all incoming calls, missed calls, SMS notifications, etc.
  • Safety Features – Various types of alerts and warnings are also displayed on the HMI screen.
  • Turn-By-Turn (TBT) Navigation – Bluetooth connectivity facilitates the navigation data to be transmitted to the digital instrument cluster display screen seamlessly. TBT navigation symbols are displayed at the center of the TFT display when the driver is travelling to the destination. Apart from the directions, the distance to the next turn and remaining distance to destination will also be shown.
  • Cloud Connectivity – The digital instrument cluster connects to the cloud and transmits vehicle data. This information is processed in the cloud to derive intelligent insights.
  • FOTA Update – We have configured a robust FOTA update feature so that the HMI firmware can be upgraded without any complications.

Optimization for Quick Start-up:

One of the project requirements was that the HMI had to initialize within a short duration, at the time of vehicle start-up. So, we worked on enabling quick start-up of the system and immediate display of the tell tales. Details of the optimization activities:

  • Quick Start-up time: The customer required that the start-up is completed within 5 seconds, but we achieved it within 2 seconds.
  • Image Update time: As per the requirements, the image update time had to be within 100 milliseconds, but we configured this to be completed within 10 milliseconds.

Overall, TBT images (Read image buffer from flash memory and display them on the screen) was accomplished within 10 milliseconds and Tell-Tales images were displayed within 2 milliseconds.
 

Embitel Impact

  • Our team successfully delivered a cost-effective HMI module and integrated it with the customer’s digital instrument cluster and mobile application.
  • The timelines for the completion of this project were very challenging. But due to our prior experience in this type of HMI development projects, we were able to deliver the solution a month ahead of the expected delivery date with undeterred quality.

 

Tools and Technologies

  • Eclipse based IDE – Modus Toolbox

  • 0

HMI Development for Two-Wheeler Digital Instrument Cluster

 

About the Customer

Our customer is a leading supplier of automotive components such as instrument clusters, fuel level sensors and dashboard equipment for OEMs around the world.

Business Challenge

The customer desired to develop a cost-effective digital instrument cluster solution for ICE-powered motorcycles. They were seeking a technology partner to assist in software design and development of a module in the instrument cluster HMI.

The customer was aware that our automotive engineering team has previously worked on developing production-ready HMI solutions for motorcycles. Additionally, they were impressed by the IPs our team has developed recently. This affirmed our proficiency in designing complete digital instrument cluster solutions, and hence, they decided to partner with us for this project.

Embitel’s Unique Value Proposition

We designed and developed the software for a Human Machine Interface (HMI) with Thin Film Transistor (TFT) display that was part of the customer’s digital instrument cluster product. Since TFT technology offers exceptional resolution amongst all flat-panel technologies while also being cost-effective, this was most suited for this project.

Architecture:

Software Architecture of Bluetooth (BT) Module:

Key Features of the Solution:

  • Calls and Messages - The HMI screen shows all incoming calls, missed calls, SMS notifications, etc.
  • Safety Features - Various types of alerts and warnings are also displayed on the HMI screen.
  • Bluetooth Connectivity – Our solution connects via Bluetooth Low Energy (BLE) to the mobile phone of the driver and sends data to a mobile application. Whenever Bluetooth is enabled, the corresponding icon will be displayed on the TFT screen.
  • Turn-By-Turn (TBT) Navigation – Bluetooth connectivity facilitates the navigation data to be transmitted to the digital instrument cluster display screen seamlessly. TBT navigation symbols are displayed at the center of the TFT display when the driver is travelling to the destination. Apart from the directions, the distance to the next turn and remaining distance to destination will also be shown.
  • Vehicle Information – The primary MCU is on a different module of the digital instrument cluster. This module has been developed by the customer themselves. The MCU of our HMI unit will make a connection with the primary MCU through UART and read the fault codes, speed, odometer info, fuel level details, etc. This information is also sent to the mobile application of the driver.
  • Cloud Connectivity – The digital instrument cluster connects to the cloud and transmits vehicle data. This information is processed in the cloud to derive intelligent insights.
  • FOTA Update – We have configured a robust FOTA update feature so that the HMI firmware can be upgraded without any complications.

Optimization for Quick Start-up:

One of the project requirements was that the HMI had to initialize within a short duration, at the time of vehicle start-up. So, we worked on enabling quick start-up of the system and immediate display of the tell tales. Details of the optimization activities:

  • Quick Start-up time: The customer required that the start-up is completed within 5 seconds, but we achieved it within 2 seconds.
  • Image Update time: As per the requirements, the image update time had to be within 100 milliseconds, but we configured this to be completed within 10 milliseconds.

Overall, TBT images (Read image buffer from flash memory and display them on the screen) was accomplished within 10 milliseconds and Tell-Tales images were displayed within 2 milliseconds.

Embitel's Impacts

  • Our team successfully delivered a cost-effective HMI module and integrated it with the customer’s digital instrument cluster and mobile application.
  • The timelines for the completion of this project were very challenging. But due to our prior experience in this type of HMI development projects, we were able to deliver the solution a month ahead of the expected delivery date with undeterred quality.

Tools and Technology

  • Eclipse based IDE – Modus Toolbox