Forum Discussion

F_A_A's avatar
F_A_A
Icon for New Contributor rankNew Contributor
24 days ago

HPS SDRAM Calibration Failed

To whom it may concern, 

The HPS of a Cyclone V SoC based board that I designed is failing the booting process. In which the following error message is outputted to the console: 

U-Boot SPL date and time

SDRAM Calibration Failed.

ERROR ### Please Reset the board ###

I’m trying to determine the cause of the SDRAM calibration failure by enabling calibration reporting as indicated in:

https://www.intel.com/content/www/us/en/docs/programmable/683841/17-0/enabling-the-debug-report-for-arria.html


https://www.intel.com/content/www/us/en/docs/programmable/683841/17-0/determining-the-failing-calibration.html

but I’m only getting the above mentioned message without an indication of the failing SDRAM stage and cause. 

please advise on how to get the preloader to output debug insights to the console. Please note that the approach described in the link below was used to create the Preloader: 

https://www.rocketboards.org/foswiki/Documentation/BuildingBootloaderCycloneVAndArria10

Also, please advise on the sequence of failure messages that are outputted by the Preloader. 

Regards,

 

5 Replies

  • KianHinT_altera's avatar
    KianHinT_altera
    Icon for Frequent Contributor rankFrequent Contributor

    Hi F_A_A​ ,

    Just checking up on this case issue as it has been idling for some time, is the issue resolved on your end or do you have some logs per Alan questions?

    Thanks

    Regards

    Kian

  • AlanCLTan's avatar
    AlanCLTan
    Icon for Occasional Contributor rankOccasional Contributor

    Hi F_A_A,

    Do you have any successful boot-up before?

    Any chance for you to try to get the debug log working?

    SEQ.C: Calibration Failed

    SEQ.C: Error Stage : <Num>

    SEQ.C: Error Substage: <Num>

    SEQ.C: Error Group : <Num>

    Regards,

    Alan

  • AlanCLTan's avatar
    AlanCLTan
    Icon for Occasional Contributor rankOccasional Contributor

    Do you have any design which successfully booted on your device? Or is this your first try?

    First thing to do is to isolate the problem, is it possible to boot a basic design (like the GSRD in the links you have)?

  • Hello F_A_A

    Please try running the EMIF-only example design.

    At this point, it’s not clear whether the error is caused by an HPS configuration issue or an incorrect EMIF configuration.

    To rule out any EMIF-related configuration problems, please make sure the standalone EMIF example design runs successfully on its own.

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

      Dear CaroG,

      Thanks for the reply.

      Please correct me if I’m wrong but the Cyclone V’s HPS component in platform designer is integrated with the EMIF IP. Thus, I don’t think it is possible to run the design as EMIF only. Kindly, advise.

      Regards,