Deploying to gh-pages from @ Klipper3d/klipper@f7567a0db9 🚀

This commit is contained in:
KevinOConnor
2023-10-23 00:04:07 +00:00
parent 396e728f2d
commit 8dff4c78b5
293 changed files with 18737 additions and 1567 deletions

View File

@@ -622,8 +622,8 @@
<li class="md-nav__item">
<a href="Axis_Twist_Compensation.md" class="md-nav__link">
None
<a href="Axis_Twist_Compensation.html" class="md-nav__link">
Axis Twist Compensation
</a>
</li>
@@ -1236,6 +1236,13 @@
SAM4 微控制器 (Duet Wifi)
</a>
</li>
<li class="md-nav__item">
<a href="#samdc21-micro-controllers-duet3d-toolboard-1lc" class="md-nav__link">
SAMDC21 micro-controllers (Duet3D Toolboard 1LC)
</a>
</li>
<li class="md-nav__item">
@@ -1363,8 +1370,8 @@
<li class="md-nav__item">
<a href="Bootloader_Entry.md" class="md-nav__link">
None
<a href="Bootloader_Entry.html" class="md-nav__link">
Bootloader Entry
</a>
</li>
@@ -1534,6 +1541,13 @@
SAM4 微控制器 (Duet Wifi)
</a>
</li>
<li class="md-nav__item">
<a href="#samdc21-micro-controllers-duet3d-toolboard-1lc" class="md-nav__link">
SAMDC21 micro-controllers (Duet3D Toolboard 1LC)
</a>
</li>
<li class="md-nav__item">
@@ -1754,6 +1768,39 @@ bossac -U -p /dev/ttyACM0 -R
<div class="highlight"><pre><span></span><code>bossac --port=/dev/ttyACM0 -b -U -e -w -v -R out/klipper.bin
</code></pre></div>
<h2 id="samdc21-micro-controllers-duet3d-toolboard-1lc">SAMDC21 micro-controllers (Duet3D Toolboard 1LC)<a class="headerlink" href="#samdc21-micro-controllers-duet3d-toolboard-1lc" title="Permanent link">&para;</a></h2>
<p>The SAMC21 is flashed via the ARM Serial Wire Debug (SWD) interface. This is commonly done with a dedicated SWD hardware dongle. Alternatively, one can use a <a href="#running-openocd-on-the-raspberry-pi">Raspberry Pi with OpenOCD</a>.</p>
<p>When using OpenOCD with the SAMC21, extra steps must be taken to first put the chip into Cold Plugging mode if the board makes use of the SWD pins for other purposes. If using OpenOCD on a Rasberry Pi, this can be done by running the following commands before invoking OpenOCD.</p>
<div class="highlight"><pre><span></span><code>SWCLK=25
SWDIO=24
SRST=18
echo &quot;Exporting SWCLK and SRST pins.&quot;
echo $SWCLK &gt; /sys/class/gpio/export
echo $SRST &gt; /sys/class/gpio/export
echo &quot;out&quot; &gt; /sys/class/gpio/gpio$SWCLK/direction
echo &quot;out&quot; &gt; /sys/class/gpio/gpio$SRST/direction
echo &quot;Setting SWCLK low and pulsing SRST.&quot;
echo &quot;0&quot; &gt; /sys/class/gpio/gpio$SWCLK/value
echo &quot;0&quot; &gt; /sys/class/gpio/gpio$SRST/value
echo &quot;1&quot; &gt; /sys/class/gpio/gpio$SRST/value
echo &quot;Unexporting SWCLK and SRST pins.&quot;
echo $SWCLK &gt; /sys/class/gpio/unexport
echo $SRST &gt; /sys/class/gpio/unexport
</code></pre></div>
<p>To flash a program with OpenOCD use the following chip config:</p>
<div class="highlight"><pre><span></span><code>來源 [查詢目標/at91samdXX.cfg]
</code></pre></div>
<p>Obtain a program; for instance, klipper can be built for this chip. Flash with OpenOCD commands similar to:</p>
<div class="highlight"><pre><span></span><code>at91samd chip-erase
at91samd bootloader 0
program out/klipper.elf verify
</code></pre></div>
<h2 id="samd21arduino-zero">SAMD21微控制器Arduino Zero<a class="headerlink" href="#samd21arduino-zero" title="Permanent link">&para;</a></h2>
<p>SAMD21 引導載入程式通過 ARM 序列線除錯 SWD 介面進行刷寫,通常需要一個專用的 SWD 硬體轉換器或者使用<a href="#running-openocd-on-the-raspberry-pi">安裝了 OpenOCD 的 Raspberry Pi</a>來完成。</p>
<p>要使用 OpenOCD 刷寫引導載入程式,請使用以下晶片配置:</p>
@@ -2022,13 +2069,13 @@ gdb out/klipper.elf
<a href="CANBUS.html" class="md-footer__link md-footer__link--next" aria-label="下一頁: CAN 匯流排" rel="next">
<a href="Bootloader_Entry.html" class="md-footer__link md-footer__link--next" aria-label="下一頁: Bootloader Entry" rel="next">
<div class="md-footer__title">
<div class="md-ellipsis">
<span class="md-footer__direction">
下一頁
</span>
CAN 匯流排
Bootloader Entry
</div>
</div>
<div class="md-footer__button md-icon">