Skip to main content
Giulio Dalla Vecchia
Associate II
November 21, 2022
Question

How to manage interrupt while SE secure code is running?

  • November 21, 2022
  • 1 reply
  • 790 views

Hi ST Team,

I'm working on a project where I'm using SBSFU as bootloader (on a STM32H7). When I download the new firmware image, SBSFU reboot the system and start execution (decrypting image, validating and so on...). While SBSFU is doing these actions I would like to update a simple display that is made by 7-segment LEDs, so I need to manage it inside an interrupt routine. I notice that when the code jumps inside SECore code it disables the interrupt for a long time causes flickering on the display.

How can I manage that situation?

Thanks a lot in advance?

GDV

This topic has been closed for replies.

1 reply

Bubbles
ST Employee
November 28, 2022

Hi @Giulio Dalla Vecchia​,

the SBSFU is programing flash. It's quite normal that access to flash (same bank) is stalled several milliseconds during the write operation.

I think that with the latest SBSFU it should already be possible to place ISR (and vector table) into SRAM. This should solve your problem.

BR,

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.