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

NIOS2 IDE problem

Altera_Forum
Honored Contributor II
2,234 Views

Hi everybody, 

I have this code error when i try to run any application. 

 

--- Quote Start ---  

 

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

Pausing target processor: OK 

Reading System ID at address 0x11000188:  

ID value does not match: read 0xFFFFFFFF; expected 0x58FE6010 

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

Read timestamp 0:59:59 1970/01/01; expected 9:49:41 2009/06/16 

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 

 

--- Quote End ---  

 

 

I use the correct .SOF ... This is my sopc design (http://img193.imageshack.us/img193/8141/sopc.jpg). 

Thinks for help.
0 Kudos
10 Replies
Altera_Forum
Honored Contributor II
941 Views

Hi, 

 

I suggest connecting sysid directly to cpu (not using slow peripheral)
0 Kudos
Altera_Forum
Honored Contributor II
941 Views

i have the same error :( 

 

--- Quote Start ---  

 

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

Pausing target processor: OK 

Reading System ID at address 0x12021CA8:  

ID value does not match: read 0xFFFFFFFF; expected 0x79EB8C32 

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

Read timestamp 0:59:59 1970/01/01; expected 15:11:28 2009/06/16 

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 

 

--- Quote End ---  

0 Kudos
Altera_Forum
Honored Contributor II
941 Views

It looks to me like the IDE has wrong information about where the sysid peripheral is located in the address map. Look at your SoPC builder system. Is the System ID peripheral located at 0x12021CA8? If not then: 

 

1 - Make sure your SOF is getting into the chip. 

2 - Make sure your system library has been correctly regenerated from your current SoPC builder system. It's pretty common for people to copy a project and still have their IDE project pointing at an old PTF file. 

 

Jake
0 Kudos
Altera_Forum
Honored Contributor II
941 Views

Yeah so I just checked your SoPC system. Your IDE project is not using the proper PTF for the system. So it's looking at the wrong address for the system ID peripheral.  

 

Jake
0 Kudos
Altera_Forum
Honored Contributor II
941 Views

the link (the SOPC design) is for the first code error : 

Reading System ID at address 0x11000188 is good, the system ID is in slow peripheral.
0 Kudos
Altera_Forum
Honored Contributor II
941 Views

This may sound like a hoaky answer but try it. I have personally experienced this several times and haven't been able to explain the cause. 

 

1 - Close everything (Quartus, SoPC builder, and NIOS II IDE) 

2 - Launch Quartus and open your project. 

3 - Launch SoPC builder. 

4 - Re-generate your SoPC design. 

5 - Close SoPC builder (very important). 

6 - Compile the project in Quartus. 

7 - Launch the NIOS IDE. 

8 - Make sure your system library is pointing to the correct PTF. 

9 - Recompile your NIOS project and visually make sure that it is recompiling the system library. 

10 - Now try it. 

 

Jake
0 Kudos
Altera_Forum
Honored Contributor II
941 Views

thanks Jake, 

I will try it immediately
0 Kudos
Altera_Forum
Honored Contributor II
941 Views

Oh one other thing too. Make sure you've got no timing violations in quartus. 

 

Jake
0 Kudos
Altera_Forum
Honored Contributor II
941 Views

maybe I should connect system ID to the second cpu (cpu_tse) too 

0 Kudos
Altera_Forum
Honored Contributor II
941 Views

I resolved the problem by connecting the system ID to the second CPU. 

Now my questions are :  

1 - why in altera multiprocessor example we connect only one CPU ? 

2 - in my SOPC design cpu_tse is not connected to jtag_uart, so it's possible to connect it or no?
0 Kudos
Reply