You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/documents/board/emsk.rst
+131-3Lines changed: 131 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ Usage
35
35
-----
36
36
37
37
EM core configurations
38
-
^^^^^^^^^^^^^^^^^^^^^^
38
+
**********************
39
39
40
40
The FPGA board includes a SPI flash storage device pre-programmed with FPGA
41
41
images containing different configurations of DesignWare® ARC EM cores.
@@ -57,7 +57,7 @@ for different suported versions of EMSK board.
57
57
58
58
59
59
Peripherals
60
-
^^^^^^^^^^^
60
+
***********
61
61
62
62
There are many peripheral devices available, such as SPI master, SPI slave,
63
63
IIC, UART, GPIO. External hardware interface devices can be connected to the
@@ -77,10 +77,138 @@ memory mappings for different supported versions of EMSK board are shown below:
77
77
:alt:EMSK 2.3 - Peripheral Connections and Memory Mapping
78
78
79
79
Peripherals interrupts
80
-
^^^^^^^^^^^^^^^^^^^^^^
80
+
**********************
81
81
82
82
Peripherals can generate interrupts to the CPU. The interrupt irq assignments
83
83
are as follows.
84
84
85
85
.. image:: /pic/emsk_interrupt_connection.jpg
86
86
:alt:Interrupt Assignments
87
+
88
+
.. _getting_started_with_em_starter_kit:
89
+
90
+
Programming and Debugging
91
+
-------------------------
92
+
93
+
Required Hardware and Software
94
+
******************************
95
+
96
+
To use embARC OSP applications on the IoTDK board, the following items are required
97
+
98
+
* USB Cable
99
+
* The USB cable provides power to the board (maximum 500 mA); however, if the board is to run
100
+
standalone, the universal switching power adaptor (110-240V AC to 5V DC),
101
+
can be used to power the board
102
+
* :ref:`software_requirement`.
103
+
* (optional) A collection of PMOD modules.
104
+
105
+
Set up the EMSK
106
+
***************
107
+
108
+
#. The EMSK has a bank of DIP switches labeled SW1 that are used to select a configuration. For example, to select ARC EM11D for EMSK 2.3, set bit 2 to the ON position (down), and the others to OFF (up) as shown.
For exact DIP switch settings for various ARC EM Starter Kit versions, refer to EM Starter Kit section in provided embARC documentation. For complete ARC EM Starter Kit information, see the **EM Starter Kit User's Guide** provided with the ARC EM Starter Kit.
116
+
117
+
#. Connect the USB cable to connector J7 on the EMSK to USB port on your development host. If using the Ashling Opella-XD for ARC Debug Probe, connect it to the J15 connector on EMSK.
118
+
119
+
.. note:: Despite the fact that EMSK 2.3 can be powered by connector J7, it is recommended to always use an AC adapter to supply power of the board.
120
+
121
+
#. You can use any terminal emulation program to view UART output from the EMSK. The USB connection provides both the debug channel and RS232 transport. Use PuTTY application on Windows as an example.
122
+
123
+
* Determine which COM port the EMSK is using.
124
+
125
+
* Open the **Windows Control Panel** and select **Device Manager** in a Windows environment.
126
+
* Expand **Ports (COM and LPT)** in the list. Select **USB Serial Port (COM x)** and note the COM port number for the ARC board.
127
+
128
+
* Configure serial terminal connection.
129
+
130
+
* Launch PuTTY. Select **Serial** under **Connection type** and enter the appropriate COM port string under **Serial line**.
131
+
* Choose 115200 baud, 8 bits, 1 stop bit, no parity (115200-8-N-1) in settings.
132
+
* You can optionally save your settings so they can be easily retrieved every time PuTTY is launched.
133
+
* Click Open to open the console.
134
+
135
+
#. Test serial output with EMSK.
136
+
137
+
* Press the middle ("R"eset) button above the **ARC** label on the EMSK board to reset the board and run the self-test.
138
+
* Use EMSK 2.3 as an example. Confirm that you can see the header and self-test message printed to the console.
139
+
140
+
.. code-block:: console
141
+
142
+
***********************************
143
+
** Synopsys, Inc. **
144
+
** ARC EM Starter kit **
145
+
** **
146
+
** Comprehensive software stacks **
147
+
** available from embARC.org **
148
+
** **
149
+
***********************************
150
+
Firmware Feb 22 2017, v2.3
151
+
Bootloader Feb 22 2017, v1.1
152
+
ARC EM11D, core configuration #3
153
+
154
+
ARC IDENTITY = 0x43
155
+
RF_BUILD = 0xc902
156
+
TIMER_BUILD = 0x10304
157
+
ICCM_BUILD = 0x804
158
+
DCCM_BUILD = 0x10804
159
+
I_CACHE_BUILD = 0x135104
160
+
D_CACHE_BUILD = 0x215104
161
+
162
+
SelfTest PASSED
163
+
164
+
Info: No boot image found
165
+
166
+
#. (Optional) Connect the PmodWiFi, PmodRF2, and PmodTMP2 modules to the EMSK as shown.
The ARC HS Development Kit features the following components:
20
24
21
25
- ARC HS SoC:
22
-
- Quad Core HS38x4 Processor
23
-
- DDR3 memory controller
24
-
- GPU
25
-
- USB, Ethernet, SDIO
26
-
- DesignWare APB Peripherals (consult HSDK documentation for complete details)
26
+
27
+
- Quad Core HS38x4 Processor
28
+
- DDR3 memory controller
29
+
- GPU
30
+
- USB, Ethernet, SDIO
31
+
- DesignWare APB Peripherals (consult HSDK documentation for complete details)
32
+
27
33
- Memory / Storage:
28
-
- DDR3-1333 (4 GB)
29
-
- 2x SPI Flash (2 MB)
30
-
- I2C EEPROM (3 KB)
34
+
- DDR3-1333 (4 GB)
35
+
- 2x SPI Flash (2 MB)
36
+
- I2C EEPROM (3 KB)
37
+
31
38
- Interfaces:
32
-
- USB2 (2x)
33
-
- Ethernet (10/100/1000)
34
-
- Audio - line in/out
35
-
- USB Data port (JTAG/UART)
36
-
- Micro-SD Card
37
-
- WIFI/BT module
38
-
- ADC (6 channels)
39
-
- RTT Nexus and JTAG connectors
39
+
- USB2 (2x)
40
+
- Ethernet (10/100/1000)
41
+
- Audio - line in/out
42
+
- USB Data port (JTAG/UART)
43
+
- Micro-SD Card
44
+
- WIFI/BT module
45
+
- ADC (6 channels)
46
+
- RTT Nexus and JTAG connectors
47
+
40
48
- Extensions:
41
-
- AXI Tunnel (32-bit, 150 MHz)
42
-
- Arduino - Interface headers (UNO R3 compatible)
43
-
- mikroBUS headers
44
-
- Pmod Interfaces (3x), PMOD A and PMOD B (12 pins), PMOD C (6 pins)
49
+
- AXI Tunnel (32-bit, 150 MHz)
50
+
- Arduino - Interface headers (UNO R3 compatible)
51
+
- mikroBUS headers
52
+
- PMOD Interfaces (3x), PMOD A and PMOD B (12 pins), PMOD C (6 pins)
45
53
46
54
.. image:: /pic/hsdk_block_diagram.jpg
47
55
:alt:ARC HSDK Block Diagram
@@ -88,9 +96,9 @@ The ARC HS SoC provides the following main features:
88
96
- DDR3 interface
89
97
90
98
- max speed grade DDR-1600 (800MHz)
91
-
- data width 32bit
92
-
- max row address width 16bit
93
-
- max bank address width 3bit
99
+
- data width 32 bits
100
+
- max row address width 16 bits
101
+
- max bank address width 3 bits
94
102
- max 2 memory ranks
95
103
- max supported DDR memory size is 4GByte
96
104
@@ -109,3 +117,128 @@ The ARC HS SoC provides the following main features:
109
117
- SPI interfaces
110
118
- PWM interfaces
111
119
- JTAG interface
120
+
121
+
Extension Interfaces
122
+
--------------------
123
+
124
+
To bring your application context around the ARC HSDK, the following
125
+
peripheral module standards are supported:
126
+
127
+
* Digilent PMOD™ (3x)
128
+
* MikroBUS (1x)
129
+
* Arduino (1x)
130
+
131
+
For the details of extension interfaces, please go for the user manual/datasheet of HSDK. Users can change the interface configuration through the pinmux API in ``dev_pinmux.h``.
132
+
133
+
.. note:: In the examples of embARC OSP, PMOD_B is used to connected SPI devices with PMOD interface, e.g. PMOD WiFI, PMOD_A is used to connected I2C devices with PMOD interface, e.g. PMOD ADC.
134
+
135
+
Programming and Debugging
136
+
-------------------------
137
+
138
+
.. _getting_started_with_hs_development_kit:
139
+
140
+
141
+
Required Hardware and Software
142
+
******************************
143
+
144
+
To use embARC OSP applications on the IoTDK board, the following items are required
145
+
146
+
* USB Cable
147
+
* The universal switching power adaptor (110-240V AC to 12V DC), can be used to power the board
148
+
* :ref:`software_requirement`.
149
+
* (optional) A collection of PMODs and Arduino modules.
150
+
151
+
152
+
Set up the HSDK
153
+
***************
154
+
155
+
#. The HSDK boot switches are shown below. There are multiple configurations, such as boot mirror, boot image location, boot start mode, core selection and multi-core mode. For example, the configurations in the following picture are boot image location: 0x1 (internal ROM), boot start mode: generate cpu_start autonomously after reset, core selection: 0x0 (HS38X4_0), and multi-core mode: 0x0 (signal-core). For complete HSDK information, see the **HS Development Kit User's Guide** provided with the HSDK.
#. Connect the USB cable to the HSDK mini-USB connector and to the USB port on your development host. If using the Ashling Opella-XD for ARC Debug Probe or Digilent JTAG-HS2 Probe, connect it to the right connector. Connect the power supply to the board and to the power outlet.
#. You can use any terminal emulation program to view UART output from the HSDK. The USB connection provides both the debug channel and RS232 transport. Use Tera Term in Windows as an example.
170
+
171
+
* Determine which COM port the HSDK is using.
172
+
173
+
* Open the **Windows Control Panel** and select **Device Manager** in a Windows environment.
174
+
* Expand **Ports (COM and LPT)** in the list. Select **USB Serial Port (COM x)** and Note the COM port number for the ARC board.
175
+
176
+
* Configure serial terminal connection.
177
+
178
+
* Launch Tera Term. Select **Serial** in **Setup**. Choose the appropriate COM port string in **Port** and 115200 in **Baud rate**, 8 bits data, 1 stop bit, no parity (115200-8-N-1). Click **OK** to set the port configuration.
179
+
* You can optionally save your settings so they can be easily retrieved.
180
+
* Select **New connection** in **File** and choose the appropriate COM in **Serial**.
181
+
182
+
#. Test serial output with HSDK.
183
+
184
+
* Press the "RESET" button on the HSDK board to reset the board.
185
+
* Confirm that you can see the header and self-test message printed to the console.
186
+
187
+
.. code-block:: console
188
+
189
+
********************************
190
+
** Synopsys, Inc. **
191
+
** ARC HS Development Kit **
192
+
********************************
193
+
** IC revision: Rev 1.0
194
+
Bootloader revision: Jun 12 2016, 08:54:06
195
+
Bootloader location: 0x1 (internal ROM)
196
+
Bootloader aux: 0x9 (sg15E,4Gb,x8,2r)
197
+
Bootloader speedmode: Slow
198
+
Bootloader multicore: 0x0 (Single-core)
199
+
200
+
201
+
#. (Optional) Connect the PmodWiFi and PmodRF2 to the HSDK as shown.
0 commit comments