I'm trying to follow this tutorial to generate a preloader for my Terasic DE0-NANO-SOC development board:
http://rocketboards.org/foswiki/view/documentation/socswws1introtoalterasocdeviceslab1preloader I'm using the 15.1.0.185 builds of Quartus Prime Lite Edition and SoC EDS Web Edition on a Windows 10 laptop with built-in SD card reader and micro-SD adapter. I keep trying the following step where the final D is my micro-SD drive letter:alt-boot-disk-util -p preloader-mkpimage.bin -a write -d D I always get: --- Quote Start --- device open failed! --- Quote End --- The SoC EDS command shell is able to navigate to /cygdrive/d without issue and I can browse the contents of the micro-SD card using Windows explorer. I loaded the DE0-NANO-SOC image described by the tutorial as my starting point. The tutorial uses version 15.0. I tried using components built with 15.1.0.185 and had the same issues as well as a different micro-SD card. Has anyone had success/issues using alt-boot-disk-util with these software/OS versions?
链接已复制
C:\altera\15.1\embedded\env.sh also fails to find my qsys directory since I am using the Lite version which defaults to C:\altera_lite\15.1\quartus\sopc_builder\bin. By defining the environment variable QUARTUS_ROOTDIR_OVERRIDE to be the correct path for the Lite version, I was finally able to get the sopc-create-header-files script to run correctly. To the tutorial's credit, 15.1 was not listed as one of the supported versions, but I think the maintainers of the env.sh script should figure out how to handle that right. Also noticed the Windows PATH variable does not get properly imported into cygwin. I have a lot of spaces in the PATH variable, but that didn't seem to cause enough problems for me to worry about it at this point.
--- Quote Start --- C:\altera\15.1\embedded\env.sh also fails to find my qsys directory since I am using the Lite version which defaults to C:\altera_lite\15.1\quartus\sopc_builder\bin. By defining the environment variable QUARTUS_ROOTDIR_OVERRIDE to be the correct path for the Lite version, I was finally able to get the sopc-create-header-files script to run correctly. To the tutorial's credit, 15.1 was not listed as one of the supported versions, but I think the maintainers of the env.sh script should figure out how to handle that right. Also noticed the Windows PATH variable does not get properly imported into cygwin. I have a lot of spaces in the PATH variable, but that didn't seem to cause enough problems for me to worry about it at this point. --- Quote End --- Wait... you are using window's based? you execute the ds-5/ aka eclipse via window short cut or from the embedded command shell ?
I've just been using the command line by right clicking on the embedded command shell batch file and running as administrator. I'm yet to find any examples/guidance that use Eclipse for anything. Every example I've found uses the command line and Makefiles.