Difference between revisions of "ST NUCLEO-F042K6"

From SEGGER Wiki
Jump to: navigation, search
Line 8: Line 8:
 
*Power the board via CN1 (Micro USB)
 
*Power the board via CN1 (Micro USB)
   
*Convert ST-LINK On-Board Into a J-Link [https://www.segger.com/products/debug-probes/j-link/models/other-j-links/st-link-on-board/]
+
*Reflash the ST-LINK On-Board Into a J-Link [https://www.segger.com/products/debug-probes/j-link/models/other-j-links/st-link-on-board/ Guide]
   
 
* 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:
 
* 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:.PNG|400px]]
+
[[File:STM32F04K6_con.PNG|400px]]
   
 
== Example Project==
 
== Example Project==

Revision as of 10:21, 4 August 2023

This article describes specifics for the ST NUCLEO-F042K6 evaluation board.
ST NUCLEO-F042K6.jpeg

Preparing for J-Link

  • Power the board via CN1 (Micro USB)
  • Reflash the ST-LINK On-Board Into a J-Link Guide
  • Verify the Connection with e.g. J-Link Commander. The output should look as follows:

STM32F04K6 con.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 NUCLEO-F042K6.
It is a simple Hello World sample linked into the internal flash.

SETUP

  • J-Link software: V7.90
  • Embedded Studio: V7.20
  • Hardware: ST NUCLEO-F031K6
  • Link: File:.zip