Skip to main content
Explorer
March 31, 2023
Solved

Code Isolation on STM32G484VET for safety-critical (non-upgradable area) and non-safety-critical (Upgradable area)

  • March 31, 2023
  • 1 reply
  • 2214 views

Hello Support Team.

Good Day.

We have chosen the STM32G484VET controller for our product.

According to the firmware architecture, we intend to create two separate partitions, one for safety-critical (non-upgradable area) and the other for non-safety-critical (Upgradable area)

When we will go to certification that time we will only certify the safety-critical code.

So can you provide me guidance for code separation for safety and non-safety code?

If you have any examples of the same STM32G4 series, please share them with us.

Thank you, 

Hiren R. Thumar.

    This topic has been closed for replies.
    Best answer by Peter BENSCH

    Yes, that is exactly what the Cortex-M33 was designed for.

    You will find:

    Good luck in doing the first steps!

    Regards

    /Peter

    1 reply

    Technical Moderator
    March 31, 2023

    The G484 is based on the Cortex-M4, which makes such a separation impossible, at least if it is not to be vulnerable.

    This can be perfectly realised with Cortex-M33-based STM32, e.g. STM32L5, STM32U5 or the brand new STM32H5.

    Hope that helps?

    Regards

    /Peter

    Explorer
    April 3, 2023

    Hi Peter,

    Good day.

    Thank you for your guidance

    I've attached an image of a block diagram. we will be considered modules for safety-critical and non-safety-critical as per the block diagram

    We will provide CRC of safety-critical flash areas when we will go to certification. If I change the non-safety-critical code, this safety-critical flash area CRC must not change.

    So, according to your suggestion, does the STM32L5 Series support this type of isolation? If you have any examples or documents, please share them with us.

    0693W00000bhOfqQAE.pngThanks

    Hiren R. Thumar

    Technical Moderator
    April 3, 2023

    Yes, that is exactly what the Cortex-M33 was designed for.

    You will find:

    Good luck in doing the first steps!

    Regards

    /Peter