Forum Discussion

Zafar_Ali's avatar
Zafar_Ali
Icon for New Contributor rankNew Contributor
5 years ago
Solved

Couldn't configure FPGA with rbf file through uboot loader

I was trying to configure the FPGA in DE-10 nano with an rbf file converted from an sof file using Quartus 18.1. But I was not able to configure FPGA with rbf file through uboot loader although I had been able to configure the fpga with the same sof file through jtag.

I wasn't able to figure out why its not working. should I play around with the conversion settings? Is there any way to check the validity of the rbf file?

  • Hi Zafar,


    CONF_DONE LED is not turning on means configuration failure. It might be due to RBF, uboot and host.


    Can you try to program the RBF file without adding any extra logic on it? Just would like to make sure if your HPS side is correct or not.


    Thank You


3 Replies

  • YuanLi_S_Intel's avatar
    YuanLi_S_Intel
    Icon for Regular Contributor rankRegular Contributor

    Hi Zafar,


    Is there any error message when programming failure? or have you probed the configuration pin such as CONF_DONE, INIT_DONE, nCONFIG and nSTATUS?


    Also, during RBF file generation, have you selected the correct flash memory used to store?


    Mind if i ask you, from where you following the guide to use uboot?


    Thank You.


    Regards,

    bruce


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

      Hi Bruce,

      There wasn't any programming errors. I haven't probed the configuration pins. I just observe the CONC_D led on my DE_10 nano board.

      I followed the following terasic tutorial for rbf conversion settings and as uboot guide:

      https://github.com/intel-iot-devkit/terasic-de10-nano-kit/releases/tag/tutorials-v1.0.0

      Apart from the tutorials I only tried to add a custom IP in the Qsys system with an Avalon slave interface which works fine when I configure the fpga via jtag.

      It works with the blink.rbf given in the tutorial.

      Thank you

  • YuanLi_S_Intel's avatar
    YuanLi_S_Intel
    Icon for Regular Contributor rankRegular Contributor

    Hi Zafar,


    CONF_DONE LED is not turning on means configuration failure. It might be due to RBF, uboot and host.


    Can you try to program the RBF file without adding any extra logic on it? Just would like to make sure if your HPS side is correct or not.


    Thank You