Does BIST damage Standby RAM data?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Does BIST damage Standby RAM data?

400 Views
Pusoy
Contributor III

Hi,

We have allocated a Standby RAM segment in linker_flash_s32k344.ld file in our project (as shown in the figure below) to store relevant data during Standby mode and for use in the next run mode. However, recently I discovered that the content of the Standby RAM region gets corrupted after our project completes the BIST self-test.

Pusoy_0-1705388915867.png

  1. Does the BIST self-test corrupt the content of the Standby RAM region?

This is crucial for our project as we need to use the Standby RAM to save data.

Tags (4)
0 Kudos
3 Replies

391 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I assume you are talking about Online BIST execution.

Here you can define which part of RAM will be tested. So it depends on your configuration of the BIST.

If you are using any driver for it, refer to driver documentation for BIST configuration in order to exclude RAM block from BIST.

StandbyRAM is part of SRAM0, so you have to exclude SRAM0 from your tests in order to prevent its content to be destroyed:

petervlna_0-1705395264863.png

This was a common use case in past when customers were defining their BIST sequences in code.

Best regards,

Peter

 

 

0 Kudos

386 Views
Pusoy
Contributor III

Hello,

Thank you very much for your response.

Our project currently uses the S32K314 chip, so it only supports online mode.

At the same time, we are using the SPD 1.0.0 library to run BIST. Since SPD only provides two online configurations (BIST_SAFETYBOOT_CFG and BIST_DIAGNOSTIC_CFG), both of these configurations include MBIST0, which is SRAM0 (the area where StandbyRAM is located).

Therefore, we cannot directly call the SPD library to preserve the data in the StandbyRAM area.

Pusoy_2-1705397000817.png

 

Pusoy_0-1705396951753.png

Pusoy_1-1705396973738.png

Pusoy_3-1705397119993.png

 

  1. How can I modify the program to preserve the data in the StandbyRAM area?

I am looking forward to your reply. Thank you very much!

 

0 Kudos

378 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

How can I modify the program to preserve the data in the StandbyRAM area?

I was talking to the SW team. SPD driver do not offer such possibility.

However they had already such questions and the recommendation is to store that content in NVM in order to preserve it.

best regards,

Peter

0 Kudos