Synopsys DesignWare ARC AXC003 User manual

DesignWare ARC AXC003 CPU Card
User Guide
Version 6323-018 May 2017

2
Synopsys, Inc. Version 6323-018
May 2017
Copyright Notice and Proprietary Information Notice
© 2017 Synopsys, Inc. All rights reserved. This Synopsys software and all associated documentation are proprietary to Synopsys, Inc.
and may only be used pursuant to the terms and conditions of a written license agreement with Synopsys, Inc. All other use,
reproduction, modification, or distribution of the Synopsys software or the associated documentation is strictly prohibited.
Destination Control Statement
All technical data contained in this publication is subject to the export control laws of the United States of America. Disclosure to
nationals of other countries contrary to United States law is prohibited. It is the reader's responsibility to determine the applicable
regulations and to comply with them.
Disclaimer
SYNOPSYS, INC., AND ITS LICENSORS MAKE NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS
MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE.
Trademarks
Synopsys and certain Synopsys product names are trademarks of Synopsys, as set forth at
http://www.synopsys.com/Company/Pages/Trademarks.aspx.
All other product or company names may be trademarks of their respective owners.
Third-Party Links
Any links to third-party websites included in this document are for your convenience only. Synopsys does not endorse and is not
responsible for such websites and their practices, including privacy practices, availability, and content.
Synopsys, Inc.
690 E. Middlefield Road
Mountain View, CA 94043
www.synopsys.com

3
Version 6323-018 Synopsys, Inc.
May 2017
Contents
Contents................................................................................................................................................3
List of Figures .......................................................................................................................................7
List of Tables.........................................................................................................................................9
1 Package Contents............................................................................................................................10
1.1 DesignWare ARC AXS103 Software Development Platform ...................................................10
1.2 DesignWare ARC AXC003 CPU Card (Standalone)................................................................11
2 Getting Started.................................................................................................................................12
2.1 Mounting the CPU Card...........................................................................................................12
2.2 Performing a Self-Test .............................................................................................................12
3 Default Board Settings.....................................................................................................................15
3.1 Default Jumper Settings on the AXC003 CPU Card ................................................................15
3.2Default Boot-Mode Settings on the ARC SDP Mainboard........................................................16
4 CPU Core Selection.........................................................................................................................17
4.1 Supported CPU Cores..............................................................................................................17
4.2 Core Selection..........................................................................................................................17
ARC HS36 CPU................................................................................................................18
ARC HS34 CPU................................................................................................................18
ARC HS38 Core 0.............................................................................................................18
ARC HS38 Core 1.............................................................................................................18
5 Self-Tests.........................................................................................................................................19
5.1 Self-Test Overview...................................................................................................................19
5.2 Executing the Self-Test of the ARC HS36 Core.......................................................................22
5.3 Executing the Self-Test of the ARC HS38x2 Core ...................................................................23
5.4 Restoring the Self-Tests in the SPI Flash.................................................................................25
6 Hardware Functional Description.....................................................................................................27
6.1 Board Overview........................................................................................................................27
6.2 Board Interface Overview.........................................................................................................30
Power Supply Connector ..................................................................................................30
HapsTrak II Connectors (Bottom)......................................................................................30
HapsTrak II Connectors (Top)...........................................................................................31
Mictor Connectors.............................................................................................................31
6.3 Jumpers ...................................................................................................................................31
6.4 LEDs ........................................................................................................................................32
6.5 Pushbutton...............................................................................................................................33
6.6 Seven-Segment Displays.........................................................................................................34
6.7 AXC003 Processor FPGA Overview........................................................................................35
Main Features of the ARC Cores......................................................................................35
PAE...................................................................................................................................37
I/O Coherency...................................................................................................................38
Interrupts...........................................................................................................................39
Clock.................................................................................................................................46
Reset.................................................................................................................................48

