2020-07-14 05:44 PM
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?
2020-07-14 06:09 PM
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