- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I installed 23.1 in windows and linux.
I found a minimal max 10 demo for nios V/c
The instructions to make the design don't work.
- Invoke the quartus_py shell in the terminal
- Run the following command in the terminal from top level project directory:
> quartus_py scripts/build_sof.py
^ Those instructions make no sense and have no context. ^
[niosv-shell] D:\altera\kits\Max10_Nios_v> quartus_py scripts/build_sof.py
sys
Traceback (most recent call last):
File "scripts/build_sof.py", line 66, in <module>
generate_qsys = subprocess.Popen(["qsys-script","--script={}".format(qsys_tcl_dir),"--quartus-project={}".format(qpf_dir)], stdout=subprocess.PIPE, stderr=subprocess.STDOUT,cwd=cwd_1)
File "d:\altera\23.1std\quartus\common\python\lib\subprocess.py", line 858, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "d:\altera\23.1std\quartus\common\python\lib\subprocess.py", line 1327, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
That's OK! I did the usual qsys and qpf with the gui and it still works thankfully.
From the readme file:
c. Creating the bsp, build software sources and download elf
- To create software app with HAL OS, run the following commands in the terminal:
> niosv-bsp -c --quartus-project=hw/<>.qpf --qsys=hw/<>.qsys --type=hal sw/bsp_hal/settings.bsp
[niosv-shell] D:\altera\kits\Max10_Nios_v> niosv-bsp -c --quartus-project=hw/top.qpf --qsys=hw/sys.qsys --type=hal sw/bsp_hal/settings.bsp
2024.04.03.15:04:27 Error: Unrecognized switch <b>quartus-project</b>
2024.04.03.15:04:27 Error: Unrecognized switch <b>qsys</b>
2024.04.03.15:04:27 Error: Failed to validate switches.
--help
Example Commands
----------------
Creating a BSP
* niosv-bsp -c -t=hal -p=top.qpf -r=top -s=sys.qsys bsp/settings.bsp
Updating a BSP
* niosv-bsp -u -e="set_setting hal.make.cflags_optimization -O3" bsp/settings.bsp
Generating files in the "bsp" folder for an existing BSP settings file
* niosv-bsp -g -b=bsp settings.bsp
Exporting a BSP as a TCL script
* niosv-bsp -q -E=bsp.tcl bsp/settings.bsp
Re-creating a BSP with a TCL script
* niosv-bsp -c -t=hal -p=top.qpf -r=top -s=sys.qsys -x=bsp.tcl bsp/settings.bsp
[niosv-shell] D:\altera\kits\Max10_Nios_v> niosv-bsp -c -t=hal -p=top.qpf -r=top -s=sys.qsys bsp/settings.bsp
2024.04.03.14:42:10 Error: Unrecognized switch <b>p</b>
2024.04.03.14:42:10 Error: Unrecognized switch <b>r</b>
2024.04.03.14:42:10 Error: Failed to validate switches.
So, at this point the instructions don't work, and the example from the program's own help text is gibberish.
MY QUESTION IS:
DO YOU HAVE INSTRUCTIONS AND PROGRAMS THAT WORK?
CAN I GET THEM?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Can you share the demo link that you referred to?
We do not have the official design for MAX 10 using Nios V/c.
I could help you try create one simple design on OCRAM hello world, would that help?
This is the document for Nios V that I recommend to refer to on the types of booting examples:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Do you have any update from my previous response? Are you able to post a comment in this thread?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I will forward to you a simple Nios V design for Max 10 to your registered email.
If you have further issues or questions please file a new ticket, we will support you in the new ticket.
Disclaimer: The design is not official from the Altera Design Store, it is created for testing purposes and you may use it at your own risk.
As we do not receive any response from you on the previous question/reply/answer that we have provided. Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.
p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 4/5 survey.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page