Forum Discussion

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

NIOS II SBT Configuration with EPCS Controller

Hi All,

I have a basic NIOS II system with a EPCS Controller used for booting. I have successfully flashed the EPCS device and on power-up the FPGA configures and the NIOS boots.

However, I can now no longer 'Run' the system from Software Build Tools. The Console output is:

Using cable "USB-Blaster ", device 1, instance 0x00
Resetting and pausing target processor: OK
Reading System ID at address 0x00009840: verified
Initializing CPU cache (if present)
OK
Downloading 00004020 ( 0%)
Downloading 00007124 (93%)
Downloading 00008800 (99%)
Downloaded 13KB in 0.2s (65.0KB/s)
Verifying 00004020 ( 0%)
Verifying 00007124 (93%)
Verifying 00008800 (99%)
Verify failed between address 0x8800 and 0x881F
Leaving target processor paused

0x8800 is the base address of the EPCS Controller. Surely the SBT should only be writing to the onchip RAM (address 0x4000 to 0x7FFF)?

Another concern is how the processor will be reset. The reset vector is set to the EPCS controller base address within QSYS. However, will the SBT Run Configuration reset to the base of the on-chip RAM?

The qsys, spocinfo and bsp settings files are attached

Any ideas?

Thanks

Andy

14 Replies