2021-03-25 04:21 AM
Hi,
Platform: nucleo_l552ze_q
Software: https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git
I refer to the following guidance to build TFM(mucboot+tfm_s+tfm_ns)
Than, use stm32cube programmer through ST-LINK download this binary to flash.
and used UART console(Tera Term), can see the log output
I find doc UM2576 STM32CubeIDE ST-LINK GDB server user manual
Follow the step, start gdb server and can connect it.
There is another problem here. TFM has three images, which are placed in different flash addresses.
The doc UM2576 said:
The executable program is loaded on the target using the GDB command
>load <program.elf>
How can load three images and debug?
Thanks