iMX6 JTAG_MOD as GPIO

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

iMX6 JTAG_MOD as GPIO

ソリューションへジャンプ
2,132件の閲覧回数
dmitrykolyadint
Contributor I

Hello,

We are using IMX6UL (MCIMX6G3CVM05AB) for custom board and due to limited number of pins want to use JTAG_MOD as GPIO output. At the same time we want to use JTAG for system debug during development phase.

RM 45.2 states that "this pin is sampled at TRST reset to determine mode of operation" - does that mean that changing this pin to GPIO output high after startup (when TRST is high) won't affect JTAG operation? JTAG_TRST is not used and is pulled high permanently.

Thanks,

Dmitry

ラベル(1)
タグ(1)
0 件の賞賛
1 解決策
1,562件の閲覧回数
art
NXP Employee
NXP Employee

Although i.MX6UL RM shows the SW_MOD_CTRL register for the JTAG_MOD pad, there is no way to use this pad for any alternate function other than JTAG_MOD, otherwise, the processor may lock. So, there is no way to use the JTAG_MOD pad as GPIO.


Have a great day,
Artur

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
4 返答(返信)
1,562件の閲覧回数
sidebranch
Contributor II

Artur, why cannot JTAG_MOD be used as GPIO?

And if it cannot, why is this not mentioned in the manual?

Thanks, Leon.

0 件の賞賛
1,562件の閲覧回数
dmitrykolyadint
Contributor I

Thank you Artur.

0 件の賞賛
1,563件の閲覧回数
art
NXP Employee
NXP Employee

Although i.MX6UL RM shows the SW_MOD_CTRL register for the JTAG_MOD pad, there is no way to use this pad for any alternate function other than JTAG_MOD, otherwise, the processor may lock. So, there is no way to use the JTAG_MOD pad as GPIO.


Have a great day,
Artur

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
1,562件の閲覧回数
jakepollex
Contributor I

Artur,

Does the same apply to the IMXRT1060?  I was thinking of using this pin as a GPIO and didn't know if this problem also exists on the RT1060.  I tested it out and I am able to toggle the GPIO and still debug using SWD.  Please let me know your thoughts.

Thanks,

Jake

0 件の賞賛