Difference between revisions of "Syntacore SCR1"

From SEGGER Wiki
Jump to: navigation, search
(Preparing for J-Link)
 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
  +
The Syntacore SCR1 is a 32-bit (RV32) core, designed by [https://syntacore.com/page/products/processor-ip/scr1 Syntacore].
  +
 
__TOC__
 
__TOC__
   
  +
= Requirements =
This article describes specifics for the SiFive Arty FPGA Dev Kit.
 
  +
* A current J-Link model with RISC-V support
  +
* [https://www.segger.com/downloads/jlink/#J-LinkSoftwareAndDocumentationPack J-Link software] V6.44d or later. Older J-Link software versions will not work.
  +
* The SCR1 device selection is supported since V6.44d
  +
  +
= RTT support =
  +
As the core does not support System Bus Access (SBA), RTT is '''not''' supported for this core.
  +
  +
= HSS access =
  +
As the core does not support System Bus Access (SBA), HSS is '''not''' supported for this core.
   
  +
= Limitations =
== Preparing for J-Link ==
 
  +
* When debugging on the Syntacore SCR1, the max. JTAG speed that can be used is 1/12 of the CPU speed, so usually fJTAG has to be <= 2 MHz. Speeds above this limit will result in unstable operation of the debug interface on the device. The device sometimes simply returns garbage status info and data on debug module accesses. '''This is not a limitation of J-Link but of the Syntacore SCR1'''
Syntacore provides a reference FPGA bistream for the Digilent ARTY FPGA dev kit, which allows to implement a RISC-V core. The Digilent ARTY FPGA dev kit does not come with a standard debug connector but populates the debug JTAG signals on the JD connector of the eval board. Therefore, it needs to be manually wired in case J-Link shall be connected to it.
 
   
  +
= Example projects =
In the following, it is described how the pins of JD connector on the ARTY board needs to be wired to J-Link. All pins of the J-Link side refer to the standard 0.1" 20-pin connector of J-Link.
 
  +
[[File:Syntacore_SCR1_Arty_ES.zip]]
   
  +
Requires [https://www.segger.com/downloads/embedded-studio/ SEGGER Embedded Studio for RISC-V] V4.12 or later
{| class="wikitable"
 
|+Wiring connection
 
! Pin JD (ARTY)
 
! Pin J-Link
 
! Description
 
|-
 
|7
 
|13
 
|TDO
 
|-
 
|3
 
|3
 
|nTRST
 
|-
 
|4
 
|9
 
|TCK
 
|-
 
|8
 
|5
 
|TDI
 
|-
 
|10
 
|7
 
|TMS
 
|-
 
|9
 
|15
 
|nRESET
 
|-
 
|11
 
|4
 
|GND
 
|-
 
|12
 
|1
 
|VTref
 
|}
 
   
  +
Downloads a simple Cnt++ loop into the 64 TCM @ 0xF0000000
'''Note:''' The pins on the JD connector are numbered as follows:
 
{| class="wikitable"
 
|-
 
|6
 
|5
 
|4
 
|3
 
|2
 
|1
 
|-
 
|12
 
|11
 
|10
 
|9
 
|8
 
|7
 
|}
 
   
  +
== Embedded Studio ==
<Photo>
 
  +
* Please make sure to install SEGGER Embedded Studio first
  +
* Then install the J-Link software package
  +
* At the end of the software package installation, you will be asked if you want to update SEGGER Embedded Studio
  +
* Please perform the update
   
== Debugging in xxx ==
+
= Available eval boards =
  +
The following eval boards are available:
TBD
 
  +
* [[Syntacore SCR1 SDK Arty | SCR1 SDK Arty (ARTY board)]]
'''Before continuing, make sure that you have J-Link software package Vxxx or later installed''': [https://www.segger.com/downloads/jlink/ Download J-Link software package]
 
   
  +
<references/>
== Minimum J-Link hardware requirements ==
 
Please note that RISC-V is not supported by older J-Link hardware models / revisions. For an overview about which models / revisions support RISC-V: [[Software and Hardware Features Overview | List]]
 

Latest revision as of 13:41, 19 July 2021

The Syntacore SCR1 is a 32-bit (RV32) core, designed by Syntacore.

Requirements

  • A current J-Link model with RISC-V support
  • J-Link software V6.44d or later. Older J-Link software versions will not work.
  • The SCR1 device selection is supported since V6.44d

RTT support

As the core does not support System Bus Access (SBA), RTT is not supported for this core.

HSS access

As the core does not support System Bus Access (SBA), HSS is not supported for this core.

Limitations

  • When debugging on the Syntacore SCR1, the max. JTAG speed that can be used is 1/12 of the CPU speed, so usually fJTAG has to be <= 2 MHz. Speeds above this limit will result in unstable operation of the debug interface on the device. The device sometimes simply returns garbage status info and data on debug module accesses. This is not a limitation of J-Link but of the Syntacore SCR1

Example projects

File:Syntacore SCR1 Arty ES.zip

Requires SEGGER Embedded Studio for RISC-V V4.12 or later

Downloads a simple Cnt++ loop into the 64 TCM @ 0xF0000000

Embedded Studio

  • Please make sure to install SEGGER Embedded Studio first
  • Then install the J-Link software package
  • At the end of the software package installation, you will be asked if you want to update SEGGER Embedded Studio
  • Please perform the update

Available eval boards

The following eval boards are available: