Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Nios Problem

Altera_Forum
Honored Contributor II
2,382 Views

Hello, 

I am runnning a simple hello program using DE2-70. But still getting error mssage as: 

 

Using cable "USB-Blaster [USB-0]", device 1, instance 0x00 

Processor is already paused 

Reading System ID at address 0x064240D0: verified 

Initializing CPU cache (if present) 

OK 

Downloading 02000000 ( 0%) 

Downloading 02010000 (88%) 

Downloading 06421020 (99%) 

Downloaded 73KB in 1.3s (56.1KB/s) 

Verifying 02000000 ( 0%) 

Verify failed between address 0x2000000 and 0x200FFFF 

Leaving target processor paused 

 

can you please guide me?
0 Kudos
11 Replies
Altera_Forum
Honored Contributor II
912 Views

Hi,it maybe some reasons as list: 

Firstly you should know where is the address(SOPC every component has its address).Mostly 

errors happen in the memory or sdram. 

Secondly,you need to exam you PCB board. 

And then check every component to find if some interface got wrong links. 

Last,check the Quartus project:to see if the pio setting right or pll phase shift. 

Above all,your Nios IDE programme must be right!
0 Kudos
Altera_Forum
Honored Contributor II
912 Views

verify failed could have several possible couses. 

do you have timing violations reported by your timing analyzer ? 

is this memory location internal memory or external memory ?  

if external, and if sdram have you setup thescdram clock phase correctly ? 

if external, have you checked your pinning and connection ? 

can you run a very simple design, just nios and internal memory on your target ?
0 Kudos
Altera_Forum
Honored Contributor II
912 Views

 

--- Quote Start ---  

Hi,it maybe some reasons as list: 

Firstly you should know where is the address(SOPC every component has its address).Mostly 

errors happen in the memory or sdram. 

Secondly,you need to exam you PCB board. 

And then check every component to find if some interface got wrong links. 

Last,check the Quartus project:to see if the pio setting right or pll phase shift. 

Above all,your Nios IDE programme must be right! 

--- Quote End ---  

 

 

I am getting warning after compilation as : 

No exact pin assignments for 192 out of 212 pins. 

 

I have switched to the device EP2C70F896C6Then one error message appears to remove all assignments. I have then imported .qsf file for pin assignment. But it is still showing the above error.
0 Kudos
Altera_Forum
Honored Contributor II
912 Views

you have changed the device but keept the footprint ? 

 

you should check which pins have no exact pin location assignments 

if you have the chance to get access to the version with the prious device, open the project, go under menue -> Project -> organize quartus II settings file and exit this project. now your qsf file is sorted. 

You will find a section labled as 

# Pin & Location Assignments 

# ========================== 

with all the location assignments, you can copy this into you actual qsf and replace the assignsments there 

you will also find some other sections for the fitter and pin functionality if used like current strength or fast output assignments, you should also copy them. 

 

192 out of 212 means nearly none ;-)
0 Kudos
Altera_Forum
Honored Contributor II
912 Views

 

--- Quote Start ---  

you have changed the device but keept the footprint ? 

 

you should check which pins have no exact pin location assignments 

if you have the chance to get access to the version with the prious device, open the project, go under menue -> Project -> organize quartus II settings file and exit this project. now your qsf file is sorted. 

You will find a section labled as# Pin & Location Assignments# ========================== 

with all the location assignments, you can copy this into you actual qsf and replace the assignsments there 

you will also find some other sections for the fitter and pin functionality if used like current strength or fast output assignments, you should also copy them. 

 

192 out of 212 means nearly none ;-) 

--- Quote End ---  

 

 

There are lot of .qsf file when i search the harddrive. Which one should be imported?
0 Kudos
Altera_Forum
Honored Contributor II
912 Views

 

--- Quote Start ---  

you have changed the device but keept the footprint ? 

 

you should check which pins have no exact pin location assignments 

if you have the chance to get access to the version with the prious device, open the project, go under menue -> Project -> organize quartus II settings file and exit this project. now your qsf file is sorted. 

You will find a section labled as# Pin & Location Assignments# ========================== 

with all the location assignments, you can copy this into you actual qsf and replace the assignsments there 

you will also find some other sections for the fitter and pin functionality if used like current strength or fast output assignments, you should also copy them. 

 

192 out of 212 means nearly none ;-) 

--- Quote End ---  

 

 

There are lot of .qsf files when I search harddrive. Which one should be imported?
0 Kudos
Altera_Forum
Honored Contributor II
912 Views

the correct one ;-) 

 

did you save a copy of the quartus design (containing the qsf) before changing the device ?  

i do not use import features for this (do they exist?)  

i still use a text editor and replace the part
0 Kudos
Altera_Forum
Honored Contributor II
912 Views

 

--- Quote Start ---  

the correct one ;-) 

 

did you save a copy of the quartus design (containing the qsf) before changing the device ?  

i do not use import features for this (do they exist?)  

i still use a text editor and replace the part 

--- Quote End ---  

 

 

Yes I saved a the copy before changing the device. I can't understand what do you mean by: 

do not use import features for this (do they exist?)  

i still use a text editor and replace the part 

--- Quote End ---  

0 Kudos
Altera_Forum
Honored Contributor II
912 Views

i meant, i am not aware of an importt functionality by quartus for such purposes as i do not use /need them. i just open the qsf with a text editor and do my manipulation by hand. as quarts recognizes these changes. 

 

so you can open the copy of the working qsf and extract the required lines
0 Kudos
Altera_Forum
Honored Contributor II
912 Views

Komaljadhav, 

if you are not sure of the correct qsf file, I think you will solve your problem in a faster and safer way by manually reassigning your I/Os: entering 192 constraints is maybe annoying but it is still a 'human' level task. 

It will actually take less time than trying to compile and test with a few qsf files you are not sure of. 

 

Regards
0 Kudos
Altera_Forum
Honored Contributor II
912 Views

Thank You. I will do the same. I hope it will work.

0 Kudos
Reply