# General - Software

**URL:** https://discourse.grlib.community/c/general-software/6.md

[Latest](https://discourse.grlib.community/latest.md) · [Categories](https://discourse.grlib.community/categories.md)

---

## [About the General - Software category](https://discourse.grlib.community/t/about-the-general-software-category/18)

<div class="topic-metadata">

**Author:** [@daniel](https://discourse.grlib.community/u/daniel)\
**Replies:** 0

</div>

Topics about the SW ecosystem for the LEON and NOEL-V processor families such as compilers, debuggers, operating systems, device drivers, testing, open source software and other discussions

---

## [GRETH networking instability with L2C Lite enabled](https://discourse.grlib.community/t/greth-networking-instability-with-l2c-lite-enabled/560)

<div class="topic-metadata">

**Author:** [@MarcSB](https://discourse.grlib.community/u/MarcSB)\
**Replies:** 0\
**Last updated:** [22 May 2026 16:11 UTC](https://discourse.grlib.community/t/greth-networking-instability-with-l2c-lite-enabled/560 "2026-05-22T16:11:09Z")

</div>

Hello, We are experiencing a networking issue on our platform and would like to understand whether it could be related to cache coherency, DMA maintenance, or L2C Lite integration. Our setup uses: GRLIB 2024.4 4 NOEL…

---

## [Kernel boots with PLIC, but fails to boot when using IMSIC+APLIC (MSI mode)](https://discourse.grlib.community/t/kernel-boots-with-plic-but-fails-to-boot-when-using-imsic-aplic-msi-mode/558)

<div class="topic-metadata">

**Author:** [@WEI](https://discourse.grlib.community/u/WEI)\
**Replies:** 2\
**Last updated:** [20 May 2026 02:36 UTC](https://discourse.grlib.community/t/kernel-boots-with-plic-but-fails-to-boot-when-using-imsic-aplic-msi-mode/558 "2026-05-20T02:36:37Z")

</div>

Hi everyone, I’m working on MSI support. Here’s my issue: Kernel boots fine with PLIC enabled. Kernel fails to boot with PLIC disabled + APLIC+IMSIC (MSI mode) enabled. My device tree: /\*plic0: plic@PLIC\_UNIT { co…

---

## [GRMON 4.1.0 issues](https://discourse.grlib.community/t/grmon-4-1-0-issues/553)

<div class="topic-metadata">

**Author:** [@MarcSB](https://discourse.grlib.community/u/MarcSB)\
**Replies:** 2\
**Last updated:** [29 January 2026 10:53 UTC](https://discourse.grlib.community/t/grmon-4-1-0-issues/553 "2026-01-29T10:53:12Z")

</div>

Hello all, We have detected an issue when updating GRMON evaluation to version 4.1.0 (or 4.1.0.1). When we execute our ethernet initialization script we get the following error: Device index: greth0 EDCL ip 192.168.22…

---

## [RCC NOEL build for Ubuntu on M1/M3 processors](https://discourse.grlib.community/t/rcc-noel-build-for-ubuntu-on-m1-m3-processors/521)

<div class="topic-metadata">

**Author:** [@adasilva1](https://discourse.grlib.community/u/adasilva1)\
**Replies:** 0\
**Last updated:** [12 July 2025 16:18 UTC](https://discourse.grlib.community/t/rcc-noel-build-for-ubuntu-on-m1-m3-processors/521 "2025-07-12T16:18:09Z")

</div>

Would it be possible to build the NOEL-V RTEMS5 Software Development Environment for Ubuntu systems running on Apple Silicon M1/M3 processors?

---

## [Gaisler Linux 5.10 + mklinuximg u-boot incompatability?](https://discourse.grlib.community/t/gaisler-linux-5-10-mklinuximg-u-boot-incompatability/467)

<div class="topic-metadata">

**Author:** [@bryhansen](https://discourse.grlib.community/u/bryhansen)\
**Replies:** 0\
**Last updated:** [23 January 2025 16:22 UTC](https://discourse.grlib.community/t/gaisler-linux-5-10-mklinuximg-u-boot-incompatability/467 "2025-01-23T16:22:39Z")

</div>

I’ve been working on updating a UT700 project that was based on the older 4.9 kernel with mklinuximg 2.11. It was setup to use u-boot to load, verify, and use the u-boot ‘bootelf’ command to load the image produced by mk…

---

## [Problem during NOEL-V compilation with \_zicsr\_zifencei extensions](https://discourse.grlib.community/t/problem-during-noel-v-compilation-with-zicsr-zifencei-extensions/442)

<div class="topic-metadata">

**Author:** [@emanfredi12](https://discourse.grlib.community/u/emanfredi12)\
**Replies:** 0\
**Last updated:** [4 November 2024 12:06 UTC](https://discourse.grlib.community/t/problem-during-noel-v-compilation-with-zicsr-zifencei-extensions/442 "2024-11-04T12:06:26Z")

</div>

Hi everyone, I’m trying to modify the systest.c for the NOEL-V, but when I try running “make soft” from the noelv-generic design directory I get the following error: cc1: error: '-march=rv64ima\_zicsr\_zifencei': unsuppo…

---

## [The type auto-detection of a SPI memory device connected via SPIMCTRL](https://discourse.grlib.community/t/the-type-auto-detection-of-a-spi-memory-device-connected-via-spimctrl/436)

<div class="topic-metadata">

**Author:** [@WEI](https://discourse.grlib.community/u/WEI)\
**Replies:** 4\
**Last updated:** [18 October 2024 01:03 UTC](https://discourse.grlib.community/t/the-type-auto-detection-of-a-spi-memory-device-connected-via-spimctrl/436 "2024-10-18T01:03:49Z")

</div>

Does anyone have experience using the ‘spim’ command ? In my operation, the auto-detection command is failed. grmon3\> spim flash detect Got manufacturer ID 0x00 and device ID 0x0000 Could not find matching device! …

---

## [Relocation truncated to fit](https://discourse.grlib.community/t/relocation-truncated-to-fit/386)

<div class="topic-metadata">

**Author:** [@WEI](https://discourse.grlib.community/u/WEI)\
**Replies:** 4\
**Last updated:** [24 September 2024 06:26 UTC](https://discourse.grlib.community/t/relocation-truncated-to-fit/386 "2024-09-24T06:26:15Z")

</div>

Hi, I tried to link applications to non-standard locations, got error messages like: $ riscv-gaisler-elf-gcc -I. -I../../software/noelv/systest/sw -static -std=gnu99 -O3 -march=rv64ima -mabi=lp64 -DNOELV\_SYSTEST ./obj…

---

## [How to Download Peripheral Driver Library](https://discourse.grlib.community/t/how-to-download-peripheral-driver-library/433)

<div class="topic-metadata">

**Author:** [@yildizabdullah](https://discourse.grlib.community/u/yildizabdullah)\
**Replies:** 2\
**Last updated:** [19 September 2024 09:44 UTC](https://discourse.grlib.community/t/how-to-download-peripheral-driver-library/433 "2024-09-19T09:44:49Z")

</div>

Hi, In BCC2 User’s Manual, it is mentioned that there is a peripheral driver available. Where can I access the source codes and examples of the peripheral driver library?

---

## [OpenSBI+EDK+GRUB+Debian @ NOEL-V](https://discourse.grlib.community/t/opensbi-edk-grub-debian-noel-v/432)

<div class="topic-metadata">

**Author:** [@WEI](https://discourse.grlib.community/u/WEI)\
**Replies:** 0\
**Last updated:** [9 August 2024 17:08 UTC](https://discourse.grlib.community/t/opensbi-edk-grub-debian-noel-v/432 "2024-08-09T17:08:37Z")

</div>

a demonstration of …

---

## [Unknown JTAG device id](https://discourse.grlib.community/t/unknown-jtag-device-id/400)

<div class="topic-metadata">

**Author:** [@WEI](https://discourse.grlib.community/u/WEI)\
**Replies:** 7\
**Last updated:** [22 May 2024 09:22 UTC](https://discourse.grlib.community/t/unknown-jtag-device-id/400 "2024-05-22T09:22:51Z")

</div>

Hi, I tried the jtag debug link and was told Unknown JTAG device id. \> grmon -digilent GRMON debug monitor v3.3.10 64-bit eval version Copyright (C) 2024 Frontgrade Gaisler - All rights reserved. For latest upd…

---

## [Resume execution with GRMON 'detach'](https://discourse.grlib.community/t/resume-execution-with-grmon-detach/410)

<div class="topic-metadata">

**Author:** [@WEI](https://discourse.grlib.community/u/WEI)\
**Replies:** 7\
**Last updated:** [20 May 2024 10:14 UTC](https://discourse.grlib.community/t/resume-execution-with-grmon-detach/410 "2024-05-20T10:14:24Z")

</div>

Hi, arvid Can the ‘detach’ command be applied to the NOEL based system?

---

## [The 'reg' command can not show the FPU registers](https://discourse.grlib.community/t/the-reg-command-can-not-show-the-fpu-registers/409)

<div class="topic-metadata">

**Author:** [@WEI](https://discourse.grlib.community/u/WEI)\
**Replies:** 1\
**Last updated:** [26 April 2024 08:45 UTC](https://discourse.grlib.community/t/the-reg-command-can-not-show-the-fpu-registers/409 "2024-04-26T08:45:33Z")

</div>

The ‘float’ and ‘reg’ command can not show the FPU registers: GRMON debug monitor v3.3.10 64-bit eval version grmon3\> float FPU Disabled! grmon3\> reg a0: 0000000000000001 t0: ffffffff82a035c0 s0: ffffffff8…

---

## [GRMON on Mac computers](https://discourse.grlib.community/t/grmon-on-mac-computers/393)

<div class="topic-metadata">

**Author:** [@adasilva1](https://discourse.grlib.community/u/adasilva1)\
**Replies:** 1\
**Last updated:** [21 February 2024 12:50 UTC](https://discourse.grlib.community/t/grmon-on-mac-computers/393 "2024-02-21T12:50:20Z")

</div>

Is there an intention to port GRMON to the Mac world, including models with Apple Silicon processors?

---

## [GRMON eval 3.3.8 Segmentation Fault](https://discourse.grlib.community/t/grmon-eval-3-3-8-segmentation-fault/380)

<div class="topic-metadata">

**Author:** [@adasilva1](https://discourse.grlib.community/u/adasilva1)\
**Replies:** 5\
**Last updated:** [17 January 2024 16:17 UTC](https://discourse.grlib.community/t/grmon-eval-3-3-8-segmentation-fault/380 "2024-01-17T16:17:35Z")

</div>

Hi community I have a problem updating the grmon-eval version from 3.3.4 to 3.3.8. I am using NOEL distribution on Digilent ARTY-A7 board. Version 3.3.4 works fine and recognizes the board but version 3.3.8 generates …

---

## [GRMON not writing to Nexys A7 memory](https://discourse.grlib.community/t/grmon-not-writing-to-nexys-a7-memory/367)

<div class="topic-metadata">

**Author:** [@hamilton](https://discourse.grlib.community/u/hamilton)\
**Replies:** 4\
**Last updated:** [3 October 2023 16:02 UTC](https://discourse.grlib.community/t/grmon-not-writing-to-nexys-a7-memory/367 "2023-10-03T16:02:47Z")

</div>

I am working on a project where I am trying to run RTEMS on a Leon3 that exists on the Artix 7 FPGA on the Digilent Nexys A7 100t board. I have successfully programed the Leon3 bitfile from the GRLIB IP files to the boar…

---

## [Are Intel/Altera Quartus v17.0+ Tools Supported?](https://discourse.grlib.community/t/are-intel-altera-quartus-v17-0-tools-supported/354)

<div class="topic-metadata">

**Author:** [@Cameron](https://discourse.grlib.community/u/Cameron)\
**Replies:** 16\
**Last updated:** [19 September 2023 07:32 UTC](https://discourse.grlib.community/t/are-intel-altera-quartus-v17-0-tools-supported/354 "2023-09-19T07:32:52Z")

</div>

After reading thorough the documentation, I noted Altera (Intel) Quartus 16.0 is recommended. Given the lack of support on Intel’s side to provide anything below 17.0 via web download, is there any insight or suggestions…

---

## [How to install GRMON3 on windows 11?](https://discourse.grlib.community/t/how-to-install-grmon3-on-windows-11/358)

<div class="topic-metadata">

**Author:** [@paul](https://discourse.grlib.community/u/paul)\
**Replies:** 1\
**Last updated:** [11 August 2023 11:28 UTC](https://discourse.grlib.community/t/how-to-install-grmon3-on-windows-11/358 "2023-08-11T11:28:41Z")

</div>

I don’t know how to install correctly GRMON3 on windows 11. I found a zip on the grmon page from Gaisler, but when I have unarchived it I found only two directories (bin64 and share and within the bin64 I found a grmon.e…

---

## [Noel v not simulating completely in vivado](https://discourse.grlib.community/t/noel-v-not-simulating-completely-in-vivado/334)

<div class="topic-metadata">

**Author:** [@Pierre](https://discourse.grlib.community/u/Pierre)\
**Replies:** 2\
**Last updated:** [28 April 2023 11:47 UTC](https://discourse.grlib.community/t/noel-v-not-simulating-completely-in-vivado/334 "2023-04-28T11:47:06Z")

</div>

Hi all :wave: I’m currently trying to run the Noel V digilent arty a7 simulation in vivado but I cannot get it to run completely… It is the base program so I’m expecting to see a bit more than that: like a small NO…

---

## [Access L3STAT counters from software](https://discourse.grlib.community/t/access-l3stat-counters-from-software/283)

<div class="topic-metadata">

**Author:** [@MarcSB](https://discourse.grlib.community/u/MarcSB)\
**Replies:** 1\
**Last updated:** [16 November 2022 14:16 UTC](https://discourse.grlib.community/t/access-l3stat-counters-from-software/283 "2022-11-16T14:16:27Z")

</div>

Hello, I am trying to access the L3STAT counters in a LEON3 design. I have seen, using GRMON’s info sys, the memory addresses where the values of the counters are stored, but I couldn’t find at what memory address (if a…

---

## [GR1553B Remote Terminal Driver](https://discourse.grlib.community/t/gr1553b-remote-terminal-driver/279)

<div class="topic-metadata">

**Author:** [@puneet](https://discourse.grlib.community/u/puneet)\
**Replies:** 0\
**Last updated:** [7 October 2022 08:38 UTC](https://discourse.grlib.community/t/gr1553b-remote-terminal-driver/279 "2022-10-07T08:38:01Z")

</div>

We are trying to use GR1553 core with GR712RC processor chip. We configured general purpose register for getting system clock divide by 4 clock for this IP, enabled clock for GR1553IP core using clock gating unit. But…

---

## [Time functions in BCC sources](https://discourse.grlib.community/t/time-functions-in-bcc-sources/247)

<div class="topic-metadata">

**Author:** [@MarcSB](https://discourse.grlib.community/u/MarcSB)\
**Replies:** 2\
**Last updated:** [24 May 2022 09:53 UTC](https://discourse.grlib.community/t/time-functions-in-bcc-sources/247 "2022-05-24T09:53:31Z")

</div>

Hello, I have built bcc-2.2.1-gcc from sources successfully and I am now trying to use time functions (e.g. clock()) in my code for the LEON3 to measure the execution time. According to the BCC User’s Manual I need to f…

---

## [ISR not entered - BCC2](https://discourse.grlib.community/t/isr-not-entered-bcc2/90)

<div class="topic-metadata">

**Author:** [@flo](https://discourse.grlib.community/u/flo)\
**Replies:** 2\
**Last updated:** [21 March 2022 09:29 UTC](https://discourse.grlib.community/t/isr-not-entered-bcc2/90 "2022-03-21T09:29:39Z")

</div>

Hello, with the following code I try to register a ISR in core 1, which is triggered by the software of core 2 in a 3 core system. For some reason, the ISR is never entered, but core 1 wakes up again. Thanks for your …

---

## [GRMON 3 software Installation problem](https://discourse.grlib.community/t/grmon-3-software-installation-problem/207)

<div class="topic-metadata">

**Author:** [@jagan66](https://discourse.grlib.community/u/jagan66)\
**Replies:** 0\
**Last updated:** [3 December 2021 13:57 UTC](https://discourse.grlib.community/t/grmon-3-software-installation-problem/207 "2021-12-03T13:57:35Z")

</div>

Hello All, I got a SpaceWire router Evaluation board(GR718-BOARD), and I am pretty new to this kind of board. I am using the licensed software version grmon3 pro. I am trying to select the debug link for my board from t…

---

## [Network Problem Linux](https://discourse.grlib.community/t/network-problem-linux/186)

<div class="topic-metadata">

**Author:** [@FranzDu](https://discourse.grlib.community/u/FranzDu)\
**Replies:** 0\
**Last updated:** [4 August 2021 08:49 UTC](https://discourse.grlib.community/t/network-problem-linux/186 "2021-08-04T08:49:27Z")

</div>

Hello, I am currently working with Linux (4.9.246) on VC707 board with Leon5. I am using the template of the GRLIB IP 2021.2b4267 library, which I installed with vivado 2018.1. Linux is running normally so far, except f…

---

## [GRMON Evaluation Version UART debug no long working?](https://discourse.grlib.community/t/grmon-evaluation-version-uart-debug-no-long-working/183)

<div class="topic-metadata">

**Author:** [@lcvisser](https://discourse.grlib.community/u/lcvisser)\
**Replies:** 1\
**Last updated:** [2 August 2021 19:29 UTC](https://discourse.grlib.community/t/grmon-evaluation-version-uart-debug-no-long-working/183 "2021-08-02T19:29:02Z")

</div>

I just went from GRMON v3.2.11.1 to v3.2.13. I used to connect to my board with the command: grmon -digilent -u and then run a program, e.g. grmon3\> reset grmon3\> load myprogram.elf grmon3\> run With v3.2.13 the exact…

---

## [Sqrt ASM code with rcc 1.2.21](https://discourse.grlib.community/t/sqrt-asm-code-with-rcc-1-2-21/109)

<div class="topic-metadata">

**Author:** [@jeandet](https://discourse.grlib.community/u/jeandet)\
**Replies:** 5\
**Last updated:** [5 May 2021 08:47 UTC](https://discourse.grlib.community/t/sqrt-asm-code-with-rcc-1-2-21/109 "2021-05-05T08:47:52Z")

</div>

Hello, I’m trying to optimize some code for an instrument on Solar Orbiter. We have to do some square roots, so while reading ASM code to see some C code change effects and hunting for FPU instructions, I discovered tha…

---

## [CPU identification faulty in Multi-Core Designs (incl. solution + further implications) - BCC2](https://discourse.grlib.community/t/cpu-identification-faulty-in-multi-core-designs-incl-solution-further-implications-bcc2/124)

<div class="topic-metadata">

**Author:** [@flo](https://discourse.grlib.community/u/flo)\
**Replies:** 1\
**Last updated:** [4 May 2021 07:08 UTC](https://discourse.grlib.community/t/cpu-identification-faulty-in-multi-core-designs-incl-solution-further-implications-bcc2/124 "2021-05-04T07:08:24Z")

</div>

Hello, we figured out, that the bcc\_get\_cpuid() function gives wrong values, once several CPUs are started. Take the following code, which starts one core after each other, asks for the started core’s ID and does the s…

---

## [Difficulties with BCC2 mkprom-hello example](https://discourse.grlib.community/t/difficulties-with-bcc2-mkprom-hello-example/122)

<div class="topic-metadata">

**Author:** [@lcvisser](https://discourse.grlib.community/u/lcvisser)\
**Replies:** 7\
**Last updated:** [1 May 2021 14:00 UTC](https://discourse.grlib.community/t/difficulties-with-bcc2-mkprom-hello-example/122 "2021-05-01T14:00:27Z")

</div>

I’m trying to get acquainted with the toolchains for LEON3 and following the README in bcc2/src/examples/mkprom-hello, but I am unable to get it to work. From the instructions: hello.prom contains the boot loader and…

[Next page](https://discourse.grlib.community/c/general-software/6.md?page=1)
