Skip to content

Commit

Permalink
Deploying to gh-pages from @ a371bc4 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
fanghuaqi committed Aug 16, 2024
1 parent 452da24 commit 22cd730
Show file tree
Hide file tree
Showing 73 changed files with 671 additions and 63 deletions.
8 changes: 6 additions & 2 deletions 1-cannot-setup-guestmemory/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,11 @@
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../16-incomplete_data_output_when_using_profiling_function/">使用Profiling功能时数据输出不完整</a>
<li class="toctree-l1"><a class="reference internal" href="../16-incomplete_data_output_when_using_profiling_function/">使用Profiling功能时可能遇到的一些问题</a>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../17-an_example_to_demonstrate_the_use_of_profiling_and_code_coverage/">一个例子用来展示 Profiling 以及 Code coverage 功能</a>
</li>
</ul>
</div>
Expand Down Expand Up @@ -138,7 +142,7 @@ <h1 id="nuclei-studioqemu">因内存不足,导致在Nuclei Studio中启动qemu
<p>在实际开发中发现,因电脑同时运行了很多的进程或者电脑本身的系统内存不足,致使在Nuclei Studio中,使用qemu进行程序调试时,可能出现如下报错:</p>
<pre><code>qemu-system-riscv64.exe: cannot set up quest memory 'riscv.evalsoc.flashxip' Invalid argument
</code></pre>
<p><img alt="" src="../asserts/images/cannotsetupguestmemiry.png" /></p>
<p><img alt="" src="../asserts/images/1/cannotsetupguestmemiry.png" /></p>
<p>一般可以通过关闭某些应用,释放一部分内存以供qemu使用,即可解决些问题。</p>

</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,11 @@
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../16-incomplete_data_output_when_using_profiling_function/">使用Profiling功能时数据输出不完整</a>
<li class="toctree-l1"><a class="reference internal" href="../16-incomplete_data_output_when_using_profiling_function/">使用Profiling功能时可能遇到的一些问题</a>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../17-an_example_to_demonstrate_the_use_of_profiling_and_code_coverage/">一个例子用来展示 Profiling 以及 Code coverage 功能</a>
</li>
</ul>
</div>
Expand Down Expand Up @@ -162,7 +166,7 @@ <h1 id="nuclei-studio">在Nuclei Studio下用命令行编译工程<a class="head
<blockquote>
<p>这个<strong>2023.10</strong>版本的举例的命令 会 弹出一个额外的命令行窗口进行输出。</p>
</blockquote>
<p><img alt="Nuclei Studio Command Line Build" src="../asserts/images/wx_20231208153525.png" /></p>
<p><img alt="Nuclei Studio Command Line Build" src="../asserts/images/10/wx_20231208153525.png" /></p>
<ul>
<li><code>NucleiStudio.exe</code>:该参数是Nuclei Studio的启动应用,在Nuclei Studio的安装目录下。</li>
<li><code>--launcher.suppressErrors</code>:该参数是用于抑制Nuclei Studio启动时的错误信息。</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,11 @@
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../16-incomplete_data_output_when_using_profiling_function/">使用Profiling功能时数据输出不完整</a>
<li class="toctree-l1"><a class="reference internal" href="../16-incomplete_data_output_when_using_profiling_function/">使用Profiling功能时可能遇到的一些问题</a>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../17-an_example_to_demonstrate_the_use_of_profiling_and_code_coverage/">一个例子用来展示 Profiling 以及 Code coverage 功能</a>
</li>
</ul>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,11 @@
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../16-incomplete_data_output_when_using_profiling_function/">使用Profiling功能时数据输出不完整</a>
<li class="toctree-l1"><a class="reference internal" href="../16-incomplete_data_output_when_using_profiling_function/">使用Profiling功能时可能遇到的一些问题</a>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../17-an_example_to_demonstrate_the_use_of_profiling_and_code_coverage/">一个例子用来展示 Profiling 以及 Code coverage 功能</a>
</li>
</ul>
</div>
Expand Down Expand Up @@ -159,12 +163,12 @@ <h2 id="_2">解决方案<a class="headerlink" href="#_2" title="Permanent link">
<p>但实际需要跑分时,要先取消选中<code>-msave-restore</code>选项,该跑分结果为<strong>1.664</strong></p>
</li>
</ol>
<p><img alt="" src="../asserts/images/12-1.png" />
<img alt="" src="../asserts/images/12-2.png" />
<img alt="" src="../asserts/images/12-3.png" />
<img alt="" src="../asserts/images/12-4.png" />
<img alt="" src="../asserts/images/12-5.png" />
<img alt="" src="../asserts/images/12-6.png" /></p>
<p><img alt="" src="../asserts/images/12/12-1.png" />
<img alt="" src="../asserts/images/12/12-2.png" />
<img alt="" src="../asserts/images/12/12-3.png" />
<img alt="" src="../asserts/images/12/12-4.png" />
<img alt="" src="../asserts/images/12/12-5.png" />
<img alt="" src="../asserts/images/12/12-6.png" /></p>

