Since either my JTrace don't work correctly wtih STM32 board:
The given reference board is STM32507VG (which is included in JTrace port. The program was micropython default build for STM32F4DISCOVERY.
Since my STM32f427 board doesn't work well with ETM, I tried to use ITM PC sampling. However, mu current JLink board seems to suggest much higher CoreClockCpus, e.g. STM32F407 has just 168 MHz, but SWViewers showed estimated clock rate 252 Mhz.
After measuing the responses and parsing with sigrok I understood to get the vale from CPUClock/prescaler to SWO it would be easier setup the CPU clock in the 253 MHz range, to get some reasoneable results:
With using the real 168 MHz the measure baudrate is 3428571 when it should have been 2250000.
The given reference board is STM32507VG (which is included in JTrace port. The program was micropython default build for STM32F4DISCOVERY.
Since my STM32f427 board doesn't work well with ETM, I tried to use ITM PC sampling. However, mu current JLink board seems to suggest much higher CoreClockCpus, e.g. STM32F407 has just 168 MHz, but SWViewers showed estimated clock rate 252 Mhz.
After measuing the responses and parsing with sigrok I understood to get the vale from CPUClock/prescaler to SWO it would be easier setup the CPU clock in the 253 MHz range, to get some reasoneable results:
With using the real 168 MHz the measure baudrate is 3428571 when it should have been 2250000.
The post was edited 2 times, last by zamniah ().