DDR stress test tool on i.MX6Q SABRE SD using JTAG

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

DDR stress test tool on i.MX6Q SABRE SD using JTAG

1,265 Views
kishorr
Contributor II

I am trying to run DDR stress test tool on i.MX6Q SABRE SD using JTAG.

I have loaded the elf file (ddr-stress-test-mx6dq.elf) using load_image command.   

After running the resume command nothing is seen on the console.

Do I need any specific switch settings to be done on the Sabre board. Please let me know...

I am using OCD with OLIMEX JTAG.

/****************************************************/

> halt
target state: halted
target halted in Thumb state due to debug-request, current mode: Supervisor
cpsr: 0x200001f3 pc: 0x00000fc4
MMU: disabled, D-Cache: disabled, I-Cache: enabled
> load_image /home/spanidea/kishor/ddr-stress-test-mx6dq.elf           
87520 bytes written at address 0x00907000
downloaded 87520 bytes in 4.814128s (17.754 KiB/s)
>
> resume 0x00907000
>
/****************************************************/

Labels (1)
5 Replies

804 Views
peteramond
Contributor V

Dear All,

#Yuri Muhin

I need to get some information regarding DDR ram calibration and memory stress test for new layout related to iMAX6 Quad hardware design. In my custom design I have included only USB port & SD card slot. 

 

To do stress test for RAM do we need to use SATA HDD ? Can't we use good SD card for that. Or else can I use portable HDD connecting via USB for this ? (I don't have SATA port in my custom hardware design)

 

I'm referring to following test >> http://www.imx6rex.com/software/stress-testing-stressapptest/#test_mem

 

What is the difference between the test you have provided here >> https://community.nxp.com/docs/DOC-105652 and above mentioned test ? Do we need SATA HDD for this stress test too ?

 

I must be thankful to you if you will kindly reply me soon.

Regards,
Peter.

0 Kudos

804 Views
Yuri
NXP Employee
NXP Employee

Hello,

 

  Generally there is no need for any external storage device for NXP tests,

except - maybe - the case, when the test code is loaded / boot from the
external device without any OS. Usually serial (USB) bootloader or JTAG
is needed to load the test to the memory and run. Only (DRAM) memory

is affected by the test.

Regards,

Yuri.

804 Views
Yuri
NXP Employee
NXP Employee

Hello,

  Please use the recent DDR stress test.

i.MX6/7 DDR Stress Test Tool V2.60  

 

Note :

1) "the JTAG/debugger option will first need to run a DDR initialization
script for the specified i.MX SoC
".
2) "
The DDR Stress Tester executable (starting with V2.20) has auto UART detection feature.
If a different UART port for the serial console has been chosen than used on the NXP development
tool (EVK, SABRE) specific commands can be added to the DDR initialization script that allows you
to configure for the specific UART and then load and run the elf executable. Refer to the FAQ section
of this community post and the txt file found in the JTAG archive file for instructions."

3) perhaps ARM state should be manually set  ("target halted in Thumb state" )

Have a great day,

Yuri

 

------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct

Answer button. Thank you!

------------------------------------------------------------------------------

0 Kudos

804 Views
kishorr
Contributor II

Hi Yuri,

Thank you.

From your response I understand the below:

1. To run the DDR Stress test via JTAG, DDR init script needs to be run using the DDR Stress test tool GUI (.inc file)

2. After DDR init script is run, DDR Test executable can be loaded using JTAG (.elf image)

What I am planning to do is to initialise the DDR using JTAG only. This is the case where I do not want to use  OTG port on iMX6 Sabre board.

I did try to initialise the DDR via JTAG using mww commands (using CD) following the commands as per .inc file but was not successful.

Can we initialise DDR using JTAG only and run the stress test using the .elf image?

0 Kudos

804 Views
Yuri
NXP Employee
NXP Employee

Hi,

 Memory initialization may be performed by JTAG tool (as init script) in itself.

As for .elf running, please check if Your tool support it, perhaps it is needed

to load and run plain binary image (at known address). 

Regards,

Yuri.