4
DesignWare ARC AXC003 CPU Card User Guide Contents
Synopsys, Inc. Version 6323-018
May 2017
Debug ...............................................................................................................................49
Control Registers ..............................................................................................................50
GPIO Registers.................................................................................................................52
DIP Switches for FPGA Image Selection..........................................................................55
ARC HS34 Emulation........................................................................................................56
6.8 Memories on the AXC003 CPU Card.......................................................................................57
6.9 Power Supply...........................................................................................................................58
6.10Audio Support ..........................................................................................................................59
6.11Usage of ARC SDP Mainboard Resources..............................................................................59
Usage of the Mainboard DIP Switches..............................................................................59
Usage of the Mainboard Pushbuttons...............................................................................62
Usage of the Mainboard LEDs..........................................................................................63
7 System Memory Map.......................................................................................................................65
7.1 System Memory Map After a Reset..........................................................................................65
7.2 System Memory Map After Pre-Bootloader Execution.............................................................65
7.3 Controlling the Memory Map....................................................................................................67
Setting Up the AXI Masters on the AXC003 CPU Card ....................................................67
Setting Up the AXI Masters on the ARC SDP Mainboard.................................................68
Example Register Settings for the Default Memory Map...................................................69
7.4 Memory Map of the Local Peripherals......................................................................................71
8 Programmer’s Reference .................................................................................................................72
8.1 Supported Tools and Operating Systems.................................................................................72
8.2 Boot Modes..............................................................................................................................72
Common Boot Modes .......................................................................................................72
ARC HS36 Booting from ICCM0.......................................................................................73
8.3 Pre-Boot...................................................................................................................................74
Pre-Boot Overview............................................................................................................74
8.4 Drivers......................................................................................................................................77
Drivers for Bare-Metal Applications...................................................................................77
7.4.2 Drivers for MQX..................................................................................................................78
8.5 Bare-Metal Package.................................................................................................................78
Overview...........................................................................................................................78
Building Bare-Metal Applications Using the MetaWare IDE..............................................79
Building Bare-Metal Applications Using gmake.................................................................83
Hardware Setup for Debugging.........................................................................................85
Running a Bare-Metal Application in the MetaWare IDE Debugger..................................87
Running a Bare-Metal Application in the MetaWare Debugger.........................................90
Storing an Image in the SPI Flash and Running the Application.......................................94
8.6 MQX Package..........................................................................................................................96
Overview...........................................................................................................................96
Building MQX Applications Using gmake..........................................................................97
Hardware Setup for Debugging.........................................................................................98
Running MQX Applications in the MetaWare Debugger ...................................................98
8.7 Linux and U-Boot Packages.....................................................................................................99
Overview...........................................................................................................................99
Hardware Setup for Debugging.......................................................................................100

5
Contents DesignWare ARC AXC003 CPU Card User Guide
Version 6323-018 Synopsys, Inc.
May 2017
Executing the Linux Image with U-Boot ..........................................................................100
8.8 ARCv2 Instruction Set: Usage Limitations..............................................................................107
9 Software Interfaces........................................................................................................................108
9.1 Clock-Generation Registers...................................................................................................108
TUNNEL PLL ..................................................................................................................108
ARC PLL.........................................................................................................................111
9.2 AXI Tunnel Address Decoder Registers.................................................................................114
TUN_A_SLV0: AXI Tunnel Slave Select Register 0........................................................114
TUN_A_SLV1: AXI Tunnel Slave Select Register 1........................................................114
TUN_A_OFFSET0: AXI Tunnel Address Offset Register 0.............................................115
TUN_A_OFFSET1: AXI Tunnel Address Offset Register 1.............................................116
TUN_A_UPDATE: AXI Tunnel Update Register .............................................................116
9.3 ARC CPU Address Decoder Registers ..................................................................................117
CPU_A_SLV0: ARC CPU Slave Select Register 0.........................................................117
CPU_A_SLV1: ARC CPU Slave Select Register 1.........................................................117
CPU_A_OFFSET0: ARC CPU Address Offset Register 0..............................................118
CPU_A_OFFSET1: ARC CPU Address Offset Register 1..............................................119
CPU_A_UPDATE: ARC CPU Update Register...............................................................119
9.4 ARC RTT Address Decoder Registers...................................................................................120
RTT_A_SLV0: ARC RTT Slave Select Register 0 ..........................................................120
RTT_A_SLV1: ARC RTT Slave Select Register 1 ..........................................................120
RTT_A_OFFSET0: ARC RTT Address Offset Register 0...............................................121
RTT_A_OFFSET1: ARC RTT Address Offset Register 1...............................................122
RTT_A_UPDATE: ARC RTT Update Register................................................................122
9.5 PAE Registers........................................................................................................................123
PAE: PAE Register .........................................................................................................123
PAE_UPDATE: PAE Update Register ............................................................................123
9.6 CPU Start Registers...............................................................................................................124
CPU_START: ARC CPU Start Register..........................................................................124
CPU_0_ENTRY: ARC CPU-0 Kernel Entry Point Register.............................................125
CPU_1_ENTRY: ARC CPU-1 Kernel Entry Point Register.............................................125
CPU_BOOT: Boot Register.............................................................................................125
9.7 AXI Tunnel Registers .............................................................................................................126
TUN_CTRL Register.......................................................................................................126
TUN_STAT Register.......................................................................................................126
9.8 GPIO Registers......................................................................................................................127
GPIO_SWPORTA_DR: GPIO Port A Output Register....................................................127
GPIO_SWPORTB_DR: GPIO Port B Output Register....................................................128
GPIO_EXT_PORTA: GPIO Port A Input Register...........................................................129
GPIO_EXT_PORTB: GPIO Port B Input Register...........................................................130
Appendix A........................................................................................................................................132
A.1 Mounting the AXC003 CPU Card...........................................................................................132
Appendix B........................................................................................................................................134
B.1 Installing and Configuring PuTTY...........................................................................................134
Appendix C .......................................................................................................................................137
C.1 Detailed Core Configurations.................................................................................................137

