Forum Discussion

jmelv's avatar
jmelv
Icon for New Contributor rankNew Contributor
6 years ago

I have a problem on the Cyclone V with CVP failing with a CVP_CONFIG_ERROR error on the second update cycle.

I can initialize the core image after power on and I can update it once. The next update fails with a CVP_CONFIG_ERROR. The only way to clear the problem is to reboot. The Cyclone V GT development board behaves the same way. Why would this happen and is there a way to reset and try again without having to reboot.

5 Replies

  • JohnT_Altera's avatar
    JohnT_Altera
    Icon for Regular Contributor rankRegular Contributor
    Hi, Could you provide me more information how you performed the 2nd update? Are you only performed CvP update on the core image only?
  • jmelv's avatar
    jmelv
    Icon for New Contributor rankNew Contributor

    ​Yes, on the core image. The same software function is called each time. This is a PCIe x4 Gen 2 board using a flash device to configure the periphery at power up then loading a .rbf file for initialization and update. The first and second load of the core always works, the third always fails. The flash and the rbf file are not compressed or encrypted.

    Thanks.

  • jmelv's avatar
    jmelv
    Icon for New Contributor rankNew Contributor

    ​Hi John,

    I am not using CVP update mode, I am using CVP Initialization mode and doing a core image update. The CVP initialization works, so does the first core update. I know the link is set to Gen2 on the first core update since I can operate the board at the Gen2 rate before and after I do the update. It's the second core update that fails but nothing leading up to that update is different than the first one. The documentation says I should be able to update the core image without having to reboot.

    Thanks

  • JohnT_Altera's avatar
    JohnT_Altera
    Icon for Regular Contributor rankRegular Contributor
    Hi, If you are using CVP Initialization only then you will not be able to performed second core update. In order to performed subsequent core update then you will need to enable the CVP Update features. Without this then you will not be able to performed subsequent CORE update. Please be aware that subsequent core update will not support Gen 2.