question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for Nuclei RISC-V Processor development platform

See original GitHub issue

Feature Request

Hi, we have developed several RISC-V processors called Nuclei, covering from low-end to high-end use cases.

We have supported three boards:

  • HummingBird FPGA evaluation board which will run Nuclei N/NX processor FPGA bitstream file
  • Nuclei RV-Star Evaluation Board
  • GD32VF103V Evaluation Board which this MCU on board is based on our Nuclei RISC-V Processor Core

Our support for Nuclei Platform currently is using our Nuclei Embedded Software Development Kit, and you can find our support repo here: https://github.com/Nuclei-Software/platform-nuclei.

Currently, our software development tools are kept in github release here: https://github.com/Nuclei-Software/platform-nuclei/releases/tag/nuclei_tools_v0.1.0-alpha.

I think we still missing the following tasks need to be done:

  • Add information about nuclei platform and boards to main documentation
  • Add information about nuclei platform and boards to PlatformIO Web Site

Questions

And during the support, I also found that debugging in VSCode is slower than debugging in GNU MCU Eclipse with RISC-V support, even we are using the same openocd and riscv-gdb tool, and also open all the windows like registers, call stacks, peripherals, variables, etc, VSCode is much slower than Eclipse, do you have any experiences in these?

I also found that in these line of code: https://github.com/platformio/platformio-core/blob/develop/platformio/commands/debug/server.py#L73-L75

            args.extend(
                ["-c", "gdb_port pipe; tcl_port disabled; telnet_port disabled"]
            )

In openocd manual, it suggest to write the openocd file into log file in order to ensure that the pipe is not saturated when using higher debug level outputs, I tried to modify it like this:

            args.extend(
                ["-c", "gdb_port pipe; log_output openocd.log; tcl_port disabled; telnet_port disabled"]
            )

Then the debug server connection speed and download speed will be faster than before, if you use load command, with previous version, the download speed will be 1 KB/s, but after my modification, it will be 7KB/s.

  • Download Speed Before Download Speed Before

  • Download Speed Now Download Speed Now

  • Debug is really slow in VSCode, when all debug windows are clicked and opened vscode_debug_slow

Thanks Huaqi

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:24 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
fanghuaqicommented, Feb 18, 2020

Done with our website, now we also have english version website.

图片

Thanks Huaqi

1reaction
fanghuaqicommented, Jan 20, 2020

BTW, here is our company’s logo, could you also add it into https://platformio.org/ when you accept this feature?

nuclei_logo_1

Read more comments on GitHub >

github_iconTop Results From Across the Web

Nuclei RISC-V Processor Software Development Kit - Gitee
Here we mainly support Nuclei processor cores running on Nuclei FPGA evaluation board(MCU200T/DDR200T), the support package placed in SoC/demosoc/.
Read more >
Software tools support RISC-V processor SoC development ...
Segger has announced its full support for Nuclei RISC-V processor SoCs. ... Software tools support RISC-V processor SoC development tasks.
Read more >
DOCS & TOOLS_Nuclei-Best RISC-V Processor IP
Click Nuclei User Center to access IP product's complete documents. Nuclei Software Platform. Nuclei Maintained Open Source Organizations. Nuclei Open Source ...
Read more >
Find professional RISC-V Processor IP in Nuclei - PlatformIO
Find professional RISC-V Processor IP in Nuclei, first professional RISC-V IP company in Mainland China, match all your requirements in AIoT ...
Read more >
SEGGER announces support for Nuclei RISC-V Processors
SEGGER announces its full support for Nuclei RISC-V processor SoCs. ... Nuclei and see our tools being used for development using Nuclei's RISC-V...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found