6
DesignWare ARC AXC003 CPU Card User Guide Contents
Synopsys, Inc. Version 6323-018
May 2017
Glossary and References .................................................................................................................144
Glossary........................................................................................................................................144
References....................................................................................................................................145

7
Version 6323-018 Synopsys, Inc.
May 2017
List of Figures
DesignWare ARC AXS103 Software Development Platform..........................................................10
DesignWare ARC AXC003 CPU Card............................................................................................11
Location of the ARC SDP Mainboard Power Supply and Power Switch.........................................13
ARC SDP Mainboard Status LEDs After Power-On .......................................................................13
AXC003 CPU Card Power-Control LEDs After Power-On..............................................................14
Default Jumper Settings on the AXC003 CPU Card.......................................................................15
Default Settings of the DIP Switches on the ARC SDP Mainboard ................................................16
Location of the CPU LEDs on the ARC SDP Mainboard................................................................21
Location of the LED121x on the AXC003 CPU Card......................................................................21
Location of the ARC SDP Mainboard’s Power Supply and Power Switch ......................................22
Location of the CPU Start Button SW2504 for the ARC HS36 Core...............................................22
ARC HS36 Self-Test.......................................................................................................................23
Location of the RESET Button on the ARC SDP Mainboard ..........................................................23
Location of the ARC SDP Mainboard’s Power Supply and Power Switch ......................................24
Location of the CPU Start Button SW2504 for the ARC HS38x2 Core...........................................24
Screen-Shot of ARC HS38x2 Self-Test ..........................................................................................25
Location of the RESET Button on the ARC SDP Mainboard ..........................................................25
Hardware Block Diagram (HS36)....................................................................................................28
Hardware Block Diagram (HS38x2)................................................................................................29
Location of the Power Control LEDs on the AXC003 CPU Card ....................................................32
Location of the User LEDs on the AXC003 CPU Card ...................................................................32
Location of the Pushbutton on the AXC003 CPU Card...................................................................34
AXC003 Memory Map.....................................................................................................................37
AXC003 I/O Coherency Architecture ..............................................................................................38
I/O Coherency and PAE..................................................................................................................39
HS36 Interrupt Architecture.............................................................................................................41
HS38x2 Interrupt Architecture.........................................................................................................42
Clock Architecture...........................................................................................................................47
Location of the RESET Button on the ARC SDP Mainboard ..........................................................48
JTAG Daisy-Chain ..........................................................................................................................49
Pinout of the Power Supply Connector (Bottom View)....................................................................59
Location of the Power Control LEDs on the AXC003 CPU Card....................................................59
Function and Default Settings of the DIP Switches on the ARC SDP Mainboard...........................62
Location of the CPU Start Buttons on the ARC SDP Mainboard. ...................................................63
Location of the CPU LEDs on the ARC SDP Mainboard................................................................64
Default settings of the DIP Switches on the ARC SDP Mainboard.................................................75
Pre-Boot Mechanism.......................................................................................................................76
MetaWare IDE - Select Workspace Directory.................................................................................80
MetaWare IDE –Importing Existing Projects..................................................................................80
MetaWare IDE - Set Active Build Configurations............................................................................81
MetaWare IDE –Build Results in Console Window........................................................................82
Build Script Options.........................................................................................................................83
Settings of the DIP Switches on the ARC SDP Mainboard for Using the Debugger.......................85
Location of the Debug Interfaces and the Corresponding Jumpers................................................86
Location of the ARC SDP Mainboard’s Power Supply and Power Switch ......................................86
Location of the CPU Start Buttons on the ARC SDP Mainboard. ...................................................87

