Deploying to gh-pages from @ cherry-embedded/CherryUSB@10e7fb60b4 🚀
This commit is contained in:
@@ -1,13 +1,18 @@
|
||||
官方开源项目分享
|
||||
====================
|
||||
|
||||
除了基本的厂家 SDK 支持以外,我们还对一些火热的开源项目进行了支持,以便于开发者更好的使用这些项目。
|
||||
除了基本的厂家 SDK 支持以外,我们还对一些火热的开源项目进行了支持,以便于开发者更好的使用这些项目。下面列举适配的 demo 工程链接,具体适配层参考 https://github.com/cherry-embedded/CherryUSB/tree/master/platform 。
|
||||
|
||||
DAPLINK
|
||||
--------------
|
||||
|
||||
适配链接:https://github.com/cherry-embedded/CherryDAP
|
||||
|
||||
Blackmagic
|
||||
--------------
|
||||
|
||||
适配链接:https://github.com/zhangjiance/bmp-hpm-port
|
||||
|
||||
RT-Thread
|
||||
--------------
|
||||
|
||||
@@ -16,7 +21,25 @@ RT-Thread
|
||||
NUTTX/VELA
|
||||
--------------
|
||||
|
||||
适配链接:待开放
|
||||
适配链接:https://github.com/CherryUSB/cherryusb_nuttx
|
||||
|
||||
Zephyr
|
||||
--------------
|
||||
|
||||
适配链接:https://github.com/hpmicro/zephyr_sdk_glue
|
||||
|
||||
Cangaroo
|
||||
--------------
|
||||
|
||||
Cangaroo is an open source can bus analyzer software. We provide four-channel CANFD analyzer based on hpmicro hpm5361
|
||||
|
||||
适配上位机链接:https://github.com/RCSN/cangaroo_hpmicro_canfd_analyzer
|
||||
适配下位机链接:https://github.com/RCSN/hpm_sdk_extra/tree/main/demos/cangaroo_hpmicro
|
||||
|
||||
LVGL
|
||||
--------------
|
||||
|
||||
适配链接:https://github.com/cherry-embedded/CherryUSB/tree/master/platform/lvgl
|
||||
|
||||
QMK
|
||||
--------------
|
||||
@@ -32,10 +55,4 @@ Klipper is a 3d-printer firmware.
|
||||
|
||||
适配链接:待开放
|
||||
|
||||
Cangaroo
|
||||
--------------
|
||||
|
||||
Cangaroo is an open source can bus analyzer software. We provide four-channel CANFD analyzer based on hpmicro hpm5361
|
||||
|
||||
适配链接:https://github.com/RCSN/cangaroo_hpmicro_canfd_analyzer
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ Q & A
|
||||
- 是否能进 USB 中断
|
||||
- 芯片是否带有 cache功能,是否做了 no cache 处理,截图
|
||||
- 硬件是否正常,是否使用杜邦线连接,如果正常,请说明正常原因
|
||||
- 打开 CONFGI_USBDEV_SETUP_LOG_PRINT,并提供 log
|
||||
- 打开 CONFIG_USBDEV_SETUP_LOG_PRINT,并提供 log
|
||||
- 是否流片并销售
|
||||
|
||||
其余问题提问模板
|
||||
@@ -26,14 +26,7 @@ Q & A
|
||||
CherryUSB 性能能到多少
|
||||
----------------------------------------------------------------
|
||||
|
||||
可以达到硬件极限性能,当然需要硬件理论支持到这速度,CherryUSB 就支持到这速度,举例如下:
|
||||
|
||||
- HPM 系列(从机可以到 42MB/S, 主机 44MB/S, 已经达到硬件极限)
|
||||
- BL 系列(从机 32MB/S, 主机 25MB/S, 已经达到硬件极限)
|
||||
- STM32F4 全速(从机 900KB/S, 主机 1.12MB/S, 已经达到硬件极限)
|
||||
|
||||
从机测速demo: cdc_acm_template.c 并且关闭 log,脚本使用 `tools/test_srcipts/test_cdc_speed.py`
|
||||
主机测速demo: usb_host.c 中 TEST_USBH_CDC_SPEED=1
|
||||
参考 :ref:`performace_show`
|
||||
|
||||
ST IP 命名问题
|
||||
------------------
|
||||
@@ -86,4 +79,11 @@ CONFIG_USB_HS 何时使用
|
||||
Failed to enable port
|
||||
----------------------------------------------------------------
|
||||
|
||||
供电不足或者硬件 USB 电路问题
|
||||
供电不足或者硬件 USB 电路问题
|
||||
|
||||
移植 usb host 出现 urb 返回 -12/-14
|
||||
----------------------------------------------------------------
|
||||
|
||||
-12 就检查 phy 配置,通信不良
|
||||
|
||||
-14 就检查 phy 配置,cache 配置(如果有),fifo配置,寄存器地址, IP 是否真的标准等等
|
||||
@@ -1,3 +1,5 @@
|
||||
.. _performace_show:
|
||||
|
||||
性能展示
|
||||
==============================
|
||||
|
||||
@@ -15,7 +17,6 @@ CDC ACM 通信
|
||||
从机测速demo: cdc_acm_template.c 并且关闭 log,脚本使用 `tools/test_srcipts/test_cdc_speed.py`
|
||||
主机测速demo: usb_host.c 中 TEST_USBH_CDC_SPEED=1
|
||||
|
||||
|
||||
USB Device MSC
|
||||
-----------------
|
||||
|
||||
|
||||
@@ -117,4 +117,5 @@ v1.5.0
|
||||
- **memcpy 全部使用 usb_memcpy 替换,arm 库存在非对其访问问题**
|
||||
- ch32 device iso 更新
|
||||
- cmake,kconfig 更新
|
||||
- 使用 USB_ASSERT_MSG 对部分代码检查
|
||||
- 使用 USB_ASSERT_MSG 对部分代码检查
|
||||
- N32H4,mm32f5 支持
|
||||
BIN
objects.inv
BIN
objects.inv
Binary file not shown.
@@ -52,11 +52,14 @@
|
||||
<li class="toctree-l1"><a class="reference internal" href="q%26a.html">Q & A</a></li>
|
||||
<li class="toctree-l1 current"><a class="current reference internal" href="#">官方开源项目分享</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="#daplink">DAPLINK</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="#blackmagic">Blackmagic</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="#rt-thread">RT-Thread</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="#nuttx-vela">NUTTX/VELA</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="#zephyr">Zephyr</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="#cangaroo">Cangaroo</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="#lvgl">LVGL</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="#qmk">QMK</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="#klipper">Klipper</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="#cangaroo">Cangaroo</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="share.html">开发者经验/开源项目分享</a></li>
|
||||
@@ -166,18 +169,36 @@
|
||||
|
||||
<section id="id1">
|
||||
<h1>官方开源项目分享<a class="headerlink" href="#id1" title="Link to this heading"></a></h1>
|
||||
<p>除了基本的厂家 SDK 支持以外,我们还对一些火热的开源项目进行了支持,以便于开发者更好的使用这些项目。</p>
|
||||
<p>除了基本的厂家 SDK 支持以外,我们还对一些火热的开源项目进行了支持,以便于开发者更好的使用这些项目。下面列举适配的 demo 工程链接,具体适配层参考 <a class="reference external" href="https://github.com/cherry-embedded/CherryUSB/tree/master/platform">https://github.com/cherry-embedded/CherryUSB/tree/master/platform</a> 。</p>
|
||||
<section id="daplink">
|
||||
<h2>DAPLINK<a class="headerlink" href="#daplink" title="Link to this heading"></a></h2>
|
||||
<p>适配链接:<a class="reference external" href="https://github.com/cherry-embedded/CherryDAP">https://github.com/cherry-embedded/CherryDAP</a></p>
|
||||
</section>
|
||||
<section id="blackmagic">
|
||||
<h2>Blackmagic<a class="headerlink" href="#blackmagic" title="Link to this heading"></a></h2>
|
||||
<p>适配链接:<a class="reference external" href="https://github.com/zhangjiance/bmp-hpm-port">https://github.com/zhangjiance/bmp-hpm-port</a></p>
|
||||
</section>
|
||||
<section id="rt-thread">
|
||||
<h2>RT-Thread<a class="headerlink" href="#rt-thread" title="Link to this heading"></a></h2>
|
||||
<p>适配链接:<a class="reference external" href="https://github.com/RT-Thread/rt-thread">https://github.com/RT-Thread/rt-thread</a></p>
|
||||
</section>
|
||||
<section id="nuttx-vela">
|
||||
<h2>NUTTX/VELA<a class="headerlink" href="#nuttx-vela" title="Link to this heading"></a></h2>
|
||||
<p>适配链接:待开放</p>
|
||||
<p>适配链接:<a class="reference external" href="https://github.com/CherryUSB/cherryusb_nuttx">https://github.com/CherryUSB/cherryusb_nuttx</a></p>
|
||||
</section>
|
||||
<section id="zephyr">
|
||||
<h2>Zephyr<a class="headerlink" href="#zephyr" title="Link to this heading"></a></h2>
|
||||
<p>适配链接:<a class="reference external" href="https://github.com/hpmicro/zephyr_sdk_glue">https://github.com/hpmicro/zephyr_sdk_glue</a></p>
|
||||
</section>
|
||||
<section id="cangaroo">
|
||||
<h2>Cangaroo<a class="headerlink" href="#cangaroo" title="Link to this heading"></a></h2>
|
||||
<p>Cangaroo is an open source can bus analyzer software. We provide four-channel CANFD analyzer based on hpmicro hpm5361</p>
|
||||
<p>适配上位机链接:<a class="reference external" href="https://github.com/RCSN/cangaroo_hpmicro_canfd_analyzer">https://github.com/RCSN/cangaroo_hpmicro_canfd_analyzer</a>
|
||||
适配下位机链接:<a class="reference external" href="https://github.com/RCSN/hpm_sdk_extra/tree/main/demos/cangaroo_hpmicro">https://github.com/RCSN/hpm_sdk_extra/tree/main/demos/cangaroo_hpmicro</a></p>
|
||||
</section>
|
||||
<section id="lvgl">
|
||||
<h2>LVGL<a class="headerlink" href="#lvgl" title="Link to this heading"></a></h2>
|
||||
<p>适配链接:<a class="reference external" href="https://github.com/cherry-embedded/CherryUSB/tree/master/platform/lvgl">https://github.com/cherry-embedded/CherryUSB/tree/master/platform/lvgl</a></p>
|
||||
</section>
|
||||
<section id="qmk">
|
||||
<h2>QMK<a class="headerlink" href="#qmk" title="Link to this heading"></a></h2>
|
||||
@@ -189,11 +210,6 @@
|
||||
<p>Klipper is a 3d-printer firmware.</p>
|
||||
<p>适配链接:待开放</p>
|
||||
</section>
|
||||
<section id="cangaroo">
|
||||
<h2>Cangaroo<a class="headerlink" href="#cangaroo" title="Link to this heading"></a></h2>
|
||||
<p>Cangaroo is an open source can bus analyzer software. We provide four-channel CANFD analyzer based on hpmicro hpm5361</p>
|
||||
<p>适配链接:<a class="reference external" href="https://github.com/RCSN/cangaroo_hpmicro_canfd_analyzer">https://github.com/RCSN/cangaroo_hpmicro_canfd_analyzer</a></p>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
17
q&a.html
17
q&a.html
@@ -61,6 +61,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="#has-include">__has_include 报错</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="#config-usb-hs">CONFIG_USB_HS 何时使用</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="#failed-to-enable-port">Failed to enable port</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="#usb-host-urb-12-14">移植 usb host 出现 urb 返回 -12/-14</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="opensource.html">官方开源项目分享</a></li>
|
||||
@@ -183,7 +184,7 @@
|
||||
<li><p>是否能进 USB 中断</p></li>
|
||||
<li><p>芯片是否带有 cache功能,是否做了 no cache 处理,截图</p></li>
|
||||
<li><p>硬件是否正常,是否使用杜邦线连接,如果正常,请说明正常原因</p></li>
|
||||
<li><p>打开 CONFGI_USBDEV_SETUP_LOG_PRINT,并提供 log</p></li>
|
||||
<li><p>打开 CONFIG_USBDEV_SETUP_LOG_PRINT,并提供 log</p></li>
|
||||
<li><p>是否流片并销售</p></li>
|
||||
</ul>
|
||||
</section>
|
||||
@@ -193,14 +194,7 @@
|
||||
</section>
|
||||
<section id="cherryusb">
|
||||
<h2>CherryUSB 性能能到多少<a class="headerlink" href="#cherryusb" title="Link to this heading"></a></h2>
|
||||
<p>可以达到硬件极限性能,当然需要硬件理论支持到这速度,CherryUSB 就支持到这速度,举例如下:</p>
|
||||
<ul class="simple">
|
||||
<li><p>HPM 系列(从机可以到 42MB/S, 主机 44MB/S, 已经达到硬件极限)</p></li>
|
||||
<li><p>BL 系列(从机 32MB/S, 主机 25MB/S, 已经达到硬件极限)</p></li>
|
||||
<li><p>STM32F4 全速(从机 900KB/S, 主机 1.12MB/S, 已经达到硬件极限)</p></li>
|
||||
</ul>
|
||||
<p>从机测速demo: cdc_acm_template.c 并且关闭 log,脚本使用 <cite>tools/test_srcipts/test_cdc_speed.py</cite>
|
||||
主机测速demo: usb_host.c 中 TEST_USBH_CDC_SPEED=1</p>
|
||||
<p>参考 <a class="reference internal" href="show/index.html#performace-show"><span class="std std-ref">性能展示</span></a></p>
|
||||
</section>
|
||||
<section id="st-ip">
|
||||
<h2>ST IP 命名问题<a class="headerlink" href="#st-ip" title="Link to this heading"></a></h2>
|
||||
@@ -245,6 +239,11 @@
|
||||
<h2>Failed to enable port<a class="headerlink" href="#failed-to-enable-port" title="Link to this heading"></a></h2>
|
||||
<p>供电不足或者硬件 USB 电路问题</p>
|
||||
</section>
|
||||
<section id="usb-host-urb-12-14">
|
||||
<h2>移植 usb host 出现 urb 返回 -12/-14<a class="headerlink" href="#usb-host-urb-12-14" title="Link to this heading"></a></h2>
|
||||
<p>-12 就检查 phy 配置,通信不良</p>
|
||||
<p>-14 就检查 phy 配置,cache 配置(如果有),fifo配置,寄存器地址, IP 是否真的标准等等</p>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -165,8 +165,8 @@
|
||||
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||||
<div itemprop="articleBody">
|
||||
|
||||
<section id="id1">
|
||||
<h1>性能展示<a class="headerlink" href="#id1" title="Link to this heading"></a></h1>
|
||||
<section id="performace-show">
|
||||
<span id="id1"></span><h1>性能展示<a class="headerlink" href="#performace-show" title="Link to this heading"></a></h1>
|
||||
<p>以下演示了 CherryUSB 在不同应用中的性能表现。主要演示高速模式,全速看不出什么性能差异。</p>
|
||||
<section id="cdc-acm">
|
||||
<h2>CDC ACM 通信<a class="headerlink" href="#cdc-acm" title="Link to this heading"></a></h2>
|
||||
|
||||
@@ -297,6 +297,7 @@
|
||||
<li><p>ch32 device iso 更新</p></li>
|
||||
<li><p>cmake,kconfig 更新</p></li>
|
||||
<li><p>使用 USB_ASSERT_MSG 对部分代码检查</p></li>
|
||||
<li><p>N32H4,mm32f5 支持</p></li>
|
||||
</ul>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user