iMX DDR Config Tool Code Generation Error || iMX95

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX DDR Config Tool Code Generation Error || iMX95

104 Views
Sudharsun
Contributor II

Hi Team,
We are currently working with the NXP Config Tools for i.MX95 DDR configuration and are facing an issue while generating the DDR initialization/timing code.
We created/opened the DDR configuration for the following target:

  • Processor: MIMX9596xxxxN
  • Core: Cortex-M33
  • Memory Type: LPDDR5 - Ryzen RS2G32LO5D4FDB-23BT
  • DDR Data Rate: 6400 MT/s
  • Number of Ranks: 2
  • Number of 16-bit Channels: 2
  • DRAM Configuration: 16Gb:2Gb x8
  • Total DRAM Density shown by the tool: 16384 MB


Initially, we are trying to validate the DDR configuration using the NXP i.MX95 19x19 EVK default LPDDR5 configuration before applying our custom board DDR settings.
However, when we try to generate/update the DDR code, the Config Tools reports an error in the Problems window:

“Failed to generate code…”

and the Code Preview window shows:

“Code generation failed.”

The screenshot of the issue is attached for reference:
Screenshot from 2026-09-15 11-40-00.pngScreenshot from 2026-09-15 11-40-00.png

0 Kudos
Reply
6 Replies

76 Views
yipingwang
NXP TechSupport
NXP TechSupport

1. I downloaded and installed Config_Tools_for_i.MX_26.06_x64.

2. I created a new configuration, select "IMX95LPD5EVK-19" under "Boards". Enable DDR tool and select it.

3. Click "File->Save" to save this project to the disk. Then "Update Code" is avaiable.

4. Click "Update Code" button, there is no error on my side.

yipingwang_0-1789463155201.pngyipingwang_0-1789463155201.png

 

 

 

0 Kudos
Reply

47 Views
Sudharsun
Contributor II

Hi, 

The issue still persists. Even after saving the .mex file to the local disk, the code is not being generated. When I click Update Code, the tool throws the error “Code generation failed.”

Screenshot from 2026-09-15 15-31-15.pngScreenshot from 2026-09-15 15-31-15.pngScreenshot from 2026-09-15 15-36-58.pngScreenshot from 2026-09-15 15-36-58.png

0 Kudos
Reply

41 Views
yipingwang
NXP TechSupport
NXP TechSupport

Did you install Config_Tools_for_i.MX_26.06_x64? The latest version 26.06?

Did you using the Linux version? I am using the Windows version.

Would you please send your IMX95LPD5EVK-19.mex to me to do verification?

0 Kudos
Reply

35 Views
Sudharsun
Contributor II

Hi, 

Yes, we have downloaded and installed the same version that you mentioned. We are currently using the Linux version of the tool. I have attached a screenshot for your reference.
Screenshot from 2026-09-15 15-56-04.pngScreenshot from 2026-09-15 15-56-04.png

0 Kudos
Reply

32 Views
yipingwang
NXP TechSupport
NXP TechSupport

Would you please send your IMX95LPD5EVK-19.mex to me to do verification?

0 Kudos
Reply

26 Views
Sudharsun
Contributor II

Hi,

I have attached the .mex file for your reference but we are going to use 8GB LPDDR5 Rayson RS2G32LO5D4FDB-23BT.

0 Kudos
Reply