8
DesignWare ARC AXC003 CPU Card List of Figures
Synopsys, Inc. Version 6323-018
May 2017
Creating a New Process .................................................................................................................90
Debugger options –Command-Line Options..................................................................................91
Debugger Options –Target Selection.............................................................................................92
Specifying a Path to the .elf File......................................................................................................92
Debugger Status.............................................................................................................................93
HyperTerminal Output.....................................................................................................................94
DIP Switch Settings for Autonomous Code Execution on the ARC Core .......................................96
Default Settings of the DIP Switches on the ARC SDP Mainboard. .............................................133
Identification of COM Port.............................................................................................................135
PuTTY Configuration.....................................................................................................................136

9
Version 6323-018 Synopsys, Inc.
May 2017
List of Tables
Table 1 Self-Test Start Buttons....................................................................................................................20
Table 2 Characters on the Seven-Segment Display During the Self-Test...................................................21
Table 3 Jumper Functionality.......................................................................................................................31
Table 4 LED Control Bits..............................................................................................................................33
Table 5 Control Bits of the Seven-Segment Displays..................................................................................35
Table 6 Main Features of the ARC Cores....................................................................................................36
Table 7 Interrupt Mapping for ARC HS36....................................................................................................43
Table 8 Interrupt Mapping for ARC HS38....................................................................................................44
Table 9 Mainboard ICTL Interrupt Mapping .................................................................................................45
Table 10 Clock Frequencies ..........................................................................................................................48
Table 11 JTAG ID Codes...............................................................................................................................49
Table 12 Control Register Memory Map........................................................................................................50
Table 13 GPIO Register Memory Map...........................................................................................................52
Table 14 GPIO Port A Output Register Bit Function (SWPORTA_DR).........................................................52
Table 15 GPIO port A Input Register Function (EXT_PORTA)......................................................................53
Table 16 GPIO port B Output Register Function (SWPORTB_DR)...............................................................54
Table 17 GPIO port B input register function (EXT_PORTB) ........................................................................55
Table 18 Memory mapping for ARC HS36.....................................................................................................56
Table 19 Memory mapping for HS34 Emulation ............................................................................................57
Table 20 Pinout of the Power-Supply Connector...........................................................................................58
Table 21 ARC Core Boot Configuration (Mainboard DIP Switch SW2501) ...................................................60
Table 22 Multicore Configuration (Mainboard DIP Switch SW2503) .............................................................61
Table 23 Usage of the CPU Start Buttons of the ARC SDP Mainboard ........................................................63
Table 24 Control Bits of the CPU LEDs on the ARC SDP Mainboard ...........................................................64
Table 25 ARC CPU Memory Map After Pre-Bootloader Execution ...............................................................65
Table 26 AXI Tunnel Memory Map After Pre-Bootloader Execution (ARC HS34 / HS36).............................67
Table 27 AXI Tunnel Memory Map After Pre-Bootloader Execution (ARC HS38).........................................67
Table 28 AXC003 CPU Card Target Slaves ..................................................................................................68
Table 29 ARC SDP Mainboard Target Slaves...............................................................................................68
Table 30 ARC CPU Memory Map Pre-Boot Programming on the AXC003 CPU Card .................................69
Table 31 Memory Map Pre-Boot Programming for All Masters on the ARC SDP Mainboard .......................70
Table 32 Peripheral Memory Map..................................................................................................................71
Table 33 Meaning of the Left Character of the Seven-Segment Display.......................................................76
Table 34 Meaning of the Right Character of the Seven-Segment Display.....................................................77
Table 35 baremetal Folder Contents..............................................................................................................78
Table 36 Build Options...................................................................................................................................81
Table 37 Command Line Options for build.bat...............................................................................................83
Table 38 CPU Start Buttons and Display Values for Running Applications in the Debugger ........................87
Table 39 Property Arguments for Selecting the CPU Core in the Debugger .................................................91
Table 40 MQX folder Contents.......................................................................................................................97
Table 41 GPIO port A Output Register (GPIO_SWPORTA_DR).................................................................127
Table 42 GPIO port B output Register (GPIO_SWPORTB_DR) .................................................................128
Table 43 GPIO Port A Input Register (GPIO_EXT_PORTA).......................................................................129
Table 44 GPIO Port B Input Register (GPIO_EXT_PORTB).......................................................................130

