Forum Discussion
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- After that the download is completed (it gets 100%) i have a window saying "Hardware configuration' has encountered a problem. Downloading ELF Process failed" but in the warnings tab are two errors: Error launching external scanner info generator (sh -c 'g++ -E -P -v -dD C:/Users/Anónimo/workspace/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp ') Error launching external scanner info generator (sh -c 'gcc -E -P -v -dD C:/Users/Anónimo/workspace/.metadata/.plugins/org.eclipse.cdt.make.core/specs.c ') both files, specs.cpp and specs.c, seem empty i didnt run a memory test program on the SRAM. i dont know how i can do it. could you show a example? thanks --- Quote End --- Based on this and your previous post it appears that your primary problem is with the SRAM and the warning messages are a separate issue. I would check the SRAM first to be sure it is connected and working properly. The Memory Test program that Daixiwen refers to is an example app in the Nios II Software Build Tools for Eclipse that runs on the Nios II processor. You must create, build, and run this app in Eclipse, and it must be downloaded to different memory than you are trying to test. If you have enough on-chip memory you can put it there, but in my case I did not. In fact in my custom system I don't have enough memory anywhere except the SRAM I want to test, so this test is ineffective. A better way to see if your SRAM is working is to use the System Console. This tests memory at a very fundamental level that does not require the Nios II processor to be running. You still need a Nios II in the Qsys design to have access to the JTAG Debug Module. I attached a text file that provides a step-by-step procedure for test SRAM in this manner. I would like to know your results, so please post again.