Flash Writer DRAM Configuration Issue with Custom RZ/G2L Board Using MT40A1G16TD-062E:AAT:F

We are currently working on the bring-up of our custom board based on the RZ/G2L processor (R9A07G044L23GBG), and we have followed the RZ/G2L EVK as our reference design.

The EVK uses Micron’s MT40A1G16KD-062E:IT:F DDR4, but as this part is now obsolete, we have replaced it with MT40A1G16TD-062E:AAT:F (same capacity: 1Gb x16, different revision). The rest of the design, including power rails and layout, remains consistent with the EVK.

Issue Summary:

We are using the SCIF Download mode with the Renesas Flash Writer tool to test and flash the board. We successfully generated the .mot file, and it gets downloaded to system memory via serial interface. The code starts executing correctly, but it gets stuck during the DDR setup process.

On debugging, we observed the following:

  • The execution progresses through the Flash Writer code and enters the ddr_setup() function in main.c.
  • It gets stuck around Step 24 of ddr_setup(), specifically during write leveling training.
  • Inside the function exec_trainingWRLVL(uint32_t sl_lanes), the code hits a failure condition and enters the panic() function (infinite loop).
  • Due to this, the board never reaches the prompt stage, and we don’t see any reply or input confirmation from the board over serial.

We believe this failure might be related to DDR configuration mismatch, possibly due to the change in DDR part number.

Request for Support:

To resolve this, we kindly request:

  1. Guidance on the correct JEDEC speed bin (e.g., 1600K/L/U, etc.) and associated timing values (CL, CWL, AL, tRCD, tRP) for MT40A1G16TD-062E:AAT:F.
  2. Confirmation whether this device can be used as a drop-in replacement for MT40A1G16KD-062E:IT:F with respect to DRAM controller initialization.
  3. Recommendations on adjusting parameters (Condition Numbers or other settings) in the Flash Writer to support this device.
  4. If available, an updated example or param file set matching this DDR4 device.
  • Hi vinod,
    Do you use the default Flash Writer executable generated for RZ/G2L SMARC EVK?
    How do you build the Flash Writer?
    Kind Regards.

  • Flash_Writer_SCIF_RZG2L_SMARC_PMIC_DDR4_2GB_1PCS.mot, which is built for the RZ/G2L SMARC EVK. However, this did not work on our custom board, as we did not receive any prompt after uploading the file via SCIF. The execution appears to halt during DDR initialization.

    We then rebuilt the Flash Writer using param_mc.c and param_swizzle.c files generated using the RZG2L_G2UL_Five_A3UL_DDR_config_generation_tool_v3.0 Excel workbook following this procedure-  https://confluence.renesas.com/display/REN/RZ+BSP+Porting+-+Flash+Writer .Since our board uses MT40A1G16TD-062E:AAT:F, and this part number is not listed in the tool, we proceeded with the configuration used for MT40A1G16KD-062E, which is the DDR part used in the EVK.

    Despite this, the result was the same — the Flash Writer loads but halts during DDR training in ddr_setup(), specifically at Step 24 inside exec_trainingWRLVL(), entering panic().

    Could you please confirm whether the configuration used for MT40A1G16KD-062E is expected to work with MT40A1G16TD-062E:AAT:F, or are we missing any configuration changes, initialization steps, or settings specific to the TD variant? Also, would the default EVK Flash Writer (Flash_Writer_SCIF_RZG2L_SMARC_PMIC_DDR4_2GB_1PCS.mot) normally work with this DDR, or is a custom build required for compatibility?

    Looking forward to your guidance.