Memory limitations using SBSFU
Hello,
I am developing a SBSFU for a custom application on a NUCLEO-H753ZI board. The application works well on its own. However, when I switch its linker script for the one of the example UserApp delivered with the SBSFU archive, I encounter some unexpected behavior.
Namely, the code still works, and I am actually able to correctly encrypt it and download it on the board. However, it does not work for large inputs. Specifically, my code was initially able to deal with inputs as large as at least 21k bytes. But with the new memory configuration, it only works for inputs up to 13k bytes. Any input larger than that causes what seems to be a segmentation fault on the board.
I believe the problem is that my application does not have enough memory anymore since the SBSFU split the memory in several parts. I should also mention that my application carries heavy cryptographic operations, therefore my assumption seems to make sense.
I tried to increase the sizes of various areas in the linker files, in particular the ones that seemed related to the RAM of the user application but with no success.
My question is then: is there any way I can increase the size of the memory allocated to the execution of my application in the SBSFU setting?
Thank you in advance for any suggestion.
