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

Programming the NiosII with command line

Altera_Forum
Honored Contributor II
1,006 Views

Hi,  

 

I am trying to get familiar with Nios II cyclone III, and trying to program the Nios II with hello_world example comes with the NEEK. However, it is not succeed. Here is my steps.  

1. run the ./create-this-app 

2. nios2-configure-sof <locate the file, which actually is the standard .sof file> 

3. in other terminal, run nios2-terminal 

4. in the original terminal, run "nios2-download -g hello_world.elf" 

 

The following is the error message I get. 

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

Processor is already paused 

Reading System ID at address 0x021001C3:  

ID value was not verified: value was not specified 

Timestamp value was not verified: value was not specified 

Initializing CPU cache (if present) 

OK 

Downloaded 74KB in 0.6s (123.3KB/s) 

Verifying 02100020 ( 0%) 

Verify failed between address 0x2100020 and 0x21001C3 

Leaving target processor paused 

 

Since I am a newbie in this, I hope somebody can help and explain. Appreciate in advance.
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
266 Views

I fixed it. Thanks  

 

I used the example from NEEK version8.0 and run it with a version9.1. And that is the problem.  

I fixed it to run the example under version 8.0
0 Kudos
Altera_Forum
Honored Contributor II
266 Views

 

--- Quote Start ---  

I fixed it. Thanks  

 

I used the example from NEEK version8.0 and run it with a version9.1. And that is the problem.  

I fixed it to run the example under version 8.0 

--- Quote End ---  

 

 

Help! 

 

I have exactly the same problem. Do you mean you used NEEK files that were generated only for Quartus version 8.0? I'm building my project with Quartus 9.1, all the VHD codes and C code are generated by it but I'm using a Cyclone III board version7.2. Do you think it could be the problem?
0 Kudos
Altera_Forum
Honored Contributor II
266 Views

for all of the development kits, its a good idea to compile with whatever version the kit installer was released for, or else you may have to do some porting to get the project to compile in newer software 

 

it looks like the NEEK kit was updated for 9.1, take a look at the bottom of the kit page: 

 

http://www.altera.com/products/devkits/altera/kit-cyc3-embedded.html
0 Kudos
Reply