ST NUCLEO-C562RE
This article describes specifics for the ST NUCLEO-C562RE evaluation board.
Preparing for J-Link
- Connect the J-Link to CN4
- Power the board via USB STLINK
- Verify the Connection with e.g. J-Link Commander. The output should look as follows:
Example Project
The following example project was created with the SEGGER Embedded Studio project wizard and runs out-of-the-box on the ST NUCLEO-C562RE.
It is a simple Hello World sample linked into the internal flash.
SETUP
- Embedded Studio: V8.24
- Hardware: ST NUCLEO-C562RE
- Link: File:ST STM32C562RE TestProject ES V824.zip
Tracing on ST STM32C562RE
This section describes how to get started with trace on the ST STM32C562RE MCUs. This section assumes that there is already a basic knowledge about trace in general (what is trace, what different implementations of trace are there, etc.). If this is not the case, we recommend to read Trace chapter in the J-Link User Manual (UM08001).
Some of the examples are shipped with a compiled .JLinkScriptfile (extension .pex), should you need the original source, please get in touch with SEGGER directly via our support system: https://www.segger.com/ticket/.
To create your own .JLinkScriptfile you can use the following guide as reference: How_to_configure_JLinkScript_files_to_enable_tracingMinimum requirements
In order to use trace on the ST STM32C562RE MCU devices, the following minimum requirements have to be met:
- J-Link software version V8.66 or later
- Ozone V3.40d or later (if streaming trace and / or the sample project from below shall be used)
- J-Trace PRO version V3.0 or later for streaming trace
To rebuild the project our IDE Embedded Studio can be used. The recommended version to rebuild the projects is V8.24. But the examples are all prebuild and work out-of-the box with Ozone, so rebuilding is not necessary.
The project below has been tested with the minimum requirements mentioned above and a NUCLEO-C562RE.
- Example project: ST_STM32C562RE_TraceExample.zip
Streaming trace
Open the *_TracePins.jdebug project contained in the example project in Ozone.
Specifics/Limitations
This NUCLEO Board does not have a trace header available so for testing flying wires have to be used. Please only use such setup for proof of concept setups with slow clock speeds. For a stable setup we recommend to design a proper trace capable board as explained here: https://kb.segger.com/Trace_board_design_recommendations