📄 index.html
字号:
the location of UARTs, timers, interrupt controller and ethernet coreusing the plug&play information. Full sources of kernel, libraries and tools available.</span></small></li> <li><small><span style="font-family: helvetica,arial,sans-serif;"><b>Bare-C</b>: a <a href="http://www.gaisler.com/doc/bcc.html">LEON3 bare-C compiler</a>is available for download from gaisler.com. Come with full source code for both thelow-level I/O routines as well as the mkprom prom builder.</span></small></li> <li><small><span style="font-family: helvetica,arial,sans-serif;"><a href="http://sourceware.org/ecos/"><b>eCos</b></a>: a Leon3 port supporting FPU, SMP and single-vector trapping is available for ecos-current. Use Bare-C compiler to build.<br> </span></small></li> <li><small><span style="font-family: helvetica,arial,sans-serif;"><b>Linux</b>: a Leon3 port of uClinux and linux-2.6.11 is available in the <a href="http://www.gaisler.com/products/linux.html">snapgearlinux distribution</a>.</span></small></li></ul><small><span style="font-family: helvetica,arial,sans-serif;"></span></small><h4><small><span style="font-family: helvetica,arial,sans-serif;">Debugging<br></span></small></h4><small><span style="font-family: helvetica,arial,sans-serif;">Theon-chip debug support unit (DSU) makes debugging of target hardwarerelatively easy. Both JTAG, serial (RS232) and ethernet-based debug links areavailable, and can be used </span></small><small><span style="font-family: helvetica,arial,sans-serif;">download and debugcode. Debugging is controlled through the <a href="http://www.gaisler.com/products/grmon/grmon.html">GRMON debugmonitor</a>.</span></small><small><span style="font-family: helvetica,arial,sans-serif;"> A sample GRMONsession looks like this:<br><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;">$ grmon-grlib -i -u</span><br style="font-family: courier new,courier,monospace;"><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> GRMON -The LEON multi purpose monitor v1.0.6</span><br style="font-family: courier new,courier,monospace;"><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> Copyright(C) 2004, Gaisler Research - all rights reserved.</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> Forlatest updates, go to http://www.gaisler.com/</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> Commentsor bug-reports to grmon@gaisler.com</span><br style="font-family: courier new,courier,monospace;"><br style="font-family: courier new,courier,monospace;"><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> GRLIBDSU Monitor backend 1.0.1 (professional version)</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> usingport /dev/ttyS0 @ 115200 baud</span><br style="font-family: courier new,courier,monospace;"><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> initialising...........</span><br style="font-family: courier new,courier,monospace;"><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> Component Vendor</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> Leon3SPARC V8Processor Gaisler Research</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> AHBDebugUART Gaisler Research</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> Simple32-bit PCITarget Gaisler Research</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> 10/100Mbit EthernetMAC Opencores</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> LEON2MemoryController European Space Agency</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> AHB/APBBridge Gaisler Research</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> Leon3Debug SupportUnit Gaisler Research</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> 10/100Mbit EthernetMAC Opencores</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> GenericAPBUART Gaisler Research</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> Multi-processorInterrupt Ctrl Gaisler Research</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> ModularTimerUnit Gaisler Research</span><br style="font-family: courier new,courier,monospace;"><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> Usecommand 'info sys' to print a detailed report of attached cores</span><br style="font-family: courier new,courier,monospace;"><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;">grmon[grlib]>info sys</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;">00.01:003 Gaisler Research Leon3 SPARC V8 Processor (ver 0)</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> ahb master 0</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;">01.01:007 Gaisler Research AHB Debug UART (ver 0)</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> ahb master 1</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> apb: 80000700 - 80000800</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> baud rate 115200, ahb frequency 25.00</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;">02.01:012 Gaisler Research Simple 32-bit PCI Target (ver 0)</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> ahb master 2</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;">03.08:005 Opencores 10/100 Mbit Ethernet MAC (ver 0)</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> ahb master 3</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;">00.04:00f European Space Agency LEON2 Memory Controller (ver 0)</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> ahb: 00000000 - 20000000</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> ahb: 20000000 - 40000000</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> ahb: 40000000 - 80000000</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> apb: 80000000 - 80000100</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> 32-bit sdram: 1 * 32 Mbyte @ 0x40000000, col 9, cas 2, ref 15.5 us</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;">01.01:006 Gaisler Research AHB/APB Bridge (ver 0)</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> ahb: 80000000 - 80100000</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;">02.01:004 Gaisler Research Leon3 Debug Support Unit (ver 0)</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> ahb: 90000000 - a0000000</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> AHB trace 64 lines</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> CPU#0 win 8, hw breakpoints 2, itrace 64 lines</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> icache 1 * 4 kbyte, 32 byte/line</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> dcache 1 * 4 kbyte, 32 byte/line</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> stack pointer 0x41fffff0</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;">05.08:005 Opencores 10/100 Mbit Ethernet MAC (ver 0)</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> irq 12</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> ahb: fffb0000 - fffb1000</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;">01.01:00c Gaisler Research Generic APB UART (ver 1)</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> irq 2</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> apb: 80000100 - 80000200</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> baud rate 38400, DSU mode</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;">02.01:00d Gaisler Research Multi-processor Interrupt Ctrl (ver 1)</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> apb: 80000200 - 80000300</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;">03.01:011 Gaisler Research Modular Timer Unit (ver 0)</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> irq 8</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> apb: 80000300 - 80000400</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> 16-bit scaler, 2 * 32-bit timers, divisor 25</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;">grmon[grlib]>lo /home/jiri/samples/stanford</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;">section:.text at 0x40000000, size 60688 bytes</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;">section:.data at 0x4000ed10, size 2080 bytes</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;">section: .jcrat 0x40026728, size 4 bytes</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;">total size:62772 bytes (94.3 kbit/s)</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;">read 192symbols</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;">entry point:0x40000000</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;">grmon[grlib]>run</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;">Starting</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> Perm Towers Queens Intmm Mm Puzzle Quick Bubble Tree FFT</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;"> 67 100 67 67 2233 550 67 83 417 2650</span><br style="font-family: courier new,courier,monospace;"><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;">Nonfloatingpoint composite is 216</span><br style="font-family: courier new,courier,monospace;"><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;">Floatingpoint composite is 2044</span><br style="font-family: courier new,courier,monospace;"><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;">Programexited normally.</span><br style="font-family: courier new,courier,monospace;"><span style="font-family: courier new,courier,monospace;">grmon[grlib]></span><br><br><br>The LEON3MP test bench includes memory models of both boot-prom, sramand sdram. To build memory images for these models, do 'make soft' .Note: this will require that the bare-C compiler for LEON3 isinstalled,and /opt/sparc-elf/bin is added to the PATH.<br><br><br><br></span></small></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -