J-Link ICE config file for i.MX6

cancel
Showing results for 
Search instead for 
Did you mean: 

J-Link ICE config file for i.MX6

1,293 Views
nathanwang
Contributor I

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?

Labels (1)
0 Kudos
15 Replies

651 Views
joanxie
NXP TechSupport
NXP TechSupport

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.

0 Kudos

651 Views
jim_lin
NXP Employee
NXP Employee

joanxie

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.

0 Kudos

651 Views
joanxie
NXP TechSupport
NXP TechSupport

I mean the package named "imx6_platform_sdk_v1.1.0"

0 Kudos

651 Views
jim_lin
NXP Employee
NXP Employee

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?

0 Kudos

651 Views
joanxie
NXP TechSupport
NXP TechSupport

you can contact local DFAE to get this.

0 Kudos

651 Views
jim_lin
NXP Employee
NXP Employee

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?

0 Kudos

651 Views
Yuri
NXP TechSupport
NXP TechSupport

Hi,

  

  I've sent you message with the link 

~Yuri.

0 Kudos

651 Views
jim_lin
NXP Employee
NXP Employee

Hello Yuri,

thank you, I've got the package and going to forward it to the customer.

Jim Lin.

0 Kudos

651 Views
nathanwang
Contributor I

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)

0 Kudos

651 Views
jim_lin
NXP Employee
NXP Employee

does i.MX6 SabreSD have the same issue(need to set recovery mode)?

0 Kudos

651 Views
nathanwang
Contributor I

We only have imx6d (MCIMX6D5) for JTAG in current product.

0 Kudos

651 Views
jim_lin
NXP Employee
NXP Employee

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.

0 Kudos

651 Views
nathanwang
Contributor I

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!

0 Kudos

651 Views
jim_lin
NXP Employee
NXP Employee

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~

0 Kudos

651 Views
joanxie
NXP TechSupport
NXP TechSupport

we have already removed the link from official website, you can tell me the mail address, I send to you.

0 Kudos