"ccs::reset_to_debug" work correctly.
Please confirm if errata_A009942 is needed, if it's needed, please unzip the attached hotfix Optimization.zip to override existing Optimization folder within the CodeWarrior PA installation folder. there will be present C:\Freescale\CW_PA_v10.5.1\eclipse\Optimization\resources\QorIQ\DDR\templates\init\errata_A009942.py
Confirm the general guide as below:
creating a new QCVS project
- choose "Auto configuration" and "Discrete DRAM"
- DRAM Speed Rating = Max speed (e.g., max 3200 MT/s, see datasheet).
- "Output data rate" choose "xxx MT/s" (Current working speed, e.g. 1300MT/s, this data rate must match the DRAM speed configured in RCW image)
- "Rank/Chip select" choose "x" (single CS or dual CS)
- "tCL" choose "xx" (according to speed bin table in DRAM data sheet)
- "DRAM configuration per device" choose "xx" (see DRAM data sheet)
- fill the proper CLK-to-QDS skews (measure lengths of CLK and DQS signals via EDA tool, CLK length - DQS length)
CLK length minus DQS length, example:
CLK-to-DRAM0 length = 100 mm
CLK-to-DRAM1 length = 101 mm
DQS[0] length = 75 mm
DQS[1] length = 110 mm
CLK-to-DQS[0] skew = 100 mm - 75 mm = 25 mm
CLK-to-DQS[1] skew = 101 mm - 110 mm = -9 mm
- CLK trace length must be equal to or longer than DQS trace length within 10 inches.
- If MCK trace length is shorter than DQS trace length, it must be within 2.0 inches.
DQ mapping - Controller pins:
If DQ bit swapping is used on your actual board, user must configure this in QCVS to match the actual PCB layout.
TIMING_CFG_1_and_3:
- tCL/tRCD/rRP/tRAS this value refers to DRAM datasheet to match the current working speed rate.
- tWR (Write Recovery Time, Last data to precharge minimum interval), this value refers to DRAM datasheet.
- tRRD(Activate-to-activate interval) this value refers to DRAM datasheet.
TIMING_CFG_2:
- tFAW(Four Activate Window), this value refers to DRAM datasheet.
user should ensure those board-specific and DRAM-specific configurations match the actual hardware.
for other most of options, use the default QCVS preset value.
Thanks