Skip to content

Commit

Permalink
添加Nuclei Studio 2024.12文档
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzegang committed Jan 6, 2025
1 parent 032616a commit c42582d
Show file tree
Hide file tree
Showing 36 changed files with 428 additions and 83 deletions.
Binary file modified source/asserts/nucleistudio/advanceusage/image72.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified source/asserts/nucleistudio/advanceusage/image73.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified source/asserts/nucleistudio/advanceusage/image74.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified source/asserts/nucleistudio/advanceusage/image75.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified source/asserts/nucleistudio/advanceusage/image76.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified source/asserts/nucleistudio/advanceusage/image81.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
355 changes: 294 additions & 61 deletions source/ide/advanceusage.rst

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions source/ide/faq.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _faq:

常见问题
========
Nuclei Studio常见问题
======================

Nuclei Studio启动慢
-------------------
Expand Down Expand Up @@ -270,8 +270,8 @@ Debug时报错Error: Couldn't find an available hardware trigger.

这种情况下需要将程序编译到RAM上才可以支持IDE上进行调试(软件断点),如果需要调试则暂时只能通过命令行的方式进行调试。

其他未注明或者遇到的版本问题
============================
其他未注明版本问题
==================

如本文档中有疏漏的地方,请关注 `https://www.rvmcu.com/NucleiStudio-faq.html <https://www.rvmcu.com/nucleistudio-faq.html>`__
这里将列出不同版本后续遇到的常见问题。
Expand Down
66 changes: 66 additions & 0 deletions source/ide/intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,72 @@ Nuclei Studio IDE充分利用上述Eclipse IDE优势,结合社区成熟的Ecli
Nuclei Studio 更新说明
=======================

2024.12版更新说明
-----------------

2024.12版本是基于eclipse Cpp 2024-12开发,CDT版本到Eclipse CDT 2024-09(2024-12版本暂末发布),升级了芯来科技的工具版本至2024.12,优化了部分原有功能,新增了调试及代码性能分析等功能,以及解决了2024.06版中存在的缺陷。

升级Eclipse Cpp版本
~~~~~~~~~~~~~~~~~~~

在Nuclei Studio 2024.12基于Eclipse Cpp 2024-12版本开发此版本。基础的CDT版本,升级到了11.6.1。

升级RISC-V Toolchain、OpenOCD、QEMU版本
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

在Nuclei Studio 2024.12版本中集成了Nuclei RISC-V Toolchain 2024.12版,具体信息可以查看:https://github.com/riscv-mcu/riscv-gnu-toolchain/releases/tag/nuclei-2024.12 。

在Nuclei Studio 2024.12版本中集成了OpenOCD 2024.012版,具体信息可以查看:https://github.com/riscv-mcu/riscv-openocd/releases/tag/nuclei-2024.12 。

在Nuclei Studio 2024.12版本中集成了Nuclei Qemu 2024.12版,具体信息可以查看:https://github.com/riscv-mcu/qemu/releases/tag/nuclei-2024.12 。

新增对更多新核的支持
~~~~~~~~~~~~~~~~~~~~

增加了对N200E、N202、N202E、NX1000、NX1000F、NX1000FD、UX1000、UX1000F CPU的核配套支持。

新增Flash Programming功能
~~~~~~~~~~~~~~~~~~~~~~~~~~~

为了满足用户将编译好的二进制文件直接下载到硬件开发板的需求,Nuclei Studio 新增了 Flash Programming 功能。该功能允许用户快速、便捷地将编译好的二进制文件直接下载到硬件开发板中,极大提升了开发和调试的效率。

具体参见 :ref:`Flash Programming功能 <ide_flash_programming>` 。

新增了Nuclei NICE Wizard
~~~~~~~~~~~~~~~~~~~~~~~~~

Nuclei NICE Wizard 是一个集成在 Nuclei Studio 上的工具,旨在简化和加速 NICE (自定义指令扩展) 和 VNICE (向量化自定义指令扩展) 指令的创建过程。

具体参见 :ref:`Nuclei NICE Wizard <ide_nuclei_nice_wizard>` 。

新增Nuclei Model功能的使用
~~~~~~~~~~~~~~~~~~~~~~~~~~

Nuclei Model是芯来科技为 Nuclei Near Cycle Model 开发了专门的运行工具,为了提供更简洁高效的用户体验,在 RVProf 的基础上进行了功能简化,推出了新的 Model 工具。

具体参见 :ref:`Nuclei Model <ide_nuclei_model>` 。


优化Nuclei Near Cycle Model
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Nuclei Near Cycle Model,是由芯来科技自主研发的仿真测试和性能分析工具,可以帮助研发人员在项目初期进行一些必要的仿真测试和程序性能分析。在此版本中实现了Windows和Linux下的支持。

具体参见 :ref:`Nuclei Near Cycle Model <ide_nuclei_near_cycle_model>` 。

新增Live Watch功能
~~~~~~~~~~~~~~~~~~~~

Live Watch 是芯来科技研发的实时监控工具,专为开发者设计,旨在帮助开发者更高效地调试和优化代码。

具体参见 :ref:`Live Watch功能的使用 <ide_live_watch>` 。


ZCC升级
~~~~~~~~~

在Nuclei Studio 2024.12版本中集成了ZCC 3.2.5版,并加入芯来科技支持的软件库。具体信息可以查看:https://www.terapines.com/products/zcc

2024.06版更新说明
-----------------

Expand Down
74 changes: 60 additions & 14 deletions source/ide/projectbuild.rst
Original file line number Diff line number Diff line change
Expand Up @@ -158,49 +158,95 @@ Nuclei Studio中编译Hello World项目

|image15|

