<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.spiderboard.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Dk</id>
		<title>spiderboard.org - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://www.spiderboard.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Dk"/>
		<link rel="alternate" type="text/html" href="http://www.spiderboard.org/index.php?title=Special:Contributions/Dk"/>
		<updated>2026-05-28T07:35:14Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.29.1</generator>

	<entry>
		<id>http://www.spiderboard.org/index.php?title=Spiderboard_SoM&amp;diff=341</id>
		<title>Spiderboard SoM</title>
		<link rel="alternate" type="text/html" href="http://www.spiderboard.org/index.php?title=Spiderboard_SoM&amp;diff=341"/>
				<updated>2021-05-27T13:02:35Z</updated>
		
		<summary type="html">&lt;p&gt;Dk: /* Resources */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About SpiderSoM ==&lt;br /&gt;
The SpiderSoM is a programmable, non-volatile solution based on Intel® MAX®10 FPGA, which enables it to deliver full-featured FPGA capabilities: support for various soft-core CPUs, video-processing algorithms, etc. The SpiderSoM promotes the free and open design concept: all resources, like i.e. design files, gerber, source code, etc. are available under certain open licenses. The SpiderSoM is available as a low cost and extremely flexible platform which enables user to setup a running system according to the required specification in a very short time.&lt;br /&gt;
&lt;br /&gt;
[[File:SpiderSoM-800x496.png|400px]]&lt;br /&gt;
&lt;br /&gt;
This module can be considered as a cost-optimized alternative to the [http://www.aries-embedded.de/?q=MX10 MX10 module].&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
&lt;br /&gt;
==== Featureset ====&lt;br /&gt;
* MAX 10 FPGA in F256 package&lt;br /&gt;
* Module supports wide range of the devices: from 10M04DC to 10M50DA&lt;br /&gt;
* Optional 4 MByte SPI NOR&lt;br /&gt;
* Optional 4 GByte e.MMC&lt;br /&gt;
* Optional 128/256/512MByte DDR3 DRAM (for 10M 16/25/40/50 FPGAs)&lt;br /&gt;
* Programmable clock generator and PLL, with optional external reference input&lt;br /&gt;
* 178 FPGA GPIO pins, including 13 LVDS transmitters and 54 receivers&lt;br /&gt;
* RTC with battery backup&lt;br /&gt;
* Programmable high-efficient PMIC, FPGA IO voltages are configurable&lt;br /&gt;
* Optional Li-Ion/Li-Pol charger&lt;br /&gt;
* Size: 70mm x 35mm&lt;br /&gt;
&lt;br /&gt;
==== Block Diagram ====&lt;br /&gt;
&lt;br /&gt;
:::::[[File:SpiderSoM-BD.png|500px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
MX10 and SpiderSoM modules provide a USB device interface implemented with a Microchip PIC16F1454 microcontroller (MCU).&amp;lt;br /&amp;gt;&lt;br /&gt;
On the host side Linux is supported as Operating System, currently Ubuntu 16.04 LTS is marked as a reference base.&amp;lt;br /&amp;gt;&lt;br /&gt;
On the SoM side the MCU is connected to three interfaces:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;UART&amp;#039;&amp;#039;&amp;#039; - Accessible as standard serial device ( &amp;#039;&amp;#039;/dev/ttyACMx&amp;#039;&amp;#039; ).&lt;br /&gt;
: Connected to the FPGA.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;I2C&amp;#039;&amp;#039;&amp;#039; - Accessible as standard i2c device ( &amp;#039;&amp;#039;/dev/i2c-x&amp;#039;&amp;#039; ). Requires [https://github.com/ARIES-Embedded/i2c-aries-emb driver].&lt;br /&gt;
: Connected to module PMIC, charge controller, RTC and FPGA.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;JTAG&amp;#039;&amp;#039;&amp;#039; - Used with OpenOCD to program the FPGA (see [[Getting Started: Quartus Prime &amp;amp; OpenOCD]] for more).&lt;br /&gt;
* Additionally the MCU implements a bootloader supporting the &amp;#039;&amp;#039;&amp;#039;DFU&amp;#039;&amp;#039;&amp;#039; (Device Firmware Update) protocol (see [[Compiling and Programming PIC Firmware]] for more).&lt;br /&gt;
&lt;br /&gt;
Currently Windows is not fully supported. One can use the serial interface by manually installing the USB Serial driver.&lt;br /&gt;
* Open device manager and select &amp;quot;Other devices&amp;quot; &amp;gt; &amp;quot;Unknown Device&amp;quot;. Open its properties and verify that under the details tab the property &amp;quot;Device install path&amp;quot; reads &amp;quot;USB\VID_04D8&amp;amp;PID_EFD0&amp;amp;MI_02\...&amp;quot; Then in the general tab, select &amp;quot;Update driver&amp;quot;. Here select &amp;quot;Browse my computer...&amp;quot; and &amp;quot;Let me pick from a list...&amp;quot;. Select &amp;quot;Ports (COM &amp;amp; LPT)&amp;quot; then select manufacturer &amp;quot;Microsoft&amp;quot; and model &amp;quot;USB Serial Device&amp;quot;. A new COMx device will then be created which can be used with serial tools.&lt;br /&gt;
* Alternative way is to use Zadig (https://zadig.akeo.ie/). With this tool you can overwrite the Composite-Device-driver with a USB Serial driver. Make sure that in the Options tab &amp;quot;List All devices&amp;quot; is checked and &amp;quot;Ignore Hubs or Composite Parents&amp;quot; is unchecked. Then select &amp;quot;MX10/Spider MCU (Composite Parent)&amp;quot; and USB Serial (CDC) and click &amp;quot;Replace Driver&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
==== References ====&lt;br /&gt;
&lt;br /&gt;
* [[Pin Assignment Table| Pin Assignment Table for SpiderSoM and MX10]]&lt;br /&gt;
* [[Compiling and Programming PIC Firmware]]&lt;br /&gt;
* [[Installing OpenOCD]]&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&lt;br /&gt;
* [[Getting Started: Quartus Prime &amp;amp; OpenOCD]]&lt;br /&gt;
* [[RISC-V &amp;amp; FreeRTOS | VectorBlox ORCA RISC-V &amp;amp; FreeRTOS]]&lt;br /&gt;
&lt;br /&gt;
==== Downloads ====&lt;br /&gt;
&lt;br /&gt;
The following components are available for download:&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/ARIES-Embedded/i2c-aries-emb Linux I2C Driver for SpiderSoM &amp;amp; MX10 on Github]&lt;br /&gt;
* [https://github.com/ARIES-Embedded/pic16f1-usb-firmware PIC Firmware for SpiderSoM &amp;amp; MX10 on GitHub]&lt;br /&gt;
* [https://downloads.aries-embedded.de/products/Spiderboard/Baseboard/spiderboard_schematics_V2.0_2017-10-27.pdf PDF-Schematics]&lt;br /&gt;
* [https://downloads.aries-embedded.de/products/Spiderboard/Baseboard/spiderboard_V2.0_project_2017-10-27.tar.gz KiCad Project Files]&lt;br /&gt;
* [https://downloads.aries-embedded.de/products/Spiderboard/Baseboard/spiderboard_V2.0_bom_2017-10-27.csv Bill of Materials]&lt;br /&gt;
* [https://downloads.aries-embedded.de/products/Spiderboard/Baseboard/spiderboard_V2.0_gerber_2017-10-27.tar.gz Gerber Data]&lt;br /&gt;
&lt;br /&gt;
==== License ====&lt;br /&gt;
&lt;br /&gt;
The SpiderSoM is an Open Hardware. All design files are available under [[CERN_OHL_V1.2]]&lt;/div&gt;</summary>
		<author><name>Dk</name></author>	</entry>

	<entry>
		<id>http://www.spiderboard.org/index.php?title=RISC-V_%26_FreeRTOS&amp;diff=340</id>
		<title>RISC-V &amp; FreeRTOS</title>
		<link rel="alternate" type="text/html" href="http://www.spiderboard.org/index.php?title=RISC-V_%26_FreeRTOS&amp;diff=340"/>
				<updated>2021-05-27T12:59:49Z</updated>
		
		<summary type="html">&lt;p&gt;Dk: /* Compiling Firmware */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
* Linux Operating System (this guide uses Ubuntu 16.04)&lt;br /&gt;
* Utility Software (git, make, python)&lt;br /&gt;
* [http://fpgasoftware.intel.com/?edition=lite Quartus Prime]&lt;br /&gt;
* A [[Spiderboard_SoM|SpiderSoM]] or MX10&amp;lt;sup&amp;gt;[[Installing OpenOCD#MX10 Hardware Issue|[note]]]&amp;lt;/sup&amp;gt; with atleast 8K LE, [[Spiderboard_Baseboard|SpiderBase]], optionally [https://shop.aries-embedded.de/tools/pmod/302/pmod-8ld?c=88 LED Pmod]&lt;br /&gt;
* One of the following:&lt;br /&gt;
** [[Installing OpenOCD|OpenOCD]]&lt;br /&gt;
** USB Blaster and Quartus Programmer&lt;br /&gt;
&lt;br /&gt;
== Installing VectorBlox ORCA Core and RISC-V Tools ==&lt;br /&gt;
&lt;br /&gt;
* Download the source from [https://github.com/VectorBlox/orca https://github.com/VectorBlox/orca] using git.&lt;br /&gt;
*: This guide uses the install locations &amp;#039;&amp;#039;/opt/orca/&amp;#039;&amp;#039; and &amp;#039;&amp;#039;/opt/riscv/&amp;#039;&amp;#039;, you can substitute them if you wish.&lt;br /&gt;
* Open a terminal window and run:&lt;br /&gt;
*: &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; &amp;lt;nowiki&amp;gt; git clone https://github.com/VectorBlox/orca.git /opt/orca &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*: &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; cd /opt/orca/tools/riscv-toolchain/&lt;br /&gt;
*: &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; export RISCV_INSTALL=&amp;quot;/opt/riscv&amp;quot;&lt;br /&gt;
*: &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; ./build-toolchain.sh&lt;br /&gt;
*:: Info: This may take a while.&lt;br /&gt;
* Finally, add the RISC-V tools to your path. Open &amp;#039;&amp;#039;.profile&amp;#039;&amp;#039; in your home directory with a text exitor and add the line:&lt;br /&gt;
*: PATH=&amp;quot;/opt/riscv/bin:$PATH&amp;quot;&lt;br /&gt;
* After updating the path variable you may need to logout and login again or run the following command in the terminal:&lt;br /&gt;
*: &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; source ~/.profile&lt;br /&gt;
&lt;br /&gt;
== Compiling Firmware ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Download the [https://downloads.aries-embedded.de/products/MX10/software/demo/20190604_mx10_spider_riscv_freertos.zip RISC-V &amp;amp; FreeRTOS Example] and unpack.&lt;br /&gt;
* Then choose either RISC-V or RISC-V &amp;amp; FreeRTOS and run make.&lt;br /&gt;
* Open a terminal window and run the commands:&lt;br /&gt;
*: &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; wget &amp;lt;nowiki&amp;gt;https://downloads.aries-embedded.de/products/MX10/software/demo/20190604_mx10_spider_riscv_freertos.zip&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*: &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; unzip 20190604_mx10_spider_riscv_freertos.zip&lt;br /&gt;
** For the RISC-V standalone demo:&lt;br /&gt;
**: &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; cd mx10_spider_riscv_freertos/riscv&lt;br /&gt;
** Or for RISC-V with FreeRTOS:&lt;br /&gt;
**: &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; cd mx10_spider_riscv_freertos/riscv_freertos&lt;br /&gt;
*: &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; make&lt;br /&gt;
* This will create the &amp;#039;&amp;#039;bootrom.mif&amp;#039;&amp;#039; (Memory Initialization File) in the subfolder &amp;#039;&amp;#039;out&amp;#039;&amp;#039;.&lt;br /&gt;
* Copy the &amp;#039;&amp;#039;bootrom.mif&amp;#039;&amp;#039; to &amp;#039;&amp;#039;mx10_spider_riscv_freertos/quartus_mx10&amp;#039;&amp;#039; or &amp;#039;&amp;#039;mx10_spider_riscv_freertos/quartus_spider&amp;#039;&amp;#039;, depending on which module you use.&lt;br /&gt;
*: &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; cp out/bootrom.mif ../quartus_spider&lt;br /&gt;
&lt;br /&gt;
[[File:terminal_make_riscv.png|1200px|Terminal after calling make.]]&lt;br /&gt;
&lt;br /&gt;
== Quartus Prime Project ==&lt;br /&gt;
&lt;br /&gt;
* Open Quartus Prime and load the project under &amp;#039;&amp;#039;mx10_spider_riscv_freertos/quartus_mx10&amp;#039;&amp;#039; or &amp;#039;&amp;#039;mx10_spider_riscv_freertos/quartus_spider&amp;#039;&amp;#039;&lt;br /&gt;
* Open Device Settings (Assigments -&amp;gt; Device) and select your FPGA, the default FPGA the MX10 project is the 10M08DAF256C8G FPGA and for the SpiderSoM project the 10M08SAU169C8G FPGA.&lt;br /&gt;
* Open &amp;#039;&amp;#039;&amp;#039;Assignments -&amp;gt; Settings -&amp;gt; IP Settings -&amp;gt; IP Catalog Search Locations&amp;#039;&amp;#039;&amp;#039; and add the search path to ORCA.&lt;br /&gt;
*: If ORCA was installed under &amp;#039;&amp;#039;/opt/orca/&amp;#039;&amp;#039; then type in as search path &amp;#039;&amp;#039;/opt/orca/**/*&amp;#039;&amp;#039; and click on the &amp;#039;&amp;#039;Add&amp;#039;&amp;#039; button.&lt;br /&gt;
[[File:quartus_setting_iploc.png|700px|Type in the search path and then click on &amp;#039;&amp;#039;Add&amp;#039;&amp;#039;.]]&lt;br /&gt;
* (Optional) Launch Qsys Platform Designer and open &amp;#039;&amp;#039;qsys.qsys&amp;#039;&amp;#039;&lt;br /&gt;
** (Optional) Under System Contents, double-click &amp;#039;&amp;#039;onchip_memory2_0&amp;#039;&amp;#039; and under memory initialization provide your bootrom.mif file. Per default the bootrom.mif in the quartus folder will be used.&lt;br /&gt;
** (Optional) Save and Generate the Qsys system.&lt;br /&gt;
[[File:qsys-ram-init.png|900px|Setting the memory initialization in Qsys Platform Designer]]&lt;br /&gt;
* Compile the project and program it onto the FPGA using either [[Getting Started: Quartus Prime &amp;amp; OpenOCD#Programming via OpenOCD | OpenOCD]] or [[Getting Started: Quartus Prime &amp;amp; OpenOCD#Programming via USB Blaster| USB-Blaster]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After programming:&lt;br /&gt;
&lt;br /&gt;
* If the red or orange LED on the module starts blinking once per second, the FPGA was programmed successfully.&lt;br /&gt;
* If the green LED on the module starts blinking once every two seconds, the RISC-V Core and its firmware is working.&lt;br /&gt;
* PMod J2 will output a binary counter.&lt;br /&gt;
* You can use the UART of the FPGA by using standard tools such as picocom:&lt;br /&gt;
*: &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; sudo picocom -b 115200 /dev/ttyACM0&lt;br /&gt;
** Every character written is looped back and should be displayed on the terminal.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:spider-running-riscv-leds.png|x330px|thumb|Spider with LED PMod connected on J2 showing the binary counter. The LED PMod can be acquired in the [https://shop.aries-embedded.de/tools/pmod/302/pmod-8ld?c=88 shop]]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:terminal_picocom.png|x330px|thumb|Characters written are looped back and displayed.]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Downloads ==&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/VectorBlox/orca VectorBlox ORCA]&lt;br /&gt;
* [https://downloads.aries-embedded.de/products/MX10/software/demo/20190604_mx10_spider_riscv_freertos.zip RISC-V &amp;amp; FreeRTOS Example]&lt;/div&gt;</summary>
		<author><name>Dk</name></author>	</entry>

	<entry>
		<id>http://www.spiderboard.org/index.php?title=RISC-V_%26_FreeRTOS&amp;diff=339</id>
		<title>RISC-V &amp; FreeRTOS</title>
		<link rel="alternate" type="text/html" href="http://www.spiderboard.org/index.php?title=RISC-V_%26_FreeRTOS&amp;diff=339"/>
				<updated>2021-05-27T12:58:39Z</updated>
		
		<summary type="html">&lt;p&gt;Dk: /* Downloads */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
* Linux Operating System (this guide uses Ubuntu 16.04)&lt;br /&gt;
* Utility Software (git, make, python)&lt;br /&gt;
* [http://fpgasoftware.intel.com/?edition=lite Quartus Prime]&lt;br /&gt;
* A [[Spiderboard_SoM|SpiderSoM]] or MX10&amp;lt;sup&amp;gt;[[Installing OpenOCD#MX10 Hardware Issue|[note]]]&amp;lt;/sup&amp;gt; with atleast 8K LE, [[Spiderboard_Baseboard|SpiderBase]], optionally [https://shop.aries-embedded.de/tools/pmod/302/pmod-8ld?c=88 LED Pmod]&lt;br /&gt;
* One of the following:&lt;br /&gt;
** [[Installing OpenOCD|OpenOCD]]&lt;br /&gt;
** USB Blaster and Quartus Programmer&lt;br /&gt;
&lt;br /&gt;
== Installing VectorBlox ORCA Core and RISC-V Tools ==&lt;br /&gt;
&lt;br /&gt;
* Download the source from [https://github.com/VectorBlox/orca https://github.com/VectorBlox/orca] using git.&lt;br /&gt;
*: This guide uses the install locations &amp;#039;&amp;#039;/opt/orca/&amp;#039;&amp;#039; and &amp;#039;&amp;#039;/opt/riscv/&amp;#039;&amp;#039;, you can substitute them if you wish.&lt;br /&gt;
* Open a terminal window and run:&lt;br /&gt;
*: &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; &amp;lt;nowiki&amp;gt; git clone https://github.com/VectorBlox/orca.git /opt/orca &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*: &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; cd /opt/orca/tools/riscv-toolchain/&lt;br /&gt;
*: &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; export RISCV_INSTALL=&amp;quot;/opt/riscv&amp;quot;&lt;br /&gt;
*: &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; ./build-toolchain.sh&lt;br /&gt;
*:: Info: This may take a while.&lt;br /&gt;
* Finally, add the RISC-V tools to your path. Open &amp;#039;&amp;#039;.profile&amp;#039;&amp;#039; in your home directory with a text exitor and add the line:&lt;br /&gt;
*: PATH=&amp;quot;/opt/riscv/bin:$PATH&amp;quot;&lt;br /&gt;
* After updating the path variable you may need to logout and login again or run the following command in the terminal:&lt;br /&gt;
*: &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; source ~/.profile&lt;br /&gt;
&lt;br /&gt;
== Compiling Firmware ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Download the [ftp://ftp.aries-embedded.de/products/MX10/software/demo/20190604_mx10_spider_riscv_freertos.zip RISC-V &amp;amp; FreeRTOS Example] and unpack.&lt;br /&gt;
* Then choose either RISC-V or RISC-V &amp;amp; FreeRTOS and run make.&lt;br /&gt;
* Open a terminal window and run the commands:&lt;br /&gt;
*: &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; wget &amp;lt;nowiki&amp;gt;ftp://ftp.aries-embedded.de/products/MX10/software/demo/20190604_mx10_spider_riscv_freertos.zip&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*: &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; unzip 20190604_mx10_spider_riscv_freertos.zip&lt;br /&gt;
** For the RISC-V standalone demo:&lt;br /&gt;
**: &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; cd mx10_spider_riscv_freertos/riscv&lt;br /&gt;
** Or for RISC-V with FreeRTOS:&lt;br /&gt;
**: &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; cd mx10_spider_riscv_freertos/riscv_freertos&lt;br /&gt;
*: &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; make&lt;br /&gt;
* This will create the &amp;#039;&amp;#039;bootrom.mif&amp;#039;&amp;#039; (Memory Initialization File) in the subfolder &amp;#039;&amp;#039;out&amp;#039;&amp;#039;.&lt;br /&gt;
* Copy the &amp;#039;&amp;#039;bootrom.mif&amp;#039;&amp;#039; to &amp;#039;&amp;#039;mx10_spider_riscv_freertos/quartus_mx10&amp;#039;&amp;#039; or &amp;#039;&amp;#039;mx10_spider_riscv_freertos/quartus_spider&amp;#039;&amp;#039;, depending on which module you use.&lt;br /&gt;
*: &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; cp out/bootrom.mif ../quartus_spider&lt;br /&gt;
&lt;br /&gt;
[[File:terminal_make_riscv.png|1200px|Terminal after calling make.]]&lt;br /&gt;
&lt;br /&gt;
== Quartus Prime Project ==&lt;br /&gt;
&lt;br /&gt;
* Open Quartus Prime and load the project under &amp;#039;&amp;#039;mx10_spider_riscv_freertos/quartus_mx10&amp;#039;&amp;#039; or &amp;#039;&amp;#039;mx10_spider_riscv_freertos/quartus_spider&amp;#039;&amp;#039;&lt;br /&gt;
* Open Device Settings (Assigments -&amp;gt; Device) and select your FPGA, the default FPGA the MX10 project is the 10M08DAF256C8G FPGA and for the SpiderSoM project the 10M08SAU169C8G FPGA.&lt;br /&gt;
* Open &amp;#039;&amp;#039;&amp;#039;Assignments -&amp;gt; Settings -&amp;gt; IP Settings -&amp;gt; IP Catalog Search Locations&amp;#039;&amp;#039;&amp;#039; and add the search path to ORCA.&lt;br /&gt;
*: If ORCA was installed under &amp;#039;&amp;#039;/opt/orca/&amp;#039;&amp;#039; then type in as search path &amp;#039;&amp;#039;/opt/orca/**/*&amp;#039;&amp;#039; and click on the &amp;#039;&amp;#039;Add&amp;#039;&amp;#039; button.&lt;br /&gt;
[[File:quartus_setting_iploc.png|700px|Type in the search path and then click on &amp;#039;&amp;#039;Add&amp;#039;&amp;#039;.]]&lt;br /&gt;
* (Optional) Launch Qsys Platform Designer and open &amp;#039;&amp;#039;qsys.qsys&amp;#039;&amp;#039;&lt;br /&gt;
** (Optional) Under System Contents, double-click &amp;#039;&amp;#039;onchip_memory2_0&amp;#039;&amp;#039; and under memory initialization provide your bootrom.mif file. Per default the bootrom.mif in the quartus folder will be used.&lt;br /&gt;
** (Optional) Save and Generate the Qsys system.&lt;br /&gt;
[[File:qsys-ram-init.png|900px|Setting the memory initialization in Qsys Platform Designer]]&lt;br /&gt;
* Compile the project and program it onto the FPGA using either [[Getting Started: Quartus Prime &amp;amp; OpenOCD#Programming via OpenOCD | OpenOCD]] or [[Getting Started: Quartus Prime &amp;amp; OpenOCD#Programming via USB Blaster| USB-Blaster]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After programming:&lt;br /&gt;
&lt;br /&gt;
* If the red or orange LED on the module starts blinking once per second, the FPGA was programmed successfully.&lt;br /&gt;
* If the green LED on the module starts blinking once every two seconds, the RISC-V Core and its firmware is working.&lt;br /&gt;
* PMod J2 will output a binary counter.&lt;br /&gt;
* You can use the UART of the FPGA by using standard tools such as picocom:&lt;br /&gt;
*: &amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039; sudo picocom -b 115200 /dev/ttyACM0&lt;br /&gt;
** Every character written is looped back and should be displayed on the terminal.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:spider-running-riscv-leds.png|x330px|thumb|Spider with LED PMod connected on J2 showing the binary counter. The LED PMod can be acquired in the [https://shop.aries-embedded.de/tools/pmod/302/pmod-8ld?c=88 shop]]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:terminal_picocom.png|x330px|thumb|Characters written are looped back and displayed.]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Downloads ==&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/VectorBlox/orca VectorBlox ORCA]&lt;br /&gt;
* [https://downloads.aries-embedded.de/products/MX10/software/demo/20190604_mx10_spider_riscv_freertos.zip RISC-V &amp;amp; FreeRTOS Example]&lt;/div&gt;</summary>
		<author><name>Dk</name></author>	</entry>

	<entry>
		<id>http://www.spiderboard.org/index.php?title=Spiderboard_Baseboard&amp;diff=338</id>
		<title>Spiderboard Baseboard</title>
		<link rel="alternate" type="text/html" href="http://www.spiderboard.org/index.php?title=Spiderboard_Baseboard&amp;diff=338"/>
				<updated>2021-05-27T12:55:00Z</updated>
		
		<summary type="html">&lt;p&gt;Dk: /* Downloads */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== About SpiderBase ==&lt;br /&gt;
&lt;br /&gt;
The Spiderboard Baseboard (SpiderBase) is a unique baseboard, designed to host the [[Spiderboard SoM]] / [http://www.aries-embedded.de/?q=MX10  MX10 SoM] based on Intel PSG (former Altera®) MAX® 10 FPGAs. &lt;br /&gt;
&lt;br /&gt;
:::::::::[[File:Spiderboard-baseboard-bird.500x500.png|600px]]&lt;br /&gt;
&lt;br /&gt;
== Hardware ==&lt;br /&gt;
&lt;br /&gt;
==== Featureset ====&lt;br /&gt;
&lt;br /&gt;
* simple baseboard in 2 layer design&lt;br /&gt;
* compatibility to the [[Spiderboard SoM]] as well as the [http://www.aries-embedded.de/?q=MX10  MX10 SoM].&lt;br /&gt;
* open hardware&lt;br /&gt;
* MxM2 pcb edge connector&lt;br /&gt;
* every pin of the MxM2 connector module is accessible at one of the pinheaders&lt;br /&gt;
* large 25x15 .1” prototyping area&lt;br /&gt;
* 4 Pmod compatible connectors (3.3V or 5V supply voltage selectable)&lt;br /&gt;
* 2 user push buttons&lt;br /&gt;
* reset and power buttons&lt;br /&gt;
* 2 user LEDs&lt;br /&gt;
* Arduino shield compatible interface&lt;br /&gt;
* Intel PSG Blaster compatible programming interfaces&lt;br /&gt;
* USB mini B connector&lt;br /&gt;
* CR2032 cell holder&lt;br /&gt;
* JST-2.0 lithium battery connector&lt;br /&gt;
* configuration jumpers (e.g. boot selection for MX10 module)&lt;br /&gt;
&lt;br /&gt;
==== Block Diagram ====&lt;br /&gt;
&lt;br /&gt;
:::::[[File:MX10 baseboard BD.png|500px]]&lt;br /&gt;
&lt;br /&gt;
==== Component Locations ====&lt;br /&gt;
&lt;br /&gt;
[[File:Spiderbase_components.png]]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
==== Downloads ====&lt;br /&gt;
&lt;br /&gt;
The following components are available for download:&lt;br /&gt;
&lt;br /&gt;
* [https://downloads.aries-embedded.de/products/Spiderboard/Baseboard/spiderboard_schematics_V2.0_2017-10-27.pdf PDF-Schematics]&lt;br /&gt;
* [https://downloads.aries-embedded.de/products/Spiderboard/Baseboard/spiderboard_V2.0_project_2017-10-27.tar.gz KiCad Project Files]&lt;br /&gt;
* [https://downloads.aries-embedded.de/products/Spiderboard/Baseboard/spiderboard_V2.0_bom_2017-10-27.csv Bill of Materials]&lt;br /&gt;
* [https://downloads.aries-embedded.de/products/Spiderboard/Baseboard/spiderboard_V2.0_gerber_2017-10-27.tar.gz Gerber Data]&lt;br /&gt;
&lt;br /&gt;
==== License ====&lt;br /&gt;
&lt;br /&gt;
The Spiderboard Baseboard is an Open Hardware. All design files are available under [[CERN_OHL_V1.2]]&lt;/div&gt;</summary>
		<author><name>Dk</name></author>	</entry>

	</feed>