</div>
</div><footer>
Expand Down
10 changes: 7 additions & 3 deletions 13-error_could_not_find_an_available_hardware_trigger/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,11 @@
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../16-incomplete_data_output_when_using_profiling_function/">使用Profiling功能时数据输出不完整</a>
<li class="toctree-l1"><a class="reference internal" href="../16-incomplete_data_output_when_using_profiling_function/">使用Profiling功能时可能遇到的一些问题</a>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../17-an_example_to_demonstrate_the_use_of_profiling_and_code_coverage/">一个例子用来展示 Profiling 以及 Code coverage 功能</a>
</li>
</ul>
</div>
Expand Down Expand Up @@ -144,8 +148,8 @@ <h2 id="_1">问题说明<a class="headerlink" href="#_1" title="Permanent link">
<pre><code>Error: Couldn't find an available hardware trigger.
Error: can't add breakpoint: resource not available
</code></pre>
<p><img alt="" src="../asserts/images/13-1.png" /></p>
<p><img alt="" src="../asserts/images/13-2.png" /></p>
<p><img alt="" src="../asserts/images/13/13-1.png" /></p>
<p><img alt="" src="../asserts/images/13/13-2.png" /></p>
<p>是因为所运行的CPU不支持硬件断点,导致程序运行在Flash上的时候,IDE调试功能无法正常工作,这个是IDE会需要打一个临时断点的缘故导致的。如果需要下载并运行程序,切换到Run运行模式可以正常运行程序。</p>
<h2 id="_2">解决方案<a class="headerlink" href="#_2" title="Permanent link">&para;</a></h2>
<p>当在调试此类型处理器时,如果需要调试的话,就需要将程序编译运行在RAM上。</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,11 @@
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../16-incomplete_data_output_when_using_profiling_function/">使用Profiling功能时数据输出不完整</a>
<li class="toctree-l1"><a class="reference internal" href="../16-incomplete_data_output_when_using_profiling_function/">使用Profiling功能时可能遇到的一些问题</a>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../17-an_example_to_demonstrate_the_use_of_profiling_and_code_coverage/">一个例子用来展示 Profiling 以及 Code coverage 功能</a>
</li>
</ul>
</div>
Expand Down Expand Up @@ -146,9 +150,9 @@ <h2 id="_1">问题说明<a class="headerlink" href="#_1" title="Permanent link">
G:/NucleiStudio/toolchain/gcc/bin/../lib/gcc/riscv64-unknown-elf/13.1.1/../../../../riscv64-unknown-elf/bin/ld.exe: cannot find -lfileops_uart: No such file or directory
G:/NucleiStudio/toolchain/gcc/bin/../lib/gcc/riscv64-unknown-elf/13.1.1/../../../../riscv64-unknown-elf/bin/ld.exe: cannot find -lncrt_balanced: No such file or directory
</code></pre>
<p><img alt="" src="../asserts/images/14-1.png" /></p>
<p><img alt="" src="../asserts/images/14/14-1.png" /></p>
<p>是因为在创建工程时,我们创建了一个64位的工程,同时在Standard C Library时,选择了带<code>-lncrt_balanced</code><code>-lfileops_uart</code>的扩展,而此类扩展又不支持64位,导致编译不通过。</p>
<p><img alt="" src="../asserts/images/14-2.png" /></p>
<p><img alt="" src="../asserts/images/14/14-2.png" /></p>
<h2 id="_2">解决方案<a class="headerlink" href="#_2" title="Permanent link">&para;</a></h2>
<p><code>-lncrt_balanced</code><code>-lfileops_uart</code>不支持64位处理器,在创建此类处理器工程时,避免使用此类扩展。</p>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,11 @@
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../16-incomplete_data_output_when_using_profiling_function/">使用Profiling功能时数据输出不完整</a>
<li class="toctree-l1"><a class="reference internal" href="../16-incomplete_data_output_when_using_profiling_function/">使用Profiling功能时可能遇到的一些问题</a>
</li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../17-an_example_to_demonstrate_the_use_of_profiling_and_code_coverage/">一个例子用来展示 Profiling 以及 Code coverage 功能</a>
</li>
</ul>
</div>
Expand Down Expand Up @@ -175,9 +179,9 @@ <h2 id="_1">问题说明<a class="headerlink" href="#_1" title="Permanent link">

