J-Link ICE config file for i.MX6

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

J-Link ICE config file for i.MX6

4,974 次查看
nathanwang
Contributor III

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?

标签 (1)
标记 (4)
0 项奖励
回复
15 回复数

4,331 次查看
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 项奖励
回复

4,331 次查看
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 项奖励
回复

4,331 次查看
joanxie
NXP TechSupport
NXP TechSupport

I mean the package named "imx6_platform_sdk_v1.1.0"

0 项奖励
回复

4,331 次查看
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 项奖励
回复

4,331 次查看
joanxie
NXP TechSupport
NXP TechSupport

you can contact local DFAE to get this.

0 项奖励
回复

4,331 次查看
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 项奖励
回复

4,331 次查看
Yuri
NXP Employee
NXP Employee

Hi,

  

  I've sent you message with the link 

~Yuri.

0 项奖励
回复

4,331 次查看
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 项奖励
回复

4,331 次查看
nathanwang
Contributor III

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 项奖励
回复

4,331 次查看
jim_lin
NXP Employee
NXP Employee

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

0 项奖励
回复

4,331 次查看
nathanwang
Contributor III

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

0 项奖励
回复

4,331 次查看
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 项奖励
回复

4,331 次查看
nathanwang
Contributor III

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 项奖励
回复

4,332 次查看
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 项奖励
回复

4,332 次查看
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 项奖励
回复