Difference between revisions of "STM32H743I-EVAL"

From SEGGER Wiki
Jump to: navigation, search
(Sample projects)
(Preparing for J-Link)
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
__TOC__
 
__TOC__
   
  +
This article describes specifics for the ST STM32H743I-EVAL evaluation board.<br>
= SWO =
 
  +
[[File:ST_STM32H743I-EVAL.jpg|450px]]
  +
  +
== Preparing for J-Link ==
  +
*Connect the J-Link to the 20-pin JTAG debug connector (CN9)
  +
*Power the board via the 5V DC power jack (CN10)
  +
* Verify the Connection with e.g. [https://wiki.segger.com/J-Link_cannot_connect_to_the_CPU#Verify_functionality_using_J-Link_Commander J-Link Commander]. The output should look as follows:
  +
[[File:ST_STM32H743I-EVAL_CONNECT.PNG|400px]]
  +
  +
== Example Project==
  +
The following example project was created with the SEGGER Embedded Studio project wizard and runs out-of-the-box on the ST STM32H743I-EVAL.<br>It is a simple Hello World sample linked into the internal flash.<br>
  +
====SETUP====
  +
*J-Link software: V7.86d
  +
*Embedded Studio: V7.10
  +
*Hardware: ST STM32H743I-EVAL
  +
*Link: [[File:ST_STM32H743I-EVAL_TestProject_ES_V710.zip]]
  +
  +
== SWO ==
 
SWO is supported on the STM32H743I-EVAL.
 
SWO is supported on the STM32H743I-EVAL.
   
== Requirements ==
+
=== Requirements ===
In order to make SWO working correctly, min. J-Link software V6.33a is required. Previous versions are not guaranteed to work correctly with SWO.
+
In order to make SWO working correctly, min. J-Link software V6.34 is required. Previous versions are not guaranteed to work correctly with SWO.
   
== Sample projects ==
+
=== Sample projects ===
 
The following sample projects that demonstrate SWO on the STM32H743I-EVAL are available:
 
The following sample projects that demonstrate SWO on the STM32H743I-EVAL are available:
   
*[[Media:ST_STM32H743_ES_SWO_Example.zip|Embedded Studio SWO sample project with CMSIS DFP included]]
+
*[[Media:ST_STM32H743_ES_340_SWO_Example.zip|Embedded Studio SWO sample project with CMSIS DFP included]]
This example project does not require any extra settings by the user. The SWO stream can be viewed with e.g. JLinkSWOViewer which is included in the J-Link software and documentation package and is available for free.
+
This example project does not require any extra settings by the user. The SWO stream can be viewed with e.g. [[J-Link SWO Viewer]] which is included in the [[J-Link Software and Documentation Pack]] and is available for free. This project was created with Embedded Studio V3.40.
   
 
* [[Media:STM32H7_IAR_SWO_Ozone.zip|IAR EWARM 8.22 sample project]]
 
* [[Media:STM32H7_IAR_SWO_Ozone.zip|IAR EWARM 8.22 sample project]]
* '''Note:''' IAR does not handle the special setup needed for this particular target device automatically so the project setting "CPU clock" must be set to 20 MHz when using 64 MHz default CPU clock. Any other value will not output the SWO printf stream.
+
{{Note|IAR does not handle the special setup needed for this particular target device automatically so SWO printf will only work when using Ozone. The example project contains a Ozone configuration that will work out-of-the-box.}}

Latest revision as of 15:48, 21 March 2023

This article describes specifics for the ST STM32H743I-EVAL evaluation board.
ST STM32H743I-EVAL.jpg

Preparing for J-Link

  • Connect the J-Link to the 20-pin JTAG debug connector (CN9)
  • Power the board via the 5V DC power jack (CN10)
  • Verify the Connection with e.g. J-Link Commander. The output should look as follows:

ST STM32H743I-EVAL CONNECT.PNG

Example Project

The following example project was created with the SEGGER Embedded Studio project wizard and runs out-of-the-box on the ST STM32H743I-EVAL.
It is a simple Hello World sample linked into the internal flash.

SETUP

SWO

SWO is supported on the STM32H743I-EVAL.

Requirements

In order to make SWO working correctly, min. J-Link software V6.34 is required. Previous versions are not guaranteed to work correctly with SWO.

Sample projects

The following sample projects that demonstrate SWO on the STM32H743I-EVAL are available:

This example project does not require any extra settings by the user. The SWO stream can be viewed with e.g. J-Link SWO Viewer which is included in the J-Link Software and Documentation Pack and is available for free. This project was created with Embedded Studio V3.40.

Note:
IAR does not handle the special setup needed for this particular target device automatically so SWO printf will only work when using Ozone. The example project contains a Ozone configuration that will work out-of-the-box.