Visitor
Posts: 19
Registered: ‎03-29-2013
Re: Hardware Calibration Fail for SLX45T + 4-Gbit DDR3 DRAM

@csattar

as you remember, we are stucked here at state 7'h28 (mcb_soft_calibration.v)

 

START_DYN_CAL_PRE:  begin   // 7'h27
          LastPass_DynCal <= `IN_TERM_PASS;
          MCB_UICMDEN     <= 1'b0;    // release UICMDEN
          MCB_UIDONECAL   <= 1'b1;    // release UIDONECAL - MCB will now initialize.
          Pre_SYSRST      <= 1'b1;    // SYSRST pulse
          if (~CALMODE_EQ_CALIBRATION)      // if C_MC_CALIBRATION_MODE is set to NOCALIBRATION
            STATE       <= START_DYN_CAL;  // we'll skip setting the DQS delays manually
          else if (pre_sysrst_minpulse_width_ok)   
            STATE       <= WAIT_FOR_UODONE;
          end
        WAIT_FOR_UODONE:  begin  //7'h28
          Pre_SYSRST      <= 1'b0;    // SYSRST pulse
          if (IODRPCTRLR_RDY_BUSY_N && MCB_UODONECAL) begin //IODRP Controller needs to be ready, & MCB needs to be done with hard calibration
            MCB_UICMDEN <= 1'b1;    // grab UICMDEN
            DQS_DELAY_INITIAL <= Mult_Divide(Max_Value, DQS_NUMERATOR, DQS_DENOMINATOR);
            STATE       <= LDQS_WRITE_POS_INDELAY;
          end
          else
            STATE       <= WAIT_FOR_UODONE;

Within WAIT_FOR_OUDONE we have MCB_UICMDEN == 1'b0, so user interface is blocked and the MCB is under control of internal calibration block until that internal calibration finished. Please correct me, if I'm wrong.

Are you sure, that debug port can provide any helpful data while MCB hardware calibration stucks?

 

Thank you!

With regards,

Maksim