Forum Discussion

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

Verifying downloaded data to target failed

I had converted a function in my program to a hardware using the C2H accelerator. But when downloading the program on the target kit, verifying failed at the Nios II exception address ( 0x04120020 ):

--- Quote Start ---

Downloading 00220000 (82%)

Downloading 00230000 (85%)

Downloading 00240000 (87%)

Downloading 00250000 (90%)

Downloading 00260000 (92%)

Downloading 00270000 (95%)

Downloading 00280000 (97%)

Downloading 00290000 (99%)

Downloading 04120020 (99%)

Downloaded 2626KB in 82.9s (31.6KB/s)

Verifying 00220000 (82%)

Verifying 00230000 (85%)

Verifying 00240000 (87%)

Verifying 00250000 (90%)

Verifying 00260000 (92%)

Verifying 00270000 (95%)

Verifying 00280000 (97%)

Verifying 00290000 (99%)

Verifying 04120020 (99%)

Verify failed between address 0x4120020 and 0x41201EB

Leaving target processor paused

--- Quote End ---

I have tried the memtest on the new hardware and it worked properly!

I also tested my program before doing the conversion and it was working properly too.

Any ideas?

4 Replies

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

    Are you meeting timing? The hardware footprint changes when you add the accelerator so it could have been luck that it worked before. In the accelerated hardware design try switching the accelerator back to software only (leave the accelerator in the hardware) so that the software version of the algorithm is linked in. Unfortunately this is one of those error messages that can be caused by many things like incorrect pin assignments, timing failures, etc...

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

    I did like what you said, and the program downloaded successfully but there were some effects in the functionality of the program!

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

    From my own experience of the results of this test I would start checking the pinout and offchip timing. The C2H accelerator is sitting idle in your system now so I suspect that the inclusion of the accelerator simply changed your fitting results from barely working to functionally failing.

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

    okay it seems that I cannot use the C2H for my design, because there are no timing margins. I will try the Custom Instruction option to accelerate my system.