for imx6ull, how to configure JTAG_SCK as GPIO OUT

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

for imx6ull, how to configure JTAG_SCK as GPIO OUT

285 Views
michael_yang
Contributor II
for imx6ull, how to configure JTAG_SCK as GPIO OUT
0 Kudos
Reply
1 Reply

272 Views
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

I hope you are doing well.

You need to add it on device tree.

First you need to be sure that you are not using JTAG_SCK for other functions, if you are using it you need to disable it.

If you are not using it for other functions, you can only add it, here an example:

&iomuxc {
	pinctrl-names = "default";
	pinctrl-0 = <&BOARD_InitPins>;
	imx6ull-board {
		BOARD_InitPins: BOARD_InitPinsGrp {                /*!< Function assigned for the core: Cortex-A7[ca7] */
			fsl,pins = <
				MX6UL_PAD_JTAG_TCK__GPIO1_IO14             0x000070A0
			>;
		};
	};
};

With GPIO1_IO14 configured, it can be accessed from UserSpace.

Best regards.

0 Kudos
Reply