Hello,
I made a minimal project with the NUCLEO-H723ZG board, in which I also used SWO printf.
The project is all about generating and writing out a random number every 500 ms in the main cycle.
Debugging in STM32CubeIDE with ST-LINK/V3 and J-Link Edu also provides completely invaluable data.
Although I only use ITM channel 0, DWT-Comparator data is displayed in LOG ... ???
The MCU clock is 400MHz and the SWO divider has also been carefully set.
I did the same project on a NUCLEO-H743ZI2 board (the newer ST-LINK/V3 release) and it works perfectly with ST-LINK/V3 and J-Link EDU as well.
I extended both projects with SEGGER RTT printf and tried to debug with Ozone:Only RTT is visible with NUCLEO-H723ZG, SWO also works with NUCLEO-H743ZI2.
At this point, I rule out an error in the STM32CubeIDE or ST-LINK/V3, the problem must be somewhere in the difference between the two MCUs.
Software versions used: J-Link V6.98a, Ozone V3.22b
I attach the two .elf files, both loaded into RAM.
Thank you very much in advance!
I made a minimal project with the NUCLEO-H723ZG board, in which I also used SWO printf.
The project is all about generating and writing out a random number every 500 ms in the main cycle.
Debugging in STM32CubeIDE with ST-LINK/V3 and J-Link Edu also provides completely invaluable data.
Although I only use ITM channel 0, DWT-Comparator data is displayed in LOG ... ???
The MCU clock is 400MHz and the SWO divider has also been carefully set.
I did the same project on a NUCLEO-H743ZI2 board (the newer ST-LINK/V3 release) and it works perfectly with ST-LINK/V3 and J-Link EDU as well.
I extended both projects with SEGGER RTT printf and tried to debug with Ozone:Only RTT is visible with NUCLEO-H723ZG, SWO also works with NUCLEO-H743ZI2.
At this point, I rule out an error in the STM32CubeIDE or ST-LINK/V3, the problem must be somewhere in the difference between the two MCUs.
Software versions used: J-Link V6.98a, Ozone V3.22b
I attach the two .elf files, both loaded into RAM.
Thank you very much in advance!