Hi,
I'm looking for the DDR3 testing source code (using C). I've designed an IMX53 QSB based custom board.
I've tried to calibrate the DDR3 in my board but I've stuck here. I've also read the AN466.pdf (
i.MX53 DDR Calibration) , the doc shows some C example code but I don't know how to compile the source and how to download the generated binary into the board... Please help me.
Thanks and best regards.
Dear Mr.Yuri,
Thank for your support.
Have a nice time!
Yuri Muhin said:
As for SD - please use the enclosed project, where flashnul utility is used to write image to SD.
(flashnul.bat script as an example)
Hi Yuri,
How to run mx_serial.exe and load test.bin @ 0xF8006000? Do you need to be in ROM serial mode and how to call mx_serial.exe? Does it have to be COM1?
Also, in regards to burn test.bin onto SD card:
This command "flashnul 1 -L test.bin -b=512" burns the image on an empty card, how do you incorporate test.bin with U-boot on the SD card?
Thanks for your help
Regards,
-Puneet
mx_serial.exe is program that run in windows os.
it is how to use this program.
1, when you boot QSB without inserting the micro SD ,QSB is launched serial download mode.
2, you send test.out to QSB using mx_serial.exe in windowsOS.
how to use the my_serial.exe is displayed when you run it in console without arg.
Thanks for your reply.
I tried that and it does seem to download the test.bin but not sure if it runs the test...
After Jumping to 0XF8006000, it gives me the Prompt, please advice.
"C:\Projects\ARM\iMX53\DDR3\mx53_QSB_led_SD>mx_serial.exe COM8 0xF8006000 test.bin
C:\Projects\ARM\iMX53\DDR3\mx53_QSB_led_SD>mxn
Downloading at 0xf8006000 starts at 0xf8006000 via COM8. File: test.bin
...
Jumping to 0xf8006000
C:\Projects\ARM\iMX53\DDR3\mx53_QSB_led_SD> "
Thanks for your help
Regards,
-Puneet
can you check the flashing LED on QSB when finished download program?
if so, QSB is running test.bin.
if you want to get message from QSB using uart, you need terminal program(e.g Tera Term) in addition to console.
thank you.
Daisuke
No Flashing LED at any point...
Few questions:
Is there a way to run this program (test.bin) using Internal Boot serial commands?
Is there any document you know of which provides Internal Boot serial commands?
One more thing, am I suppose to see see some serial prompt from QSB UART when powered without SD card (since it did not find any image or valid device)?
Thanks for your help.
Regards,
-Puneet
Dear Mr.Yuri,
I have custom IMX535 board.
How can I flash your test.bin into SD card, and boot IMX535 from SD card to run test.bin?
Dear Mr Yuri,
Thank you very much.
Regards
Please try the enclosed.
The following is source code of ATK 1.71
https://www.freescale.com/webapp/Download?colCode=IMX_ATK_SOURCE_CODE&appType=license&location=null
Dear Mr Yuri,
Many thanks for your kindly help.
I think the mx53_QSB_led.zip is the best starting point which I should follow
BTW, Where can I download the ATK version 1.71. I've downloaded the ATK version 1.70 from Freescale's page but it doesn't have IMX53 CPU selection ?
Thank you very much.
Please look at simple example for i.MX53 QSB, which can be loaded via internal serial (UART) bootloader of the i.MX53. Command file mx53_com_load.bat shows how to use the example.
Please pay attention on Image Vector Table (IVT) in crt.s.
MX_serial.exe is built, based of sources, that may be found at forum
http://imxcommunity.org/group/manufacturing-tool-mfgtool/forum/topi...
Log file a.a helps to clarify load sequence.
Also the ATK tool may be used to load and run apps, as shown on the figures in the package.
Note, the mentioned example mx53_QSB_led should be built under CodeSourcery (Mentor)
toolchain : arm-none-gnueabi-gcc.
SOURCERY CODEBENCH LITE