OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [web_uploads/] [xess/] [index.shtml] - Rev 1767

Compare with Previous | Blame | View Log

<!--# set var="title" value="Title" -->
<!--# include virtual="/ssi/ssi_start.shtml" -->
<font size=+2 color=#bf0000><b>
OpenRISC 1000 Project: Xess XSV Demo Apps
</font></b>
 
<p><table  align=center border=1 cellPadding=2 cellSpacing=0 width="100%" valign="top">
<tbody><tr bgcolor=#bbccff>    <td align=center valign=center>               
<a href="/cores/or1k-new/">Home</a> |
<a href="/cores/or1k-new/arch/">Architecture</a> |
<a href="/cores/or1k-new/or1200/">OpenRISC 1200</a> |
<a href="/cores/or1k-new/gnutools/">GNU Toolchain</a> |
<a href="/cores/or1k-new/or1ksim/">Or1ksim</a> |
<a href="/cores/or1k-new/linux/">Linux</a> |
<a href="/cores/or1k-new/uclinux/">uClinux</a> |
<a href="/cores/or1k-new/rtems/">RTEMS</a> |
<a href="/cores/or1k-new/ats/">ATS</a></td></tr></tbody>
</table>
 
<p>
We are preparing some tutorials how to use the OpenRISC. Until this tutorials are ready, you can only download some precompiled demo apps for Xess XSV800 board. Some demos could also be used with the XSV300 board, but would have to be synthesized/implemented again for the XSV300 board.<br>
If you can't wait for tutorials, you can get all the individual blocks from the OpenCores CVS under module name or1k (several submodules) and uart16550.
 
<p>
<font size=+1><b>
MP3 Demo App
</b></font>
<p>
MP3 demo uses the OR1200 as the RISC processor running GNU GPLed version of the MP3 decoder software called MAD. In order to run this demo, set your XSV800 board to 20 MHz (set frequency divisor to 5 with Xess utility GXSSETCLK). Since setting the frequency doesn't always work, check with an oscilloscope or similar tool that it is set properly. If you can't set it, consult Xess online documentation.<br>
Attach a speaker or headsets to speaker out connector and download the <a href="classic.exo">classic.exo (3.3MB)</a> file to onboard flash using GXSLOAD utility provided by Xess.<br>
When the flash is loaded, restart the board by turning power off and then back on. You should hear classical music. One switch button is used to position the player to the first song and and one to advance to the next song.
 
<p>
<font size=+1><b>
uClinux/OR32 Demo App
</b></font>
<p>
This demo uses uClinux 2.0.x port running pn OR1200 RISC processor. In order to run this demo, set your XSV800 board to 10 MHz (set frequency divisor to 10 with Xess utility GXSSETCLK). Since setting the frequency doesn't always work, check with an oscilloscope or similar tool that it is set properly. If you can't set it, consult Xess online documentation.<br>
Download the <a href="linux-35.exo">linux-35.exo (4.4MB)</a> file to onboard flash using GXSLOAD utility provided by Xess. Now you will also have to download a new CPLD configuration so that the Serial RS232 console will work. Download the <a href="cpld-tdm.svf">cpld-tdm.svf (850KB)</a> file.<br>
Connect the console terminal by attach a RS232 cable connected to a PC running some sort of terminal software (Minicom on Linux or HyperTerminal on Windows for example). Set communication parameters to 4800 baud, 8N1 (8 bits data, no parity, 1 stop bit).<br>
When the flash and CPLD are loaded, restart the board by turning power off and then back on. Now you should see something like this (can vary since uClinux port is under heavy development):
<p>
<pre>
OpenRisc 1000 support (C) www.opencores.org
 
uClinux/OR32 on Xess XSV800
Flat model support (C) 1998,1999 Kenneth Albanowski, D. Jeff Dionne
Calibrating delay loop.. ok - 0.81 BogoMIPS
Memory available: 1852k/2024k RAM, 0k/0k ROM (180k kernel data, 423k code)
Swansea University Computer Society NET3.035 for Linux 2.0
NET3: Unix domain sockets 0.13 for Linux NET3.035.
uClinux version 2.0.38.1pre3 (simons@odin) (gcc version 2.95.2 19991024 (release
)) #186 Mon Aug 6 20:45:43 CEST 2001
Serial driver version 4.13p1 with no serial options enabled
ttyS00 at 0x9c000000 (irq = 15) is a 16550A
Ramdisk driver initialized : 16 ramdisks of 512K size
Blkmem copyright 1998,1999 D. Jeff Dionne
Blkmem copyright 1998 Kenneth Albanowski
Blkmem 0 disk images:
RAMDISK: Romfs filesystem found at block 0
RAMDISK: Loading 385 blocks into ram disk... done.
VFS: Mounted root (romfs filesystem).
   request_irq irq = 15  IRQ_T(info) = 20000000
Executing sash
 
Sash command shell (version 1.1.1)
/>
/>
/> ls
Makefile
Makefile~
bin
dev
linuxrc
proc
 
/> date
Thu Jan 17 03:44:32 2002
 
/>
</pre>
<p>
Ignore the BogoMIPS rating. Delay loop is not yet calibrated.
<p>
We didn't try yet to increase speed of the processor. Looks like there is quite some margin left.
 
<p>
<font size=+1><b>
More Demo Apps to Come ...
</b></font>
<p>
One of the next Xess demos will be demonstration of the Ethernet MAC core together with the OR1200. Hopefully we will also soon be able to demonstrate a simple web server - uClinux running on OR1200 on XSV800 with both UART and Ethernet.<br>
If you have an idea for a cool demo, let us know.
 
<p>
<font size=+1><b>
Credits
</b></font>
<p>
Credits go to Xess Corp for supplying one XSV board and to Xilinx Inc for supplying Xilinx Foundation software.
 
<p>
<font size=+1><b>
Mailing list / Discussion Forum
</b></font>
<p>
To participate in the development or simply to discuss OpenRISC 1200 issues and to report bugs, go to the <a href="/ml-archive/openrisc/threads.shtml">openrisc mailing list</a>. To subscribe to the list, follow mailing list subscribe <a href="/mailinglists.shtml">instructions</a>.
 
<p>
<font size=+1><b>
Page Maintainer
</b></font>
<p>
This web page is maintained by Damjan Lampret.
<!--# include virtual="/ssi/ssi_end.shtml" -->
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.