Difference between revisions of "GroupGets LoFive R1 1"

From SEGGER Wiki
Jump to: navigation, search
(Example projects for SEGGER Embedded Studio)
 
(5 intermediate revisions by the same user not shown)
Line 4: Line 4:
   
 
[[File:LoFive-board.png|250px]]
 
[[File:LoFive-board.png|250px]]
  +
  +
== Minimum requirements ==
  +
* RISC-V is supported by current J-Link models. In case of doubt, please check [[Software and Hardware Features Overview | Overview about which models / revisions support RISC-V]]
  +
* Embedded Studio Version 4.30 or later
  +
* J-Link software V6.52e or later
   
 
== Preparing for J-Link ==
 
== Preparing for J-Link ==
Line 10: Line 15:
 
The following guide will describe how the LoFive Board can be connected to your J-Link Base V10 or higher. Other J-Links might work as well but wiring might be slightly different. All needed information can be found in the probe related documentation.
 
The following guide will describe how the LoFive Board can be connected to your J-Link Base V10 or higher. Other J-Links might work as well but wiring might be slightly different. All needed information can be found in the probe related documentation.
   
* The LoFive board does not come with the pin header populated so firstthe pin headers need to be soldered to your board.
+
* The LoFive board does not come with the pin header populated so first the pin headers need to be soldered to your board.
 
* Now connect the board with e.g. jumperwires to your J-Link probe.
 
* Now connect the board with e.g. jumperwires to your J-Link probe.
 
* The following table shows how the Signals should be connected on both the board and [https://www.segger.com/products/debug-probes/j-link/technology/interface-description/ J-Link] side.
 
* The following table shows how the Signals should be connected on both the board and [https://www.segger.com/products/debug-probes/j-link/technology/interface-description/ J-Link] side.
Line 44: Line 49:
 
== Debugging in SEGGER Embedded Studio ==
 
== Debugging in SEGGER Embedded Studio ==
   
== Example projects for SEGGER Embedded Studio==
+
=== Example projects for SEGGER Embedded Studio===
 
The following example project was created with the SEGGER Embedded Studio project wizard and runs out-of-the-box on the LoFive board. It is a simple Hello World sample and can be downloaded here:
 
The following example project was created with the SEGGER Embedded Studio project wizard and runs out-of-the-box on the LoFive board. It is a simple Hello World sample and can be downloaded here:
   
 
[[Media: LoFive_SiFive_FE310_Example.zip | Hello World sample ]]
 
[[Media: LoFive_SiFive_FE310_Example.zip | Hello World sample ]]
 
== Minimum requirements ==
 
* Please note that RISC-V is not supported by older J-Link hardware models / revisions. [[Software and Hardware Features Overview | Overview about which models / revisions support RISC-V]]
 
* Embedded Studio Version 4.30 or later
 
* J-Link software V6.52e or later
 

Latest revision as of 12:18, 30 October 2019

This article describes specifics for the GroupGets LoFive R1.1 board based on a SiFive FE310.

LoFive-board.png

Minimum requirements

Preparing for J-Link

GroupGets LoFive R1.1 does not come with a standard debug connector but populates the debug JTAG signals on a 2x14 Arduino compatible pin header. Therefore, it can be manually wired in case J-Link shall be connected to it.

The following guide will describe how the LoFive Board can be connected to your J-Link Base V10 or higher. Other J-Links might work as well but wiring might be slightly different. All needed information can be found in the probe related documentation.

  • The LoFive board does not come with the pin header populated so first the pin headers need to be soldered to your board.
  • Now connect the board with e.g. jumperwires to your J-Link probe.
  • The following table shows how the Signals should be connected on both the board and J-Link side.
J-Link 20 pin debug interface Pin on eval board Arduino header
Pin 1 (VTref) +3.3Vout
Pin 4 (GND) GND
Pin 5 (TDI) TDI
Pin 7 (TMS) TMS
Pin 9 (TCK) TCK
Pin 13 (TDO) TDO
Pin 15 (nRESET) TRSTN
Pin 19 (5V-Supply) +5Vin

The resulting connection will then look like this:

Plug-Cabel.png

  • The use of the 5V-Supply pin on the J-Link is optional and can be used to power the target board through the J-Link. How is explained in the J-Link user guide UM08001. Alternatively you can connect an external 5 V power supply as well to the target board pin and use a second GND pin for the external power supply.
  • Verify the Connection with e.g. J-Link Commander. The output should look as follows:

Commander FE310.png

Debugging in SEGGER Embedded Studio

Example projects for SEGGER Embedded Studio

The following example project was created with the SEGGER Embedded Studio project wizard and runs out-of-the-box on the LoFive board. It is a simple Hello World sample and can be downloaded here:

Hello World sample