Forum Discussion
NIOS2 IDE problem
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.10 Replies
- Altera_Forum
Honored Contributor
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? - Altera_Forum
Honored Contributor
maybe I should connect system ID to the second cpu (cpu_tse) too
- Altera_Forum
Honored Contributor
Oh one other thing too. Make sure you've got no timing violations in quartus.
Jake - Altera_Forum
Honored Contributor
thanks Jake,
I will try it immediately - Altera_Forum
Honored Contributor
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 - Altera_Forum
Honored Contributor
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. - Altera_Forum
Honored Contributor
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 - Altera_Forum
Honored Contributor
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 - Altera_Forum
Honored Contributor
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 --- - Altera_Forum
Honored Contributor
Hi,
I suggest connecting sysid directly to cpu (not using slow peripheral)