Hi,
I am using "JLinkExe -device CORTEX-A9 -JTAGConf -1,-1 -if JTAG -speed auto -CommandFile uboot.jlink"
to load the uboot to the memory (attached is the script and the uboot binary), but I am still not able to get u-boot traces from the console. The u-boot was compiled with following config:
Hi Mohamed
reason may be that memory is not working at all, one can try
to test it with baremetal sdk test (folder /..apps..tests/ddr_test.c), debugger scripts in
../tools, "1.1.0_iMX6_Platform_SDK.zip" found on link SMP Enable in IMX6
Check signals with oscilloscope, use IMX6DQ6SDLHDG, Hardware Development Guide for i.MX 6Quad, 6Dual, 6DualLite, 6Solo Families of Applic...
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igorpadykov,
Thank for you reply but I don't think that is a memory issue because I am able to write/read data correctly as I mentioned in my first post, if it was a memory issue I should not have access to the memory for write or read operations.
Before loading uboot I did the configuration of the DDR through J-link. I attached also these settings in the first post.
Best Regards,
Mohamed
is that uboot working fine when loaded in usual way, not with jtag.
Probably it was wrongly built/configured.
First, suggest to check if correct uart port is configured for building uboot.imx.bin
mx6sabresd.h\configs\include - uboot-imx - i.MX U-Boot
#define CONFIG_MXC_UART_BASE UART1_BASE
#define CONSOLE_DEV "ttymxc0"
Best regards
igor