Deploying to gh-pages from @ Klipper3d/klipper@722ad4a1d2 🚀

This commit is contained in:
KevinOConnor
2022-04-30 18:52:53 +00:00
parent 78075c390f
commit 7f80e4817a
68 changed files with 134 additions and 128 deletions

View File

@@ -1235,8 +1235,8 @@
</li>
<li class="md-nav__item">
<a href="#stm32f103stm32f072-with-msc-bootloader" class="md-nav__link">
STM32F103/STM32F072 with MSC bootloader
<a href="#mscstm32f103stm32f072" class="md-nav__link">
带MSC引导程序的STM32F103/STM32F072
</a>
</li>
@@ -1483,8 +1483,8 @@
</li>
<li class="md-nav__item">
<a href="#stm32f103stm32f072-with-msc-bootloader" class="md-nav__link">
STM32F103/STM32F072 with MSC bootloader
<a href="#mscstm32f103stm32f072" class="md-nav__link">
带MSC引导程序的STM32F103/STM32F072
</a>
</li>
@@ -1775,15 +1775,15 @@ make
</code></pre></div>
<p>可能需要手动进入引导程序,这可以通过设置 "boot 0 "的低电平和 "boot 1 "的高电平来完成。在SKR Mini E3上"Boot 1 "是不可用的,所以如果你写入过"hid_btt_skr_mini_e3.bin"可以通过设置PA2的低电平来完成。在SKR Mini E3的 "PIN "文件中这个引脚在TFT插座上被标记为 "TX0"。在PA2旁边有一个接地引脚你可以用它来把PA2拉低。</p>
<h3 id="stm32f103stm32f072-with-msc-bootloader">STM32F103/STM32F072 with MSC bootloader<a class="headerlink" href="#stm32f103stm32f072-with-msc-bootloader" title="Permanent link">&para;</a></h3>
<p>The <a href="https://github.com/Telekatz/MSC-stm32f103-bootloader">MSC bootloader</a> is a driverless bootloader capable of flashing over USB.</p>
<p>It is possible to flash the bootloader via 3.3v serial using stm32flash as noted in the stm32duino section above, substituting the file name for the desired MSC bootloader binary (ie: MSCboot-Bluepill.bin for the blue pill).</p>
<p>For STM32F072 boards it is also possible to flash the bootloader over USB (via DFU) with something like:</p>
<h3 id="mscstm32f103stm32f072">带MSC引导程序的STM32F103/STM32F072<a class="headerlink" href="#mscstm32f103stm32f072" title="Permanent link">&para;</a></h3>
<p><a href="https://github.com/Telekatz/MSC-stm32f103-bootloader">MSC 引导程序</a> 是一个能够进行 USB 刷写的免驱引导程序。</p>
<p>可以使用 stm32flash 通过 3.3v 串行刷写引导程序,如上面的 stm32duino 章节所述,将文件名替换为所需的 MSC 引导加载程序二进制文件例如Blue Pill 使用 MSCboot-Bluepill.bin)。</p>
<p>STM32F072板也可以通过USB通过DFU刷写引导程序如下所示</p>
<div class="highlight"><pre><span></span><code> dfu-util -d 0483:df11 -a 0 -R -D MSCboot-STM32F072.bin -s0x08000000:leave
</code></pre></div>
<p>This bootloader uses 8KiB or 16KiB of flash space, see description of the bootloader (the application must be compiled with with the corresponding starting address).</p>
<p>The bootloader can be activated by pressing the reset button of the board twice. As soon as the bootloader is activated, the board appears as a USB flash drive onto which the klipper.bin file can be copied.</p>
<p>此引导加载程序使用 8KiB 16KiB 的闪存空间,请参阅引导加载程序的说明(必须使用相应的起始地址编译应用程序)。</p>
<p>可以通过按两次电路板上的复位按钮来激活引导程序。一旦启动引导程序,该板就会显示为一个 USB 闪存驱动器,可以将 klipper.bin 文件复制到该驱动器上。</p>
<h2 id="stm32f4-skr-pro-11">STM32F4 微控制器 (SKR Pro 1.1)<a class="headerlink" href="#stm32f4-skr-pro-11" title="Permanent link">&para;</a></h2>
<p>STM32F4微控制器配备了一个内置的系统引导程序能够通过USB通过DFU、3.3v串口和其他各种方法进行刷写更多信息见STM文件AN2606。一些STM32F4板如SKR Pro 1.1不能进入DFU引导程序。基于STM32F405/407的板子可以使用HID引导程序如果用户愿意通过USB刷写而不是使用SD卡。请注意你可能需针对你的板子配置和构建一个特定的版本<a href="https://github.com/Arksine/STM32_HID_Bootloader/releases/latest">针对SKR Pro 1.1的构建可以在这里找到</a></p>
<p>除非你的板子有DFU功能否则最容易的写入方法可能是通过3.3v的串口,这与<a href="#stm32f103-micro-controllers-blue-pill-devices">使用stm32flash刷写STM32F103</a>的步骤相同。例如:</p>