Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21605 Discussions

cygwin error in windows 8.1 during making hex file in nios command shell for qts 14.0

Altera_Forum
Honored Contributor II
2,016 Views

Hi all, 

 

My OS:windows 8.1 

Quartus version is :14.0 

 

I am planning to generate hex file using nios command shell(converting elf and sof files to flash and then flash to hex) 

 

while i am running the bellow script 

 

sof2flash --epcs --input=HW.sof --output=hw.flash --quiet 

elf2flash --epcs --after=hw.flash --input=SW.elf --output=sw.flash 

cp hw.flash hw_sw.flash 

cat sw.flash >> hw_sw.flash 

nios2-elf-objcopy --input-target srec --output-target ihex hw_sw.flash My_Pjt.hex 

 

 

 

command prompt showing this issue.  

/********************************************************************************************************/ 

2 [main] uname 3172 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer. Please report this problem to 

the public mailing list cygwin@cygwin.com 

3 [main] uname 4472 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer. Please report this problem to 

the public mailing list cygwin@cygwin.com 

/********************************************************************************************************/ 

 

Due to this my pof is not loading into EPCS 

 

please suggest.
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
870 Views

Download the patch at the bottom of this page: 

http://www.altera.com/education/univ/unv-index.html 

 

Now, ignore the instructions on that page, they don't apply to 14.0 

 

First copy 

C:\altera\14.0\quartus\bin64\cygwin 

To 

C:\altera\14.0\quartus\bin64\cygwin.old 

(To make a backup copy in case something goes wrong) 

 

 

Extract the files from cygwin_patch.zip to somewhere like your desktop or downloads folder, then copy the contents of the 'bin' folder (NOT the bin64 folder!) to: 

C:\altera\14.0\quartus\bin64 

Merging folders and replacing any files. 

 

The error should have gone away.
0 Kudos
Altera_Forum
Honored Contributor II
870 Views

New link - Instructions at bottom of page. 

 

http://help.ece.ubc.ca/altera
0 Kudos
Reply