Project

General

Profile

Why do I get a "CALIBRATION FAILED" error during boot?

Added by Malcolm Hartnell over 8 years ago

I have been using the same module for the last two weeks and today it has started giving the "CALIBRATION FAILED" error message as listed on the Wiki's ARM Software FAQs page.

U-Boot SPL 2013.01.01 (Jun 27 2016 - 11:37:40)
BOARD : Critical Link MitySOM-5CSx Module
CLOCK: EOSC1 clock 25000 KHz
CLOCK: EOSC2 clock 25000 KHz
CLOCK: F2S_SDR_REF clock 0 KHz
CLOCK: F2S_PER_REF clock 0 KHz
CLOCK: MPU clock 800 MHz
CLOCK: DDR clock 400 MHz
CLOCK: UART clock 100000 KHz
CLOCK: MMC clock 50000 KHz
CLOCK: QSPI clock 400000 KHz
RESET: COLD
INFO : Watchdog enabled
SDRAM: Initializing MMR registers
SDRAM: Calibrating PHY
SEQ.C: Preparing to start memory calibration
SEQ.C: CALIBRATION FAILED
### ERROR ### Please RESET the board ###

This is followed by "Self refresh issue detected".

U-Boot SPL 2013.01.01 (Jun 27 2016 - 11:37:40)
BOARD : Critical Link MitySOM-5CSx Module
CLOCK: EOSC1 clock 25000 KHz
CLOCK: EOSC2 clock 25000 KHz
CLOCK: F2S_SDR_REF clock 0 KHz
CLOCK: F2S_PER_REF clock 0 KHz
CLOCK: MPU clock 800 MHz
CLOCK: DDR clock 400 MHz
CLOCK: UART clock 100000 KHz
CLOCK: MMC clock 50000 KHz
CLOCK: QSPI clock 400000 KHz
RESET: WARM
INFO : Watchdog enabled
SDRAM: Initializing MMR registers
SDRAM: Skipping calibrating PHY
SDRAM: Self refresh issue detected. Performing Warm reset ...

The Wiki says this is caused by using a 5CSX SD card on a 5CSE module. What other causes are there for this error since my module is a 5CSX (5CSX-H6-4YA-RC) and used to work? Fortunately I have a spare module and that does not show the error when plugged into the same base board with the same SD card.

Thanks,
Malcolm


Replies (7)

RE: Why do I get a "CALIBRATION FAILED" error during boot? - Added by Daniel Vincelette over 8 years ago

Hello Malcolm,

I know you said that your current SD card works for one of your SOMs but would you mind trying our prebuilt 5CSX-H6-4YA SD card image just to double check that the SOM that fails RAM calibration still acts the same? It can be found here: https://support.criticallink.com/redmine/attachments/download/9459/MitySOM_5CSX_H6_4YA_Dev_Kit_Release_1.zip

Thank you,
Dan

RE: Why do I get a "CALIBRATION FAILED" error during boot? - Added by Adam Dziedzic over 8 years ago

There is a CV errata that can cause such a failure. Please check that the CSEL[0-1] pins are set to "00" to avoid a potential HPS PLL issue.

Thanks,
Adam

RE: Why do I get a "CALIBRATION FAILED" error during boot? - Added by Malcolm Hartnell over 8 years ago

Dan,

I've downloaded the file you provided the link for but first ...

Adam,

I presently have CSEL[0-1] set to logic high as per the switch settings of the Critical Link dev board as it was supplied. I now have my own base board but I can swap a couple of resistors and set those lines to logic low to try your suggestion. It will be tomorrow before I have an answer.

Thank you both for the quick response.

Malcolm

RE: Why do I get a "CALIBRATION FAILED" error during boot? - Added by Malcolm Hartnell over 8 years ago

I've tried both suggestions but the result is the same, I get the "CALIBRATION FAILED" message on my first board and the second board works.

Can I send the SoM back for a replacement?

Thanks,
Malcolm

RE: Why do I get a "CALIBRATION FAILED" error during boot? - Added by Alexander Block over 8 years ago

Malcolm,

Dan and Adam brought this issue to my attention and I will followup concerning the RMA replacement via e-mail.

Please note that the current Development Kit Hardware Quickstart Guide (https://support.criticallink.com/redmine/documents/248) directs customers to utilize the "00" CSEL setting which matches how current development boards are shipped. We actually added some comments about the CSEL settings (and a number of other items) in the following Wiki page (https://support.criticallink.com/redmine/projects/5csxbase/wiki/Carrier_Board_Design_Gotchas).

Thank you,

Alex

RE: Why do I get a "CALIBRATION FAILED" error during boot? - Added by Malcolm Hartnell over 8 years ago

Alex,

Thank you for the reply.

I've checked the "gotchas" wiki page and the CSEL setting was the only thing not correct (and now corrected).

A correction for the Wiki is to change "page 469" to "page 459" three lines up from the bottom.

Thanks,
Malcolm

RE: Why do I get a "CALIBRATION FAILED" error during boot? - Added by Alexander Block over 8 years ago

Malcolm,

Thanks for catching the typo, it's been updated.

With the CSEL "properly" set and the module still not operating as expected it does still appear that an RMA will still need to be done for us to dig into the issue further.

Alex

    (1-7/7)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)