minor rewording of riscv-section
Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
86f806f80b
commit
700a9b86d2
20
index.html
20
index.html
@ -129,9 +129,7 @@
|
|||||||
<li>DFU utilities</li>
|
<li>DFU utilities</li>
|
||||||
<li>Serial console</li>
|
<li>Serial console</li>
|
||||||
<li>RISC-V toolchain</li>
|
<li>RISC-V toolchain</li>
|
||||||
<li>Synthesis</li>
|
<li>FPGA Toolchain</li>
|
||||||
<li>Place-and-Route</li>
|
|
||||||
<li>Packer</li>
|
|
||||||
<li>Python 3</li>
|
<li>Python 3</li>
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
@ -452,7 +450,18 @@ $ dfu-util -D new-image.dfu # Load new program</code></pre>
|
|||||||
>>> rgb.mode("error")
|
>>> rgb.mode("error")
|
||||||
>>>
|
>>>
|
||||||
</code></pre>
|
</code></pre>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<h2>Memory-Mapped Registers</h2>
|
||||||
|
<pre><code class="cpp">#define CSR_VERSION_MAJOR_ADDR 0xe0007000
|
||||||
|
#define CSR_VERSION_MINOR_ADDR 0xe0007004
|
||||||
|
#define CSR_VERSION_REVISION_ADDR 0xe0007008</code></pre>
|
||||||
|
<pre class="fragment"><code class="python">>>> import machine
|
||||||
|
>>> machine.mem32[0xe0007000]
|
||||||
|
1
|
||||||
|
>>></code></pre>
|
||||||
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<h2>RGB LEDD reference</h2>
|
<h2>RGB LEDD reference</h2>
|
||||||
@ -549,6 +558,9 @@ $ wishbone-tool --pid 0x5bf0 0xe0006800 0xff</code></pre>
|
|||||||
OBJCOPY riscv-blink.bin
|
OBJCOPY riscv-blink.bin
|
||||||
IHEX riscv-blink.ihex
|
IHEX riscv-blink.ihex
|
||||||
$ </code></pre>
|
$ </code></pre>
|
||||||
|
<p>
|
||||||
|
From <code>riscv-blink</code> directory in <code>teardown2019-workshop</code>
|
||||||
|
</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
|
Loading…
Reference in New Issue
Block a user