Hi,
Issue solved. I was facing problem with pin assignments.
But elf downloading still fails and its actually very wierd behaviour.
Here it is when i try to download elf from command line -
Resetting and pausing target processor: OK
Initializing CPU cache (if present)
OK
Downloaded 163KB in 0.4s (407.5KB/s)
Verifying 08050000 (39%)
Verify failed between address 0x8050000 and
Leaving target processor paused
$ nios2-download -r -g vip_example.elf
Using cable "USB-BlasterII [USB-1]", device
Resetting and pausing target processor: OK
Initializing CPU cache (if present)
OK
Downloaded 163KB in 0.4s (407.5KB/s)
Verifying 08050000 (39%)
Verify failed between address 0x8050000 and
Leaving target processor paused
$ nios2-download -r -g vip_example.elf
Using cable "USB-BlasterII [USB-1]", device
Resetting and pausing target processor: OK
Initializing CPU cache (if present)
OK
Downloaded 163KB in 0.4s (407.5KB/s)
Verified OK
Starting processor at address 0x08040120
$ nios2-download -r -g vip_example.elf
Using cable "USB-BlasterII [USB-1]", device
Resetting and pausing target processor: OK
Initializing CPU cache (if present)
OK
Downloaded 163KB in 0.4s (407.5KB/s)
Verifying 08040120 ( 0%)
Verify failed between address 0x8040120 and
Leaving target processor paused
$ nios2-download -r -g vip_example.elf
Using cable "USB-BlasterII [USB-1]", device
Resetting and pausing target processor: OK
Initializing CPU cache (if present)
OK
Downloaded 163KB in 0.4s (407.5KB/s)
Verifying 08050000 (39%)
Verify failed between address 0x8050000 and
Leaving target processor paused
$ nios2-download -r -g vip_example.elf
Using cable "USB-BlasterII [USB-1]", device
Resetting and pausing target processor: OK
Initializing CPU cache (if present)
OK
Downloaded 163KB in 0.4s (407.5KB/s)
Verifying 08040120 ( 0%)
Verify failed between address 0x8040120 and
Leaving target processor paused
$ nios2-download -r -g vip_example.elf
Using cable "USB-BlasterII [USB-1]", device
Resetting and pausing target processor: OK
Initializing CPU cache (if present)
OK
Downloaded 163KB in 0.4s (407.5KB/s)
Verified OK in 1.0s (163.0KB/s)
Starting processor at address 0x0
I AM trying to download elf and sometimes it fails and sometimes it pass. Also the verify fails at different addresses and not any one particular.
Somebody please tell me why this is happening.