若要檢視校準除錯資訊,您必須在位於hps_isw_handoff目錄的sequencer_defines.h 檔案中,將RUNTIME_CAL_REPORT選項設為值 1,以開啟除錯輸出報告。
開機後和校準期間,如果校準失敗,下列對帳單將會印在除錯輸出報告中:
SEQ。C:校準失敗
SEQ。C:錯誤階段:
SEQ。C:錯誤子台:
SEQ。C:錯誤組:
若要判斷階段和子階段,請在hps_isw_handoff目錄中開啟序列控制器.h 檔案,然後尋找校準定義:
/* 校準階段 */
#define CAL_STAGE_NIL 0
#define CAL_STAGE_VFIFO 1
#define CAL_STAGE_WLEVEL 2
#define CAL_STAGE_LFIFO 3
#define CAL_STAGE_WRITES 4
#define CAL_STAGE_FULLTEST 5
#define CAL_STAGE_REFRESH 6
#define CAL_STAGE_CAL_SKIPPED 7
#define CAL_STAGE_CAL_ABORTED 8
#define CAL_STAGE_VFIFO_AFTER_WRITES 9
/* 校準子台 */
#define CAL_SUBSTAGE_NIL 0
#define CAL_SUBSTAGE_GUARANTEED_READ 1
#define CAL_SUBSTAGE_DQS_EN_PHASE 2
#define CAL_SUBSTAGE_VFIFO_CENTER 3
#define CAL_SUBSTAGE_WORKING_DELAY 1
#define CAL_SUBSTAGE_LAST_WORKING_DELAY 2
#define CAL_SUBSTAGE_WLEVEL_COPY 3
#define CAL_SUBSTAGE_WRITES_CENTER 1
#define CAL_SUBSTAGE_READ_LATENCY 1
#define CAL_SUBSTAGE_REFRESH 1
如需校正階段的詳細資訊,請參閱 功能描述的 UniPHY 校準階段區段 – 外部記憶體介面手冊的UniPHY (.PDF) 章節。