10
Synopsys, Inc. Version 6323-018
May 2017
1
Package Contents
1.1 DesignWare ARC AXS103 Software Development
Platform
The DesignWare ARC AXS103 Software Development Platform package contains the
following items:
DesignWare ARC AXC003 CPU Card mounted on ARC SDP Mainboard
100-240V AC power adapter (including power cables for U.S., UK, and EU outlets)
USB cable
Pen-sized plastic dipstick for actuating DIP switches
DesignWare ARC AXS103 Software Development Platform
Warning
The AXC003 CPU Card and the ARC SDP Mainboard contain static-sensitive devices.

11
DesignWare ARC AXC003 CPU Card (Standalone) DesignWare ARC AXC003 CPU Card User Guide
Version 6323-018 Synopsys, Inc.
May 2017
1.2 DesignWare ARC AXC003 CPU Card (Standalone)
The DesignWare ARC AXC003 CPU Card package contains the DesignWare ARC AXC003
CPU Card printed circuit board.
DesignWare ARC AXC003 CPU Card
Warning
The AXC003 CPU Card contains static-sensitive devices.

12
Synopsys, Inc. Version 6323-018
May 2017
2
Getting Started
This chapter contains a step-by-step guide for installing the software package for the
AXS103 Software Development Platform, connecting the ARC SDP Mainboard, and
performing a self-test.
2.1 Mounting the CPU Card
If you purchased a standalone AXC003 CPU Card, see the instructions in Appendix A for
mounting the CPU Card on the ARC SDP Mainboard to obtain a complete AXS103 Software
Development Platform.
2.2 Performing a Self-Test
Follow these steps to get the AXS103 Software Development Platform up and running and to
perform a self-test.
1. Download and unzip the axs103_software_<version>.zip file from the ARC
SDP download webpage [4].
2. Install the USB-JTAG and USB-UART drivers (Digilent Adept tool) according to the
instructions provided in the ARC SDP Mainboard User Guide [5].
3. Connect the ARC SDP Mainboard to your PC by connecting the USB cable to the
USB data port of the Mainboard and the PC.
4. Connect the power supply to the ARC SDP Mainboard and switch on the Mainboard.

13
Performing a Self-Test DesignWare ARC AXC003 CPU Card User Guide
Version 6323-018 Synopsys, Inc.
May 2017
Location of the ARC SDP Mainboard Power Supply and Power Switch
5. Install PuTTY on your computer as described in Appendix B.
The FPGA on the ARC SDP Mainboard is now configured automatically and the
Mainboard executes the reset sequence. The status LEDs DONE, RESET, TUNNEL0,
and TUNNEL1 on the Mainboard shine red during startup.
6. Wait until all status LEDs except TUNNEL1 shine green. This may take several
seconds. The LED TUNNEL1 continues to shine red.
ARC SDP Mainboard Status LEDs After Power-On
7. Check that the six power LEDs on the AXC003 CPU Card are all on, shining green.
+12 V
RESET
TEMP
DONE
POWER
TUNNEL0
TUNNEL1

