Hi @Michael2021,
It seems the current issue is related more to the Nios environment setup than the DP reference design.
Error message: "nios2-bsp-update-settings : command not found"
Based on the error message you provided, it appears that the environment wasn't set up correctly, which is why the "nios2-bsp-update-settings" command was not found when you ran "source build_sw.sh" in the Nios2 Command Shell.
Please check if you have exported the $QUARTUS_ROOTDIR in your environment. If you have, use the following command to export the "nios2-bsp-update-settings":
- In the terminal, enter the command to append the new directory to the existing PATH (if you have exported PATH before): export PATH="$PATH:$QUARTUS_ROOTDIR/nios2eds/sdk2/bin" (before you export this env variable, you can use "env" command to check what are the env variables you have set.)
- Next, please verify it in the terminal, enter the command: nios2-bsp-update-settings
- I have attached a screenshot_1 showing the expected outputs for both scenarios: when the environment is set up correctly and when it is not.
After that, please proceed to build the script again (source build_sw.sh) in the Nios2 Command Shell. I was able to generate the ELF file successfully when the environment was set up correctly, as shown in screenshot_2.
Thanks.
Best Regards,
Ven