.. _ide_flash_programming:

.. |image1| image:: /asserts/nucleistudio/projectbuild/image2.png
Flash Programming
------------------

为了满足用户将编译好的二进制文件直接下载到硬件开发板的需求,Nuclei Studio 新增了 Flash Programming 功能。该功能允许用户快速、便捷地将编译好的二进制文件直接下载到硬件开发板中,极大提升了开发和调试的效率;简化操作流程,用户只需点击一次即可完成二进制文件的下载。工程编译好后,找到Flash Programming,并点击,即可完成二进制文件下载的下载。

.. |image2| image:: /asserts/nucleistudio/projectbuild/image3.png
|image17|

用户也可以修改其相关的配置信息,在Launch Bar中点击配置按钮,打开配置页面,然后选中Flash Programming选项卡。

.. |image3| image:: /asserts/nucleistudio/projectbuild/image4.png
|image18|

**Load Program Image**

.. |image4| image:: /asserts/nucleistudio/projectbuild/image5.png
Load的文件,默认的elf格试的文件,也可以支持 ``*.bin、*.hex、*.s19、*.srec、*.symbolsrec`` 等各种格式

|image19|

.. |image5| image:: /asserts/nucleistudio/projectbuild/image6.png
**Flash Programming Options**

Flash Programming的选项有以下三种

.. |image6| image:: /asserts/nucleistudio/projectbuild/image7.png
Verify Image:选中时,Download命令会带上 ``verify`` 参数,这条指令要求确认你要烧录的镜像文件是否匹配当前连接的目标设备上的闪存配置。

|image20|

.. |image7| image:: /asserts/nucleistudio/projectbuild/image8.png
Reset and Run:选中时,Download命令会带上 ``rest`` 参数,这条指令在执行完load后可能强制系统复位(SRST),并让目标设备运行。

|image21|

.. |image8| image:: /asserts/nucleistudio/projectbuild/image9.png
Load in Ram:选中时,需要指定Program Address,Download命令会带上 ``resume {Program Address}`` 参数,这条指令固件加载到内存中,而不是闪存中。

|image22|

.. |image9| image:: /asserts/nucleistudio/projectbuild/image10.png
**OpenOCD Flash Programming Command line**

这些参数最终会以命令行的形式通过 GDB 执行。用户也可以自定义所需的命令,只需勾选 ``Customize openocd flash programming command line`` ,即可在下方输入框中输入自定义命令。

.. |image10| image:: /asserts/nucleistudio/projectbuild/image11.png
|image23|

根据需求配置好参数后,点击Flash Programming就可以下载二进制代码到硬件中,下载成功的结果如下图。

.. |image11| image:: /asserts/nucleistudio/projectbuild/image12.png
|image24|


.. |image12| image:: /asserts/nucleistudio/projectbuild/image13.png

.. |image1| image:: /asserts/nucleistudio/projectbuild/image2.png

.. |image13| image:: /asserts/nucleistudio/projectbuild/image14.png
.. |image2| image:: /asserts/nucleistudio/projectbuild/image3.png

.. |image3| image:: /asserts/nucleistudio/projectbuild/image4.png

.. |image14| image:: /asserts/nucleistudio/projectbuild/image15.png
.. |image4| image:: /asserts/nucleistudio/projectbuild/image5.png

.. |image5| image:: /asserts/nucleistudio/projectbuild/image6.png

.. |image6| image:: /asserts/nucleistudio/projectbuild/image7.png

.. |image7| image:: /asserts/nucleistudio/projectbuild/image8.png

.. |image8| image:: /asserts/nucleistudio/projectbuild/image9.png

.. |image9| image:: /asserts/nucleistudio/projectbuild/image10.png

.. |image10| image:: /asserts/nucleistudio/projectbuild/image11.png

.. |image11| image:: /asserts/nucleistudio/projectbuild/image12.png

.. |image12| image:: /asserts/nucleistudio/projectbuild/image13.png

.. |image13| image:: /asserts/nucleistudio/projectbuild/image14.png

.. |image14| image:: /asserts/nucleistudio/projectbuild/image15.png

.. |image15| image:: /asserts/nucleistudio/projectbuild/image16.png

.. |image17| image:: /asserts/nucleistudio/projectbuild/image17.png

.. |image18| image:: /asserts/nucleistudio/projectbuild/image18.png

.. |image19| image:: /asserts/nucleistudio/projectbuild/image19.png

.. |image20| image:: /asserts/nucleistudio/projectbuild/image20.png

.. |image21| image:: /asserts/nucleistudio/projectbuild/image21.png

.. |image22| image:: /asserts/nucleistudio/projectbuild/image22.png

.. |image23| image:: /asserts/nucleistudio/projectbuild/image23.png

.. |image24| image:: /asserts/nucleistudio/projectbuild/image24.png
8 changes: 4 additions & 4 deletions source/ide/update.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
.. _update:

Nuclei Studio 升级
==================
Nuclei Studio 升级更新
======================

一般情况下,如果Nuclei Studio没有大的版本变动,Nuclei Studio升级工作可以由用户下载最新的GNU工具链以及其他相关工具和升级IDE Plugins的方式来完成。

GCC/OpenOCD等工具链的安装
-------------------------
工具链的安装
-------------

Nuclei Studio已经把工具链集成在IDE内部,工具链存放在Nuclei Studio_IDE_XXX文件夹内,路径为: ``Nuclei Studio_IDE_XXX\\NucleiStudio\\toolchain`` 。IDE默认使用此路径的工具链,所以请不要移动 ``toolchain`` 此文件夹,使用IDE创建工程后也不需要进行工具链的相关配置。

Expand Down

0 comments on commit c42582d

Please sign in to comment.