Skip to main content
DMira.11
Associate
May 9, 2021
Question

I am trying STM32CubeExpansion_SBSFU_V2.4.0 with 2 Active images and 2 Download areas and assigned the LOcation in mapping_fwimg.icf. Code is building but i am getting error = "[FWIMG] Header of SLOT_ACTIVE_2 is not under the firewall protection"

  • May 9, 2021
  • 4 replies
  • 2708 views

0693W00000ANle9QAD.pngPlease guide me how to add SLOT_ACTIVE_2 to firewall protection.

This topic has been closed for replies.

4 replies

DMira.11
DMira.11Author
Associate
May 10, 2021

Can any body help with this??

Ons KOOLI
Associate
May 10, 2021

Hi @DMira.1​ ,

Can you please provide more details about the claim:

  • board name
  • project directory
  • Steps you followed to run the project
  • IDE used to run the project

Best Regards,

Ons.

DMira.11
DMira.11Author
Associate
May 10, 2021

Hi,

Board: Nucleo L476RG

Project directory : ​STM32CubeExpansion_SBSFU_V2.4.0

Ide : stm32 Workbench​

Steps : ​https://www.st.com/resource/en/user_manual/dm00414687-getting-started-with-the-xcubesbsfu-stm32cube-expansion-package-stmicroelectronics.pdf

https://www.st.com/resource/en/application_note/dm00414677-integration-guide-for-the-xcubesbsfu-stm32cube-expansion-package-stmicroelectronics.pdf

DMira.11
DMira.11Author
Associate
May 15, 2021

I am in search of solution... Please help..​

Ons KOOLI
Associate
May 17, 2021

Hi @DMira.1​ ,

Sorry for the delay, we were celebrating Aid.

Can you specify which project exactly did you run.

Best Regards,

Ons.

DMira.11
DMira.11Author
Associate
May 17, 2021

0693W00000AOdXMQA1.pngThere is only one project on L476RG in​ STM32CubeExpansion_SBSFU. It is working with out any issue. But I added 2 active and 2 download slots by modifying Macros SFU_NB_MAX_ACTIVE_IMAGE and SFU_NB_MAX_DWL_AREA. And even i added memory locations in mapping_fwimg.icf. Please refer the image attached. I am getting error SLOT_ACTIVE_2 is not under firewall protection.

Bubbles
ST Employee
June 16, 2021

Hi @DMira.1​ ,

while SBSFU 2-image code supports automatic configuration of up to 6 slots, you cannot have more than 3 slots of one kind automatically configured by the code. Please see the declarations in sfu_fwimg_regions.h

So while 3 active and 3 download works without any modification to the provided SBSFU, to actually get 4 slots of one kind you need to change the SBSFU code significantly. I believe it's possible to make it work in the end, but to be honest, I see no practical use for 4 active slots.

Kind regards,

J.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
DMira.11
DMira.11Author
Associate
June 18, 2021

Hi @JHOUD​ 

Thank you for response, I tried automatic configuration but ends with some error. I modified in  sfu_fwimg_regions.h as well... Facing same issue

Bubbles
ST Employee
June 21, 2021

@DMira.1​ Can you be more specific?

I need a lot more detail to reproduce your problem. What "some error"?

J.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.