On the STM32H7 series devices from ST SWO is supported. However, a few device specifics apply which are described in the following section.
SWO register access
For most Cortex-M devices, the SWO registers are accessible by the AHB-AP. This is not the case for the STM32H7 series devices. In this case the registers need to be partially accessed by the APB-AP.
Note: J-Link handles the current setting of this registers automatically. J-Link software version V6.33a or later is required.
If you are using software that handles SWO init without J-Link software (e.g. EWARM) then we suggest contacting the software manufacturer for more details which settings need to be applied.
Note: The settings are applied by a compiled .JLinkScriptfile located in the J-Link software installation folder under /Devices, should you need the original source it can be requested at firstname.lastname@example.org
Sample projects that demonstrate SWO usage are available for the following eval boards: