Skip to main content
Imeah.1
Visitor II
July 15, 2020
Question

ETM Trace on STM32L486QG

  • July 15, 2020
  • 1 reply
  • 739 views

I want to do ETM trace on STM32L486QG.

When I look at my trace probe: I see I have to connect 5 pins TClock, T0,T1,T2,T3.

I am look at which pins to connect to on the processor. I found this document

https://www.st.com/resource/en/datasheet/stm32l486qg.pdf

on page 67, it looks like PE02, PE03, PE04, PE05 are used for TClock, T0,T1,T2,T3 respectively.

But in the same page, it looks like there are alternative use for the pins like FMC.

if we are already using these pins for other function like FMC , can we still use these pins for ETM tracing?

If not, can we assign other pins for that purpose?

This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
July 15, 2020

Like other STM32, I'd expect you get to lose a couple of high order address bits on the FMC.

You get to pick one over the other, would mainly effect large SRAM or NOR Flash

Perhaps looks at the STM3240G-EVAL or Keil MCB STM32F400 as Trace port examples.

If you want NOR flash on the L4 series you'd presumably be using QSPI/OSPI

Large NAND Flash using eMMC

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..