i.MX53 Memory Calibration Script (AN4466)

Showing results for 
Search instead for 
Did you mean: 

i.MX53 Memory Calibration Script (AN4466)

No ratings

i.MX53 Memory Calibration Script (AN4466)

Based on example code provided in AN4466 I've written a simple memory calibration script for ARM DS-5 that runs same steps and prints out results for DQS, read and write calibration. This script can be run on new boards in order to find optimum calibration settings for the memory controller.

Prior to running this script it is necessary to run standard memory initialization script!

When bringing up new board:

  1. obtain default memory initialization script for memory type you're using (for example from DDR stress tester package) and modify the memory controller settings according to memory device you are going to use.
  2. run DDR stress tester with the given configuration on target frequency you're going to use to make memory works with given settings (default values for calibration are  fine in most cases unless there's issues with PCB and/or routing).
  3. run memory init script and then the attached script to obtain calibrated values.
  4. Re-test


Labels (1)


could you please explain how to use this script? How can I run it?


Connect with JTAG to device. If using ARM DS-5, you then just load and run this script to initialize memory. If using some other tool, you need to adjust it to the used tools' syntax...

Version history
Revision #:
1 of 1
Last update:
‎05-20-2013 05:38 AM
Updated by: