Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

Cannot load in Altera Monitor Program after using SOPC to build Nios II/s on DE1board

For university lab, a random number generating function used "mul" instruction which isn't included with Nios II/e version, causing pc to jump to 0x20 from mul instruction. So, I tried building Nios II/s in SOPC by modifying the .sopc file found in C:\altera\91sp2\University_Program\NiosII_Computer_Systems\DE1\DE1_Basic_Computer

Now I can't load my program on the monitor program. It gives me the error:

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

Resetting and pausing target processor: OK

Reading System ID at address 0x10002020:

ID value does not match: read 0x50CA161A; expected 0x3D312F3A

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

Read timestamp 15:08:53 2010/08/04; expected 19:10:40 2010/09/25

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.

Leaving target processor paused

There are no Nios II CPUs with debug modules available which match the values

specified. Please check that your PLD is correctly configured, downloading a

new SOF file if necessary.

If you know any solution to this, I will greatly appreciate it. Thanks in advance

5 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    LoL... I tried switching back to Nios II/e.. The ID mismatch problem is rectified, but timestamp is still mismatched...

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    After you modify the Nios CPU type, you must run SOPC builder to regenerate the system, and then Quartus to recompile the design. Then you must reconfigure your FPGA with the new SOF file (and be careful, if you don't have the license, the design will be compiled in a different .sof file, with "_time_limited" added to the name).

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I see.. I think the problem was not having a licence. I might contact my univ for help, but thanks for your expertise

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You can still do some tests without a license. You'll just have an opencore evaluation window that opens when you configure the FPGA, and you'll have to keep the USB cable connected during your test.