Nuand / bladeRF

bladeRF USB 3.0 Superspeed Software Defined Radio Source Code
http://nuand.com
Other
1.15k stars 460 forks source link

Issues about generating BSP #943

Closed TobyXue closed 11 months ago

TobyXue commented 1 year ago

Hello,

I was trying to measure the code execution time inside of the Nios II, thus an "interval timer" peripheral could be necessary to do this. Therefore, I recently added an "interval timer" inside of the Nios II system, and this hence lead to some changes upon the corresponding .sopcinfo file. I tried to generate a new BSP regarding the changes in .sopcinfo file via Nios II Eclipse SBT, but Eclipse showed me an error message:


Error executing 'nios2-bsp-generate-files --bsp-dir . --settings settings.bsp', unexpected return code 1. Error message: SEVERE: settings.bsp SEVERE: nios2-bsp-generate-files failed.


Screenshot 2023-09-19 152343

The board I am currently using is: BladeRF2.0 Micro- XA4; OS of the PC: Windows 11. Software versions: Quartus Prime 17.1 and its built-in Eclipse for Nios II SBT.

Can anyone help? Many thanks in advance.

robertghilduta commented 1 year ago

What Quartus variant and version number are you using?

On Tue, Sep 19, 2023 at 6:34 AM TobyXue @.***> wrote:

Hello,

I was trying to measure the code execution time inside of the Nios II, thus an "interval timer" peripheral could be necessary to do this. Therefore, I recently added an "interval timer" inside of the Nios II system, and this hence lead to some changes upon the corresponding .sopcinfo file. I tried to generate a new BSP regarding the changes in .sopcinfo file via Nios II Eclipse SBT, but Eclipse showed me an error message:

Error executing 'nios2-bsp-generate-files --bsp-dir . --settings settings.bsp', unexpected return code 1. Error message: SEVERE: settings.bsp SEVERE: nios2-bsp-generate-files failed.

[image: Screenshot 2023-09-19 152343] https://user-images.githubusercontent.com/87070539/268971134-0b2845bd-8ee7-4213-92d4-506716c060d4.png

The board I am currently using is: BladeRF2.0 Micro- XA4; OS of the PC: Windows 11. Software versions: Quartus Prime 17.1 and its built-in Eclipse for Nios II SBT.

Can anyone help? Many thanks in advance.

— Reply to this email directly, view it on GitHub https://github.com/Nuand/bladeRF/issues/943, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA3RD32KBOJCDN5AVQMA6U3X3GNNHANCNFSM6AAAAAA46JUUIU . You are receiving this because you are subscribed to this thread.Message ID: @.***>

TobyXue commented 1 year ago

Hello Robert,

Thanks for your reply, I am currently using Qaurtus 17.1 as suggested.

robertghilduta @.***> 于2023年9月19日周二 22:22写道:

What Quartus variant and version number are you using?

On Tue, Sep 19, 2023 at 6:34 AM TobyXue @.***> wrote:

Hello,

I was trying to measure the code execution time inside of the Nios II, thus an "interval timer" peripheral could be necessary to do this. Therefore, I recently added an "interval timer" inside of the Nios II system, and this hence lead to some changes upon the corresponding .sopcinfo file. I tried to generate a new BSP regarding the changes in .sopcinfo file via Nios II Eclipse SBT, but Eclipse showed me an error message:

Error executing 'nios2-bsp-generate-files --bsp-dir . --settings settings.bsp', unexpected return code 1. Error message: SEVERE: settings.bsp SEVERE: nios2-bsp-generate-files failed.

[image: Screenshot 2023-09-19 152343] < https://user-images.githubusercontent.com/87070539/268971134-0b2845bd-8ee7-4213-92d4-506716c060d4.png>

The board I am currently using is: BladeRF2.0 Micro- XA4; OS of the PC: Windows 11. Software versions: Quartus Prime 17.1 and its built-in Eclipse for Nios II SBT.

Can anyone help? Many thanks in advance.

— Reply to this email directly, view it on GitHub https://github.com/Nuand/bladeRF/issues/943, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AA3RD32KBOJCDN5AVQMA6U3X3GNNHANCNFSM6AAAAAA46JUUIU>

. You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/Nuand/bladeRF/issues/943#issuecomment-1726415652, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUYJOSYSSHFUV4AFGPXOGVTX3H5IVANCNFSM6AAAAAA46JUUIU . You are receiving this because you authored the thread.Message ID: @.***>

rghilduta commented 11 months ago

Quartus version is too old, please consider using a more recent one such as >20. Use this script to launch Quartus and compile the BSP: https://github.com/Nuand/bladeRF/blob/master/hdl/quartus/launch_eclipse.sh