14
DesignWare ARC AXC003 CPU Card User Guide Performing a Self-Test
Synopsys, Inc. Version 6323-018
May 2017
AXC003 CPU Card Power-Control LEDs After Power-On
8. Perform the self-test for one or both CPU cores as described in the “Self-Tests” section
on page 19.
For the next steps, see “Bare-Metal Package”on page 78.
Note
The AXS103 Software Development Platform is supplied with the ARC SDP Mainboard
version 3.x. The AXC003 CPU Card is also compatible with ARC SDP Mainboard
version 2.x. Follow the instructions provided with the firmware package
axs103_firmware_<version>.zip to configure the ARC SDP Mainboard.

15
Version 6323-018 Synopsys, Inc.
May 2017
3
Default Board Settings
This section describes the factory default settings of the jumpers on the AXC003 CPU Card
and the default boot-mode settings for the cores on the AXC003 CPU Card, which can be
selected by DIP switches on the ARC SDP Mainboard.
3.1 Default Jumper Settings on the AXC003 CPU Card
The jumpers on the AXC003 CPU Card must be set according to Figure 6.
Default Jumper Settings on the AXC003 CPU Card
JP801
JP120x
1
SW802
JP1314
JP1307

16
DesignWare ARC AXC003 CPU Card User Guide Default Boot-Mode Settings on the ARC SDP Mainboard
Synopsys, Inc. Version 6323-018
May 2017
3.2 Default Boot-Mode Settings on the ARC SDP
Mainboard
The DIP switches on the ARC SDP Mainboard are set according to Figure 7.
All cores are configured to boot from the internal ROM and automatically start the pre-
bootloader application after reset. The pre-bootloader handles initialization of the system and
sets the CPU in the halt state.
Application loading from the SPI flash is bypassed.
If you want to start an ARC core manually, set bit 7 (boot start mode) to the right-side position.
In this case, the CPU delays code execution after reset until the corresponding CPU Start
button on the ARC SDP Mainboard is pressed.
Default Settings of the DIP Switches on the ARC SDP Mainboard
SW2501
1
2
3
4
5
6
7
‘1’ ‘0’
Boot Mirror Select
Bypass loading
Reserved
SW2503
1
3
4
5
6
7
‘1' ‘0’
Boot Core Select
Multi-core mode
8Reserved
2
9
SW2502
1
2
3
4
5
6
7
‘1' ‘0’
Reserved
SW2401
1
3
4
5
6
7
‘1’ ‘0’
For application
purposes
8
2
9
10
SW2504 SW2507
SW2506 SW2505
Start ARC HS
GPIO
EXT_PORTA[20]
Reserved
GPIO
EXT_PORTA[21]
Reserved
GPIO
EXT_PORTA[22]
Reserved
GPIO
EXT_PORTA[23]
Cache mode (HS34/HS36 only)
Boot start mode
Reserved

17
Version 6323-018 Synopsys, Inc.
May 2017
4
CPU Core Selection
This chapter provides instructions for selecting a CPU core.
4.1 Supported CPU Cores
Following CPU cores can be used with the AXS103 Software Development Platform:
ARC HS36
ARC HS36 in ARC HS34 emulation mode
ARC HS38 single-core mode, core 0
ARC HS38 single-core mode, core 1
Dual-core ARC HS38x2
4.2 Core Selection
To select a CPU core, use the DIP switches on the AXC003 CPU Card and on the ARC SDP
Mainboard.The configuration is selected in the reset state.
SW802 on the AXC003 CPU Card defines the FPGA image to be loaded at power-on reset.
The following bits of SW802 define the FPGA image that is selected:
00 –FPGA image for ARC HS36 CPU
01 –FPGA image for ARC HS38x2 CPU
DIP switches SW2501 and SW2503 on the ARC SDP Mainboard select the core used within
a particular FPGA image:
Bit 6 of SW2501 defines whether the data cache and instruction cache are bypassed,
that is, it selects ARC HS36 or ARC HS34 emulation. For more details, see “ARC HS34
Emulation”on page 56.
Bits 1 to 3 of SW2503 select a dual-core configuration ARC HS38x2.
For the detailed description of DIP switches used for configuration, see “Usage of the
Mainboard DIP Switches”on page 59.

