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++
12604 Discussions

Problems when downloading onto EP1S10F780C6

Altera_Forum
Honored Contributor II
917 Views

Now, I am working on this board with Quartus 4.2 and Nios II IDE 1.1. After following the instruction from "Getting Start" document, I cannot download the "hello world" onto this board. The following is the error message: 

 

Using cable "ByteBlasterII [LPT1]", device 1, instance 0x00 

Pausing target processor: OK 

Reading System ID at address 0x021208B8: does not match 

ID value does not match: read 0x264D0112; expected 0x0422EB02 

Timestamp value does not match: image on board is older than expected 

Read timestamp 16:40:25 2004/11/25; expected 10:05:49 2005/01/20 

The software you are downloading may not run on the system which is currently 

configured into the device. Please download the correct SOF or recompile. 

Restarting target processor 

 

Because I am using the stardard.sof file given with Nios II IDE 1.1, is there a problem?
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
232 Views

neo, 

 

This is telling you that something in the system has been updated but the hardware (.sof) was not re-compiled; a common cause of this is if you open the hardware portion of the design in SOPC Builder, edit something, and then close (or re-generate).. such actions will update the time-stamp in the configuration (.ptf) file that stores information about your system. You should either turn-off the system-ID checking mechanism in the IDE (if you know that you have not made any system changes), or re-generate in SOPC Builder, and re-compile in quartus to get a new .sof.
0 Kudos
Altera_Forum
Honored Contributor II
232 Views

I would regenerate since the hardware seems to be a few months old (then recompile your software after). After that everything should be fine.

0 Kudos
Altera_Forum
Honored Contributor II
232 Views

I ran the "re-generate" in SOPC Builder then ran the "start-complie" from Quartus II 4.2 "processing" menu. 

 

Then I run the "start" from Quartus ---> Programmer. 

 

Then I re-build the "Hello World" and tried to download it onto board. But I failed again and got the following error message: 

 

Using cable "ByteBlasterII [LPT1]", device 1, instance 0x00 

Pausing target processor: not responding. 

Resetting and trying again: FAILED 

Leaving target processor paused
0 Kudos
Altera_Forum
Honored Contributor II
232 Views

BadOmen/Jesse, 

 

Thank you very much for your help on this issue. 

 

Now, it seems I almost solved that problem when I got the following information: 

 

Using cable "ByteBlasterII [LPT1]", device 1, instance 0x00 

Pausing target processor: OK 

Reading System ID at address 0x021208B8: verified 

 

Downloading 00000000 ( 0%) 

Downloading 01000020 ( 0%) 

Downloading 01010000 (94%) 

Downloaded 68KB in 2.1s (32.3KB/s) 

Leaving target processor paused 

 

But I also got the following warning message ...  

 

nios2-terminal: Warning: The JTAG cable you are using is not supported for Nios 

nios2-terminal: II systems. You may experience intermittent JTAG communication 

nios2-terminal: failures with this cable. Please use a USB Blaster revision B 

nios2-terminal: cable or another supported cable. Please refer to the file 

nios2-terminal: errata.txt included in the Nios II development kit documents 

nios2-terminal: directory for more information. 

 

nios2-terminal: connected to hardware target using JTAG UART on cable 

nios2-terminal: "ByteBlasterII [LPT1]", device 1, instance 0 

nios2-terminal: starting in terminal mode (Control-C exits) 

 

Hello from Nios II! 

 

So must I use USB Blaster revision B cable? 

 

And from the "Getting Started" document, it seems OK when the "Hello World" is printed onto the terminal window of the Nios II IDE. 

 

If I want to print something out onto the LCD, how could I do? 

 

Thanks, 

Neo
0 Kudos
Altera_Forum
Honored Contributor II
232 Views

You can use a ByteBlaster cable, but if you are in a noisy environment then you might have problems with nios2-terminal or the debugger disconnecting or unexpectedly reporting errors. 

 

See the web server example, file web_server.c for an example of how to print to the LCD.
0 Kudos
Reply