STM32 security in practice workshop: Do you have code examples for the G4 with dual bank architecture?
Hi,
I am currently going through the "STM32 security in practice workshop" which is for the G0 and I really like it.
- Now my target is a G4 with dual bank. So I wonder if you have some code for this MCU as it probably needs some more settings to add because of its 2 banks. Or does the HAL refer to bank 1 (where the bootloader is) anyway by default? I do NOT need 2 images, just to handle the dual-bank design properly when adding the protections.
- You don't set the secure memory area in code in the workshop. Is there any special reason for this and can this be done from code?
- And what is actually the difference between the code presented in the workshop and the X-CUBE-SBSFU. Which is recommended to use? I find the practice workshop easier to understand and implement than the SBSFU. Additionally, SBSFU projects do not seem to be based on CubeMX (.ioc) and therefore don't offer easy implementation of modern bootloaders using FD-CAN or similar as far as I understand.
Thanks,
Anguel
