Skip to main content
Jwu.6
Associate
March 25, 2021
Question

Can GDB use in nucleo_l552ze_q TFM platform?

  • March 25, 2021
  • 0 replies
  • 505 views

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)

https://ci-builds.trustedfirmware.org/static-files/dSCeSWgwLnZWLSe93vGDOCnmbXd4dHOQAU4A3YY2FLMxNjE2NjQyNjQ4MTE4Ojk6YW5vbnltb3VzOmpvYi90Zi1tLWJ1aWxkLWRvY3MtbmlnaHRseS9sYXN0U3RhYmxlQnVpbGQvYXJ0aWZhY3Q=/trusted-firmware-m/build/docs/user_guide/html/platform/ext/target/stm/readme.html

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

This topic has been closed for replies.