Difference between revisions of "NXP FRDM-KV31F"

From SEGGER Wiki
Jump to: navigation, search
(Sample Project)
 
Line 22: Line 22:
   
 
== Sample Project ==
 
== Sample Project ==
  +
The following example project was created with the SEGGER Embedded Studio project wizard and runs out-of-the-box on the NXP FRDM-KV31F. It is a simple Hello World sample linked into the internal flash.
What is a sample project :D
 
  +
===SETUP===
  +
*J-Link software: V7.58
  +
*Embedded Studio: V5.68
  +
*Hardware: NXP FRDM-KV31F
  +
*Link: [[File:NXP_FRDM-KV31F_TestProject_ES_V568.zip]]

Latest revision as of 15:59, 29 November 2021

This article describes specifics for the NXP FRDM-KV31F evaluation board. The board supports different Upgrade boards.

FRDM-KV31F.jpg

Minimum requirements

  • J-Link software V4.82 or later

Special characteristics

NXP delivers this board with already changed XACCH0 value (0x7F). XACCH0[63] protects flash address 0x0007_E000 - 0x0007_FFFF from writing. Therefore erase / program of flash >= 0x0007_E000 is not possible. Any attempt to do this will result in: "Failed to erase sectors 252 @ address 0x0007E000 (Algo35: Flash protection violation. Flash is write-protected.)". This behavior is expected and influences not the first block.

Preparing for J-Link

  • Connect the J-Link to the SWD header (J9)
  • Power the board via USB (J6)
  • Verify the Connection with e.g. J-Link Commander. The output should look as follows:

KV31F J-LinkCLI.png

Sample Project

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

SETUP