18
DesignWare ARC AXC003 CPU Card User Guide Core Selection
Synopsys, Inc. Version 6323-018
May 2017
ARC HS36 CPU
To select ARC HS36 use following settings:
SW802 –00
Bit 6 of SW2501 –0
Bits 1 to 2 of SW2503 –
1
2
00
ARC HS34 CPU
To select ARC HS34, use following settings:
SW802 –00
Bit 6 of SW2501 –1
Bits 1 to 2 of SW2503 -
1
2
00
ARC HS38 Core 0
To select ARC HS38 core 0 use following settings:
SW802 –01
Bits 1 to 2 of SW2503 -
1
2
00
ARC HS38 Core 1
To select ARC HS38 core 1 use following settings:
SW802 –01
Bits 1 to 2 of SW2503 -
1
2
01

19
Version 6323-018 Synopsys, Inc.
May 2017
5
Self-Tests
This chapter provides an overview of the self-tests and includes detailed instructions for
executing the self-test on each individual CPU core. The expected behavior during the self-
test is described as well.
5.1 Self-Test Overview
At the time of shipment, the SPI Flash on the ARC SDP Mainboard contains a self-test for
each CPU core.
Descriptions in this section are based on the following assumptions:
The SPI Flash contains self-tests
The DIP switches on the ARC SDP Mainboard and on the AXC003 CPU Card are set
as described in “Default Board Settings” on page 15.
The steps described in “Getting Started” on page 12 have been performed.
Note
If you have programmed other applications in the SPI Flash, you can restore the self-test
as described in the “Restoring the Self-Tests in the SPI Flash” on page 25.
With the default board settings, the CPU core runs autonomously and application loading from
SPI flash is bypassed.
To perform a self-test, use the following settings of DIP switch SW2501:
Bit 3 “Bypass loading”: .
The pre-bootloader looks for the appropriate application in the
SPI flash and runs it if found.
Bit 7 “Boot start mode”:
Start ARC core manually.
Run the self-test for a particular CPU by pushing the corresponding CPU Start button listed
in Table 1.

20
DesignWare ARC AXC003 CPU Card User Guide Self-Test Overview
Synopsys, Inc. Version 6323-018
May 2017
Table 1 Self-Test Start Buttons
CPU Core
CPU Start Button
Location
ARC HS36
ARC HS38x2
SW2504
Reserved
SW2506
Reserved
SW2505
Reserved
SW2507
The self-test accesses the peripherals of the peripheral subsystem that is implemented in the
FPGA on the ARC SDP Mainboard. It displays information on the bitfile version and the
available peripherals in a debug console on the PC. Additionally, the current CPU core speed
is measured and displayed in the debug console. For a quick start, use a hyperterminal, such
as PuTTY, as a debug console (see “Getting Started”).
Next, the self-test enters an infinite loop, which creates walking patterns on the CPU-LEDs on
the ARC SDP Mainboard and LED121x on the AXC003 CPU Card as follows:
The CPU-LEDs (LED2501, LED2502, LED2503, LED2504, LED2505, LED2506,
LED2507 and LED2508) on the ARC SDP Mainboard display a walking pattern with one of
the LEDs switched ON.
The eight LED121x LEDs on the AXC003 CPU Card show a walking pattern with one of the
LEDs switched OFF.
The figures on page 21 show the locations of the LEDs.
Table of contents
Popular Computer Hardware manuals by other brands

Acces I/O products
Acces I/O products MPCIE-ICM232-4 Hardware manual

METRObility Optical Systems
METRObility Optical Systems R621-11 Installation & user guide

Active Cool
Active Cool AC4G user manual

Supermicro
Supermicro AOC-S25G6-M2S user manual

COUGAR
COUGAR POLAR X2 1050 quick start guide

Lexicon
Lexicon MPX - ADDENDUM REV 1 Quick reference guide