</code></pre>
<p>是因为在eclipse 2024.06版本中,有使用到一些特性,而该特性对操作系统有要求,可以参考 <a href="https://github.com/eclipse-platform/eclipse.platform.swt/issues/1252">https://github.com/eclipse-platform/eclipse.platform.swt/issues/1252</a></p>
<p><img alt="" src="../asserts/images/15-1.png" /></p>
<p><img alt="" src="../asserts/images/15/15-1.png" /></p>
<p>并且在eclipse的官方文档中,针对eclipse测试的操作系统中也做了说明,对某些版本的操作系统不再做兼容。可以参考 <a href="https://eclipse.dev/eclipse/development/plans/eclipse_project_plan_4_32.xml#target_environments">https://eclipse.dev/eclipse/development/plans/eclipse_project_plan_4_32.xml#target_environments</a></p>
<p><img alt="" src="../asserts/images/15-2.png" /></p>
<p><img alt="" src="../asserts/images/15/15-2.png" /></p>
<p>而NucleiStudio 2024.06是基于eclipse 2024.06,所以也会有同类型的问题。</p>
<h2 id="_2">解决方案<a class="headerlink" href="#_2" title="Permanent link">&para;</a></h2>
<p>请在windows 10或以上的版本操作系统上使用 NucleiStudio 2024.06。</p>
Expand All @@ -187,7 +191,7 @@ <h2 id="_2">解决方案<a class="headerlink" href="#_2" title="Permanent link">
</div><footer>
<div class="rst-footer-buttons" role="navigation" aria-label="Footer Navigation">
<a href="../14-cannot_find_-lncrt_balanced_no_such_file_or_directory/" class="btn btn-neutral float-left" title="cannot find -lncrt_balanced: No such file or directory"><span class="icon icon-circle-arrow-left"></span> Previous</a>
<a href="../16-incomplete_data_output_when_using_profiling_function/" class="btn btn-neutral float-right" title="使用Profiling功能时数据输出不完整">Next <span class="icon icon-circle-arrow-right"></span></a>
<a href="../16-incomplete_data_output_when_using_profiling_function/" class="btn btn-neutral float-right" title="使用Profiling功能时可能遇到的一些问题">Next <span class="icon icon-circle-arrow-right"></span></a>
</div>

<hr/>
Expand Down
Loading

0 comments on commit 22cd730

Please sign in to comment.