Dear NXP team,
One of my clients wants to access i.MX6 by using J-link ICE. SEGGER - The Embedded Experts - General Info
I saw this is one of JTAG tool listed in your application note(as attachment). Could you provide J-link related config file that we can access i.MX6 appropriately?
do you have sdk? if yes, you can find the jtag init file for different board. if you don't have this, pls create a SR to get this or ask for local DFAE to get it.
what is the "SDK" you are referring to? is that J-LINK SDK? or something else? Please help to provide more details about this SDK.
I mean the package named "imx6_platform_sdk_v1.1.0"
Hello joanxie
I can't find "imx6_platform_sdk_v1.1.0" package on NXP website, could you advise where I can find it for the customer?
you can contact local DFAE to get this.
Hello joanxie
Actually, I'm NXP local FAE, but I don't know where to get the package.
Could you provide the download link of the package?
Hi,
I've sent you message with the link
~Yuri.
Hello Yuri,
thank you, I've got the package and going to forward it to the customer.
Jim Lin.
Hi, all:
Eventually we were able to bring the imx6d (MCIMX6D5) silicon on our module. One more thing which needs your kind clarification: why the Recovery mode is required for register read thru JTAG? More details follow below.
We found that we have to set the imx6 SoC to "recovery mode" thru its hardware strapping when we attempt to bring the chip up with GDB over the JTAG ICE. Without setting the SoC to Recovery mode in its hardware strapping, we will only be able to write the registers; any read access to the registers leads to errors.
Here is an example of GDB session thru JTAG, where the imx6 SoC in Recover mode so we can read/write the registers (see last line below):
(gdb) source rom5420b1.gdb
Resetting target
Sleep 1000ms
Writing 0x00000030 @ address 0x020BC000
...
Writing 0x000000FB @ address 0x020C4060
Writing register (F0 = 0x000000D3)
Writing register (SP = 0x0093FF20)
Writing register (PC = 0x17800000)
(gdb) x /wx 0x10000000
0x10000000: 0x00000042
If imx6 is not in Recovery mode, we will always get read errors like this:
(gdb) x /wx 0x10000000
0x10000000: (FAILED)
does i.MX6 SabreSD have the same issue(need to set recovery mode)?
We only have imx6d (MCIMX6D5) for JTAG in current product.
err... that doesn't answer my question.
you would need to test your JTAG tool on SabreSD see if the issue can be reproduced on it.
Jim:
As said, we do not have SabreSD on our board. imx6d (MCIMX6D5) is the only silicon we currently have for our customer. There is no way for us to build another board just for debugging this issue.
The issue here is with imx6d (MCIMX6D5) for us, not SabreSD. Could you or some else verify this issue on imx6d (MCIMX6D5)? Thanks!
In that case, you can check with the distributor see if they can support the SabreSD.
I'm not asking you to build another board, just to verify the issue on i.MX6 EVK, which is a very common way to debug issues.
FYR~
we have already removed the link from official website, you can tell me the mail address, I send to you.